Hi Bernard,

thank you for the hint to the BasicAddonBuilder. My first tries with service com.sun.star.packages.Package failed. I will try it again with using the macros in BasicAddonBuilder as template.

Kind regards
Regina

Bernard Marcelly schrieb:
Hi Regina,

You have to use the service com.sun.star.packages.Package

Examples
Reading a text file from a zip :
   <https://forum.openoffice.org/en/forum/viewtopic.php?f=45&t=9574#p45086>
Writing a zip file :
   in BasicAddonBuilder, see Basic module "zip"

Regards
   Bernard

Regina Henschel a écrit le 2015-10-11 20:31 :
Hi all,

I want to write a Basic macro to preview an .xhp file while editing
it. Viewing
such file works fine with LoadComponentFromUrl with protocol
"vnd.sun.star.help", if the file is inside a .jar container.

But how can I modify or create or zip/unzip the content of such
container using
a Basic macro? A SimpleFileAccess sees it only as file, not as folder.

Kind regards
Regina


---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to