Hi Mikhail,
I'm working on a code variation to show you what the problem is.
I'll be back ASA I have the snippet and the code log output ready.
Stay tuned :-).
BeppeC.
Mikhail Voytenko wrote:
Hi,
indeed, the usage of XStorageBasedDocument is the correct approach to
get the storage the document is based on. It allows get the storage
implementation related to the package format. META-INF/manifest.xml
stream is a part of the package format, this is why it can not be
accessed using the package storage implementation.
The streams other than manifest.xml in META-INF should be editable using
this approach, it is a bug if it is not so. The folder can be handled as
a usual substorage in those cases.
Hope that helps.
Best regards,
Mikhail.
On 04/01/09 18:40, Michael Stahl wrote:
On 01/04/2009 10:44, Giuseppe Castagno wrote:
[snip]
Now my questions, keeping in mind that at a certain time I need to
access the "META-INF" substorage to manipulate a custom file (read and
write).
AFAIK, (mav will hopefully correct me if i'm wrong) the META-INF
directory in the ZIP package is handled specially in the Storage
service: it is abstracted away (handled internally by the Storage
implementation), and is not accessible for users of the Storage.
there is some other service (Package? ZipPackage?) that implements a
raw ZIP package, but you're unlikely to get that from an open document.
[snip]
regards,
michael
--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.casta...@acca-esse.eu
beppe...@openoffice.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org