cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Antonio Falaguasta Barbosa" <luiz.barb...@gwe.com.br>
Subject Re: .DOC and .PPT modifying
Date Fri, 19 Oct 2007 13:36:19 GMT
Hi Philippe,

I tried to put (through notepad) this piece of code into a pre existent XML
file (saved into MS Word) and the image didn't appear.

What is wrong?

Does it work only when we use Cocoon or one of MS Office applications,
because they know how to put this kind of information into?

Thanks in advance!

Luiz

On 10/19/07, Philippe Gauthier - INSERM SIRH <
philippe.gauthier@tolbiac.inserm.fr> wrote:
>
> Tobia Conforto a écrit :
> > Luiz Antonio Falaguasta Barbosa wrote:
> >
> >> using Cocoon includes putting images into the pure XML files
> >> (saved by MS Office 2003) too, right?
> >>
> >
> > If (and only if) those file formats really are valid XML, there's
> > nothing in them that Cocoon can't handle.
> >
> > You will have to figure out how exactly the images are embedded in the
> > file (I'd wager in CData sections, but I don't have such a file handy)
> > and work to obtain similar results yourself.  In the worst case scenario
> > you might have to write a piece of Java code to encode the images as an
> > XML fragment in the same way as the format requires... no big deal.
> >
> >
> > Tobia
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> For info here is a fragment of office xml 2003 format showing an image
> encoded in base64 :
> <! --------------------------------- -->
> <w:pict>
>                             <w:binData
>
> w:name="wordml://0300000E.png">iVBORw0KGgoAAAANSUhEUgAAALQAAAAVCAIAAABg71MuAAABvUlEQVR4nO2WwW4CIRCGOexNH8BH
>
> 2b5ST3ptejFpetVTX0dv8ih9AD3XNRhKBxgGZllIOl9MjCwz8zP+Cww/p5M6n5UgeAwPZ+z3rWUI
>
> PTKYr+v4chvHtlKEflhpvdaXpzkmZ3xvd20FCf2wOR5+zSEIPmIOIYqYQ4jCMsfX58fr2zt/Dj/W
>
> ziwImRc37TJrr5cQmgOkwDPWaG5V3OXUdgYzvLkzlBwr89Lt21ImLMMck/tAJbCZmwmIDj9DbJBS
>
> VKVeCBBrflqRrngbwhSWNR8MxuThtZKDlNK+WgM0B+ga/S9JblzBDMmo4vPbLwc6jldJ2g48xfuT
>
> XLt9u/DGBs8dfLCs7YbZjhVKMdfa7mCl3ThYLis81x/FYqqeR8VtX/TO4atxN/bZG8RJiAsLPiVu
>
> gctT3PaAOSi3BybAtrbiMuXo4MJiT3O3HI7CLHLbTt053ET8RhMvccEJRCcFy9F9n3u7xPuDi7GD
>
> QXnMzpe13RA2B35r80eQGmCdlELJp0Ql+CrwkAJh+Oo4LSVmjoXktt3yxxxV93ahW2JeGSiThP/J
> 0xwrrTfHQ1spQj9MflDWHGt9mT5N9QjdcQdyDr1GSkjRjwAAAABJRU5ErkJggk==
>                             </w:binData>
>                             <v:shape id="Image3" o:spid="_x0000_i1028"
> type="#_x0000_t75" style="width:135pt;height:15.75pt;visibility:visible">
>                                 <v:imagedata src="wordml://0300000E.png"
> o:title=""/>
>                             </v:shape>
>                         </w:pict>
> <! --------------------------------- -->
>
> --
> Philippe Gauthier
> INSERM
> DRH - SIRH
> Tel: 01.44.23.62.57
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Mime
View raw message