Esempio n. 1
0
        public static CT_FFTextInput Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_FFTextInput ctObj = new CT_FFTextInput();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "type")
                {
                    ctObj.typeField = CT_FFTextType.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "default")
                {
                    ctObj.defaultField = CT_String.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "format")
                {
                    ctObj.formatField = CT_String.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "maxLength")
                {
                    ctObj.maxLengthField = CT_DecimalNumber.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
Esempio n. 2
0
        public static CT_FFDDList Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_FFDDList ctObj = new CT_FFDDList();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "result")
                {
                    ctObj.resultField = CT_DecimalNumber.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "default")
                {
                    ctObj.defaultField = CT_DecimalNumber.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "listEntry")
                {
                    ctObj.listEntryField.Add(CT_String.Parse(childNode, namespaceManager));
                }
            }
            return(ctObj);
        }
Esempio n. 3
0
 public CT_EdnProps()
 {
     this.numRestartField = new CT_NumRestart();
     this.numStartField   = new CT_DecimalNumber();
     this.numFmtField     = new CT_NumFmt();
     this.posField        = new CT_EdnPos();
 }
Esempio n. 4
0
 public CT_NumPr()
 {
     //this.insField = new CT_TrackChange();
     //this.numberingChangeField = new CT_TrackChangeNumbering();
     this.numIdField = new CT_DecimalNumber();
     this.ilvlField  = new CT_DecimalNumber();
 }
Esempio n. 5
0
 public CT_FFTextInput()
 {
     this.formatField    = new CT_String();
     this.maxLengthField = new CT_DecimalNumber();
     this.defaultField   = new CT_String();
     this.typeField      = new CT_FFTextType();
 }
Esempio n. 6
0
 public CT_DecimalNumber AddNewAbstractNumId()
 {
     if (this.abstractNumIdField == null)
     {
         abstractNumIdField = new CT_DecimalNumber();
     }
     return(abstractNumIdField);
 }
Esempio n. 7
0
        public static CT_DecimalNumber Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_DecimalNumber ctObj = new CT_DecimalNumber();

            ctObj.val = XmlHelper.ReadString(node.Attributes["w:val"]);
            return(ctObj);
        }
Esempio n. 8
0
 public CT_Lvl()
 {
     this.rPrField   = new CT_RPr();
     this.pPrField   = new CT_PPr();
     this.lvlJcField = new CT_Jc();
     //this.legacyField = new CT_LvlLegacy();
     //this.lvlPicBulletIdField = new CT_DecimalNumber();
     this.lvlTextField = new CT_LevelText();
     //this.suffField = new CT_LevelSuffix();
     //this.isLglField = new CT_OnOff();
     //this.pStyleField = new CT_String();
     //this.lvlRestartField = new CT_DecimalNumber();
     this.numFmtField = new CT_NumFmt();
     this.startField  = new CT_DecimalNumber();
 }
Esempio n. 9
0
 public static CT_DecimalNumber Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_DecimalNumber ctObj = new CT_DecimalNumber();
     ctObj.val = XmlHelper.ReadString(node.Attributes["w:val"]);
     return ctObj;
 }
Esempio n. 10
0
 public CT_OdsoFieldMapData()
 {
     this.dynamicAddressField = new CT_OnOff();
     this.lidField = new CT_Lang();
     this.columnField = new CT_DecimalNumber();
     this.mappedNameField = new CT_String();
     this.nameField = new CT_String();
     this.typeField = new CT_MailMergeOdsoFMDFieldType();
 }
Esempio n. 11
0
 public CT_Odso()
 {
     this.recipientDataField = new List<CT_Rel>();
     this.fieldMapDataField = new List<CT_OdsoFieldMapData>();
     this.fHdrField = new CT_OnOff();
     this.typeField = new CT_MailMergeSourceType();
     this.colDelimField = new CT_DecimalNumber();
     this.srcField = new CT_Rel();
     this.tableField = new CT_String();
     this.udlField = new CT_String();
 }
