Hello,

 

I am generating a RTF Document (.doc) by using FOP and an XSL.

 

The generated  document has a default zoom of 100%.



 

Can I change this zoom, and make the document always open with a 150% zoom ?

If yes, please tell me what I have to add to my code.

Here is a piece of the XSL used to generate the .doc :

 

 

<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";>

            <xsl:output method="xml" indent="yes"/>

            <xsl:template match="/">

                        <fo:root>

                                    <fo:layout-master-set>

                                                <fo:simple-page-master
master-name="A4-portrait" page-height="29.7cm" page-width="21.0cm"
margin="2cm">

 
<fo:region-body/>

                                                </fo:simple-page-master>

                                    </fo:layout-master-set>

                                    <fo:page-sequence
master-reference="A4-portrait">

                                                <xsl:for-each
select="//Produit">

                                                            <fo:flow
flow-name="xsl-region-body">

 

 

 

Toufic DIAB

Equatech (Filiale IT d'Equadis SA)

* :  +41228190746

* : [email protected]

 

 

<<image001.jpg>>

Reply via email to