incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regina Henschel <>
Subject Re: [PATCH] Fix for #118485#, #108221#, #67705#
Date Mon, 17 Oct 2011 13:22:23 GMT
Hi Dennis,

Dennis E. Hamilton schrieb:
> Regina,
> That looks good.  Is the<draw:ole-object>  the only child of the<draw:frame>?

No, it has a draw:image element for the replacement graphic.
> I'm asking because I wonder what is needed in the ODF specification with
> regard to<draw:frame>  attributes when there are alternative images among the
> <draw:frame>  children.  E.g., if there were a<draw:ole-object>  and a
> <draw:image>  there together.

The full node is:
<draw:frame draw:name="MeinName" draw:style-name="gr4" 
draw:layer="layout" svg:width="8.889cm" svg:height="6.307cm" 
draw:transform="rotate (0.5235987755982) translate (8.02cm 
xlink:href="./Object 1" xlink:type="simple" xlink:show="embed" 
xlink:actuate="onLoad"><text:p>Dies ist eine 
xlink:href="./ObjectReplacements/Object 1" xlink:type="simple" 
xlink:show="embed" xlink:actuate="onLoad"/></draw:frame>

The wrong class-id is likely because my build does not support OLE, that 
is, I cannot activate the object via doubleclick.

> (I also see that cropping doesn't seem to be handled very easily.)

There is no cropping on the frame, but for OLE-objects, which belong to 
ODF, the position of the active part is determined by the scrollbars and 
the grey edges in the activated object. But for real tests I would need 
a build including full OLE feature. I think Armin should tell you about 

Kind regards
>   - Dennis
> -----Original Message-----
> From: Regina Henschel []
> Sent: Sunday, October 16, 2011 14:42
> To:
> Subject: Re: [PATCH] Fix for #118485#, #108221#, #67705#
> Hi Dennis,
> Dennis E. Hamilton schrieb:
>> While attention is on the topic of rendering control for OLE objects,
>> I have questions:
>> How does this modification show up in the ODF XML surrounding the
>> OLE object (element<draw:ole-object>)?
> When I test it with a file, where the OLE-object is already inserted,
> then I see, that the transformation is done in the parent element
> <draw:frame>  with the draw:transform attribute.
> Kind regards
> Regina

View raw message