OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Including local Image in pdf output


Hello everyone,

 

im using Oxygen to generate an .xsd documentation and to customize it, I generate it in docbook format and then transform it to pdf.

To customize my documentation I added some text to the docbook footer (which is working!) and I also tried to add an image there, but this is not working yet.

My custom footer text is in the center and the image should be on the left, but just not showing whatever I tried until now.

For simplicity I created and 40x40 red image, which is located at my local path N:\test.png and I tried to Include it with the following code.

(Just to be clear, the image I want to include is on my local machine, and not on some network resource)

 

<fo:external-graphic content-height="1.2cm">
                  
<xsl:attribute name="src">
                    
<xsl:call-template name="fo-external-image">
                      
<xsl:with-param name="filname" select="'file:/N:/test.png'"/>
                    
</xsl:call-template>
                  
</xsl:attribute>
                
</fo:external-graphic>

 

This is not working yet..  maybe the select “’file:/N:/test.png’” is wrong (I tried many different formats here), so

any help on this Problem would be very much appreciated.

 

 

Some Version Infos:

Oxygen version: 19

Transformer: Saxon 6.5.5

FO-Processor: Apache FOP

Operating System: Windows 10

 

 

Best Regards

Christian



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]