Hi all,

Mikhail Voitenko wrote:
> Hi Paolo,
> 
> The provided by you link points to a solution using Package component.
> But the writing to a zip file works well using the UCB too.
> 
> The provided by you UCB-based example looks good from the first view,
> except the missing "flash" command. It should be executed on the root
 Actually, the name of the command is "flush".

> content of the zip file "vnd.sun.star.zip://<encoded file URL to the zip
> file>/". This command triggers the storing of all the changes made to
> the zip file.
 For your interest: The "flush" command has been introduced for
performance reasons. As you can imagine zipping the whole file
automatically upon every write operation can be quiete time consuming...

 Documentation of the "flush" command can be found here:
http://api.openoffice.org/docs/common/ref/com/sun/star/ucb/PackageFolderContent.html

- Kai.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to