Hey All
Below is a code snippet I am able to update the ChartSpaceDocument object
as required. My question is what is the correct way to insert the chart
back into the packagePart and update the OPCPackage?
Thanks
OPCPackage ppt = OPCPackage.open("/_excel/Presentation1.pptx");
ArrayList<PackagePart> packageParts = ppt.getParts();
for(PackagePart packagePart : packageParts) {
if(packagePart.getContentType().equals("application/vnd.openxmlformats-off
icedocument.drawingml.chart+xml")) {
ChartSpaceDocument chartSpaceDocument =
ChartSpaceDocument.Factory.parse(packagePart.getInputStream());
...
}
}
-----Original Message-----
From: mouss4rs [mailto:[email protected]]
Sent: Friday, March 09, 2012 7:51 AM
To: [email protected]
Subject: Re: to obtain value of cellx.setCellFormula("SUM(I3:I20)");
I don't obtain value of cellx.setCellFormula("SUM(I3:I20)"); after
changes.
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/to-obtain-value-of-cellx-setCellFo
rmula-SUM-I3-I20-tp5546613p5550481.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional
commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]