aboutsummaryrefslogtreecommitdiff
path: root/test/docx/image_writer_test.native
blob: 8d3bac1eed1153e3c1342527ce71c92a991f3ed4 (plain)
1
2
3
4
5
6
7
8
9
10
[Para [Str "No",Space,Str "width",Space,Str "given:"]
,Para [Image ("fig:testimg",[],[]) [Str "testimg"] ("lalune.jpg","fig:")]
,Para [Str "With",Space,Str "height",Space,Str "10cm:"]
,Para [Image ("fig:2testimg",[],[("height","10cm")]) [Str "2testimg"] ("lalune.jpg","fig:")]
,Para [Str "With",Space,Str "width",Space,Str "6cm:"]
,Para [Image ("",[],[("width","6cm")]) [Str "3testimg"] ("lalune.jpg","fig:")]
,Header 1 ("with-height-3in-and-width-6in",[],[]) [Str "With",Space,Str "height",Space,Str "3in",Space,Str "and",Space,Str "width",Space,Str "6in:"]
,Para [Image ("",[],[("width","6in"),("height","3in")]) [Str "4testimg"] ("lalune.jpg","fig:")]
,Para [RawInline (Format "openxml") "<w:fldSimple w:instr=\"REF ref_fig:testimg\" />"]
,Para [RawInline (Format "openxml") "<w:fldSimple w:instr=\"REF ref_fig:2testimg\" />"]]