You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ba...@web.de on 2003/09/08 18:46:10 UTC
HSSF Serializer and Page Layout
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="&[TAB]" Left=""/>
<gmr:Footer Right="" Middle="Page &[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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: HSSF Serializer and Page Layout
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
> 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?
We clash with this problem to. Related to the landscape configuration. We
can confirm that all the <gmr:PrintInformation> element is ignored by the
serializer.
I think we can open a request for enhancement in bugzilla related to the
<gmr:PrintInformation>.
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: HSSF Serializer and Page Layout
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Bruno Dumon dijo:
> On Mon, 2003-09-08 at 20:16, Antonio Gallardo wrote:
>> Hi:
>> Please vote for the bug, if you really need to be solved. :)
>
> What would help even more is supplying a patch ;-)
Yep. ;)
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: HSSF Serializer and Page Layout
Posted by Bruno Dumon <br...@outerthought.org>.
On Mon, 2003-09-08 at 20:16, Antonio Gallardo wrote:
> Hi:
> Please vote for the bug, if you really need to be solved. :)
What would help even more is supplying a patch ;-)
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org bruno@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: HSSF Serializer and Page Layout
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Hi:
Please vote for the bug, if you really need to be solved. :)
Antonio Gallardo dijo:
> I already filled a bug to this issue:
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23002
>
> Best Regards,
>
> Antonio Gallardo
>
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: HSSF Serializer and Page Layout
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
I already filled a bug to this issue:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23002
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org