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

pdf.css makes no visible difference in the PDF export

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4-milestone-1, 3.3.1
    • Component/s: Old Core
    • Labels:
    • Environment:
      OSX, clean 3.3 release self-installer
    • keywords:
      pdf, export, pdf export, regression
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Unable to style PDF export according to http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel - either by class/template or pdf.css method.

      used CSS from configuration guide, placed as pdf.css into /templates:

      h1, h2, h3 {
      color: red;
      }

      And the resulting PDF does not have red headings. Changing xhtml2fo.xsl does have effect (but as it does not effect color of H tags that shouldn't be problem).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                petskratt Peeter Marvet
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: