poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumar <chinnionl...@rediffmail.com>
Subject How to store the Modified slide back into ppt
Date Fri, 14 Jul 2006 07:49:36 GMT
Want to replace a partucular text string in a slide, I could able get the 
string and modify it. But how can I saveback the slide into the PPT. I am 
trying out the following..

else if(shp[j] instanceof TextBox){

TextBox textShape = (TextBox)shp[j]; 
String mesg = textShape.getText();
		textShape.setText("replaced text");	
             /*	FileOutputStream outFile = new FileOutputStream


With the commented the entire file is replacing with the present slide, erasing 
the header information.

So is there any procedure to save the changes back into the ppt, having said 
that the slide can be at anywhere in the ppt.

To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

View raw message