Thanks for fixing the versions. Best Regards,
Antonio Gallardo. Grzegorz Kossakowski (JIRA) escribió:
[ https://issues.apache.org/jira/browse/COCOON-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Kossakowski updated COCOON-806: ---------------------------------------- Fix Version/s: (was: 2.1.11-dev (Current SVN)) 2.1.6 Affects Version/s: (was: 2.1.8) 2.1.6 According to this http://cocoon.apache.org/2.1/changes.html document, it was fixed in Cocoon 2.1.6, not 2.1.11-dev.[PATCH]: HSSF Serializer does not process <gmr:PrintInformation> ---------------------------------------------------------------- Key: COCOON-806 URL: https://issues.apache.org/jira/browse/COCOON-806 Project: Cocoon Issue Type: Bug Components: Blocks: POI Affects Versions: 2.1.6 Environment: Operating System: All Platform: All Reporter: Antonio Gallardo Assignee: Cocoon Developers Team Fix For: 2.1.6, 2.2-dev (Current SVN) 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="&[TAB]" Left=""/> <gmr:Footer Right="" Middle="Page &[PAGE]" Left=""/> <gmr:paper>A4</gmr:paper> </gmr:PrintInformation>
