//..................................................................... /// <summary> /// /// </summary> /// <param name="useItalic"></param> /// <returns></returns> public static M.ControlProperties MakeControlProperties(bool useItalic = false) { RunProperties propertiesRUN = new RunProperties( ); propertiesRUN.Append(OpenDocxMathExprs.MakeMathFont()); if (useItalic) { propertiesRUN.Append(OpenDocxMathExprs.MakeMathFontItalic()); } //--------------------------------------------- M.ControlProperties propertiesCTRL = new M.ControlProperties( ); propertiesCTRL.Append(propertiesRUN); return(propertiesCTRL); }