[Gambas-user] Output to Libre Office Writer ??
Benoît Minisini
gambas at ...1...
Mon Apr 1 02:21:23 CEST 2013
Le 01/04/2013 01:32, rocko a écrit :
> I actually tried that after sending my response.
> lo and behold! XML file woo hoo!
>
> So I assume I can just do a search thru th XML file and change things
> then re-save
> the file and re-zip it like you said.
>
>
>
> So how do I unzip and re-zip a file in Gambas?, sorry this is kinda new
> to me.
SHELL "zip ..." WAIT
SHELL "unzip ..." WAIT
That run the shell commands as if you typed them in a terminal.
There is a compression component that allows you to do the same thing
without running external process, but it is a more complex to explain.
> Which kind of search functions does gambas have?? regex I assume, any
> others??
>
I use Replace$(). No need for regexp. If your search pattern are like
"$(field name)", you won't mix up with any OpenOffice XML syntax.
Don't forget to look at XML format for correctly quoting characters that
must be quoted.
Regards,
--
Benoît Minisini
More information about the User
mailing list