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

The PDF exported using Chrome Docker Container does not include the Table of Contents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.10
    • 14.9-rc-1
    • Export - PDF
    • None
    • Windows 11 Pro 64bit, Chrome 106, using an instance of XWiki 14.9 RC1 on MariaDB 10.6, Tomcat 9.0.68
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Install PDF Export Application
      2. Go to Administer Wiki > Content > PDF Export
      3. On 'Generator', select 'Chrome Docker Container'
      4. Create a page with some Headings in its content (e.g. "Heading 1" and "Heading 2") (or use Sandbox.WebHome)
      5. On this page, click 'More Actions' > 'Export' > 'Export as PDF' (make sure 'Table of Contents' is checked)
      6. Click 'Export'
      7. Observe the exported PDF file

      EXPECTED RESULTS

      The exported PDF file contains the Table of Contents located right after the cover page.

      ACTUAL RESULTS

      The Table of Contents is not included in the exported file.

      However, when using 'User Browser' Generator, the Table of Contents is included.

      Please find attached the PDF files exported using both options.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: