[ http://issues.apache.org/jira/browse/COCOON-806?page=all ]

Ralph Goers updated COCOON-806:
-------------------------------

    Bugzilla Id:   (was: 23002)
      Component: Blocks: POI
                     (was: Blocks: (Undefined))
    Description: 
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>

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


> [PATCH]: HSSF Serializer does not process <gmr:PrintInformation>
> ----------------------------------------------------------------
>
>          Key: COCOON-806
>          URL: http://issues.apache.org/jira/browse/COCOON-806
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: POI
>     Versions: 2.1.8-dev (Current SVN)
>  Environment: Operating System: All
> Platform: All
>     Reporter: Antonio Gallardo
>     Assignee: Cocoon Developers Team
>  Attachments: EP_Grid.java.diff, EP_Orientation.java.diff, 
> EP_Paper.java.diff, Sheet.java.diff
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to