private void method_6(Class537 A_0) { int num = 0; for (int i = 0; i < A_0.method_2().Length; i++) { switch (A_0.method_2()[i]) { case '\f': if ((this.subDocumentType_0 != SubDocumentType.Footnote) && (this.subDocumentType_0 != SubDocumentType.Endnote)) { Class17 class2 = this.class764_0.method_35(A_0.method_0(i + 1)); if (class2 != null) { Struct24 struct3 = this.method_8(A_0, num, i); num = i + 1; if (struct3.class1150_0.int_0 == 0) { this.method_9(A_0, i, struct3); if (this.class263_0.method_0() == ElementPostion.None) { this.class764_0.method_43().imethod_5(); this.class764_0.method_43().imethod_3(); this.int_1++; this.class764_0.method_43().imethod_2(class2); this.method_1(); this.class764_0.method_43().imethod_4(); } } } } break; case '\r': case '\a': if (this.method_7(A_0, i)) { Struct24 struct2 = this.method_8(A_0, num, i); num = i + 1; this.method_9(A_0, i, struct2); } break; } } if (num < A_0.method_2().Length) { this.class985_0.Add(new Class537(A_0, num, A_0.method_2().Length)); } }
private void method_9(Class537 A_0, int A_1, Struct24 A_2) { this.class263_0.method_2(A_2.class1150_0); if (A_2.class1150_0.method_1()) { int num = A_0.method_0(A_1); this.class132_0.method_2(num); this.class136_0.method_2(num); } else { this.method_10(A_2.paragraphFormat_0); } this.class263_0.method_3(A_2.class1150_0, A_2.rowFormat_0, this.class985_0.method_1().method_8()); this.class985_0.Clear(); }
private void method_14(CharacterFormat A_0, Class1107 A_1, Class537 A_2, int A_3, ref int A_4, bool A_5) { if ((!A_1.bool_0 && (A_4 == 1)) && (A_2.method_2()[A_3] == '\x0015')) { A_1.bool_0 = true; } int num2 = A_3; int num = A_3; int num3 = A_3 + A_4; int num6 = A_4; bool flag = false; int num5 = A_2.method_0(num) - num; while (num < num3) { int num4 = num + num5; if ((this.class130_0.method_1() == num4) || (this.class130_1.method_1() == num4)) { flag = true; } char ch = A_2.method_2()[num]; if (((((ch != '\b') && !A_1.bool_0) && ((this.class132_0.method_1() != num4) && (this.class136_0.method_1() != num4))) && (((this.class135_0.method_1() != num4) && (this.class133_0.method_1() != num4)) && ((this.class131_0.method_1() != num4) && (this.class134_0.method_1() != num4)))) && ((this.class129_0.method_1() != num4) && !flag)) { if (A_5 || (ch.ToString().IndexOfAny(Class818.char_20) <= -1)) { goto Label_0290; } if (num == num2) { num++; } A_4 = num - num2; break; } CharacterFormat format = (CharacterFormat)A_0.Clone(); if (!A_1.bool_0 && (num > num2)) { this.method_15(format, A_1, A_2, num2, num - num2); num2 = num; } this.class132_0.method_2(num4); if (this.class135_0.method_1() == this.class136_0.method_1()) { this.class136_0.method_2(num4); this.class135_0.method_2(num4); this.class133_0.method_2(num4); } else { this.class135_0.method_2(num4); this.class133_0.method_2(num4); this.class136_0.method_2(num4); } this.class131_0.method_2(num4); this.class134_0.method_2(num4); this.class129_0.method_2(num4); if (flag) { FootnoteType type; flag = false; if (this.class130_0.method_1() == num4) { this.class130_0.method_2(num4); } else { this.class130_1.method_2(num4); } Class762 class2 = this.method_25(num4, out type); if ((class2 != null) && this.method_26(class2, type, A_2, num, num3, A_1, format)) { num2 = num3; } } else if ((A_1.bool_0 && ((A_4 == 1) || (Array.IndexOf <char>(Class818.char_22, ch) > -1))) || (ch == '\b')) { if (((A_4 > 1) && (num > num2)) && (Array.IndexOf <char>(Class818.char_22, ch) > -1)) { this.method_15(format, A_1, A_2, num2, num - num2); } this.method_17(ch, num4, format, A_1); num2 = num + 1; } Label_0290: num++; } if (A_5) { num--; } if (num > num2) { this.method_15(A_0, A_1, A_2, num2, num - num2); A_4 = (A_4 < num6) ? (num - A_3) : A_4; } }