Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20539

Can't overwrite the print page size from a custom PDF template

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.0-rc-1, 14.10.3
    • 14.10.2
    • Export - PDF
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Follow this steps to reproduce:

      • Create a new wiki page using the "PDF Template" page type
      • Save and edit with the object editor
      • Set the print page size from the SSX object and save
        @media print {
          @page {
            size: 11.7in 8.3in;
          }
          ...
        
      • Register the new PDF template in the wiki administration
      • Export an existing wiki page to PDF using the new (custom) PDF template

      Expected results: the print page size is the one specified in the custom PDF template
      Actual results: the print page size is still the one specified in the PDF sheet (that holds default styles shared by all PDF templates).

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: