Hello,

I currently am trying to set three Custom Properties in Word, Excel and 
Powerpoint.
After some Research I found the POI-Project.
Problem is: There is a How-To dated from 2004 with some Explanations how 
to
create, read and write custom properties. 
But it says in the StratPage, that for writing Properties you'll need the
 actual
Code from the Subversion-CVS. So I got that.
In those Files, there is missing some code, that existed back in 2004 - 
and yes
you guessed right: everything related to customproperties writing...
So I built the actual doc-Files and read the actual How-To... and there is
nothing in it regarding customProperties...
:-(

So: is there still a possibility to set custom properties in 
MS-Office with POI-hpfs ?
If so: How ????

Oh: and I found a file called "TestMetaDataIPI.java" - dated 
2006-03-03, which seems to do exactly what I wanted... 
but it uses some methods, which are simply not existent or just not 
coded in the actual code (DirectoryEntry.getRoot() or getEntry()...) 
Is there some developer Code I just did not find (I also downloaded 
the build
from March, 28th 2006) ???

To make it a bit easier to Understand, what I am trying to do:
I have an InputStream from a MS-Office-Dokument. (Either loaded it as
 a FileInputStream or I am about to save it to File).
This Stream is to be checked for those three Custom Properties. 
If they don't exist and I am about to save the File, they have to be 
implemented. 
While loading the File, I have to read them out and send the File on, 
depending
on the values...

After reading the POI-pages, I was sure to have the right tool... 
but I'm deeply
stuck...

Please Help !!!

thanks in advance,
Gunnar


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

Reply via email to