aadac3c891
This commit adjusts the test cases for the Docx writer after the fix of #3930. - Adjusted test cases with inline images. The inline images now have the correct sizing, title and description. - Modified the test case to include an image multiple times with different sizing each time. - Tested on Windows 8.1 with Word 2007 (12.0.6705.5000) The files are not corrupted and display exactly what is expected.
8 lines
No EOL
632 B
Text
8 lines
No EOL
632 B
Text
[Para [Str "No",Space,Str "width",Space,Str "given:"]
|
|
,Para [Image ("",[],[]) [Str "testimg"] ("lalune.jpg","fig:")]
|
|
,Para [Str "With",Space,Str "height",Space,Str "10cm:"]
|
|
,Para [Image ("",[],[("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:")]] |