[Solved] SXW File generation with zip tool

Writing a book, Automating Document Production - Discuss your special needs here

[Solved] SXW File generation with zip tool

Postby Stupsi76 » Sun Aug 23, 2015 3:11 pm

I need to generate a sxw file out of the XML data. The structure is given already from a template which was unzipped to a folder.
I tried to zip the folder content with 7zip (command: 7z.exe a -r <file_name>.sxw * inside the folder with the content).

Trying to open the generated sxw-file inside Open Office I am receiving the message ASCII Filter Options and I need to choose a style. I tried to extend the 7z.exe command by -scsUTF-8 but this was not working, too. And finally I unzipped a .sxw file and tried to zip the content again to a .sxw file. Also this was not working...

Does anyone have an idea what is going wrong?

Many thanks for your fruitful answers in advance!
Last edited by Hagar Delest on Mon Aug 31, 2015 11:35 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.1 on Windows 7
Stupsi76
 
Posts: 9
Joined: Sun Aug 23, 2015 2:47 pm

Re: SXW File generation with zip tool

Postby Zizi64 » Sun Aug 23, 2015 8:05 pm

SXW File generation with zip tool


Why you need use the non-standard, old fileformat of the first versions of the Openoffice.org and StarOffice?
The native file format of the Apache OpenOffice and LibreOffice (and more office suites) is the ODF. The ODF an international Standard file format for Office suites. Use it.
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.6 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.4; AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7973
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: SXW File generation with zip tool

Postby Stupsi76 » Sun Aug 23, 2015 8:53 pm

Dear Zizi64,

many thanks for the hint! I did not know this. It helps.
OpenOffice 4.1 on Windows 7
Stupsi76
 
Posts: 9
Joined: Sun Aug 23, 2015 2:47 pm


Return to Advanced Uses

Who is online

Users browsing this forum: Google [Bot] and 3 guests