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: Proposal for draw aspect


Hi,

ODF 1.1 has already an attribute draw:ole-draw-aspect that specifies 
whether an OLE object shall be displayed in the dafault way, or only an 
icon. Its value is an integer value, whose "interpretation of this 
integer value is left to the OLE object's discretion and not part of 
this specification."

Since specifying a draw aspect is something that is not only reasonable 
to OLE objects, but any kind of objects, it seems to be reasonable to 
specify the draw aspect in an OLE independent way in the future. I 
therefor would like to propose a new attribute, draw:draw-aspect:

Draw Aspect
-----------
For embedded objects, the draw:draw-aspect attribute specifies the draw 
aspect that is used to display embedded objects. The draw aspect 
controls whether the object is displayed as a normal sub document, or 
whether the object is for instance displayed as an icon only.

The draw:ole-draw-aspect attribute may take the following values:

- content: Specifies that the object is displayed as an embedded object
   inside the frame.
- thumbnail: Specifies that a thumbnail of the object is displayed.
- icon: Specifies that an icon is displayed.
- print-view: Specifies that the object is displayed as in a print
   preview.

<define name="style-graphic-properties-attlist" combine="interleave">
	<optional>
		<attribute name="draw:draw-aspect">
			<choice>
				<value>content</value>
				<value>thumbnail</value>
				<value>icon</value>
				<value>print-view</value>
			</choice>
		</attribute>
	</optional>
</define>

Best regards

Michael
-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS



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