Esempio n. 12
0
 public CT_MailMerge()
 {
     this.odsoField = new CT_Odso();
     this.checkErrorsField = new CT_DecimalNumber();
     this.activeRecordField = new CT_DecimalNumber();
     this.viewMergedDataField = new CT_OnOff();
     this.mailAsAttachmentField = new CT_OnOff();
     this.mailSubjectField = new CT_String();
     this.addressFieldNameField = new CT_String();
     this.destinationField = new CT_MailMergeDest();
     this.doNotSuppressBlankLinesField = new CT_OnOff();
     this.headerSourceField = new CT_Rel();
     this.dataSourceField = new CT_Rel();
     this.queryField = new CT_String();
     this.connectStringField = new CT_String();
     this.dataTypeField = new CT_MailMergeDataType();
     this.linkToQueryField = new CT_OnOff();
     this.mainDocumentTypeField = new CT_MailMergeDocType();
 }
Esempio n. 13
0
 public CT_Settings()
 {
     this.listSeparatorField = new CT_String();
     this.listSeparator.val = ",";
     
     this.decimalSymbolField = new CT_String();
     this.decimalSymbol.val = ".";
     //this.doNotEmbedSmartTagsField = new CT_OnOff();
     this.shapeDefaultsField = new System.Xml.XmlElement[0];
     //this.schemaLibraryField = new List<CT_Schema>();
     //this.smartTagTypeField = new List<CT_SmartTagType>();
     //this.readModeInkLockDownField = new CT_ReadingModeInkLockDown();
     //this.captionsField = new CT_Captions();
     //this.forceUpgradeField = new CT_Empty();
     //this.doNotAutoCompressPicturesField = new CT_OnOff();
     //this.doNotIncludeSubdocsInStatsField = new CT_OnOff();
     this.clrSchemeMappingField = new CT_ColorSchemeMapping();
     this.clrSchemeMapping.bg1 = ST_ColorSchemeIndex.light1;
     this.clrSchemeMapping.t1 = ST_ColorSchemeIndex.dark1;
     this.clrSchemeMapping.bg2 = ST_ColorSchemeIndex.light2;
     this.clrSchemeMapping.t2 = ST_ColorSchemeIndex.dark2;
     this.clrSchemeMapping.accent1 = ST_ColorSchemeIndex.accent1;
     this.clrSchemeMapping.accent2 = ST_ColorSchemeIndex.accent2;
     this.clrSchemeMapping.accent3 = ST_ColorSchemeIndex.accent3;
     this.clrSchemeMapping.accent4 = ST_ColorSchemeIndex.accent4;
     this.clrSchemeMapping.accent5 = ST_ColorSchemeIndex.accent5;
     this.clrSchemeMapping.accent6 = ST_ColorSchemeIndex.accent6;
     this.clrSchemeMapping.hyperlink = ST_ColorSchemeIndex.hyperlink;
     this.clrSchemeMapping.followedHyperlink = ST_ColorSchemeIndex.followedHyperlink;
     this.themeFontLangField = new CT_Language();
     this.themeFontLang.val = "en-US";
     this.themeFontLang.eastAsia = "zh-CN";
     //this.attachedSchemaField = new List<CT_String>();
     //this.uiCompat97To2003Field = new CT_OnOff();
     this.mathPrField = new NPOI.OpenXmlFormats.Shared.CT_MathPr();
     this.rsidsField = new CT_DocRsids();
     //this.docVarsField = new List<CT_DocVar>();
     this.compatField = new CT_Compat();
     //this.endnotePrField = new CT_EdnDocProps();
     //this.footnotePrField = new CT_FtnDocProps();
     //this.hdrShapeDefaultsField = new System.Xml.XmlElement[0];
     //this.updateFieldsField = new CT_OnOff();
     //this.alwaysMergeEmptyNamespaceField = new CT_OnOff();
     //this.showXMLTagsField = new CT_OnOff();
     //this.saveThroughXsltField = new CT_SaveThroughXslt();
     //this.useXSLTWhenSavingField = new CT_OnOff();
     //this.saveXmlDataOnlyField = new CT_OnOff();
     //this.doNotDemarcateInvalidXmlField = new CT_OnOff();
     //this.alwaysShowPlaceholderTextField = new CT_OnOff();
     //this.ignoreMixedContentField = new CT_OnOff();
     //this.saveInvalidXmlField = new CT_OnOff();
     //this.doNotValidateAgainstSchemaField = new CT_OnOff();
     //this.savePreviewPictureField = new CT_OnOff();
     //this.noLineBreaksBeforeField = new CT_Kinsoku();
     //this.noLineBreaksAfterField = new CT_Kinsoku();
     //this.strictFirstAndLastCharsField = new CT_OnOff();
     //this.printTwoOnOneField = new CT_OnOff();
     this.characterSpacingControlField = new CT_CharacterSpacing();
     this.characterSpacingControl.val = ST_CharacterSpacing.compressPunctuation;
     //this.noPunctuationKerningField = new CT_OnOff();
     //this.doNotShadeFormDataField = new CT_OnOff();
     //this.drawingGridVerticalOriginField = new CT_TwipsMeasure();
     //this.drawingGridHorizontalOriginField = new CT_TwipsMeasure();
     //this.doNotUseMarginsForDrawingGridOriginField = new CT_OnOff();
     this.displayVerticalDrawingGridEveryField = new CT_DecimalNumber();
     this.displayVerticalDrawingGridEvery.val = "2";
     this.displayHorizontalDrawingGridEveryField = new CT_DecimalNumber();
     this.displayHorizontalDrawingGridEvery.val = "0";
     this.drawingGridVerticalSpacingField = new CT_TwipsMeasure();
     this.drawingGridVerticalSpacing.val = 156;
     //this.drawingGridHorizontalSpacingField = new CT_TwipsMeasure();
     //this.bookFoldPrintingSheetsField = new CT_DecimalNumber();
     //this.bookFoldPrintingField = new CT_OnOff();
     //this.bookFoldRevPrintingField = new CT_OnOff();
     //this.evenAndOddHeadersField = new CT_OnOff();
     //this.defaultTableStyleField = new CT_String();
     //this.clickAndTypeStyleField = new CT_String();
     //this.summaryLengthField = new CT_DecimalNumber();
     //this.showEnvelopeField = new CT_OnOff();
     //this.doNotHyphenateCapsField = new CT_OnOff();
     //this.hyphenationZoneField = new CT_TwipsMeasure();
     //this.consecutiveHyphenLimitField = new CT_DecimalNumber();
     //this.autoHyphenationField = new CT_OnOff();
     this.defaultTabStopField = new CT_TwipsMeasure();
     this.defaultTabStopField.val = 420;
     //this.styleLockQFSetField = new CT_OnOff();
     //this.styleLockThemeField = new CT_OnOff();
     //this.autoFormatOverrideField = new CT_OnOff();
     //this.documentProtectionField = new CT_DocProtect();
     //this.doNotTrackFormattingField = new CT_OnOff();
     //this.doNotTrackMovesField = new CT_OnOff();
     //this.trackRevisionsField = new CT_OnOff();
     //this.revisionViewField = new CT_TrackChangesView();
     //this.mailMergeField = new CT_MailMerge();
     //this.documentTypeField = new CT_DocType();
     //this.stylePaneSortMethodField = new CT_ShortHexNumber();
     //this.stylePaneFormatFilterField = new CT_ShortHexNumber();
     //this.linkStylesField = new CT_OnOff();
     //this.attachedTemplateField = new CT_Rel();
     //this.formsDesignField = new CT_OnOff();
     //this.proofStateField = new CT_Proof();
     //this.activeWritingStyleField = new List<CT_WritingStyle>();
     //this.hideGrammaticalErrorsField = new CT_OnOff();
     //this.hideSpellingErrorsField = new CT_OnOff();
     //this.gutterAtTopField = new CT_OnOff();
     this.bordersDoNotSurroundFooterField = new CT_OnOff();
     this.bordersDoNotSurroundHeaderField = new CT_OnOff();
     //this.alignBordersAndEdgesField = new CT_OnOff();
     //this.mirrorMarginsField = new CT_OnOff();
     //this.saveFormsDataField = new CT_OnOff();
     //this.saveSubsetFontsField = new CT_OnOff();
     //this.embedSystemFontsField = new CT_OnOff();
     //this.embedTrueTypeFontsField = new CT_OnOff();
     //this.printFormsDataField = new CT_OnOff();
     //this.printFractionalCharacterWidthField = new CT_OnOff();
     //this.printPostScriptOverTextField = new CT_OnOff();
     //this.displayBackgroundShapeField = new CT_OnOff();
     //this.doNotDisplayPageBoundariesField = new CT_OnOff();
     //this.removeDateAndTimeField = new CT_OnOff();
     //this.removePersonalInformationField = new CT_OnOff();
     this.zoomField = new CT_Zoom();
     //this.viewField = new CT_View();
     //this.writeProtectionField = new CT_WriteProtection();
 }
