Beispiel #1
0
 /// <summary>
 /// CT_MathPr class constructor
 /// </summary>
 public CT_MathPr()
 {
     this.naryLimField = new CT_LimLoc();
     this.intLimField = new CT_LimLoc();
     //this.intraSpField = new CT_TwipsMeasure();
     //this.interSpField = new CT_TwipsMeasure();
     //this.postSpField = new CT_TwipsMeasure();
     //this.preSpField = new CT_TwipsMeasure();
     this.defJcField = new CT_OMathJc();
     this.rMarginField = new CT_TwipsMeasure();
     this.lMarginField = new CT_TwipsMeasure();
     //this.dispDefField = new CT_OnOff();
     this.smallFracField = new CT_OnOff();
     this.brkBinSubField = new CT_BreakBinSub();
     this.brkBinField = new CT_BreakBin();
     this.mathFontField = new CT_String();
     this.mathFont.val = "Cambria Math";
     this.brkBin.val = ST_BreakBin.before;
     this.brkBinSub.val = ST_BreakBinSub.Item;
     this.smallFrac.val = ST_OnOff.off;
     this.lMargin.val = 0;
     this.rMargin.val = 0;
     this.defJc.val = ST_Jc.centerGroup;
     this.itemField = new CT_TwipsMeasure();
     (this.Item as CT_TwipsMeasure).val = 1440;
     this.itemElementName = "wrapIndent";
     this.intLim.val = ST_LimLoc.subSup;
     this.naryLim.val = ST_LimLoc.undOvr;
 }
Beispiel #2
0
 public static CT_LimLoc Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_LimLoc ctObj = new CT_LimLoc();
     if (node.Attributes["m:val"] != null)
         ctObj.val = (ST_LimLoc)Enum.Parse(typeof(ST_LimLoc), node.Attributes["m:val"].Value);
     return ctObj;
 }
Beispiel #3
0
 /// <summary>
 /// CT_NaryPr class constructor
 /// </summary>
 public CT_NaryPr()
 {
     this.ctrlPrField = new CT_CtrlPr();
     this.supHideField = new CT_OnOff();
     this.subHideField = new CT_OnOff();
     this.growField = new CT_OnOff();
     this.limLocField = new CT_LimLoc();
     this.chrField = new CT_Char();
 }