Hi @David Thielen ,
phClr is a color used in theme definitions which means to use the color of the style. See ISO/IEC 29500-1:2016 20.1.10.54 ST_SchemeColorVal (Scheme Color) for more and other color definitions.
Some elements map directly to elements in the ISO-29500 standard.
- schemeClr: A CT_SchemeColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color bound to a user's theme. See ([ISO/IEC29500-1:2016] section 20.1.2.3.29).
- spPr: A CT_ShapeProperties element ([ISO/IEC29500-1:2016] section A.4.1) that specifies visual shape properties of the shape
Not all properties in styles.xml map directly to properties in chart.xml, however, some elements are extensions of ISO/IEC29500-1:2016 with additional elements or properties.
- lnRef, fillRef, and effectRef are instances of 2.8.3.8 CT_StyleReference , which is an extensions of CT_StyleMatrixReference ([ISO/IEC29500-1:2016] section A.4.1) but also allows for a CT_StyleColor (section 2.8.3.6) element and a modifier list.
- fontRef 2.8.3.4 CT_FontReference a reference to the document's font scheme.<93> This element is identical to CT_FontReference ([ISO/IEC29500-1:2016] section A.4.1) but also allows for a CT_StyleColor (section 2.8.3.6) element and a modifier list
Other elements are extensions.
- styleClr 2.8.3.6 CT_StyleColor The complex type specifies a color which is retrieved from CT_ColorStyle (section 2.8.3.2).<95> special element used to retrieve colors Referenced by: CT_StyleReference, CT_FontReference.
There’s no table for which elements fall into each category, you have to dig through the documentation. E.g. for fontRef the steps I took to find the definition were:
- MS-ODRAWXML 2.8.3.7 CT_StyleEntry has this definition for fontRef:
- fontRef: A CT_FontReference element that specifies a reference to a themed font.
- Next the definition for CT_FontReference
- MS-ODRAWXML 2.8.3.4 CT_FontReference A reference to the document's font scheme.<93> This element is identical to CT_FontReference ([ISO/IEC29500-1:2016] section A.4.1) but also allows for a CT_StyleColor (section 2.8.3.6) element and a modifier list
So, in this case fontRef is a CT_FontReference ([ISO/IEC29500-1:2016] section A.4.1) that allows for a CT_StyleColor (section 2.8.3.6) element and a modifier list.
I hope that answers your question.
Best,
-Mike