Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public static CT_OMathJc Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_OMathJc ctObj = new CT_OMathJc();
     if (node.Attributes["m:val"] != null)
         ctObj.val = (ST_Jc)Enum.Parse(typeof(ST_Jc), node.Attributes["m:val"].Value);
     return ctObj;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// CT_OMathParaPr class constructor
 /// </summary>
 public CT_OMathParaPr()
 {
     this.jcField = new CT_OMathJc();
 }