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

Reply via email to