private static void smethod_4(Class581 A_0) { string str; int num = 7; Class582 class2 = A_0 as Class582; if ((class2 == null) || !class2.method_35()) { throw new InvalidOperationException(BookmarkStart.b("砬䄮吰䬲䔴制娸伺堼嬾慀㝂⩄ⱆⱈ╊浌⥎㹐⅒畔V㙘⥚㥜ⵠ", num)); } if (((str = A_0.imethod_1().method_1()) == null) || ((str != BookmarkStart.b("䈬戮倰䜲崴", num)) && (str != BookmarkStart.b("䈬戮倰䜲崴朶堸䤺尼", num)))) { A_0.imethod_1().vmethod_1(); } }
private static void smethod_3(Class581 A_0, RowFormat A_1) { int num = 7; Class394 class2 = A_0.imethod_1(); string str = class2.method_1(); if (str != null) { if (str == BookmarkStart.b("夬䴮崰", num)) { smethod_2(A_0, A_1); smethod_0(A_0); A_0.method_3(new Table(A_0.Interface50.imethod_0())); return; } if (str == BookmarkStart.b("崬", num)) { smethod_2(A_0, A_1); Class629.smethod_2(A_0); A_0.method_3(new Table(A_0.Interface50.imethod_0())); return; } if (str == BookmarkStart.b("帬䨮到䜲攴䔶", num)) { class2.method_26(); return; } } string str2 = class2.method_1(); while (class2.method_9(str2)) { smethod_1(A_0, A_1); } }
private static void smethod_3(Class581 A_0) { int num = 12; Class394 class2 = A_0.imethod_1(); string id = class2.method_12(BookmarkStart.b("嬱倳", 12), string.Empty); if ((id != null) && (id != string.Empty)) { PermissionStart item = new PermissionStart(A_0.Interface50.imethod_0(), id) { EditorGroup = smethod_5(class2), DisplacedByCustomXml = smethod_6(class2), Editor = class2.method_12(BookmarkStart.b("圱倳", num), string.Empty) }; string str2 = class2.method_12(BookmarkStart.b("儱嬳娵縷匹主䴽㐿", num), string.Empty); if (!string.IsNullOrEmpty(str2)) { item.ColumnFirst = int.Parse(str2); } if (!string.IsNullOrEmpty(str2)) { item.ColumnLast = int.Parse(str2); } list_2.Add(item); } }
public static void smethod_7(Class581 A_0, ParagraphFormat A_1, CharacterFormat A_2) { string str; int num = 14; Class394 class2 = A_0.imethod_1(); Class584 class3 = new Class584(class2); if ((class3.method_10() && ((str = class3.method_9()) != null)) && (str == BookmarkStart.b("挳夵䨷帹ሻ砽⼿ぁ⥃❅㱇㹉╋⁍㝏", num))) { while (class2.method_9(BookmarkStart.b("唳堵嘷唹䠻弽㐿⭁⭃⡅", num))) { string str2; if (((str2 = class2.method_1()) != null) && (str2 == BookmarkStart.b("圳夵嘷丹夻倽㐿", num))) { while (class2.method_9(BookmarkStart.b("圳夵嘷丹夻倽㐿", num))) { string str3; if (((str3 = class2.method_1()) != null) && (str3 == BookmarkStart.b("䐳昵䨷", num))) { Class1146.smethod_0(A_0, A_1, A_2, class3); } else { class2.vmethod_1(); } } } else { class2.vmethod_1(); } } } }
private static void smethod_5(Class581 A_0) { int num = 13; Class394 class2 = A_0.imethod_1(); string id = class2.method_12(BookmarkStart.b("娲儴", 13), string.Empty); if ((id != null) && (id != string.Empty)) { PermissionStart start = new PermissionStart(A_0.Interface50.imethod_0(), id) { EditorGroup = smethod_7(class2), DisplacedByCustomXml = smethod_8(class2), Editor = class2.method_12(BookmarkStart.b("嘲儴", num), string.Empty) }; string str2 = class2.method_12(BookmarkStart.b("倲娴嬶缸刺似䰾㕀", num), string.Empty); if (!string.IsNullOrEmpty(str2)) { start.ColumnFirst = int.Parse(str2); } if (!string.IsNullOrEmpty(str2)) { start.ColumnLast = int.Parse(str2); } A_0.method_9(start); } }
public static void smethod_8(Class17 A_0, Class581 A_1) { string str2; int num = 0x13; Class394 class2 = A_1.imethod_1(); Class584 class3 = new Class584(class2); if ((class3.method_10() && ((str2 = class3.method_9()) != null)) && (str2 == BookmarkStart.b("游吺似嬾潀Ղ⩄㕆⑈⩊㥌㭎㡐㵒㉔", num))) { while (class2.method_9(BookmarkStart.b("堸唺匼倾㕀≂ㅄ⹆♈╊", num))) { string str3; if (((str3 = class2.method_1()) != null) && (str3 == BookmarkStart.b("娸吺匼䬾⑀ⵂㅄ", num))) { while (class2.method_9(BookmarkStart.b("娸吺匼䬾⑀ⵂㅄ", num))) { string str; if (((str = class2.method_1()) == null) || (str != BookmarkStart.b("䨸帺帼䬾ᅀㅂ", num))) { class2.vmethod_1(); } } } else { class2.vmethod_1(); } } } }
public static void smethod_12(Class581 A_0, RowFormat A_1, bool A_2) { string str; int num = 15; Class394 class2 = A_0.imethod_1(); Class584 class3 = new Class584(class2); if (class3.method_10() && ((str = class3.method_9()) != null)) { if (str == BookmarkStart.b("戴堶䬸强ጼ社⹀ㅂ⡄♆㵈㽊ⅎ㙐", num)) { while (class2.method_9(BookmarkStart.b("吴夶圸吺䤼帾㕀⩂⩄⥆", num))) { string str2; if (((str2 = class2.method_1()) != null) && (str2 == BookmarkStart.b("嘴堶圸伺堼儾㕀", num))) { smethod_13(A_0, A_1, class3, A_2); } else { class2.vmethod_1(); } } } else if ((str != BookmarkStart.b("戴堶䬸强ጼ瘾⽀あ⁄㕆㵈≊≌ⅎ", num)) && (str != BookmarkStart.b("戴堶䬸强ጼ笾⑀⽂⁄㍆⁈⑊⍌", num))) { } } }
internal static void smethod_0(Class581 A_0) { int num = 0; TableCell cell = new TableCell(A_0.Interface50.imethod_0()); A_0.method_3(cell); Class394 class2 = A_0.imethod_1(); while (class2.method_9(BookmarkStart.b("別䬧", num))) { string str = class2.method_1(); if (str != null) { if (!(str == BookmarkStart.b("別䬧稩師", num))) { if (!(str == BookmarkStart.b("別䬧紩", num))) { goto Label_006E; } class2.method_45(cell.CellFormat); } else { Class419.smethod_0(A_0, cell.CellFormat); } continue; } Label_006E: Class629.smethod_2(A_0); } A_0.method_5(DocumentObjectType.TableCell); }
internal static bool smethod_0(Class581 A_0, List <BookmarkStart> A_1, List <BookmarkEnd> A_2, List <PermissionStart> A_3, List <PermissionEnd> A_4) { int num = 0x10; bool flag = false; Paragraph paragraph = new Paragraph(A_0.Interface50.imethod_0()); if (A_0.Interface50.imethod_0().Styles.DefaultParaStyle != null) { paragraph.method_65(A_0.Interface50.imethod_0().Styles.DefaultParaStyle); } smethod_1(paragraph, A_1); smethod_2(paragraph, A_2); smethod_3(paragraph, A_3); smethod_4(paragraph, A_4); A_0.method_3(paragraph); A_0.method_7(); Class394 class2 = A_0.imethod_1(); while (class2.method_9(BookmarkStart.b("䘵", num))) { if (smethod_6(A_0, paragraph)) { flag = true; } } A_0.method_5(DocumentObjectType.Paragraph); return(flag); }
private static void smethod_17(Class581 A_0, CharacterFormat A_1, Class394 A_2, Footnote A_3) { int num = 0x11; if (!A_2.method_9(BookmarkStart.b("䔶", 0x11))) { throw new InvalidOperationException(BookmarkStart.b("戶圸娺弼匾⑀捂ㅄ⡆楈ⵊⅎ㕐獒㍔㡖㙘⽚㍜ぞᕠ٢䕤ᕦ౨൪ᵮᑰᵲᙴቶ奸ᙺᱼൾ궂", num)); } if (((A_2.method_1() == BookmarkStart.b("䌶", num)) && A_2.method_10(BookmarkStart.b("䌶", num), XmlDocumentTextHandling.TextAndSignificant)) && (A_2.method_1() == "")) { A_3.CustomMarker = A_2.method_3(); } else if (A_2.method_1() == BookmarkStart.b("唶䬸", num)) { A_3.CustomMarker = smethod_25(A_2, A_1).ToString(); } else { if (A_2.method_1() != BookmarkStart.b("䐶䀸嘺", num)) { throw new InvalidOperationException(BookmarkStart.b("戶圸䠺䠼伾ㅀⱂ㝄㍆ⱈ⽊浌⥎㹐㱒⅔㥖㙘⽚㡜罞፠٢ͤɦ᭨ͬ౮ᑰ卲ᡴᙶၺ卼", num)); } A_3.CustomMarker = Class742.smethod_2(A_0.imethod_1().method_34(A_1)).ToString(); } }
internal static void smethod_0(Class581 A_0) { string str; int num = 12; Class584 class3 = new Class584(A_0.imethod_1()); if (class3.method_10() && ((str = class3.method_9()) != null)) { if (str == BookmarkStart.b("攱嬳䐵尷ᐹ縻儽⼿⥁⥃❅㩇ⅉ手ᵍ㍑♓≕", num)) { A_0.method_18()[class3.method_0()] = class3.method_2(); BookmarkStart start = new BookmarkStart(A_0.Interface50.imethod_0(), class3.method_2()); if ((class3.method_7() >= 0) && (class3.method_8() >= 0)) { start.ColumnFirst = class3.method_7(); start.ColumnLast = class3.method_8(); } A_0.method_6(start); } else if (str == BookmarkStart.b("攱嬳䐵尷ᐹ縻儽⼿⥁⥃❅㩇ⅉ手୍㹏㙑", num)) { string name = (string)A_0.method_18()[class3.method_0()]; if (name != null) { BookmarkEnd end = new BookmarkEnd(A_0.Interface50.imethod_0(), name); A_0.method_6(end); A_0.method_18().Remove(class3.method_0()); } } else if (str == BookmarkStart.b("攱嬳䐵尷ᐹ缻儽ⴿ⽁⅃⡅㱇摉Ὃ㩍ㅏ⁑⁓", num)) { smethod_3(A_0, class3); } else if (str == BookmarkStart.b("攱嬳䐵尷ᐹ缻儽ⴿ⽁⅃⡅㱇摉ो⁍㑏", num)) { smethod_4(A_0, class3); } else if (str == BookmarkStart.b("攱嬳䐵尷ᐹ画倽㌿❁㙃㉅ⅇ╉≋", num)) { if (A_0.stack_0 == null) { A_0.stack_0 = new Stack <Class579>(); } A_0.stack_0.Push(smethod_16(class3, EditRevisionType.Insertion)); smethod_17(A_0); A_0.stack_0.Pop(); } else if (str == BookmarkStart.b("攱嬳䐵尷ᐹ砻嬽ⰿ❁ぃ⽅❇⑉", num)) { if (A_0.stack_0 == null) { A_0.stack_0 = new Stack <Class579>(); } A_0.stack_0.Push(smethod_16(class3, EditRevisionType.Deletion)); smethod_17(A_0); A_0.stack_0.Pop(); } } }
private static void smethod_15(Class581 A_0, CharacterFormat A_1) { smethod_4(A_0, A_1); CharacterFormat format = (CharacterFormat)A_1.method_23(); char ch = A_0.imethod_1().method_34(format); A_0.method_9(new TextRange(A_0.Interface50.imethod_0(), ch.ToString(), format)); }
private static void smethod_3(Class581 A_0, CharacterFormat A_1) { Class394 class2 = A_0.imethod_1(); new Tab(A_0.Interface50.imethod_0()); while (class2.method_19()) { } }
internal static void smethod_2(RowFormat A_0, Class581 A_1) { int num = 9; Class394 class2 = A_1.imethod_1(); while (class2.method_9(BookmarkStart.b("嬮匰弲攴䔶簸䌺", num))) { smethod_3(A_0, A_1); } }
private static bool smethod_5(Class581 A_0) { int num = 6; Class582 class2 = A_0 as Class582; if (class2 == null) { return(false); } if (!class2.method_35()) { return(false); } if (!(A_0.imethod_1().method_1() == BookmarkStart.b("䌫挭儯䘱尳昵夷䠹崻", num))) { return(A_0.imethod_1().method_1() == BookmarkStart.b("䌫挭儯䘱尳", num)); } return(true); }
internal static void smethod_0(Class581 A_0, CharacterFormat A_1) { int num = 0x11; Class394 class2 = A_0.imethod_1(); while (class2.method_9(BookmarkStart.b("䔶椸䤺", num))) { smethod_1(A_0, A_1); } }
private static void smethod_1(Class581 A_0, RowFormat A_1) { int num = 8; Class394 class2 = A_0.imethod_1(); if (A_0.vmethod_1()) { Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Cell); A_0.method_3(class3); while (class2.method_9(class3.method_22())) { smethod_1(A_0, A_1); } A_0.method_5(DocumentObjectType.CustomXml); } else { string str = class2.method_1(); if (str != null) { if (str == BookmarkStart.b("娭刯帱搳䐵紷䈹", num)) { Class829.smethod_2(A_1, A_0); return; } if (str == BookmarkStart.b("娭䈯戱䘳", num)) { Class1131.smethod_0(A_1, A_0); return; } if (str == BookmarkStart.b("娭匯", num)) { Class251.smethod_0(A_0); return; } if (str == BookmarkStart.b("伭帯就嬳䈵夷丹唻儽⸿", num)) { TableRow lastRow = A_0.Interface50.imethod_0().LastSection.Tables[A_0.Interface50.imethod_0().LastSection.Tables.Count - 1].LastRow; TableCell cell = lastRow.Cells[lastRow.Cells.Count - 1]; Paragraph paragraph = cell.Items[cell.Items.Count - 1] as Paragraph; if (paragraph == null) { paragraph = cell.AddParagraph(); } Class519.smethod_1(A_0, paragraph); return; } } string str2 = class2.method_1(); while (class2.method_9(str2)) { smethod_1(A_0, A_1); } } }
internal static bool smethod_11(Class581 A_0, CharacterFormat A_1) { int num = 2; Class394 class2 = A_0.imethod_1(); bool flag = true; string key = class2.method_1(); if (key != null) { int num2; if (Class1160.dictionary_10 == 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_10 = dictionary1; } if (Class1160.dictionary_10.TryGetValue(key, out num2)) { switch (num2) { case 0: case 1: smethod_19(A_0, A_1); return(flag); case 2: smethod_21(A_0, A_1); return(flag); case 3: return(flag); case 4: smethod_22(A_0, A_1); return(flag); case 5: Class802.smethod_0(A_0); return(flag); case 6: smethod_1(A_0, A_1); return(flag); } } } return(false); }
private static void smethod_2(Class581 A_0, CharacterFormat A_1) { if ((A_0.imethod_1().method_52().Count <= 0) || (A_0.imethod_1().method_53() != FieldCharType.Seperate)) { bool flag = A_0.imethod_1().method_53() == FieldCharType.Begin; fieldCharType_0 = FieldCharType.Seperate; A_0.imethod_1().method_52().Push(fieldCharType_0); ParagraphBase lastChild = A_0.method_13().LastChild as ParagraphBase; if (A_0.imethod_1().method_57() != null) { lastChild = A_0.imethod_1().method_57(); } else if (flag) { lastChild = new Field(A_0.Interface50.imethod_0()); A_0.imethod_1().method_54().Push(lastChild as Field); A_0.method_9(lastChild); } if (((lastChild is Field) || (lastChild is TextRange)) && !(lastChild is MergeField)) { if ((lastChild is Field) ? ((lastChild as Field).Type == FieldType.FieldTOC) : false) { if (lastChild.Owner == null) { return; } (lastChild as Field).ParseFieldCode((lastChild as Field).Code); TableOfContent content = new TableOfContent(A_0.Interface50.imethod_0(), A_0.imethod_1().method_57().FormattingString); A_0.Interface50.imethod_0().TOC = content; content.FormattingString = A_0.imethod_1().method_57().FormattingString; A_0.method_13().ChildObjects.Remove(lastChild); A_0.method_9(content); if (A_0.method_13() is Paragraph) { (A_0.method_13() as Paragraph).IsTOCPara = true; } else { (A_0.method_13() as ParagraphBase).OwnerParagraph.IsTOCPara = true; } lastChild = content.TOCField; } FieldMark mark = new FieldMark(A_0.Interface50.imethod_0(), A_1, FieldMarkType.FieldSeparator); A_0.method_9(mark); if (lastChild is Field) { (lastChild as Field).Separator = mark; } } } }
private static void smethod_1(Class581 A_0) { Class394 class2 = A_0.imethod_1(); class2.method_18(); string str = class2.method_1(); while (class2.method_9(str)) { smethod_2(A_0); } }
internal static void smethod_1(Class581 A_0, RowFormat A_1) { int num = 10; Class394 class2 = A_0.imethod_1(); class2.method_18(); if (A_0.vmethod_1()) { Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Row); A_0.method_3(class3); while (class2.method_9(class3.method_22())) { smethod_1(A_0, A_1); } A_0.method_5(DocumentObjectType.CustomXml); } else { string str = class2.method_1(); if (str != null) { if (str == BookmarkStart.b("䐯倱堳昵䨷", num)) { Class829.smethod_0(A_1, A_0, false); ((Table)A_0.method_13()).TableFormat.ImportContainer(A_1); return; } if (str == BookmarkStart.b("䐯倱堳焵䨷匹堻", num)) { Class532.smethod_1(class2, ((Table)A_0.method_13()).TableFormat); return; } if (str == BookmarkStart.b("䐯䀱", num)) { Class912.smethod_0(A_0, A_1); return; } if (str == BookmarkStart.b("儯就娳夵䰷嬹䠻圽⼿ⱁ", num)) { TableRow lastRow = A_0.Interface50.imethod_0().LastSection.Tables[A_0.Interface50.imethod_0().LastSection.Tables.Count - 1].LastRow; TableCell cell = lastRow.Cells[lastRow.Cells.Count - 1]; Paragraph paragraph = cell.Items[cell.Items.Count - 1] as Paragraph; if (paragraph == null) { paragraph = cell.AddParagraph(); } Class519.smethod_1(A_0, paragraph); return; } } smethod_3(A_0, A_1); } }
internal static void smethod_0(Class581 A_0) { Class394 class2 = A_0.imethod_1(); class2.method_18(); string str = class2.method_1(); while (class2.method_9(str)) { smethod_1(A_0); } }
private static void smethod_2(Class581 A_0) { Class394 class2 = A_0.imethod_1(); string str = class2.method_12(BookmarkStart.b("崳堵䬷丹主", 14), string.Empty); if ((str != null) && !(str == string.Empty)) { Field field = smethod_3(str, A_0.Interface50.imethod_0()); field.ParseFieldCode(field.Code); A_0.method_9(field); class2.method_54().Push(field); } }
private static bool smethod_2(Class581 A_0, CharacterFormat A_1) { Class582 class2 = A_0 as Class582; if ((class2 != null) && class2.method_35()) { Class394 class3 = A_0.imethod_1(); class3.method_1(); class3.vmethod_1(); return(true); } return(false); }
private static void smethod_24(Class581 A_0, CharacterFormat A_1) { int num = 0x12; BreakType lineBreak = BreakType.LineBreak; LineBreakClear none = LineBreakClear.None; bool flag = A_0.imethod_1().method_1().ToLower() == BookmarkStart.b("嬷䠹", 0x12); while (A_0.imethod_1().method_19()) { string str = A_0.imethod_1().method_1(); if (str != null) { if (!(str == BookmarkStart.b("䰷䌹䰻嬽", num))) { if (str == BookmarkStart.b("嬷嘹夻弽㈿", num)) { none = Class860.smethod_11(A_0.imethod_1().method_3()); } } else { lineBreak = Class860.smethod_13(A_0.imethod_1().method_3()); } } } Break @break = new Break(A_0.Interface50.imethod_0(), lineBreak); if (lineBreak == BreakType.LineBreak) { @break.TextRange.Text = BookmarkStart.b("㌷", num); } @break.ClearType = none; if (flag) { @break.IsCrBreak = true; } if (A_1 != null) { @break.TextRange.ApplyCharacterFormat(A_1); } if ((A_0.imethod_1().method_57() != null) && (A_0.imethod_1().method_57() is MergeField)) { A_0.imethod_1().method_51().Append(Class816.string_27); } else { A_0.method_9(@break); } }
private static void smethod_5(Class581 A_0, Field A_1) { bool flag = A_0.vmethod_5(); Class394 class2 = A_0.imethod_1(); if ((class2.method_67() != null) || flag) { CharacterFormat format1 = (CharacterFormat)A_1.CharacterFormat.Clone(); if ((A_1 is FormField) && (class2.method_67() != null)) { (A_1 as FormField).method_242(class2.method_67()); } } }
internal static void smethod_0(Class581 A_0) { Document doc = A_0.Interface50.imethod_0(); A_0.method_3(new Table(doc)); RowFormat format = new RowFormat(doc); Class394 class2 = A_0.imethod_1(); string str = class2.method_1(); while (class2.method_9(str)) { smethod_1(A_0, format); } smethod_2(A_0, format); }
private static void smethod_6(Class581 A_0) { Class394 class2 = A_0.imethod_1(); string id = class2.method_12(BookmarkStart.b("並䴨", 1), string.Empty); if ((id != null) && !(id == string.Empty)) { PermissionEnd end = new PermissionEnd(A_0.Interface50.imethod_0(), id) { EditorGroup = smethod_7(class2), DisplacedByCustomXml = smethod_8(class2) }; A_0.method_9(end); } }
private static void smethod_4(Class581 A_0) { Class394 class2 = A_0.imethod_1(); string id = class2.method_12(BookmarkStart.b("嬱倳", 12), string.Empty); if ((id != null) && !(id == string.Empty)) { PermissionEnd item = new PermissionEnd(A_0.Interface50.imethod_0(), id) { EditorGroup = smethod_5(class2), DisplacedByCustomXml = smethod_6(class2) }; list_3.Add(item); } }
private static void smethod_1(Section A_0, Class581 A_1) { Class394 class2 = A_1.imethod_1(); bool flag = class2.method_1() == BookmarkStart.b("䈩䠫尭", 4); HeaderFooterType type = Class339.smethod_4(class2.method_12(BookmarkStart.b("帩唫席唯", 4), ""), flag); HeaderFooter footer = new HeaderFooter(A_0, type); A_1.method_16(true); Class629.smethod_0(A_1, footer); A_1.method_16(false); A_0.HeadersFooters[type] = footer; if (A_0.HeadersFooters[footer.Type] == null) { A_0.method_18(footer, A_0.Body); } }