You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/09/08 20:10:59 UTC

DO NOT REPLY [Bug 23002] New: - HSSF Serializer does not process

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23002>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23002

HSSF Serializer does not process <gmr:PrintInformation>

           Summary: HSSF Serializer does not process <gmr:PrintInformation>
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: agallardo@agsoftware.dnsalias.com


The <gmr:PrintInformation> element is where we configure all the info related to
print configuration of the stylesheet generated. For example: landscape
orientation, papelsize, margins, etc. Currenlty the HSSF Serializer is ignoring
all the info the user send.

Here is a example of the element:

<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>