internal static void smethod_0(Class581 A_0, ParagraphFormat A_1, CharacterFormat A_2, Class584 A_3) { object obj2 = A_1.method_31(0x465); A_1.method_71(0x465); object obj3 = A_1.method_31(0x62c); A_1.method_71(0x62c); ParagraphFormat format = (ParagraphFormat)A_1.method_23(); A_1.ClearFormatting(); Class924.smethod_0(A_0, A_1, A_2); bool flag = A_1.method_31(0x3e8) != null; bool flag2 = format.method_31(0x3e8) != null; if (flag && !flag2) { format.SetAttr(0x3e8, format.method_31(0x3e8)); } if (obj2 != null) { A_1.SetAttr(0x465, obj2); } if (obj3 != null) { A_1.SetAttr(0x62c, obj3); } }
private static void smethod_3(Class581 A_0, Class584 A_1) { Comment comment = null; CommentMark commentMarkStart = null; if ((A_0.method_25().Count > 0) && A_0.method_25().ContainsKey(A_1.method_0())) { comment = A_0.method_25()[A_1.method_0()]; } else { comment = new Comment(A_0.Interface50.imethod_0()); A_0.method_25().Add(A_1.method_0(), comment); } if (comment.CommentMarkStart != null) { commentMarkStart = A_0.method_25()[A_1.method_0()].CommentMarkStart; } else { commentMarkStart = new CommentMark(A_0.Interface50.imethod_0(), A_1.method_0(), CommentMarkType.CommentStart); comment.CommentMarkStart = commentMarkStart; } A_0.method_6(commentMarkStart); }
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_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(); } }
private static void smethod_19(Class581 A_0, CharacterFormat A_1) { smethod_4(A_0, A_1); ShapeBase base2 = Class964.smethod_4(A_0); if (base2 != null) { base2.ApplyCharacterFormat(A_1); if (base2.ShapeType == ShapeType.OleObject) { DocOleObject oleFormat = (base2 as ShapeObject).OleFormat; oleFormat.SetOlePicture((base2 as ShapeObject).ImageData); A_0.method_9(oleFormat); smethod_20(oleFormat, A_0); } else if (base2.ShapeType == ShapeType.TextBox) { TextBox internerTextbox = (base2 as ShapeObject).InternerTextbox; A_0.method_9(internerTextbox); } else if ((base2.ShapeType == ShapeType.Image) || (base2 as ShapeObject).HasImage) { DocPicture imageData = (base2 as ShapeObject).ImageData; imageData.IsShape = true; A_0.method_9(imageData); } else { base2.CharacterFormat.method_25(A_1); A_0.method_9(base2); } } }
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); }
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(); } } } }
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_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); }
private static void smethod_2(Class581 A_0, RowFormat A_1) { Table table = (Table)A_0.method_13(); table.PreferredTableWidth = A_1.TablePreferredWidthInfo; A_0.method_5(DocumentObjectType.Table); }
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)); }
internal static void smethod_0(Class581 A_0, DocumentObject A_1) { DocumentObject obj2 = A_0.method_13(); A_0.method_14(A_1); smethod_1(A_0); A_0.method_14(obj2); }
internal static void smethod_13(Class581 A_0) { A_0.method_5(DocumentObjectType.Paragraph); if (!A_0.vmethod_5()) { Class518.smethod_0(A_0, null, null, null, null); } A_0.method_3(new Paragraph(A_0.Interface50.imethod_0())); }
private static void smethod_12(Class581 A_0) { A_0.method_5(DocumentObjectType.Paragraph); if (!A_0.vmethod_5()) { Class1080.smethod_0(A_0); } A_0.method_3(new Paragraph(A_0.Interface50.imethod_0())); }
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()) { } }
private static void smethod_4(Class581 A_0, Class584 A_1) { if (((A_0.method_25().Count != 0) && A_0.method_25().ContainsKey(A_1.method_0())) && (A_0.method_25()[A_1.method_0()].CommentMarkEnd == null)) { CommentMark mark = new CommentMark(A_0.Interface50.imethod_0(), A_1.method_0(), CommentMarkType.CommentEnd); A_0.method_25()[A_1.method_0()].CommentMarkEnd = mark; A_0.method_6(mark); } }
internal static void smethod_0(Class581 A_0) { Section section = new Section(A_0.Interface50.imethod_0()); A_0.method_3(section); A_0.method_4(section.Body); smethod_1(A_0); A_0.method_5(DocumentObjectType.Body); A_0.method_5(DocumentObjectType.Section); }
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); } }
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_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_14(Class581 A_0, RowFormat A_1, Class584 A_2, EditRevisionType A_3) { int num = 1; switch (A_3) { case EditRevisionType.Insertion: case EditRevisionType.Deletion: return; } throw new ArgumentException(BookmarkStart.b("爦䜨个唬弮吰倲䄴制崸ᬺ似娾㝀⩂㙄⹆♈╊浌㭎⡐⍒ご祖", num)); }
private static void smethod_13(Class581 A_0, RowFormat A_1, Class584 A_2, bool A_3) { RowFormat format1 = (RowFormat)A_1.method_23(); if (A_3) { Class829.smethod_0(A_1, A_0, false); } else { Class1131.smethod_0(A_1, A_0); } }