Reflection class
Defines the Reflection Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:reflection.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Word.Reflection
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.3.13 reflection
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
A CT_Reflection element that specifies the reflection effect. By default, text does not have reflection. See section 2.2.1 for how this element integrates with ISO/IEC-29500-1.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="reflection" minOccurs="0" type="CT_Reflection"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.24 CT_Reflection
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
Referenced by: reflection
A complex type that specifies the reflection effect.
Attributes:
blurRad: An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] section 20.1.10.42) attribute that specifies the blur radius. This attribute MAY be limited further in the application<33>. The default value for this attribute is 0.
stA: An optional ST_PositiveFixedPercentage (as specified in [ISO/IEC-29500-4] section 12.1.2.3 and [ISO/IEC-29500-1] section 20.1.10.45) that specifies the starting reflection opacity. stA stands for Start Alpha. The default value for this attribute is 0.
stPos: An optional ST_PositiveFixedPercentage (as specified in [ISO/IEC-29500-4] section 12.1.2.3 and [ISO/IEC-29500-1] section 20.1.10.45) that specifies the start position along the gradient ramp of the start alpha value. The default value for this attribute is 0.
endA: An optional ST_PositiveFixedPercentage (as specified in [ISO/IEC-29500-4] section 12.1.2.3 and [ISO/IEC-29500-1] section 20.1.10.45) that specifies the ending reflection opacity. endA stands for End Alpha. The default value for this attribute is 0.
endPos: An optional ST_PositiveFixedPercentage (as specified in [ISO/IEC-29500-4] section 12.1.2.3 and [ISO/IEC-29500-1] section 20.1.10.45) that specifies the end position along the gradient ramp of the end alpha value. The default value for this attribute is 0.
dist: An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] section 20.1.10.42) attribute that specifies how far to offset the reflection from the text. This attribute MAY be limited further in the application<34>. The default value for this attribute is 0.
dir: An optional ST_PositiveFixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.44) attribute that specifies the direction to offset the reflection. The default value for this attribute is 0.
fadeDir: An optional ST_PositiveFixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.44) attribute that specifies the direction of the alpha gradient ramp relative to the text. The default value for this attribute is 0.
sx: An optional ST_Percentage (as specified in [ISO/IEC-29500-4] section 12.1.2.2 and [ISO/IEC-29500-1] section 20.1.10.40) that specifies the horizontal scale factor. The default value for this attribute is 0.
sy: An optional ST_Percentage (as specified in [ISO/IEC-29500-4] section 12.1.2.2 and [ISO/IEC-29500-1] section 20.1.10.40) that specifies the vertical scale factor. The default value for this attribute is 0.
kx: An optional ST_FixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.23) attribute that specifies the horizontal skew angle. The default value for this attribute is 0.
ky: An optional ST_FixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.23) attribute that specifies the vertical skew angle. The default value for this attribute is 0.
algn: An optional ST_RectAlignment attribute that specifies the reflection alignment. The default value for this attribute is "none".
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_Reflection">
<xsd:attribute name="blurRad" use="optional" type="a:ST_PositiveCoordinate"/>
<xsd:attribute name="stA" use="optional" type="a:ST_PositiveFixedPercentage"/>
<xsd:attribute name="stPos" use="optional" type="a:ST_PositiveFixedPercentage"/>
<xsd:attribute name="endA" use="optional" type="a:ST_PositiveFixedPercentage"/>
<xsd:attribute name="endPos" use="optional" type="a:ST_PositiveFixedPercentage"/>
<xsd:attribute name="dist" use="optional" type="a:ST_PositiveCoordinate"/>
<xsd:attribute name="dir" use="optional" type="a:ST_PositiveFixedAngle"/>
<xsd:attribute name="fadeDir" use="optional" type="a:ST_PositiveFixedAngle"/>
<xsd:attribute name="sx" use="optional" type="a:ST_Percentage"/>
<xsd:attribute name="sy" use="optional" type="a:ST_Percentage"/>
<xsd:attribute name="kx" use="optional" type="a:ST_FixedAngle"/>
<xsd:attribute name="ky" use="optional" type="a:ST_FixedAngle"/>
<xsd:attribute name="algn" use="optional" type="ST_RectAlignment"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).