Example #1
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);
                     }
                 }
             }
         }
     }
 }
Example #2
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);
                 }
             }
         }
     }
 }
Example #3
0
 private void method_19(List <Dictionary <string, RectangleF> > A_0, sprᣍ A_1)
 {
     if (((A_0 != null) && (A_1 != null)) && !this.method_1().DisableLink)
     {
         for (int i = 0; i < A_0.Count; i++)
         {
             foreach (KeyValuePair <string, RectangleF> pair in A_0[i])
             {
                 RectangleF ef  = pair.Value;
                 string     key = pair.Key;
                 if (!string.IsNullOrEmpty(key))
                 {
                     spr⠱ r⠱ = new spr⠱(ef, key);
                     A_1.ᜀ(r⠱);
                 }
             }
         }
     }
 }
Example #4
0
 private void method_30(object A_0, spr⌑ A_1)
 {
     if (this.method_3() != null)
     {
         Class195 class2 = this.method_3();
         sprᣍ     rᣍ     = A_1.ᜂ();
         A_1.ᜁ();
         int num   = A_1.ᜀ();
         int count = class2.method_34().method_0().Count;
         this.method_19(class2.method_34().method_0()[num].method_2(), rᣍ);
         this.method_21(class2.method_9(), rᣍ, count, num, false);
         if (this.method_1().CreateWordBookmarks)
         {
             this.method_23(class2.method_11(), rᣍ, count, num);
         }
         else
         {
             this.method_21(class2.method_9(), rᣍ, count, num, true);
         }
     }
 }