cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Antonio Falaguasta Barbosa" <>
Subject Re: .DOC and .PPT modifying
Date Wed, 17 Oct 2007 15:47:26 GMT
Hi Thomas,

I understood the structure of new MS-files with .***X extension. Thanks for
your answer!

The problem is that the users only have MS Office 2003.
I made a test here, after your answer and Philippe's answer.

I took a .DOC file, I saved it as (save as) and selected .XML extension. So,
I open it into notepad and saw the content (XML content).
This file has images and tables into.

What I thought is that I can have my templates in XML format (.XML)
generated into MS Word. So, I can process this file to change text keys by
text values, in that way explained by Philippe (even the file doesn't have
.DOCX, .XLSX or .PPTX extension --> I don't know if it work... please
people, tell me), and generate one specific file with .DOC extension (I
don't know how I could generate one .DOC  or .PPT or .XLS... until now, I
know that .DOC can't be generated and that .XLS can be with Apache/POI), for
example. After that, I could read this file like a "pre office 2003" with
Cocoon and insert one picture.

Is there any way (or tool) to do everything with a template XML-based file
and generate the new XML-based file, changing the text keys by text values
and another text keys by images (that could be understandable by MS Office

Thanks in advance!


On 10/17/07, Thomas Markus <> wrote:
> Hi,
> OOo files (and newer MS-files like docx) are zip files with multiple
> files inside. OOo has a content.xml + attachments and styles. You can
> unzip that file, modify content.xml, modify attachments and then zip it
> again.
> tm
> Joerg Heinicke schrieb:
> > On 17.10.2007 9:02 Uhr, Luiz Antonio Falaguasta Barbosa wrote:
> >
> >>> On the other hand, the newer office productivity file formats are all
> >>> XML-based (both OpenDocument and that other Microsoft equivalent) and
> >>> Cocoon excels at handling XML.
> >>
> >> Yeah man! That's point for me now!
> >> My client told me that I can consider the usage of Office 2003 for the
> >> users. So, all the office types are XML-based, right?
> >
> > Are they really? Isn't there still the binary Excel format and a
> > second XML-based one? I'm absolutely not sure, haven't worked with it
> > myself. Just what I "heard" ...
> >
> > Joerg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > For additional commands, e-mail:
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message