Esempio n. 14
0
 public CT_NumLvl()
 {
     this.lvlField = new CT_Lvl();
     this.startOverrideField = new CT_DecimalNumber();
 }
Esempio n. 15
0
 public CT_Lvl()
 {
     this.rPrField = new CT_RPr();
     this.pPrField = new CT_PPr();
     this.lvlJcField = new CT_Jc();
     //this.legacyField = new CT_LvlLegacy();
     //this.lvlPicBulletIdField = new CT_DecimalNumber();
     this.lvlTextField = new CT_LevelText();
     //this.suffField = new CT_LevelSuffix();
     //this.isLglField = new CT_OnOff();
     //this.pStyleField = new CT_String();
     //this.lvlRestartField = new CT_DecimalNumber();
     this.numFmtField = new CT_NumFmt();
     this.startField = new CT_DecimalNumber();
 }
Esempio n. 16
0
 public CT_NumPr()
 {
     //this.insField = new CT_TrackChange();
     //this.numberingChangeField = new CT_TrackChangeNumbering();
     this.numIdField = new CT_DecimalNumber();
     this.ilvlField = new CT_DecimalNumber();
 }
Esempio n. 17
0
 public CT_FFDDList()
 {
     this.listEntryField = new List<CT_String>();
     this.defaultField = new CT_DecimalNumber();
     this.resultField = new CT_DecimalNumber();
 }
