Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 54134 invoked from network); 19 Oct 2007 13:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 13:36:57 -0000 Received: (qmail 95505 invoked by uid 500); 19 Oct 2007 13:36:39 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 95436 invoked by uid 500); 19 Oct 2007 13:36:39 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 95425 invoked by uid 99); 19 Oct 2007 13:36:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 06:36:39 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 66.249.82.226 is neither permitted nor denied by domain of luiz.barbosa@gwe.com.br) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 13:36:42 +0000 Received: by wx-out-0506.google.com with SMTP id h30so506366wxd for ; Fri, 19 Oct 2007 06:36:19 -0700 (PDT) Received: by 10.70.11.5 with SMTP id 5mr3002530wxk.1192800979359; Fri, 19 Oct 2007 06:36:19 -0700 (PDT) Received: by 10.70.26.13 with HTTP; Fri, 19 Oct 2007 06:36:19 -0700 (PDT) Message-ID: <8d00e9fc0710190636r3dae9c17j3830606e1ac82314@mail.gmail.com> Date: Fri, 19 Oct 2007 10:36:19 -0300 From: "Luiz Antonio Falaguasta Barbosa" To: users@cocoon.apache.org Subject: Re: .DOC and .PPT modifying In-Reply-To: <47186841.90400@tolbiac.inserm.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4812_1440290.1192800979356" References: <20071009150208.GS21934@localhost.localdomain> <8d00e9fc0710170654u502fa410mc205c92eb83bfbfb@mail.gmail.com> <47161C85.7040302@tolbiac.inserm.fr> <8d00e9fc0710170815j3098b10bp604c640835ed0d51@mail.gmail.com> <471691C8.3060503@gmx.de> <8d00e9fc0710180355t56ae11c5y60123a569bdfa33e@mail.gmail.com> <20071018112629.GU8027@localhost.localdomain> <8d00e9fc0710180612v6b0a5a4ah801a898c939a0b3d@mail.gmail.com> <20071018150315.GV8027@localhost.localdomain> <47186841.90400@tolbiac.inserm.fr> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4812_1440290.1192800979356 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 =E9crit : > > 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 scenari= o > > 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:name=3D"wordml://0300000E.png">iVBORw0KGgoAAAANSUhEUgAAALQAAAAVCAIAAABg= 71MuAAABvUlEQVR4nO2WwW4CIRCGOexNH8BH > > 2b5ST3ptejFpetVTX0dv8ih9AD3XNRhKBxgGZllIOl9MjCwz8zP+Cww/p5M6n5UgeAwPZ+z3r= WUI > > PTKYr+v4chvHtlKEflhpvdaXpzkmZ3xvd20FCf2wOR5+zSEIPmIOIYqYQ4jCMsfX58fr2zt/D= j/W > > ziwImRc37TJrr5cQmgOkwDPWaG5V3OXUdgYzvLkzlBwr89Lt21ImLMMck/tAJbCZmwmIDj9Db= JBS > > VKVeCBBrflqRrngbwhSWNR8MxuThtZKDlNK+WgM0B+ga/S9JblzBDMmo4vPbLwc6jldJ2g48x= fuT > > XLt9u/DGBs8dfLCs7YbZjhVKMdfa7mCl3ThYLis81x/FYqqeR8VtX/TO4atxN/bZG8RJiAsLP= iVu > > gctT3PaAOSi3BybAtrbiMuXo4MJiT3O3HI7CLHLbTt053ET8RhMvccEJRCcFy9F9n3u7xPuDi= 7GD > > QXnMzpe13RA2B35r80eQGmCdlELJp0Ql+CrwkAJh+Oo4LSVmjoXktt3yxxxV93ahW2JeGSiTh= P/J > 0xwrrTfHQ1spQj9MflDWHGt9mT5N9QjdcQdyDr1GSkjRjwAAAABJRU5ErkJggk=3D=3D > > type=3D"#_x0000_t75" style=3D"width:135pt;height:15.75pt;visibility:visib= le"> > o:title=3D""/> > > > > > -- > 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 > > ------=_Part_4812_1440290.1192800979356 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Philippe,

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

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 in= formation into?

Thanks in advance!

Luiz

On 10/19/07, Philippe Gauthier - INSERM S= IRH <philippe= .gauthier@tolbiac.inserm.fr > wrote:
Tobia Conforto a =E9crit :
> Luiz Antonio Falaguasta Barbosa wro= te:
>
>> 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&#= 39;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 han= dy)
> and work to obtain similar results yourself.  In the wor= st case scenario
> you might have to write a piece of Java code to en= code the images as an
> XML fragment in the same way as the format re= quires... no big deal.
>
>
> Tobia
>
> ----------------------------= -----------------------------------------
> To unsubscribe, e-mail: <= a href=3D"mailto:users-unsubscribe@cocoon.apache.org">users-unsubscribe@coc= oon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
For info her= e is a fragment of office xml 2003 format showing an image
encoded in ba= se64 :
<! --------------------------------- -->
<w:pict>
&nb= sp;            =             &nb= sp;  <w:binData
w:name=3D"wordml://0300000E.png"&= gt;iVBORw0KGgoAAAANSUhEUgAAALQAAAAVCAIAAABg71MuAAABvUlEQVR4nO2WwW4CIRCGOexN= H8BH
2b5ST3ptejFpetVTX0dv8ih9AD3XNRhKBxgGZllIOl9MjCwz8zP+Cww/p5M6n5UgeAwPZ+z= 3rWUI
PTKYr+v4chvHtlKEflhpvdaXpzkmZ3xvd20FCf2wOR5+zSEIPmIOIYqYQ4jCMsfX58= fr2zt/Dj/W
ziwImRc37TJrr5cQmgOkwDPWaG5V3OXUdgYzvLkzlBwr89Lt21ImLMMck/tAJ= bCZmwmIDj9DbJBS
VKVeCBBrflqRrngbwhSWNR8MxuThtZKDlNK+WgM0B+ga/S9JblzBDMmo4vPbLwc6jldJ2g4= 8xfuT
XLt9u/DGBs8dfLCs7YbZjhVKMdfa7mCl3ThYLis81x/FYqqeR8VtX/TO4atxN/bZG8= RJiAsLPiVu
gctT3PaAOSi3BybAtrbiMuXo4MJiT3O3HI7CLHLbTt053ET8RhMvccEJRCcFy= 9F9n3u7xPuDi7GD
QXnMzpe13RA2B35r80eQGmCdlELJp0Ql+CrwkAJh+Oo4LSVmjoXktt3yxxxV93ahW2JeGSi= ThP/J
0xwrrTfHQ1spQj9MflDWHGt9mT5N9QjdcQdyDr1GSkjRjwAAAABJRU5ErkJggk=3D= =3D
           &n= bsp;            = ;    </w:binData>
    &nbs= p;            &= nbsp;          <v:shap= e id=3D"Image3" o:spid=3D"_x0000_i1028"
type=3D"#_x0000_t75" style=3D"width:135pt;height:15.75pt= ;visibility:visible">
       =             &nb= sp;            = <v:imagedata src=3D"wordml://0300000E.png"
o:title=3D"= "/>
            &nb= sp;            =    </v:shape>
      &= nbsp;           &nbs= p;     </w:pict>
<! ------------------= --------------- -->

--
Philippe Gauthier
INSERM
DRH - SI= RH
Tel: 01.44.23.62.57


---------------------------------------------------------------------To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e= -mail:=20 users-help@cocoon.apache.or= g


------=_Part_4812_1440290.1192800979356--