Landscaping images in docbook 5

Sascha Manns <[email protected]> Mon, 06 Jul 2015 14:46:52 +0200
Newsgroups gmane.text.xml.xfc.general
Organization Bundesverband Deutscher Volks- und Betriebswirte
Message-ID <[email protected]>
Hello List,

i'm using these steps to build the odf automatically:

* xmllint --noent --dropdtd --xinclude Dummy.xml -o Dummy-resolved.xml
* saxon-xslt -o Dummy.fo Dummy-resolved.xml 
/opt/XMLmind/xfc-stylesheet/xsl/fo/docbook.xsl
* fo2odt -prescaleImages=true Dummy.fo > ../tmp/de-DE/odt/Dummy.odt

My /opt/XMLmind/xfc-stylesheet/xsl/fo/docbook.xsl contains:

<xsl:template 
match="figure[processing-instruction('landscapeFigure')]">
         <fo:block-container reference-orientation="90">
             <xsl:apply-imports/>
         </fo:block-container>
</xsl:template>

I'm using in my document:

<figure>
	<?landscapeFigure?>
	<title>Tracelog</title>
	<mediaobject>
		<imageobject>
		<imagedata fileref="./images/Tracelog220gesamt.jpg"/>
	        </imageobject>
	</mediaobject>
</figure>

But in the output odt the marked figures aren't landscaped. Maybe this 
isn't supported by XFC yet?

-- 
Yours sincerly

Sascha Manns
Bundesverband Deutscher Volks- und Betriebswirte
FG Wirtschaftsinformatik & Informationsmanagement

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