Jump to content
  • Issue with exporting borders to PPTX

    Assigned User teodord
    CategoryBug report
    ResolutionNo Change Required

    I have the attached template, and when I export it to PDF or XLS it shows the borders (works fine).


    But when I try to export it to PPTX (using JRPptxExporter), the borders dissapear.


    final JRPptxExporter exporter = new JRPptxExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT,print); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,output);



    See the attached output for PDF and PPTX.

    Attachments: Templateandoutput.rar

    User Feedback

    Recommended Comments



    The problem with the PPTX format is that it does not support different border styles on the different sides of an element.

    Try do that with Microsoft Powerpoint. Can you set different border on different sides?


    This means that the PPTX exporter in JR only takes care of the border property that is common to all sides of an element. That is it ignores left, top, bottom and right border properties and only takes care of the Pen properties that are common to all four sides.


    If you make a text field in which you set the pen property like below, you would see that border in PPTX:



    I hope this helps.


    Link to comment
    Share on other sites


    But by changing the borderline in text box does not work for me, still missing the border after exported as .pptx, using V6.4, any solutions?

    Link to comment
    Share on other sites

  • Create New...