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

Custom Text Fields do not Format correctly on JIRA Issue Macro PDF Export

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      PDF export on pages containing a JIRA issue macro has the formatting of Custom text Fields, truncates columns and text with horizontal expansion of field rather than wrapping text to next line and vertically expanding cell.

      Steps to reproduce:

      • Add JIRA issue macro to confluence page
      • Use default settings and add a reference to a custom text box field under
        • Display options >> Columns to display
      • Add text to the custom field that expands the field past default size (Changes depending on number o columns)
      • Export to PDF

      Expected:

      All columns displayed and all text wrapped vertically on PDF export

      Actual:

      Column is expanded horizontally and pushes additional columns and text off of the viewable area of the PDF export. (See Screenshot)

      Workaround:

      PDF stylesheet only applies to Space Export and not individual PDF page Exports

      • Add the following to the PDF Stylesheet:
        body, p, li, td, table, tr, .bodytext, .stepfield {
            word-wrap: normal;
        }
        
        .wiki-content p {
            word-wrap: normal;
        }
        
      • Then Perform a space Export (Space Tools >> Export)
      • PDF Export
      • Custom Export
      • Deselect all and re-select only the single page you want to export
      • Export

      As long as the word strings are not wider than the column (exe: URL address) the Field will break lines correctly and expand vertically.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              emccutcheon Earl McCutcheon
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: