Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1834

[PATCH] Pagelayout switching between landscape and portrait goes wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 0.95
    • None
    • renderer/rtf
    • None
    • Operating System: Windows XP
      Platform: PC
    • 49740

    Description

      ie. using portrait page layout for the first page switch to landscape for the second page and back to portrait for the rest of the file.

      It kinda looks like its working but the page settings within the rtf file are wrong.

      For the first page its i.e. A4 means height: 29.7cm and width: 21cm
      2nd page will be set to A4 landscape height: 21cm and width:29.7cm which is right so far.
      from 3rd page its going to be strange: its now set to A3 landscape but with manual page dimension settings for height: 29.7cm and width:21cm
      this makes it impossible to print for A4 printers and for A3 printers to switch to A3 paper and printing the pages on the right side in A4 size.

      see attached files for more details.

      Attachments

        1. PageFormat.patch
          2 kB
          Max Aster
        2. sample.rtf
          4 kB
          D.P.Eagle
        3. sample.xsl
          12 kB
          D.P.Eagle

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            dpeagle@gmx.de D.P.Eagle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: