Questions tagged [xslf]

Apache POI - XSLF - Java API to Handle Microsoft Powerpoint pptx Files

XSLF is the Apache POI Project's pure Java implementation of the PowerPoint 2007 OOXML (.xlsx) file format. Whilst HSLF and XSLF provide similar features, there is not a common interface across the two of them at this time.

Please note that XSLF is still reworked in recent releases of Apache POI and is still subject to some incompatible changes. Make sure to use the latest version of POI.

A quick guide is available in the XSLF Cookbook

36 questions
0
votes
1 answer

How to get line width of a textbox from apache poi XSLF?

What is the correct way of getting the line width of a simple textbox with apache poi 5.0.0 from a pptx-file? I create a small project with maven apache poi, poi-ooxml and poi-scratchpad. When i create a pptx named test.pptx with three textboxes…
Matthias Wegner
  • 303
  • 4
  • 18
0
votes
0 answers

XSLF :- embedding excel files in PPT

I might be asking a duplicate question here. I read multiple answers regarding OLE embedding but unable to find correct solution for my problem. My Problem I want to create a PPTX file and embed an excel to one of the slide. I found HSLF solution to…
Sumit Tyagi
  • 431
  • 2
  • 14
0
votes
1 answer

I'm trying to change the values of a line graph in a slide but it is not working using POI

I'm using Apache POI 4.01 and trying to use a powerpoint slide with a single line chart as template and then using that to generate a new slide with some different values in the chart but I'm getting the same slide copied without any value change.…
0
votes
1 answer

java - Apache POI plot area with multiple charts

I'm trying to use a PowerPoint file as template to produce another powerpoint replacing carts data. To keep the look as similar as possible with the template, I'm just trying to replace data I need to replace, replicating all other data from the…
Ivano85
  • 98
  • 1
  • 11
0
votes
1 answer

ERROR : Caused by: java.lang.IllegalArgumentException: Relationship null doesn't start with this part /ppt/slides/slide3.xml

I'm working with apache poi xslf to export ppt file. First, I have a template set with 3 slides : title slide, summary slide, and third slide I duplicate the 3rd slide (i have it as a template) in order to copy many data/graphics as I have in…
Ghita
  • 169
  • 1
  • 1
  • 14
0
votes
0 answers

How to use TikaCLI Features in Java Source Code?

I'm trying to extract embedded Files from office documents using Apache Tika. Using the Tika CLI (cmd), everything works perfectly well. But I have to integrate it in my Java Source Code in Eclipse. So what I did is: public static void…
Nicola
  • 385
  • 1
  • 5
  • 15
1 2
3