private void method_16(Class196 A_0, RectangleF A_1, Interface18 A_2) { bool flag = false; int num = 0; A_1 = new RectangleF(new PointF(A_1.Location.X, A_1.Location.Y + 12f), new SizeF(A_1.Width, A_1.Height - 12f)); foreach (Footnote footnote in A_0.method_127()) { Class615 class2 = Class615.smethod_0(footnote.TextBody, this, A_1.Width); Class375 class3 = class2.vmethod_0(A_1); if (class2.method_15() || ((class2.method_1() == LayoutState.NotFitted) && (class2.method_0() != null))) { RectangleF ef; A_0.method_28().method_5().method_7(class3); A_2.imethod_1(out ef, out A_1, ref num, ref flag, true); A_1.Y += 12f; Interface3 interface2 = class2.method_0() as Interface3; class2 = Class615.smethod_0(interface2, this, A_1.Width); class3 = class2.vmethod_0(A_1); } A_0.method_28().method_5().method_7(class3); A_1 = class2.method_3().method_13(); } }
public void method_15(Interface3 A_0, Interface18 A_1, Class196 A_2) { RectangleF ef; RectangleF ef2; this.bool_0 = A_0 is HeaderFooter; bool flag = false; bool flag2 = true; Interface3 interface2 = A_0; List <Interface3> list = new List <Interface3>(); List <Class375> list2 = new List <Class375>(); this.class196_0 = A_2; this.class196_0.method_136(this.bool_0); this.class196_0.method_133(A_1); this.int_0 = 0; while (A_1.imethod_1(out ef, out ef2, ref this.int_0, ref flag, flag2)) { if (ef2.Equals(RectangleF.Empty)) { return; } this.rectangleF_1 = ef2; this.imethod_2(ef); Class615 class2 = Class615.smethod_0(interface2, this, ef2.Width); Class375 class3 = class2.vmethod_0(ef2); if (!flag) { list.Clear(); list2.Clear(); A_1.imethod_2(class3); } else { list.Insert(list.Count, interface2); list2.Insert(list2.Count, class3); } if (!class2.method_15() && (((class2.method_1() != LayoutState.NotFitted) || (class2.method_0() == null)) || (!(class2.method_0() is Class65) || !((class2.method_0() as Class65).imethod_4(0) is Section)))) { if ((interface2 is Document) || ((interface2 is Class65) && ((interface2 as Class65).method_2() is Document))) { this.method_16(A_2, class2.method_3().method_13(), A_1); return; } break; } if ((class2.method_1() == LayoutState.NotFitted) && (class2.method_0() != null)) { (this.delegate3_0.Target as Class195).method_36(true); } this.method_18(class2); Class65 class4 = class2.method_0() as Class65; bool flag3 = flag; if (A_1.imethod_4(class4, class2.method_1(), class3, ref flag3)) { if (flag3 && flag) { int count = list2.Count; for (int i = 0; i < count; i++) { A_1.imethod_2(list2[0]); list.RemoveAt(0); list2.RemoveAt(0); } } else if (flag) { A_1.imethod_3(class3); } interface2 = class4; } else { A_1.imethod_3(class3); if (list.Count > 0) { interface2 = list[0]; } } } }