Hi!

Using Cocoon 2.1 and the HSSF Serializer I am producing Excel Sheets. Everything looks 
fine in Excel but the Page Layout is "Letter" (I need A4, "Letter" crashes my 
printer...). 

I tried to set the PrintInformation in my stylesheet but I seems to be unrecognized by 
the serializer...

Any idea how to set the page layout to A4 by default?


Thanks in advance,

Bastian



<gmr:PrintInformation>
                                <gmr:Margins>
                                        <gmr:top PrefUnit="cm" Points="28.3"/>
                                        <gmr:bottom PrefUnit="cm" Points="28.3"/>
                                        <gmr:left PrefUnit="cm" Points="28.3"/>
                                        <gmr:right PrefUnit="cm" Points="28.3"/>
                                        <gmr:header PrefUnit="cm" Points="14.2"/>
                                        <gmr:footer PrefUnit="cm" Points="14.2"/>
                                </gmr:Margins>
                                <!--<gmr:Scale percentage="100" type="percentage"/>-->
                                <gmr:vcenter value="0"/>
                                <gmr:hcenter value="0"/>
                                <gmr:grid value="0"/>
                                <gmr:even_if_only_styles value="0"/>
                                <gmr:monochrome value="0"/>
                                <gmr:draft value="0"/>
                                <gmr:titles value="0"/>
                                <gmr:repeat_top value=""/>
                                <gmr:repeat_left value=""/>
                                <gmr:order>r_then_d</gmr:order>
                                <gmr:orientation>landscape</gmr:orientation>
                                <gmr:Header Right="" Middle="&amp;[TAB]" Left=""/>
                                <gmr:Footer Right="" Middle="Page &amp;[PAGE]" 
Left=""/>
                                <gmr:paper>A4</gmr:paper>
                        </gmr:PrintInformation>
______________________________________________________________________________
38xTestsieger - WEB.DE FreeMail - Deutschlands beste E-Mail
mehr Spass durch Smileys, Bilder, Musik,... http://f.web.de/?mc=021128


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to