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

Charts and SmartArt from PPTX/excel not displaying in Office Connector

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Fix
    • None
    • None
    • Standalone on Linux 2.6.18-194.32.1.el5. Using OpenJDK Runtime Environment on OpenJDK 64-Bit Server VM
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

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

      This is with Office Connector 1.18.

      Steps to Reproduce

      1. Create a PowerPoint file in Office 2007. Add a slide with text, a slide with a chart, a slide with SmartArt, and a Slide with an image. Save as PPTX
      2. Upload to a Confluence Page and insert an Office Connector
      3. Slides with Charts and SmartArt appear blank. Other slides with images/text look fine.

      This is consistently repeatable, even when using other people's PPTX files.

      I have inserted the Test.pptx (fails), Test.ppt (works), and a screenshot of how they appear on the page when viewing the same slide (PPTX on top, PPT below that).

      I believe this is an extremely important bug to fix, as otherwise it severely limits the viability of using the Office Connector to view PowerPoint files as time goes on.

      Workaround

      1. Open the PPTX in PowerPoint and save as a Office 2003-2007 PPT
      2. Upload to a Confluence Page and insert an Office Connector
      3. Slides with Charts and SmartArt display correctly (as do all other slides)

      NB: The workaround may not work in all cases, we have examples of files that are saved as PPT that also display the problem. In that case, some alternatives are:

      • Save the file as a PDF instead
      • Take a screenshot of how the image looks when displayed in Powerpoint directly, and insert that as an image instead of the Chart or SmartArt.

      Example of exception thrown:

      2012-05-29 17:47:16,521 ERROR [DefaultSlideCacheManager:thread-5] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting ???????_?????_?????_???????_????_new.pptx
       -- url: /plugins/servlet/pptslide | userName: admin
      java.lang.NullPointerException
      	at com.benryan.pptx.record.AbstractSingleShape.getPredefinedShape(AbstractSingleShape.java:169)
      	at com.benryan.escher.EscherRenderer.renderAutoshape(EscherRenderer.java:565)
      	at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:233)
      	at com.benryan.ppt.PptRenderer.render(PptRenderer.java:128)
      	at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:54)
      ...
      

      Attachments

        1. ConfluencePPTX-PPT.png
          69 kB
          Steve Croy
        2. Test.ppt
          275 kB
          Steve Croy
        3. Test.pptx
          85 kB
          Steve Croy

        Issue Links

          Activity

            People

              nprasad Natasha Prasad
              ebe73566502b Steve Croy
              Votes:
              34 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: