<prSet> (Property Set)

This element holds properties and customizations which are used throughout certain elements in DiagramML. The properties can be grouped into the following general categories:

  • Presentation Properties - presLayoutVars, style, presAssocId, presName, presStyleLbl, presStyleIdx, presStyleCnt

  • Document Properties - loTypeId, loCatId, qsTypeId, qaCatId, csTypeId, coherent3DOff

  • Semantic Element Properties - phldrT, phldr

  • Customization Properties - custAng, custFlipVert, custFlipHor, custSzX, custSzY, custScaleX, custScaleY, custT, custLinFactX, custLinFactY, custLinFactNeighborX, custLinFactNeighborY, custRadScaleRad, custRadScaleInc

example:
<prSet loTypeId="urn:microsoft.com/office/officeart/2005/8/layout/default" loCatId="list" qsTypeId="urn:microsoft.com/office/officeart/2005/8/quickstyle/3d1" qsCatId="3D" csTypeId="urn:microsoft.com/office/officeart/2005/8/colors/colorful2" csCatId="colorful" phldr="1"/>

In this example we define the layout identifier, the category of the layout, the quick style identifier, the quick style category, along with the color style and color style category. ]

Parent Elements

<pt>5.9.3.5)

Child Elements

Subclause

<presLayoutVars> (Presentation Layout Variables)

§5.9.5.4

<style> (Shape Style)

§5.9.2.28

Attributes

Description

<coherent3DOff> (Coherent 3D Behavior)

Enables or disables the Coherent 3D behavior for styles that specify this property.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<csCatId> (Color Transform Category)

This attribute specifies the identifier of the current color transform category.

The possible values for this attribute are defined by the XML Schema string datatype.

<csTypeId> (Color Transform Type Identifier)

This attribute specifies the identifier of the currently applied color transform.

The possible values for this attribute are defined by the XML Schema string datatype.

<custAng> (Custom Rotation)

Specifies the amount that rotation is customized by.

The possible values for this attribute are defined by the XML Schema int datatype.

<custFlipHor> (Custom Horizontal Flip)

Specifies if there is a custom horizontal flip applied.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<custFlipVert> (Custom Vertical Flip)

Specifies if there is a custom vertical flip applied.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<custLinFactNeighborX> (Neighbor Offset Width)

Specifies the percentage of the neighbor's width used for offsetting shape.

The possible values for this attribute are defined by the XML Schema int datatype.

<custLinFactNeighborY> (Neighbor Offset Height)

Specifies the percentage of the neighbor's height used for offsetting shape.

The possible values for this attribute are defined by the XML Schema int datatype.

<custLinFactX> (Custom Factor Width)

Specifies the percentage of the current shape width used for offsetting the shape.

The possible values for this attribute are defined by the XML Schema int datatype.

<custLinFactY> (Custom Factor Height)

Specifies the percentage of the current shape height used for offsetting the shape.

The possible values for this attribute are defined by the XML Schema int datatype.

<custRadScaleInc> (Include Angle Scale)

Specifies the amount that the include angle has been scaled by.

The possible values for this attribute are defined by the XML Schema int datatype.

<custRadScaleRad> (Radius Scale)

Specifies how much the radius has been scaled.

The possible values for this attribute are defined by the XML Schema int datatype.

<custScaleX> (Width Scale)

Specifies the amount that the width has been scaled by.

The possible values for this attribute are defined by the XML Schema int datatype.

<custScaleY> (Height Scale)

Specifies the amount that the height has been scaled by.

The possible values for this attribute are defined by the XML Schema int datatype.

<custSzX> (Fixed Width Override)

Specifies a fixed width override for a shape.

The possible values for this attribute are defined by the XML Schema int datatype.

<custSzY> (Fixed Height Override)

Specifies a fixed height override for a shape.

The possible values for this attribute are defined by the XML Schema int datatype.

<custT> (Text Changed)

Specifies if the text has been customized which allows layout to ignore automatic formatting options available to the text.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<loCatId> (Current Diagram Category)

Specifies the current identifier of the layout category applied to the diagram.

