Greetings!

When I run fo2odt against sample file userguide.fo, the resulting ODT 
file contains no pictures.

The problem is 100% repeatable.

The operating system is Debian 6.0
Java version is 1.5.0 [gij (GNU libgcj) version 4.4.5]
XMLmind XSL-FO Converter version is 4.5.0

To reproduce the problem, I follow these steps.

1.  Change directory to /opt/xfc_perso_java-4_5_0/samples.

2.  Run: /opt/xfc_perso_java-4_5_0/bin/fo2odt userguide.fo userguide.odt

Expected result: An ODT file is produced that includes pictures.

Actual result: An ODT document is produced that includes picture place 
holders but not the pictures themselves.

Comment: The FO file appears to contain correct references to the 
picture files. For example:

<fo:block id="d5e2284">
    <fo:external-graphic src="url(sdt/drop-down-list-2.png)" 
width="auto" height="auto" content-width="auto" content-height="auto"/>
</fo:block>

When fo2odt runs, it raises error messages like:

warning: failed to load image 
"file:/opt/xfc_perso_java-4_5_0/samples/sdt/drop-down-list-2.png": 
cannot create an ImageInputStream out of a java.io.InputStream 
(file:///opt/xfc_perso_java-4_5_0/samples/userguide.fo, line #121, 
column #2409)

The picture files exist in the location specified and they can be opened 
in a graphics viewer.

Is this a bug?

Regards

John Parker
 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to