Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-45208

PDF Stylesheet does not apply to Macros

    XMLWordPrintable

Details

    Description

      Summary

      This is a high level bug containing the overall problem. The problem here is that PDF Stylesheet customizations do not apply to all Macros in the exported page.

      Environment

      • Confluence
      • JIRA (optional)

      Steps to Reproduce

      1. Login to Confluence
      2. Create Application Link with JIRA (this is to be used for JIRA Issue Macro)
      3. Create a new Page on Confluence
      4. Insert a JIRA Issue Macro on that page (with a filter on a JIRA project that has tickets)
      5. Write some random text in another paragraph
      6. Insert a Code Macro with some random code inside
      7. Insert a table with some entries
      8. Insert a couple of tasks in a Task list
      9. Insert a Symbol
      10. Insert an Info Macro
      11. Save the page
      12. Go to Confluence Administration -> PDF Stylesheet -> Edit
      13. Insert the following:
        body {
            font-size: 20px;
        }
        
      14. Save and Export the Page as PDF

      Expected Results

      The PDF will be generated with all its content having the font size as 20px

      Actual Results

      The PDF is generated with all text (outside of a macro) font changed to 20px, however all texts in a macro is still using the default CSS settings.

      Workaround

      For Confluence 5.4.2, these stylesheets do not apply for tables as well, but this was fixed in later versions.
      No workarounds are available for the moment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rslaiby Rudy Slaiby
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: