<tblPr>
(Table Properties)
This element defines the properties of a table on the whole. Within this element are many visual modifications that can be applied to the table.
<a:tblPr firstRow="1" bandRow="1"> <a:tableStyleId>{5940675A-B579-460E-94D1-54222C63F5DA}</a:tableStyleId> </a:tblPr>
In this example, we see that there is a link to a <table style id>
(§5.1.6.10) which is defined elsewhere and that the first column formatting and banded row formatting has been enabled. The <table style>
defines the formatting applied with the two formatting options enabled. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
Enables or disables the banded column formatting for a <a:tblPr bandCol="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see the banded column formatting is enabled for the table. When applied, the linked table style defines the formatting for The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Enables or disables the banded row formatting for a <a:tblPr bandRow="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see the banded row formatting is enabled for the table. When applied, the linked table style defines the formatting for banded rows. ] The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Enables or disables the first column formatting for a <a:tblPr firstCol="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see the first column formatting is enabled for the table. When applied, the linked table style defines the formatting for the first column. ] The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Enables or disables the first row formatting for a <a:tblPr firstRow="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see the first row formatting is enabled for the table. When applied, the linked table style defines the formatting for the first row. ] The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Enables or disables the last column formatting for a <a:tblPr lastCol="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see the last column formatting is enabled for the table. When applied, the linked table style defines the formatting for the last column. ] The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Enables or disables the last row formatting for a <a:tblPr lastRow="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see the last row formatting is enabled for the table. When applied, the linked table style defines the formatting for the last row. ] The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Defines enables the right-to-left settings of a table. If the value of rtl is on, <a:tblPr rtl="1"> <a:tableStyleId>{5940675A-B579-460E-94D1- 54222C63F5DA}</a:tableStyleId> </a:tblPr> In this example, we can see that the table is to be created in a right-to-left direction. ] The possible values for this attribute are defined by the XML Schema boolean datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TableProperties">
<sequence>
<group ref="EG_FillProperties" minOccurs="0" maxOccurs="1"/>
<group ref="EG_EffectProperties" minOccurs="0" maxOccurs="1"/>
<choice minOccurs="0" maxOccurs="1">
<element name="tableStyle" type="CT_TableStyle"/>
<element name="tableStyleId" type="ST_Guid"/>
</choice>
<element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="rtl" type="xsd:boolean" use="optional" default="false"/>
<attribute name="firstRow" type="xsd:boolean" use="optional" default="false"/>
<attribute name="firstCol" type="xsd:boolean" use="optional" default="false"/>
<attribute name="lastRow" type="xsd:boolean" use="optional" default="false"/>
<attribute name="lastCol" type="xsd:boolean" use="optional" default="false"/>
<attribute name="bandRow" type="xsd:boolean" use="optional" default="false"/>
<attribute name="bandCol" type="xsd:boolean" use="optional" default="false"/>
</complexType>