Jump to content
  • Issue with exporting borders to PPTX


    elgranchera
    Assigned User teodord
    CategoryBug report
    PriorityHigh
    ReproducibilityAlways
    ResolutionNo Change Required
    SeverityCritical
    StatusClosed

    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);

    exporter.exportReport();

     

    See the attached output for PDF and PPTX.


    Attachments: Templateandoutput.rar

    User Feedback

    Recommended Comments

    Hi,

     

    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.

    Teodor

    Link to comment
    Share on other sites

    Hi,

    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...