The possible values for this attribute are defined by the XML Schema string datatype.

<loTypeId> (Current Diagram Type)

Specifies the identifier for the layout currently applied to the diagram.

The possible values for this attribute are defined by the XML Schema string datatype.

<phldr> (Placeholder)

Indicates that the point is a placeholder or sample item.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<phldrT> (Placeholder Text)

The text used for display in the element if the placeholder flag is set to true. If this property is not set than default placeholder text will be used.

The possible values for this attribute are defined by the XML Schema string datatype.

<presAssocID> (Presentation Element Identifier)

The point associated with this presentation element. This identifier is used together with @presName to create a unique key for presentation element indexing.

The possible values for this attribute are defined by the ST_ModelId simple type (§5.9.7.42).

<presName> (Presentation Name)

The layout node name of this presentation element. This name is used together with @presAssocID to create a unique key for presentation element indexing.

The possible values for this attribute are defined by the XML Schema string datatype.

<presStyleCnt> (Presentation Style Count)

Specifies the layout node style count of this presentation element.

The possible values for this attribute are defined by the XML Schema int datatype.

<presStyleIdx> (Presentation Style Index)

Specifies the layout node style index of this presentation element.

The possible values for this attribute are defined by the XML Schema int datatype.

<presStyleLbl> (Presentation Style Label)

Specifies the layout node style label of this presentation element.

The possible values for this attribute are defined by the XML Schema string datatype.

<qsCatId> (Current Style Category)

Specifies the identifier of the category of the currently applied quick style.

The possible values for this attribute are defined by the XML Schema string datatype.

<qsTypeId> (Current Style Type)

Specifies the identifier of the currently applied quick style.

The possible values for this attribute are defined by the XML Schema string datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_ElemPropSet">
	<sequence>
	<element name="presLayoutVars" type="CT_LayoutVariablePropertySet" minOccurs="0" maxOccurs="1"/>
	<element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="presAssocID" type="ST_ModelId" use="optional"/>
	<attribute name="presName" type="xsd:string" use="optional"/>
	<attribute name="presStyleLbl" type="xsd:string" use="optional"/>
	<attribute name="presStyleIdx" type="xsd:int" use="optional"/>
	<attribute name="presStyleCnt" type="xsd:int" use="optional"/>
	<attribute name="loTypeId" type="xsd:string" use="optional"/>
	<attribute name="loCatId" type="xsd:string" use="optional"/>
	<attribute name="qsTypeId" type="xsd:string" use="optional"/>
	<attribute name="qsCatId" type="xsd:string" use="optional"/>
	<attribute name="csTypeId" type="xsd:string" use="optional"/>
	<attribute name="csCatId" type="xsd:string" use="optional"/>
	<attribute name="coherent3DOff" type="xsd:boolean" use="optional"/>
	<attribute name="phldrT" type="xsd:string" use="optional"/>
	<attribute name="phldr" type="xsd:boolean" use="optional"/>
	<attribute name="custAng" type="xsd:int" use="optional"/>
	<attribute name="custFlipVert" type="xsd:boolean" use="optional"/>
	<attribute name="custFlipHor" type="xsd:boolean" use="optional"/>
	<attribute name="custSzX" type="xsd:int" use="optional"/>
	<attribute name="custSzY" type="xsd:int" use="optional"/>
	<attribute name="custScaleX" type="xsd:int" use="optional"/>
	<attribute name="custScaleY" type="xsd:int" use="optional"/>
	<attribute name="custT" type="xsd:boolean" use="optional"/>
	<attribute name="custLinFactX" type="xsd:int" use="optional"/>
	<attribute name="custLinFactY" type="xsd:int" use="optional"/>
	<attribute name="custLinFactNeighborX" type="xsd:int" use="optional"/>
	<attribute name="custLinFactNeighborY" type="xsd:int" use="optional"/>
	<attribute name="custRadScaleRad" type="xsd:int" use="optional"/>
	<attribute name="custRadScaleInc" type="xsd:int" use="optional"/>
</complexType>