예제 #1
0
 public CT_BackgroundFormatting()
 {
     this.effectDagField = new CT_EffectContainer();
     this.effectLstField = new CT_EffectList();
     this.grpFillField = new CT_GroupFillProperties();
     this.pattFillField = new CT_PatternFillProperties();
     this.blipFillField = new CT_BlipFillProperties();
     this.gradFillField = new CT_GradientFillProperties();
     this.solidFillField = new CT_SolidColorFillProperties();
     this.noFillField = new CT_NoFillProperties();
 }
예제 #2
0
 public CT_FillProperties()
 {
     this.grpFillField = new CT_GroupFillProperties();
     this.pattFillField = new CT_PatternFillProperties();
     this.blipFillField = new CT_BlipFillProperties();
     this.gradFillField = new CT_GradientFillProperties();
     this.solidFillField = new CT_SolidColorFillProperties();
     this.noFillField = new CT_NoFillProperties();
 }
예제 #3
0
 public static CT_BlipFillProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_BlipFillProperties ctObj = new CT_BlipFillProperties();
     ctObj.dpi = XmlHelper.ReadUInt(node.Attributes["dpi"]);
     ctObj.rotWithShape = XmlHelper.ReadBool(node.Attributes["rotWithShape"]);
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "blip")
             ctObj.blip = CT_Blip.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "srcRect")
             ctObj.srcRect = CT_RelativeRect.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "tile")
             ctObj.tile = CT_TileInfoProperties.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "stretch")
             ctObj.stretch = CT_StretchInfoProperties.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
예제 #4
0
파일: Table.cs 프로젝트: xoposhiy/npoi
 public CT_TableCellProperties()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.grpFillField = new CT_GroupFillProperties();
     this.pattFillField = new CT_PatternFillProperties();
     this.blipFillField = new CT_BlipFillProperties();
     this.gradFillField = new CT_GradientFillProperties();
     this.solidFillField = new CT_SolidColorFillProperties();
     this.noFillField = new CT_NoFillProperties();
     this.cell3DField = new CT_Cell3D();
     this.lnBlToTrField = new CT_LineProperties();
     this.lnTlToBrField = new CT_LineProperties();
     this.lnBField = new CT_LineProperties();
     this.lnTField = new CT_LineProperties();
     this.lnRField = new CT_LineProperties();
     this.lnLField = new CT_LineProperties();
     this.marLField = 91440;
     this.marRField = 91440;
     this.marTField = 45720;
     this.marBField = 45720;
     this.vertField = ST_TextVerticalType.horz;
     this.anchorField = ST_TextAnchoringType.t;
     this.anchorCtrField = false;
     this.horzOverflowField = ST_TextHorzOverflowType.clip;
 }
예제 #5
0
파일: Table.cs 프로젝트: xoposhiy/npoi
 public CT_TableProperties()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.effectDagField = new CT_EffectContainer();
     this.effectLstField = new CT_EffectList();
     this.grpFillField = new CT_GroupFillProperties();
     this.pattFillField = new CT_PatternFillProperties();
     this.blipFillField = new CT_BlipFillProperties();
     this.gradFillField = new CT_GradientFillProperties();
     this.solidFillField = new CT_SolidColorFillProperties();
     this.noFillField = new CT_NoFillProperties();
     this.rtlField = false;
     this.firstRowField = false;
     this.firstColField = false;
     this.lastRowField = false;
     this.lastColField = false;
     this.bandRowField = false;
     this.bandColField = false;
 }
예제 #6
0
 public CT_GroupShapeProperties()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.scene3dField = new CT_Scene3D();
     this.effectDagField = new CT_EffectContainer();
     this.effectLstField = new CT_EffectList();
     this.grpFillField = new CT_GroupFillProperties();
     this.pattFillField = new CT_PatternFillProperties();
     this.blipFillField = new CT_BlipFillProperties();
     this.gradFillField = new CT_GradientFillProperties();
     this.solidFillField = new CT_SolidColorFillProperties();
     this.noFillField = new CT_NoFillProperties();
     //this.xfrmField = new CT_GroupTransform2D();
 }
예제 #7
0
 public CT_TextCharacterProperties()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.hlinkMouseOverField = new CT_Hyperlink();
     this.hlinkClickField = new CT_Hyperlink();
     this.symField = new CT_TextFont();
     this.csField = new CT_TextFont();
     this.eaField = new CT_TextFont();
     this.latinField = new CT_TextFont();
     this.uFillField = new CT_TextUnderlineFillGroupWrapper();
     this.uFillTxField = new CT_TextUnderlineFillFollowText();
     this.uLnField = new CT_LineProperties();
     this.uLnTxField = new CT_TextUnderlineLineFollowText();
     this.highlightField = new CT_Color();
     this.effectDagField = new CT_EffectContainer();
     this.effectLstField = new CT_EffectList();
     this.grpFillField = new CT_GroupFillProperties();
     this.pattFillField = new CT_PatternFillProperties();
     this.blipFillField = new CT_BlipFillProperties();
     this.gradFillField = new CT_GradientFillProperties();
     this.solidFillField = new CT_SolidColorFillProperties();
     this.noFillField = new CT_NoFillProperties();
     this.lnField = new CT_LineProperties();
     this.dirtyField = true;
     this.errField = false;
     this.smtCleanField = true;
     this.smtIdField = ((uint)(0));
 }