Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.6
-
None
-
Operating System: All
Platform: All
-
23002
-
Patch available
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="&[TAB]" Left=""/>
<gmr:Footer Right="" Middle="Page &[PAGE]" Left=""/>
<gmr:paper>A4</gmr:paper>
</gmr:PrintInformation>
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="&[TAB]" Left=""/>
<gmr:Footer Right="" Middle="Page &[PAGE]" Left=""/>
<gmr:paper>A4</gmr:paper>
</gmr:PrintInformation>