Esempio n. 18
0
 public CT_FFTextInput()
 {
     this.formatField = new CT_String();
     this.maxLengthField = new CT_DecimalNumber();
     this.defaultField = new CT_String();
     this.typeField = new CT_FFTextType();
 }
Esempio n. 19
0
 public CT_NumLvl()
 {
     this.lvlField           = new CT_Lvl();
     this.startOverrideField = new CT_DecimalNumber();
 }
Esempio n. 20
0
 public CT_Num()
 {
     //this.lvlOverrideField = new List<CT_NumLvl>();
     this.abstractNumIdField = new CT_DecimalNumber();
 }
Esempio n. 21
0
 public CT_FFDDList()
 {
     this.listEntryField = new List <CT_String>();
     this.defaultField   = new CT_DecimalNumber();
     this.resultField    = new CT_DecimalNumber();
 }
Esempio n. 22
0
 public CT_DecimalNumber AddNewAbstractNumId()
 {
     if (this.abstractNumIdField == null)
         abstractNumIdField = new CT_DecimalNumber();
     return abstractNumIdField;
 }
Esempio n. 23
0
 public CT_Style()
 {
     this.tblStylePrField = new List<CT_TblStylePr>();
     this.tcPrField = new CT_TcPr();
     this.trPrField = new CT_TrPr();
     this.tblPrField = new CT_TblPrBase();
     this.rPrField = new CT_RPr();
     this.pPrField = new CT_PPr();
     this.rsidField = new CT_LongHexNumber();
     this.personalReplyField = new CT_OnOff();
     this.personalComposeField = new CT_OnOff();
     this.personalField = new CT_OnOff();
     this.lockedField = new CT_OnOff();
     this.qFormatField = new CT_OnOff();
     this.unhideWhenUsedField = new CT_OnOff();
     this.semiHiddenField = new CT_OnOff();
     this.uiPriorityField = new CT_DecimalNumber();
     this.hiddenField = new CT_OnOff();
     this.autoRedefineField = new CT_OnOff();
     this.linkField = new CT_String();
     this.nextField = new CT_String();
     this.basedOnField = new CT_String();
     this.aliasesField = new CT_String();
     this.nameField = new CT_String();
 }
Esempio n. 24
0
 public CT_Num()
 {
     //this.lvlOverrideField = new List<CT_NumLvl>();
     this.abstractNumIdField = new CT_DecimalNumber();
 }