How can one programmatically read the graph values from a Powerpoint presentation using Apache's POI?
问题 I have a Powerpoint presentation with an graph which I want to access using Java and Apache's POI. When I edit the graph data using Powerpoint an Excel window opens with the values, I want to access these values from my Java application. How does one access the values of the graph programmatically? 回答1: In the first part we need to navigate to an XSLFChart object: final String filename = "resources/fptbenchmark/Powerpoint Import.pptx"; final XMLSlideShow ppt = new XMLSlideShow(new