OverrideColorMapping Class
Override Color Mapping.When the object is serialized out as xml, its qualified name is a:overrideClrMapping.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.ColorMappingType
DocumentFormat.OpenXml.Drawing.OverrideColorMapping
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class OverrideColorMapping _
Inherits ColorMappingType
'Применение
Dim instance As OverrideColorMapping
public class OverrideColorMapping : ColorMappingType
Remarks
The following table lists the possible child types:
- ExtensionList <a:extLst>
[ISO/IEC 29500-1 редакция 1]
20.1.6.8 overrideClrMapping (Override Color Mapping)
This element provides an override for the color mapping in a document. When defined, this color mapping is used in place of the already defined color mapping, or master color mapping. This color mapping is defined in the same manner as the other mappings within this document.
[Example: Consider the following example of an override color mapping in DrawingML:
<overrideClrMapping bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1"
accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5"
accent6="accent6" hlink="hlink" folHlink="folHlink"/>
end example]
Parent Elements |
---|
clrMapOvr (§19.3.1.7) |
Child Elements |
Subclause |
---|---|
extLst (Extension List) |
§20.1.2.2.15 |
Attributes |
Description |
---|---|
accent1 (Accent 1) |
Specifies a color defined which is associated as the accent 1 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
accent2 (Accent 2) |
Specifies a color defined which is associated as the accent 2 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
accent3 (Accent 3) |
Specifies a color defined which is associated as the accent 3 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
accent4 (Accent 4) |
Specifies a color defined which is associated as the accent 4 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
accent5 (Accent 5) |
Specifies a color defined which is associated as the accent 5 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
accent6 (Accent 6) |
Specifies a color defined which is associated as the accent 6 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
bg1 (Background 1) |
A color defined which is associated as the first background color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
bg2 (Background 2) |
Specifies a color defined which is associated as the second background color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
folHlink (Followed Hyperlink) |
Specifies a color defined which is associated as the color for a followed hyperlink. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
hlink (Hyperlink) |
Specifies a color defined which is associated as the color for a hyperlink. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
tx1 (Text 1) |
Specifies a color defined which is associated as the first text color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
tx2 (Text 2) |
Specifies a color defined which is associated as the second text color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14). |
[Note: The W3C XML Schema definition of this element's content model (CT_ColorMapping) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.