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

Images from the Office Viewer macro output are missing from the ODT / RTF export

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 13.10.11, 15.8, 14.10.18
    • Docker Image 15.6
    • Unknown

    Description

      Steps to reproduce

      1. Create a new page for each type
      2. Use Office Viewer macro to view office file
      {{office attachment="ppt_test.ppt"/}}
      {{office attachment="word_test.docx"/}}

      Expected results

      Same as the page to display

      Actual results

      1. View PPT
        1. Export PDF
        2. Export ODT
          PPT not show
      2. View Word
        1. Export PDF
          Same as View PPT
        2. Export ODT
          Pictures within documents not showing up
      3. All Export RTF
        Exporting to RTF format gives an error, both in preview and direct import.
      Caused by: java.lang.IllegalArgumentException: Unsupported conversion
      	at org.jodconverter.core.util.AssertUtils.isTrue(AssertUtils.java:40)
      	at org.jodconverter.local.task.LocalConversionTask.storeDocument(LocalConversionTask.java:188)
      	at org.jodconverter.local.task.LocalConversionTask.execute(LocalConversionTask.java:130) 

      Attachments

        1. image-2023-08-23-15-13-31-677.png
          image-2023-08-23-15-13-31-677.png
          13 kB
        2. word_test.docx
          13 kB
        3. Export PDF Exception.txt
          4 kB
        4. ppt_test.ppt
          120 kB
        5. DOCX_15_6_Jetty.pdf
          45 kB
        6. 50 Slides.pptx
          3.86 MB
        7. OfficeViewer.jpg
          OfficeViewer.jpg
          192 kB
        8. PPT.jpg
          PPT.jpg
          86 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wrck wrck
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: