Object Element
Represents an object to be added, updated, or deleted from the specified page.
Usage
<Object guid="{1A6648BA-D792-48f1-AC6A-43DF6E258851}">
<Delete/>
</Object>
Element Information
Namespace
|
http://schemas.microsoft.com/office/onenote/2004/import |
Schema name
|
SimpleImport |
Elements and Attributes
Parent Elements
Element |
Description |
PlaceObjects |
Represents a page on which objects can be added, updated, or deleted. |
Child Elements
Element |
Description |
Delete |
Represents the command to delete the object in which it appears from the specified page. |
Position | Represents the object position on the specified page, as absolute coordinates, expressed in points. |
Image | Represents an image to be imported. |
Ink | Represents ink to be imported. |
Outline | Represents an outline to be imported. |
Attributes
Attribute |
Type |
Required |
Description |
pageGUID | GUID | required | Represents the GUID of the specifed page. |
Definition
<xsd:element name="Object" maxOccurs="unbounded">
<xsd:complexType>
<xsd:choice>
<xsd:element name="Delete"/>
<xsd:sequence>
<xsd:element name="Position">
<xsd:complexType>
<!-- X and Y coordinates are represented as points. -->
<xsd:attribute name="x" type="xsd:decimal" use="required"/>
<xsd:attribute name="y" type="xsd:decimal" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:choice>
<xsd:element name="Image">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageContent">
<xsd:attribute name="backgroundImage" type="xsd:boolean"
default="false"/>
<!-- Width and Height are also expressed in points. -->
<xsd:attribute name="width" type="PositiveDecimal"/>
<xsd:attribute name="height" type="PositiveDecimal"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Ink">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="InkContent">
<xsd:attribute name="width" type="PositiveDecimal"/>
<xsd:attribute name="height" type="PositiveDecimal"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Outline">
<xsd:complexType>
<xsd:sequence>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="Image">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageContent">
<xsd:attribute name="align">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="left"/>
<xsd:enumeration value="center"/>
<xsd:enumeration value="right"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Ink" type="InkContent"/>
<xsd:element name="Html" type="HtmlContent"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="width" type="PositiveDecimal"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:choice>
<xsd:attribute name="guid" type="GUID" use="required"/>
</xsd:complexType>
</xsd:element>
©2003-2004 Microsoft Corporation. All rights reserved.
Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp