protected override void ReadXmlAttributes(IXDLSAttributeReader reader) { int num = 14; base.ReadXmlAttributes(reader); if (reader.HasAttribute(BookmarkStart.b("挳張尷丹吻", 14))) { this.Width = reader.ReadFloat(BookmarkStart.b("挳張尷丹吻", num)); } if (reader.HasAttribute(BookmarkStart.b("爳夵䨷弹缻儽ⰿⵁ㙃", num))) { this.ForeColor = reader.ReadColor(BookmarkStart.b("爳夵䨷弹缻儽ⰿⵁ㙃", num)); } if (reader.HasAttribute(BookmarkStart.b("怳匵䀷丹䤻䰽┿", num))) { this.TextureStyle = (Spire.Doc.TextureStyle)reader.ReadEnum(BookmarkStart.b("怳匵䀷丹䤻䰽┿", num), typeof(Spire.Doc.TextureStyle)); } }
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer) { int num = 0x13; base.WriteXmlAttributes(writer); if (!this.cellFormat_0.OwnerRowFormat.method_57()) { if (this.IsFixedWidth) { writer.WriteValue(BookmarkStart.b("游刺夼䬾⥀", num), this.Width); } if (this.ForeColor != Color.Empty) { writer.WriteValue(BookmarkStart.b("缸吺似娾ɀⱂ⥄⡆㭈", num), this.ForeColor); } writer.WriteValue(BookmarkStart.b("洸帺䔼䬾㑀ㅂ⁄", num), this.TextureStyle); } }
protected override void ReadXmlAttributes(IXDLSAttributeReader reader) { int num = 0x12; base.ReadXmlAttributes(reader); if (reader.HasAttribute(BookmarkStart.b("笷唹儻丽ℿⱁ㵃", 0x12))) { this.Company = reader.ReadString(BookmarkStart.b("笷唹儻丽ℿⱁ㵃", num)); } if (reader.HasAttribute(BookmarkStart.b("男嬹刻弽✿❁㙃", num))) { this.Manager = reader.ReadString(BookmarkStart.b("男嬹刻弽✿❁㙃", num)); } if (reader.HasAttribute(BookmarkStart.b("笷嬹䠻嬽✿ⵁ㙃㽅", num))) { this.Category = reader.ReadString(BookmarkStart.b("笷嬹䠻嬽✿ⵁ㙃㽅", num)); } if (reader.HasAttribute(BookmarkStart.b("稷䌹䠻嬽㌿Ł⭃㍅♇㹉", num))) { this.method_9(PIDDSI.ByteCount, reader.ReadInt(BookmarkStart.b("稷䌹䠻嬽㌿Ł⭃㍅♇㹉", num))); } if (reader.HasAttribute(BookmarkStart.b("琷匹刻嬽㌿Ł⭃㍅♇㹉", num))) { this.method_9(PIDDSI.LineCount, reader.ReadInt(BookmarkStart.b("琷匹刻嬽㌿Ł⭃㍅♇㹉", num))); } if (reader.HasAttribute(BookmarkStart.b("样嬹主弽✿ぁ╃㙅⁇ॉ⍋㭍㹏♑", num))) { this.method_9(PIDDSI.ParCount, reader.ReadInt(BookmarkStart.b("样嬹主弽✿ぁ╃㙅⁇ॉ⍋㭍㹏♑", num))); } if (reader.HasAttribute(BookmarkStart.b("欷嘹唻娽┿Ł⭃㍅♇㹉", num))) { this.method_9(PIDDSI.SlideCount, reader.ReadInt(BookmarkStart.b("欷嘹唻娽┿Ł⭃㍅♇㹉", num))); } if (reader.HasAttribute(BookmarkStart.b("瘷唹䠻嬽̿ⵁㅃ⡅㱇", num))) { this.method_9(PIDDSI.NoteCount, reader.ReadInt(BookmarkStart.b("瘷唹䠻嬽̿ⵁㅃ⡅㱇", num))); } if (reader.HasAttribute(BookmarkStart.b("瀷匹堻娽┿ⱁ݃⥅㵇⑉㡋", num))) { this.method_9(PIDDSI.HiddenCount, reader.ReadInt(BookmarkStart.b("瀷匹堻娽┿ⱁ݃⥅㵇⑉㡋", num))); } }
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer) { int num = 1; base.WriteXmlAttributes(writer); if (this.method_8(15)) { writer.WriteValue(BookmarkStart.b("搦䘨䘪崬丮弰䨲", num), this.Company); } if (this.method_8(14)) { writer.WriteValue(BookmarkStart.b("樦䠨䔪䰬䠮吰䄲", num), this.Manager); } if (this.method_8(2)) { writer.WriteValue(BookmarkStart.b("搦䠨弪䠬䠮帰䄲䰴", num), this.Category); } if (this.method_8(4)) { writer.WriteValue(BookmarkStart.b("攦倨弪䠬尮爰尲䀴夶䴸", num), this.BytesCount); } if (this.method_8(5)) { writer.WriteValue(BookmarkStart.b("欦䀨䔪䠬尮爰尲䀴夶䴸", num), this.LinesCount); } if (this.method_8(6)) { writer.WriteValue(BookmarkStart.b("眦䠨太䰬䠮䌰刲䔴弶稸吺䠼儾㕀", num), this.ParagraphCount); } if (this.method_8(7)) { writer.WriteValue(BookmarkStart.b("琦䔨䈪䤬䨮爰尲䀴夶䴸", num), this.SlideCount); } if (this.method_8(8)) { writer.WriteValue(BookmarkStart.b("椦䘨弪䠬氮帰䘲嬴䌶", num), this.NoteCount); } if (this.method_8(9)) { writer.WriteValue(BookmarkStart.b("漦䀨伪䤬䨮弰瀲娴䈶圸伺", num), this.HiddenCount); } }
internal int method_27(Regex A_0, IDocument A_1, bool A_2) { int num = 7; if (Class191.smethod_0(A_0)) { throw new ArgumentException(BookmarkStart.b("縬䨮倰䄲嘴弶ᤸ䠺䤼䴾⡀ⵂ≄杆⩈⩊⍌ⅎ㹐❒畔㕖㱘筚㡜㉞ᅠᝢᱤ", num)); } CharacterFormat characterFormat = null; Class185 class2 = this.method_23(A_0); if (class2 == null) { return(0); } foreach (TextSelection selection in class2) { if (A_2) { characterFormat = selection.StartTextRange.CharacterFormat; } int num3 = selection.method_0(); Paragraph ownerParagraph = selection.OwnerParagraph; for (int i = A_1.Sections.Count - 1; i >= 0; i--) { ISection section = A_1.Sections[i]; if (!A_2) { base.Document.CurClonedSection = section as Section; } TextBodyPart part = new TextBodyPart(base.Document); part.method_0(section.Body, false); part.method_1(ownerParagraph.OwnerTextBody, ownerParagraph.method_5(), num3, characterFormat, A_2); } if (base.Document.ReplaceFirst) { break; } } return(class2.Count); }
protected override void ReadXmlAttributes(IXDLSAttributeReader reader) { int num = 2; if (reader.HasAttribute(BookmarkStart.b("砧䔩弫䜭䐯嬱嬳堵", 2))) { this.float_0 = reader.ReadFloat(BookmarkStart.b("砧䔩弫䜭䐯嬱嬳堵", num)); } if (reader.HasAttribute(BookmarkStart.b("戧弩弫娭夯吱崳唵夷丹唻儽⸿", num))) { this.tabJustification_0 = (TabJustification)reader.ReadEnum(BookmarkStart.b("戧弩弫娭夯吱崳唵夷丹唻儽⸿", num), typeof(TabJustification)); } if (reader.HasAttribute(BookmarkStart.b("搧伩䴫䨭唯䀱", num))) { this.tabLeader_0 = (Spire.Doc.Documents.TabLeader)reader.ReadEnum(BookmarkStart.b("搧伩䴫䨭唯䀱", num), typeof(Spire.Doc.Documents.TabLeader)); } if (reader.HasAttribute(BookmarkStart.b("氧伩䀫䬭䐯圱", num))) { this.float_1 = reader.ReadFloat(BookmarkStart.b("氧伩䀫䬭䐯圱", num)); } }
protected override void ReadXmlAttributes(IXDLSAttributeReader reader) { int num = 0x12; base.ReadXmlAttributes(reader); if (reader.HasAttribute(BookmarkStart.b("氷弹䐻䨽", 0x12))) { this.string_10 = reader.ReadString(BookmarkStart.b("氷弹䐻䨽", num)); } if (reader.HasAttribute(BookmarkStart.b("氷弹䐻䨽ؿⵁ⩃㉅ه⭉⅋⭍", num))) { this.string_11 = reader.ReadString(BookmarkStart.b("氷弹䐻䨽ؿⵁ⩃㉅ه⭉⅋⭍", num)); } if (reader.HasAttribute(BookmarkStart.b("氷弹䐻䨽ؿⵁ⩃㉅ᭇ⍉㙋⭍", num))) { this.float_4 = reader.ReadFloat(BookmarkStart.b("氷弹䐻䨽ؿⵁ⩃㉅ᭇ⍉㙋⭍", num)); } if (reader.HasAttribute(BookmarkStart.b("氷弹䐻䨽ి⍁㵃⥅㵇㹉", num))) { this.watermarkLayout_0 = (WatermarkLayout)reader.ReadEnum(BookmarkStart.b("氷弹䐻䨽ి⍁㵃⥅㵇㹉", num), typeof(WatermarkLayout)); } if (reader.HasAttribute(BookmarkStart.b("欷弹儻圽㐿ぁ╃⡅㭇㩉ⵋ㱍㕏㱑⁓", num))) { this.bool_11 = reader.ReadBoolean(BookmarkStart.b("欷弹儻圽㐿ぁ╃⡅㭇㩉ⵋ㱍㕏㱑⁓", num)); } if (reader.HasAttribute(BookmarkStart.b("氷弹䐻䨽ؿⵁ⩃㉅େ╉⁋⅍≏", num))) { this.color_0 = reader.ReadColor(BookmarkStart.b("氷弹䐻䨽ؿⵁ⩃㉅େ╉⁋⅍≏", num)); } if (reader.HasAttribute(BookmarkStart.b("欷刹崻丽┿ੁ⅃⽅⽇≉㡋", num))) { this.int_7 = reader.ReadInt(BookmarkStart.b("欷刹崻丽┿ੁ⅃⽅⽇≉㡋", num)); } if (reader.HasAttribute(BookmarkStart.b("欷刹崻丽┿ᕁⵃ≅㱇≉", num))) { this.int_8 = reader.ReadInt(BookmarkStart.b("欷刹崻丽┿ᕁⵃ≅㱇≉", num)); } }
protected override void WriteXmlContent(IXDLSContentWriter writer) { int num = 15; base.WriteXmlContent(writer); IXDLSAttributeWriter writer2 = writer as IXDLSAttributeWriter; XmlWriter writer3 = (writer as Class669).Spire.Doc.Interface.IXDLSContentWriter.get_InnerWriter(); if ((this.dictionary_0 != null) && (this.dictionary_0.Count > 0)) { foreach (string str in this.dictionary_0.Keys) { DocumentProperty property = this.dictionary_0[str]; writer3.WriteStartElement(BookmarkStart.b("䔴䔶嘸䬺堼䴾㕀㩂", num)); writer3.WriteAttributeString(BookmarkStart.b("笴嘶吸帺", num), str); PropertyType propertyType = property.PropertyType; if (propertyType <= PropertyType.Bool) { switch (propertyType) { case PropertyType.Double: writer3.WriteAttributeString(BookmarkStart.b("愴丶䤸帺", num), BookmarkStart.b("儴堶䰸夺儼娾", num)); writer2.WriteValue(BookmarkStart.b("挴嘶唸为堼", num), property.Double); break; case PropertyType.Bool: writer3.WriteAttributeString(BookmarkStart.b("愴丶䤸帺", num), BookmarkStart.b("圴堶嘸场", num)); writer2.WriteValue(BookmarkStart.b("挴嘶唸为堼", num), property.Boolean); break; } } else { switch (propertyType) { case PropertyType.Int: writer3.WriteAttributeString(BookmarkStart.b("愴丶䤸帺", num), BookmarkStart.b("尴夶䴸", num)); writer2.WriteValue(BookmarkStart.b("挴嘶唸为堼", num), property.Integer); goto Label_01D4; case PropertyType.String: writer3.WriteAttributeString(BookmarkStart.b("愴丶䤸帺", num), BookmarkStart.b("䘴䌶䬸刺匼堾", num)); writer2.WriteValue(BookmarkStart.b("挴嘶唸为堼", num), property.ToString()); goto Label_01D4; } if (propertyType == PropertyType.DateTime) { writer3.WriteAttributeString(BookmarkStart.b("愴丶䤸帺", num), BookmarkStart.b("焴嘶䴸帺椼嘾ⱀ♂", num)); writer2.WriteValue(BookmarkStart.b("挴嘶唸为堼", num), property.DateTime); } } Label_01D4: writer3.WriteEndElement(); } } }
protected override void InitXDLSHolder() { base.XDLSHolder.AddElement(BookmarkStart.b("席儯䀱唳儵䨷嬹䰻嘽㌿", 8), this.m_bodyItems); }
public HeaderFooter this[HeaderFooterType A_0] { get { int num = 1; switch (hfType) { case HeaderFooterType.HeaderEven: return(this.EvenHeader); case HeaderFooterType.HeaderOdd: return(this.OddHeader); case HeaderFooterType.FooterEven: return(this.EvenFooter); case HeaderFooterType.FooterOdd: return(this.OddFooter); case HeaderFooterType.HeaderFirstPage: return(this.FirstPageHeader); case HeaderFooterType.FooterFirstPage: return(this.FirstPageFooter); } throw new ArgumentException(BookmarkStart.b("渦䜨崪䰬䌮堰圲ᔴ弶尸娺夼娾㍀求⍄⡆♈㽊⡌㵎煐❒ⱔ❖㱘", num), BookmarkStart.b("伦伨缪听弮吰", num)); } internal set { int num = 8; switch (A_0) { case HeaderFooterType.HeaderEven: this.headerFooter_0 = value; return; case HeaderFooterType.HeaderOdd: this.headerFooter_2 = value; return; case HeaderFooterType.FooterEven: this.headerFooter_3 = value; return; case HeaderFooterType.FooterOdd: this.headerFooter_1 = value; return; case HeaderFooterType.HeaderFirstPage: this.headerFooter_4 = value; return; case HeaderFooterType.FooterFirstPage: this.headerFooter_5 = value; return; } throw new ArgumentException(BookmarkStart.b("札帯䐱唳娵儷帹᰻嘽┿⍁⁃⍅㩇敉⩋⅍㽏♑ㅓ硗⹙╛⹝՟", num), BookmarkStart.b("䘭嘯昱䴳䘵崷", num)); } }
public HeaderFooter this[int index] { get { int num = 0; if ((index < 0) || (index > 5)) { throw new ArgumentOutOfRangeException(BookmarkStart.b("漥䘧丩䤫嘭", num), BookmarkStart.b("漥䘧丩䤫嘭ု儱唳堵嘷唹䠻ḽ∿❁摃⩅ⵇ㥉㽋湍恏牑㭓硗㵙⹛㭝şᙡţᑥ䡧彩", num)); } return(this[(HeaderFooterType)index]); } }
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer) { base.WriteXmlAttributes(writer); writer.WriteValue(BookmarkStart.b("术嬱倳䈵倷", 10), this.Width); writer.WriteValue(BookmarkStart.b("振䈱唳唵儷吹嬻", 10), this.Space); }
protected override void InitXDLSHolder() { base.InitXDLSHolder(); base.XDLSHolder.AddElement(BookmarkStart.b("䰭弯䀱倳匵䨷䤹", 8), this.Borders); }
protected override void InitXDLSHolder() { base.InitXDLSHolder(); base.XDLSHolder.AddElement(BookmarkStart.b("䠪䠬䌮崰Ḳ匴堶䬸嘺尼䬾", 5), this.CellFormat); base.XDLSHolder.AddElement(BookmarkStart.b("䠪䔬丮䌰刲嘴䌶尸䤺ြ夾⹀ㅂ⡄♆㵈", 5), this.CharacterFormat); }
protected override void ReadXmlAttributes(IXDLSAttributeReader reader) { int num = 0x12; base.ReadXmlAttributes(reader); if (reader.HasAttribute(BookmarkStart.b("礷伹䠻儽ᐿ⍁♃ᅅⅇ⹉㡋♍", 0x12))) { this.DefaultTabWidth = reader.ReadFloat(BookmarkStart.b("礷伹䠻儽ᐿ⍁♃ᅅⅇ⹉㡋♍", num)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽❁ⵃⅅ⁇㹉", num))) { this.PageSize = new SizeF(this.PageSize.Width, reader.ReadFloat(BookmarkStart.b("样嬹嬻嬽❁ⵃⅅ⁇㹉", num))); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽⭁⁃㉅⁇", num))) { this.PageSize = new SizeF(reader.ReadFloat(BookmarkStart.b("样嬹嬻嬽⭁⁃㉅⁇", num)), this.PageSize.Height); } if (reader.HasAttribute(BookmarkStart.b("礷嘹唻夽⸿⽁⅃⡅㱇", num))) { this.VerticalAlignment = (PageAlignment)reader.ReadEnum(BookmarkStart.b("礷嘹唻夽⸿⽁⅃⡅㱇", num), typeof(PageAlignment)); } if (reader.HasAttribute(BookmarkStart.b("縷唹医䨽┿ぁC⽅㭇㹉ⵋ⁍㍏㝑", num))) { this.FooterDistance = reader.ReadFloat(BookmarkStart.b("縷唹医䨽┿ぁC⽅㭇㹉ⵋ⁍㍏㝑", num)); } if (reader.HasAttribute(BookmarkStart.b("瀷弹崻娽┿ぁC⽅㭇㹉ⵋ⁍㍏㝑", num))) { this.HeaderDistance = reader.ReadFloat(BookmarkStart.b("瀷弹崻娽┿ぁC⽅㭇㹉ⵋ⁍㍏㝑", num)); } if (reader.HasAttribute(BookmarkStart.b("眷䠹唻嬽⸿㙁╃㉅ⅇ╉≋", num))) { this.Orientation = (PageOrientation)reader.ReadEnum(BookmarkStart.b("眷䠹唻嬽⸿㙁╃㉅ⅇ╉≋", num), typeof(PageOrientation)); } if (reader.HasAttribute(BookmarkStart.b("稷唹䠻䨽⼿⽁ृ❅㩇ⵉ╋⁍", num))) { this.Margins.Bottom = reader.ReadFloat(BookmarkStart.b("稷唹䠻䨽⼿⽁ृ❅㩇ⵉ╋⁍", num)); } if (reader.HasAttribute(BookmarkStart.b("氷唹䰻猽ℿぁ⍃⽅♇", num))) { this.Margins.Top = reader.ReadFloat(BookmarkStart.b("氷唹䰻猽ℿぁ⍃⽅♇", num)); } if (reader.HasAttribute(BookmarkStart.b("琷弹娻䨽ി⍁㙃ⅅⅇ⑉", num))) { this.Margins.Left = reader.ReadFloat(BookmarkStart.b("琷弹娻䨽ി⍁㙃ⅅⅇ⑉", num)); } if (reader.HasAttribute(BookmarkStart.b("樷匹嬻嘽㐿ཁ╃㑅⽇⍉≋", num))) { this.Margins.Right = reader.ReadFloat(BookmarkStart.b("樷匹嬻嘽㐿ཁ╃㑅⽇⍉≋", num)); } if (reader.HasAttribute(BookmarkStart.b("簷匹娻堽┿ぁ⅃⡅㱇╋㱍⍏♑ѓ㝕㽗㽙", num))) { this.DifferentFirstPageHeaderFooter = reader.ReadBoolean(BookmarkStart.b("簷匹娻堽┿ぁ⅃⡅㱇╋㱍⍏♑ѓ㝕㽗㽙", num)); } if (reader.HasAttribute(BookmarkStart.b("簷匹娻堽┿ぁ⅃⡅㱇Չ⡋⩍ᕏㅓ㡕ࡗ㭙㭛㭝", num))) { this.DifferentOddAndEvenPagesHeaderFooter = reader.ReadBoolean(BookmarkStart.b("簷匹娻堽┿ぁ⅃⡅㱇Չ⡋⩍ᕏㅓ㡕ࡗ㭙㭛㭝", num)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕ୗ⹙㥛⹝", num))) { this.LineNumberingStep = reader.ReadInt(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕ୗ⹙㥛⹝", num)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕᱗㍙⽛⩝şౡݣͥ", num))) { this.LineNumberingDistanceFromText = reader.ReadFloat(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕᱗㍙⽛⩝şౡݣͥ", num)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕ᕗ㕙㡛㭝", num))) { this.LineNumberingRestartMode = (Spire.Doc.LineNumberingRestartMode)reader.ReadEnum(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕ᕗ㕙㡛㭝", num), typeof(Spire.Doc.LineNumberingRestartMode)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕ୗ⹙㵛ⱝᑟ㑡գᵧཀྵ", num))) { this.LineNumberingStartValue = reader.ReadInt(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ى╋⁍㕏᱑⅓㭕ୗ⹙㵛ⱝᑟ㑡գᵧཀྵ", num)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ࡉ⍋㱍㑏㝑♓⡗⩙せ❝", num))) { this.PageBordersApplyType = (Spire.Doc.PageBordersApplyType)reader.ReadEnum(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ࡉ⍋㱍㑏㝑♓⡗⩙せ❝", num), typeof(Spire.Doc.PageBordersApplyType)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ࡉ⍋㱍㑏㝑♓ὕ⭗ፙ㉛ᡝൡብ", num))) { this.IsFrontPageBorder = reader.ReadBoolean(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ࡉ⍋㱍㑏㝑♓ὕ⭗ፙ㉛ᡝൡብ", num)); } if (reader.HasAttribute(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ࡉ⍋㱍㑏㝑♓ᥕ㹗㱙⽛㭝ᑟ②ᙣ॥է", num))) { this.PageBorderOffsetFrom = (Spire.Doc.PageBorderOffsetFrom)reader.ReadEnum(BookmarkStart.b("样嬹嬻嬽ጿ❁ぃ㍅㡇ࡉ⍋㱍㑏㝑♓ᥕ㹗㱙⽛㭝ᑟ②ᙣ॥է", num), typeof(Spire.Doc.PageBorderOffsetFrom)); } if (reader.HasAttribute(BookmarkStart.b("紷䬹䤻弽ⰿŁ⭃⩅⍉⡋㩍㡏", num))) { this.bool_1 = reader.ReadBoolean(BookmarkStart.b("紷䬹䤻弽ⰿŁ⭃⩅⍉⡋㩍㡏", num)); } }
private void method_9(XDLSReader A_0) { int num = 0x11; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䔶尸娺夼娾㍀", num)); } if (A_0.InnerReader.LocalName == BookmarkStart.b("䜶䬸吺䴼娾㍀㝂㱄", num)) { string str4 = A_0.ReadString(BookmarkStart.b("挶䀸䬺堼", num)); string strName = A_0.ReadString(BookmarkStart.b("礶堸嘺堼", num)); object obj2 = null; string key = str4; if (key != null) { int num2; if (Class1160.dictionary_3 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(7); dictionary1.Add(BookmarkStart.b("唶嘸吺儼", num), 0); dictionary1.Add(BookmarkStart.b("䐶䴸䤺吼儾♀", num), 1); dictionary1.Add(BookmarkStart.b("猶堸伺堼款⡀⹂⁄", num), 2); dictionary1.Add(BookmarkStart.b("帶圸伺", num), 3); dictionary1.Add(BookmarkStart.b("匶嘸为弼匾⑀", num), 4); dictionary1.Add(BookmarkStart.b("嘶䬸䤺尼䘾", num), 5); dictionary1.Add(BookmarkStart.b("吶唸刺䴼", num), 6); Class1160.dictionary_3 = dictionary1; } if (Class1160.dictionary_3.TryGetValue(key, out num2)) { switch (num2) { case 0: obj2 = A_0.ReadBoolean(BookmarkStart.b("愶堸场䠼娾", num)); break; case 1: obj2 = A_0.ReadString(BookmarkStart.b("愶堸场䠼娾", num)); break; case 2: obj2 = A_0.ReadDateTime(BookmarkStart.b("愶堸场䠼娾", num)); break; case 3: obj2 = A_0.ReadInt(BookmarkStart.b("愶堸场䠼娾", num)); break; case 4: obj2 = A_0.ReadDouble(BookmarkStart.b("愶堸场䠼娾", num)); break; case 5: if (!A_0.InnerReader.IsEmptyElement) { A_0.InnerReader.ReadStartElement(); while (A_0.NodeType != XmlNodeType.Element) { A_0.InnerReader.Read(); } obj2 = A_0.ReadChildBinaryElement(); } break; case 6: { string str = A_0.ReadString(BookmarkStart.b("愶堸场䠼娾", num)); Class875 class2 = new Class875(); class2.method_1(str); obj2 = class2; break; } } } } DocumentProperty property = new DocumentProperty(strName, obj2); this.dictionary_0.Add(strName, property); } }
protected override void ReadXmlAttributes(IXDLSAttributeReader reader) { base.ReadXmlAttributes(reader); this.Width = reader.ReadFloat(BookmarkStart.b("漷匹堻䨽⠿", 0x12)); this.Space = reader.ReadFloat(BookmarkStart.b("欷䨹崻崽⤿ⱁ⍃", 0x12)); }
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer) { int num = 2; base.WriteXmlAttributes(writer); if (this.DefaultTabWidth != 36f) { writer.WriteValue(BookmarkStart.b("椧弩堫䄭搯匱嘳愵儷帹䠻嘽", num), this.DefaultTabWidth); } if (this.PageSize.Height != 0f) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭砯圱崳儵倷丹", num), this.PageSize.Height); } if (this.PageSize.Width != 0f) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭术嬱倳䈵倷", num), this.PageSize.Width); } if (this.VerticalAlignment != PageAlignment.Top) { writer.WriteValue(BookmarkStart.b("椧䘩䔫䤭帯弱儳堵䰷", num), this.VerticalAlignment); } if (this.FooterDistance >= 0f) { writer.WriteValue(BookmarkStart.b("渧䔩䌫娭唯䀱瀳張䬷丹崻倽⌿❁", num), this.FooterDistance); } if (this.HeaderDistance >= 0f) { writer.WriteValue(BookmarkStart.b("性伩䴫䨭唯䀱瀳張䬷丹崻倽⌿❁", num), this.HeaderDistance); } if (this.Orientation != ((PageOrientation)0)) { writer.WriteValue(BookmarkStart.b("朧堩䔫䬭帯䘱唳䈵儷唹刻", num), this.Orientation); } if (this.Margins.Bottom >= 0f) { writer.WriteValue(BookmarkStart.b("樧䔩堫娭弯弱礳圵䨷崹唻倽", num), this.Margins.Bottom); } if (this.Margins.Top >= 0f) { writer.WriteValue(BookmarkStart.b("簧䔩尫挭儯䀱匳張嘷", num), this.Margins.Top); } if (this.Margins.Left >= 0f) { writer.WriteValue(BookmarkStart.b("搧伩䨫娭累匱䘳儵儷吹", num), this.Margins.Left); } if (this.Margins.Right >= 0f) { writer.WriteValue(BookmarkStart.b("稧䌩䬫䘭䐯缱唳䐵強匹刻", num), this.Margins.Right); } if (this.DifferentFirstPageHeaderFooter) { writer.WriteValue(BookmarkStart.b("氧䌩䨫䠭唯䀱儳堵䰷簹唻䰽㌿㙁ᑃ❅⽇⽉", num), this.DifferentFirstPageHeaderFooter); } if (this.DifferentOddAndEvenPagesHeaderFooter) { writer.WriteValue(BookmarkStart.b("氧䌩䨫䠭唯䀱儳堵䰷甹堻娽Կ㑁⅃⡅ᡇ⭉⭋⭍", num), this.DifferentOddAndEvenPagesHeaderFooter); } if (this.LineNumberingRestartMode != Spire.Doc.LineNumberingRestartMode.None) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷瘹唻倽┿ుㅃ⭅Շ╉⡋⭍", num), this.LineNumberingRestartMode); if (this.LineNumberingStep != 0) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷瘹唻倽┿ుㅃ⭅ᭇ㹉⥋㹍", num), this.LineNumberingStep); } if (this.LineNumberingDistanceFromText != 0f) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷瘹唻倽┿ుㅃ⭅ే⍉㽋㩍ㅏ㱑㝓㍕", num), this.LineNumberingDistanceFromText); } writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷瘹唻倽┿ుㅃ⭅ᭇ㹉ⵋ㱍ё㕓㩕ⵗ㽙", num), this.LineNumberingStartValue); } if (this.PageBordersApplyType != Spire.Doc.PageBordersApplyType.AllPages) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷砹医䰽❁㙃݅㡇㩉⁋㝍", num), this.PageBordersApplyType); } if (!this.IsFrontPageBorder) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷砹医䰽❁㙃ཅ㭇͉≋ࡍ≏㵑㩓≕", num), this.IsFrontPageBorder); } if (this.PageBorderOffsetFrom != Spire.Doc.PageBorderOffsetFrom.Text) { writer.WriteValue(BookmarkStart.b("砧䬩䬫䬭振圱䀳䌵䠷砹医䰽❁㙃ॅ⹇ⱉ㽋⭍ᑑ♓㥕㕗", num), this.PageBorderOffsetFrom); } if (this.bool_1) { writer.WriteValue(BookmarkStart.b("洧嬩夫伭尯焱嬳娵漷匹堻䨽⠿", num), this.bool_1); } }