private void method_21(List <Dictionary <string, Class310> > A_0, sprᣍ A_1, int A_2, int A_3, bool A_4) { if ((A_0 != null) && (A_0.Count > 0)) { for (int i = 0; i < A_0.Count; i++) { foreach (KeyValuePair <string, Class310> pair in A_0[i]) { Class310 class2 = pair.Value; if (class2.method_16() == A_4) { if ((class2.method_6() == (A_3 + 1)) && !string.IsNullOrEmpty(pair.Key)) { A_1.ᜀ(class2.method_8(), class2.method_0(), class2.method_4() - 1, class2.method_2()); } if ((A_4 && (A_2 >= class2.method_4())) && ((class2.method_4() != 0) && ((A_3 + 1) == class2.method_4()))) { sprᢧ rᢧ = new sprᢧ(class2.method_2().Location, class2.method_12(), class2.method_10()); rᢧ.ᜀ(new sprⓚ(Color.SaddleBrown.ToArgb())); rᢧ.ᜀ(FontStyle.Bold); A_1.ᜀ(rᢧ, A_3); } } } } } }
public abstract void Visit(Class310 c);
private void method_20(List <Dictionary <string, Class310> > A_0, Dictionary <string, PdfBookmark> A_1, bool A_2) { for (int i = 0; i < A_0.Count; i++) { foreach (KeyValuePair <string, Class310> pair in A_0[i]) { Class310 class2 = pair.Value; if (class2.method_16() == A_2) { int index = this.pdfNewDocument_0.get_Pages().IndexOf(this.pdfPageBase_0); if (class2.method_6() == (index + 1)) { if (pair.Value.method_12() == 1) { A_1.Clear(); } if (!pair.Key.Equals(string.Empty)) { float height = this.method_0()[index].PageSize.Height; PdfDocumentLinkAnnotation annotation = new PdfDocumentLinkAnnotation(class2.method_0()); annotation.set_Border(new PdfAnnotationBorder(0f)); if ((this.pdfNewDocument_0.get_Pages().get_Count() >= class2.method_4()) && (class2.method_4() != 0)) { PdfDestination destination = new PdfDestination(this.pdfNewDocument_0.get_Pages().get_Item(class2.method_4() - 1), class2.method_2().Location); string[] strArray = class2.method_8().Split(new char[] { '_' }, StringSplitOptions.RemoveEmptyEntries); if ((strArray.Length > 2) && (strArray[1] == strArray[2])) { PdfBookmark bookmark = this.pdfNewDocument_0.get_Bookmarks().Add(class2.method_10()); bookmark.set_Color((PdfRGBColor)Color.SaddleBrown); bookmark.set_DisplayStyle(2); annotation.set_Destination(destination); bookmark.set_Action(new PdfGoToAction(annotation.get_Destination())); } else if (pair.Value.method_12() == 0) { annotation.set_Destination(destination); } else if (pair.Value.method_12() == 1) { PdfBookmark bookmark3 = this.pdfNewDocument_0.get_Bookmarks().Add(class2.method_10()); bookmark3.set_Color((PdfRGBColor)Color.SaddleBrown); bookmark3.set_DisplayStyle(2); annotation.set_Destination(destination); bookmark3.set_Action(new PdfGoToAction(annotation.get_Destination())); A_1.Add(pair.Value.method_12().ToString(), bookmark3); } else { PdfBookmark bookmark4 = null; A_1.TryGetValue((pair.Value.method_12() - 1).ToString(), out bookmark4); if (bookmark4 != null) { PdfBookmark bookmark2 = bookmark4.Add(class2.method_10()); bookmark2.set_Color((PdfRGBColor)Color.SaddleBrown); bookmark2.set_DisplayStyle(2); annotation.set_Destination(destination); bookmark2.set_Action(new PdfGoToAction(annotation.get_Destination())); if (A_1.ContainsKey(pair.Value.method_12().ToString())) { A_1.Remove(pair.Value.method_12().ToString()); } A_1.Add(pair.Value.method_12().ToString(), bookmark2); } } } if (this.pdfPageBase_0 is PdfNewPage) { (this.pdfPageBase_0 as PdfNewPage).get_Annotations().Add(annotation); } else { (this.pdfPageBase_0 as PdfPageWidget).get_AnnotationsWidget().Add(annotation); } } } } } } }
public override void Visit(Class310 c) { }