コード例 #1
0
 private void method_23(List <BookmarkLevel> A_0, sprᣍ A_1, int A_2, int A_3)
 {
     if ((A_0 != null) && (A_0.Count > 0))
     {
         if (!this.bool_0)
         {
             this.bool_0 = true;
             sprᢧ rᢧ = new sprᢧ(new PointF(0f, 0f), 0, this.method_1().WordBookmarksTitle);
             rᢧ.ᜀ(true);
             rᢧ.ᜀ(new sprⓚ(this.method_1().WordBookmarksColor.ToArgb()));
             rᢧ.ᜀ(this.method_25(this.method_1().WordBookmarksTextStyle));
             A_1.ᜀ(rᢧ, A_3);
         }
         for (int i = 0; i < A_0.Count; i++)
         {
             BookmarkLevel level = A_0[i];
             if ((A_2 >= level.TargetPageNumber) && (level.TargetPageNumber != 0))
             {
                 if ((A_3 + 1) == level.TargetPageNumber)
                 {
                     sprᢧ  rᢧ2    = new sprᢧ(level.TargetBounds.Location, level.Level, level.Name);
                     Color color2 = (!(level.Color == Color.SaddleBrown) || !(this.method_1().WordBookmarksColor != Color.SaddleBrown)) ? level.Color : this.method_1().WordBookmarksColor;
                     rᢧ2.ᜀ(new sprⓚ(color2.ToArgb()));
                     rᢧ2.ᜀ(((level.Style != BookmarkTextStyle.Bold) || (this.method_1().WordBookmarksTextStyle == BookmarkTextStyle.Bold)) ? this.method_25(level.Style) : this.method_25(this.method_1().WordBookmarksTextStyle));
                     A_1.ᜀ(rᢧ2, A_3);
                 }
                 if (level.ChildObjects.Count > 0)
                 {
                     this.method_23(level.ChildObjects, A_1, A_2, A_3);
                 }
             }
         }
     }
 }
コード例 #2
0
 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);
                     }
                 }
             }
         }
     }
 }