OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Image in custom shape


Dear TC members,

This is a proposal from IBM Lotus Symphony team. First send out to the mailing list, will soon update on the wiki site.

Currently in ODF specification, one custom shape only is allowed to contain text, list, glue point, and enhanced geometry. But very often, some office users require that the custom shape can contain image (or others if any requirement) so that users can composite more presenting effects using custom shape in their ODF applications. This proposal will modify the following places in the latest ODF 1.2 specification Opendocument-v1.2-draft7-10:

(1) add description in 9.4.4 <draw:image>, say <draw:image> may be used with <draw:custom-shape>, the text is like below:

9.4.4 <draw:image>
...................
The <draw:image> element may be used with the following element:

<draw:frame> 9.4.2, <draw:custom-shape> 9.6.1
...................

(2) add description in 9.6.1 <draw:custom-shape>, say <draw:custom-shape> may have the child <draw:image>, the text is like below:

9.6.1 <draw:custom-shape>
...............
The <draw:custom-shape> element may have the following child elements:

<draw:enhanced-geometry> 9.6.1.1, <draw:glue-point> 9.3.16,

<office:event-listeners> 9.3.19, <svg:desc> 9.3.18, <svg:title> 9.3.17,

<text:list> 4.3.1, <text:p> 4.1.3 and <draw:image> 9.4.4.

(3) schema change, <draw:custom-shape> definition may include one or more childs <draw:image>, the schema is like below:

<define name="draw-custom-shape">
<element name="draw:custom-shape">
<ref name="draw-custom-shape-attlist"/>
<ref name="common-draw-position-attlist"/>
<ref name="common-draw-size-attlist"/>
<ref name="common-draw-shape-with-text-and-styles-

attlist"/>
<ref name="common-draw-caption-id-attlist"/>
<optional>
<ref name="svg-title"/>
</optional>
<optional>
<ref name="svg-desc"/>
</optional>
<optional>
<ref name="office-event-listeners"/>
</optional>
<zeroOrMore>
<ref name="draw-glue-point"/>
</zeroOrMore>
<ref name="draw-text"/>
<optional>
<ref name="draw-enhanced-geometry"/>
</optional>
<optional>
<zeroOrMore>
<ref name="draw-image">
</zeroOrMore>
</optional>
</element>
</define>


Best Regards,

Mingfei Jia(¼ÖÃ÷·É)
IBM Lotus Symphony Development
IBM China Software Development LAB, Beijing
Tel: 86-10-82452493 Fax: 86-10-82452887
NOTES:Ming Fei Jia/China/IBM E-mail: jiamingf@cn.ibm.com
Address: No.28 Building, Zhong Guan Cun Software Park, No.8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193, P.R.China



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]