|
Hi Rainer,
We were able to 'solve' the problem (read:
make it working, for us). This might not be the perfect solution but with
all the documents we tested (doc, xls, vsd, ppt) we were able to
change the document such that both POI and MS-Word could read the resulting
file
(There is still the
issue that the filesize of Word documents is 4096 bytes smaller when
(re-)written by POI).
This is what we found: (see codechanges in attached
MutableProperty.java tagged with 'Added by GK')
Microsoft states
(advises) that new and external applications should always
write property sets with codepage 1200 (as POI does)
Another remark on
codepage 1200:
properties of type 30 (LPSTR) in codepage
1252 need to be written as 31 (LPWSTR) in codepage 1200.
POI does write LPSTR as widechar strings (LPWSTR),
but copies the type indicator of the original (being
30).
This currently concludes our investigations, over
the next few days a decision is made if we will use POI and HPFS with our
application...
Thanks for your help, I will keep following
progression on POI and HPFS.
Kind regards,
Rini van de Wiel
PS. I included the link that helped us getting
around our read/write problem with HPFS (probably well-known to
you)
|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
