private void method_31(Class196 A_0, Class375 A_1, BookmarkLevel A_2) { for (int i = 0; i < A_0.method_145().Count; i++) { string text = string.Empty; if (base.Owner is Paragraph) { text = (base.Owner as Paragraph).Text; } if (A_2 != null) { A_2.Text = text; } foreach (KeyValuePair <string, Class310> pair in A_0.method_145()[i]) { if (pair.Key == this.Name) { pair.Value.method_3(A_1.method_69()); pair.Value.method_5(A_0.method_16()); A_0.method_400(base.OwnerParagraph, pair.Value); pair.Value.method_11(text); if (A_2 != null) { A_2.SourcePageNumber = pair.Value.method_6(); A_2.SourceBounds = pair.Value.method_0(); } } } } }
void Interface1.Draw(Class196 dc, Class375 ltWidget) { int num = 8; if (!this.Name.StartsWith(b("焭", 8))) { BookmarkLevel item = new BookmarkLevel { Name = this.Name, IsPair = false, TargetBounds = ltWidget.method_69(), TargetPageNumber = dc.method_16() }; if (dc.method_149() != null) { if (!dc.method_149().IsDrawComplete&& !dc.method_149().ChildObjects.Contains(item)) { dc.method_149().method_0(item); dc.method_150(item); BookmarkLevelEventArgs args2 = new BookmarkLevelEventArgs { BookmarkLevel = item, BookmarkStart = this }; base.Document.method_21(args2); } } else if (!dc.method_147().Contains(item)) { dc.method_147().Add(item); dc.method_150(item); BookmarkLevelEventArgs args = new BookmarkLevelEventArgs { BookmarkLevel = item, BookmarkStart = this }; base.Document.method_21(args); } this.method_31(dc, ltWidget, item); } else if (this.Name.ToLower().StartsWith(b("焭䐯崱圳", num))) { this.method_31(dc, ltWidget, null); } }