Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-806

[PATCH]: HSSF Serializer does not process <gmr:PrintInformation>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6
    • 2.1.6, 2.2
    • Blocks: POI
    • 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="&amp;[TAB]" Left=""/>
          <gmr:Footer Right="" Middle="Page &amp;[PAGE]" Left=""/>
          <gmr:paper>A4</gmr:paper>
      </gmr:PrintInformation>

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--EP_Paper.java.diff
          3 kB
          Viktor Skladovs
        2. ASF.LICENSE.NOT.GRANTED--EP_Orientation.java.diff
          2 kB
          Viktor Skladovs
        3. ASF.LICENSE.NOT.GRANTED--EP_Grid.java.diff
          2 kB
          Viktor Skladovs
        4. ASF.LICENSE.NOT.GRANTED--Sheet.java.diff
          2 kB
          Viktor Skladovs

        Activity

          People

            Unassigned Unassigned
            antonio Antonio Gallardo Rivera
            Votes:
            7 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: