21.4.3.4 prSet
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: Consider the basic example of prSet in use in DrawingML on a document point type:
<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. end example]
Attributes
custFlipVert
Specifies if there is a custom vertical flip applied.
custFlipHor (Custom Horizontal Flip)
Specifies if there is a custom
horizontal flip applied.
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
custAng (Custom Rotation)
Specifies the amount that rotation is customized by.
The possible values for this attribute are defined by the W3C XML Schema int 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 W3C XML Schema string 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 W3C XML Schema string datatype.
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 W3C XML Schema boolean datatype.
Vertical
(Custom Flip)
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
Specifies the percentage of the neighbor’s width used for offsetting shape.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies the percentage of the neighbor’s height used for offsetting shape.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies the percentage of the current shape width used for offsetting the shape.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies the percentage of the current shape height used for offsetting the shape.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies the amount that the include angle has been scaled by.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies how much the radius has been scaled.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies the amount that the width has been scaled by.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies the amount that the height has been scaled by.
The possible values for this attribute are defined by ST_PrSetCustVal simple type (21.4.7.66).
Specifies a fixed width override for a shape.
The possible values for this attribute are defined by the W3C XML Schema int datatype.
Specifies a fixed height override for a shape.
The possible values for this attribute are defined by the W3C XML Schema int datatype.
Specifies if the text has been customized which allows layout to ignore automatic
Attributes
qsCatId (Current
The point associated with this presentation element. This identifier is used together with presName to create a unique key for presentation element indexing.
The layout node name of this presentation element. This name is used together with presAssocID to create a unique key for presentation element indexing.
Specifies the identifier of the category of the currently applied quick style.
presStyleLbl (Presentation Style Label)
Specifies the layout node style label of this presentation element.
The possible values for this attribute are defined by the W3C XML Schema string 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 W3C XML Schema int 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 W3C XML Schema int datatype.
presName (Presentation Name)
The possible values for this attribute are defined by the W3C XML Schema string datatype.
presAssocID (Presentation Element Identifier)
The possible values for this attribute are defined by the ST_ModelId simple type (21.4.7.43).
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 then the default placeholder text is used.
The possible values for this attribute are defined by the W3C 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 W3C XML Schema boolean 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 W3C XML Schema string 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 W3C XML Schema string datatype.
Changed)
formatting options available to the text.
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
qsTypeId (Current Style Type)
Specifies the identifier of the currently applied quick style.
The possible values for this attribute are defined by the W3C XML Schema string datatype.
Style Category)
The possible values for this attribute are defined by the W3C XML Schema string datatype.
[Note: The W3C XML Schema definition of this element’s content model (CT_ElemPropSet) is located in A.5.3. end note]