On 04/18/2011 06:23 PM, Roy MacLean wrote: > > In the title-page FO, the image is referenced as > 'file:///C:/documentation/tools/Graphics/logo.jpg' > This works fine with the PDF conversion.
OK, so you are converting a DITA document using XMLmind XSL Utility or XMLmind XML Editor or XMLmind DITA Converter (ditac). > > The images\1.png is *within* the docx file (i.e. the zipped archive > structure). > I think all this indicates is that the logo image didn't make it in the docx > at all. > > It's not a show-stopper, because the logo image can always be inserted > manually into the Word doc. > I just wondered if I was missing something basic. > --> I didn't manage to reproduce the problem with attached title-page FO. * It works fine with a .jpg or .png. * It works fine with: <fo:external-graphic src="url(file:/home/hussein/icons/users/hussein.jpg)"/> and with: <fo:external-graphic src="file:/home/hussein/icons/users/hussein.jpg"/> --> Therefore it's probably something bizarre: * This specific image "logo.jpg" can be loaded by FOP but cannot be loaded by XFC? You should get error messages in this case. In such case, open it in a different image editing software and save it as plain, simple, JPEG. * A permission problem (i.e. access to "logo.jpg" is denied)? You should get error messages in this case. In such case, make sure that you don't open "logo.jpg" in an image editing application while you are running our conversion software. * An URI capitalization problem? It's 'file:///C:/documentation/tools/graphics/logo.jpg' and not 'file:///C:/documentation/tools/Graphics/logo.jpg'. Very unlikely. * An URI syntax problem? It's 'file:/C:/documentation/tools/Graphics/logo.jpg' and not 'file:///C:/documentation/tools/Graphics/logo.jpg'. Very, very, unlikely.
<?xml version="1.0" encoding="utf-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-width="21cm" page-height="29.7cm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body"> <fo:block margin="1em" text-align="center" border="solid #C0C0FF 0.5pt" background-color="#E0E0FF" padding="0.5em"> <fo:block space-after="1em"><fo:basic-link external-destination="url(http://www.xmlmind.com/)"><fo:external-graphic src="file:/home/hussein/icons/users/hussein.jpg"/></fo:basic-link></fo:block> <fo:block>91, rue Gambetta</fo:block> <fo:block>78120 Rambouillet</fo:block> <fo:block>France</fo:block> <fo:block><fo:basic-link color="#404080" external-destination="url(http://www.pixware.fr/)">www.pixware.fr</fo:basic-link></fo:block> <fo:block><fo:basic-link color="#404080" external-destination="url(mailto:[email protected])">[email protected]</fo:basic-link></fo:block> <fo:block>Phone: +33 (0)1 30 59 81 44</fo:block> <fo:block>Fax: +33 (0)1 74 18 08 33</fo:block> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
-- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

