On Thu, 30 Sep 2010, Thomas P Laford wrote:
but how do I check the "linkTarget" and how do I change the "<vt:r8>"?
CTProperty has a method "public String getLinkTarget()" which should do
the former. It also has a method "public void setR8(double)" which I guess
will do the latter?
OK. But once I call setR8() how does the new value get saved to the
original file?
It's a little trickier, as you're working with the raw xmlbeans object
here. We should probably provide a nice wrapper, if anyone fancies writing
one...? :)
On the document object, you'll need to call the save method and give it
the PackagePart that you loaded it from. See the commit method on
XSSFWorkbook for an example
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]