Beispiel #1
0
 public CT_TableStyleTextStyle()
 {
     this.extLstField    = new CT_OfficeArtExtensionList();
     this.prstClrField   = new CT_PresetColor();
     this.schemeClrField = new CT_SchemeColor();
     this.sysClrField    = new CT_SystemColor();
     this.hslClrField    = new CT_HslColor();
     this.srgbClrField   = new CT_SRgbColor();
     this.scrgbClrField  = new CT_ScRgbColor();
     this.fontRefField   = new CT_FontReference();
     this.fontField      = new CT_FontCollection();
     this.bField         = ST_OnOffStyleType.def;
     this.iField         = ST_OnOffStyleType.def;
 }
Beispiel #2
0
 public CT_FontScheme()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.minorFontField = new CT_FontCollection();
     this.majorFontField = new CT_FontCollection();
 }
Beispiel #3
0
 public static CT_FontCollection Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_FontCollection ctObj = new CT_FontCollection();
     ctObj.font = new List<CT_SupplementalFont>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "latin")
             ctObj.latin = CT_TextFont.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "ea")
             ctObj.ea = CT_TextFont.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "cs")
             ctObj.cs = CT_TextFont.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "font")
             ctObj.font.Add(CT_SupplementalFont.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Beispiel #4
0
 public CT_TableStyleTextStyle()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.prstClrField = new CT_PresetColor();
     this.schemeClrField = new CT_SchemeColor();
     this.sysClrField = new CT_SystemColor();
     this.hslClrField = new CT_HslColor();
     this.srgbClrField = new CT_SRgbColor();
     this.scrgbClrField = new CT_ScRgbColor();
     this.fontRefField = new CT_FontReference();
     this.fontField = new CT_FontCollection();
     this.bField = ST_OnOffStyleType.def;
     this.iField = ST_OnOffStyleType.def;
 }
Beispiel #5
0
 public CT_FontScheme()
 {
     this.extLstField    = new CT_OfficeArtExtensionList();
     this.minorFontField = new CT_FontCollection();
     this.majorFontField = new CT_FontCollection();
 }