Exemple #1
0
 private void method_16()
 {
     if (this.class703_0.class597_0.class1111_74.int_1 != 0)
     {
         this.binaryReader_0.BaseStream.Seek((long)this.class703_0.class597_0.class1111_74.int_0, SeekOrigin.Begin);
         int            num2 = this.binaryReader_0.ReadInt32();
         List <Class12> list = new List <Class12>();
         for (int i = 0; i < num2; i++)
         {
             Class12 item = this.method_18();
             list.Add(item);
             string key = ((this.listStyleCollection_0.ListStyleNames.Count - 2) + 1).ToString();
             if (item.method_26() > 0)
             {
                 this.class48_0.method_34(item);
                 this.dictionary_0.Add(i + 1, item.Name);
                 this.listStyleCollection_0.ListStyleNames.Add(key, this.listStyleCollection_0[this.dictionary_1[item.method_24().ToString()] + 1].Name);
                 item.method_25(this.listStyleCollection_0.ListStyleNames.Count);
             }
             else if ((this.dictionary_1 != null) && this.dictionary_1.ContainsKey(item.method_24().ToString()))
             {
                 this.listStyleCollection_0.ListStyleNames.Add(key, this.listStyleCollection_0[this.dictionary_1[item.method_24().ToString()] + 1].Name);
             }
         }
         for (int j = 0; j < list.Count; j++)
         {
             this.method_20(list[j]);
         }
     }
 }
Exemple #2
0
    private static void smethod_9(Class582 A_0, int A_1)
    {
        int      num      = 12;
        Document document = A_0.Interface50.imethod_0();
        Class394 class2   = A_0.imethod_1();
        Class12  class3   = null;

        if (!A_0.method_21().ContainsKey(A_1))
        {
            class3 = new Class12(document, A_1 + 2)
            {
                Name = BookmarkStart.b("縱刳夵欷丹䔻刽┿ᵁ", num) + Guid.NewGuid()
            };
            A_0.method_21().Add(A_1, class3.Name);
            document.ListOverrides.method_34(class3);
            class3.method_25(A_0.method_20().Count);
        }
        else
        {
            class3 = document.ListOverrides.method_35((string)A_0.method_21()[A_1]);
        }
        int num3 = class2.method_13(BookmarkStart.b("嬱堳䀵吷", num), 0);
        OverrideLevelFormat format = new OverrideLevelFormat(document);

        class3.method_23().method_9(num3, format);
        format.OverrideStartAtValue = false;
        format.OverrideFormatting   = false;
        for (int i = 0; class2.method_9(BookmarkStart.b("帱䈳娵眷䰹夻䰽㈿⭁⁃⍅", num)); i++)
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䄱䀳圵䨷丹猻䠽┿ぁ㙃⽅ⱇ⽉", num)))
                {
                    if (str == BookmarkStart.b("帱䈳娵", num))
                    {
                        format.OverrideFormatting = true;
                        smethod_6(format.OverrideListLevel, A_0, i);
                    }
                }
                else
                {
                    format.OverrideStartAtValue = true;
                    format.StartAt = class2.method_29();
                }
            }
        }
    }