Beispiel #1
0
    private static void smethod_2(Class857 A_0, DocumentObject A_1, Class101 A_2)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();
        int      num2   = 1;

        while (class2.method_19())
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("弫娭儯䀱䀳ᬵ丷嬹倻䬽┿", num)))
            {
                if (A_2 != null)
                {
                    A_2.method_21().Levels[A_0.method_24()].StartAt = class2.method_4();
                }
                num2 = class2.method_4();
            }
        }
        if (A_2.method_27() != null)
        {
            string              str2   = A_2.method_27();
            Class12             class3 = A_0.method_9().ListOverrides.method_35(str2);
            OverrideLevelFormat format = new OverrideLevelFormat(A_0.method_9());
            class3.method_23().method_9(A_0.method_24(), format);
            format.OverrideStartAtValue = true;
            format.OverrideListLevel    = A_0.method_9().ListStyles.FindByName(A_2.method_0()).Levels[A_0.method_24()];
            class3.method_23().method_5(A_0.method_24()).StartAt = num2;
        }
        smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ張䰷弹儻", num), A_2);
    }
Beispiel #2
0
    internal int method_9(int A_0, OverrideLevelFormat A_1)
    {
        A_1.method_0(this.method_6());
        int num = base.InnerList.Add(A_1);

        if (this.method_7().ContainsKey(A_0))
        {
            this.method_7()[A_0] = num;
            return(num);
        }
        this.method_7().Add(A_0, num);
        return(num);
    }
Beispiel #3
0
 void DocumentSerializableCollection.CloneToImpl(CollectionEx A_0)
 {
     foreach (DocumentSerializable serializable in base.InnerList)
     {
         A_0.InnerList.Add(serializable.method_4());
         OverrideLevelFormat format = A_0.InnerList[A_0.Count - 1] as OverrideLevelFormat;
         format.method_0((A_0 as Class47).OwnerBase);
         format.OverrideListLevel.method_0(format);
     }
     foreach (KeyValuePair <int, int> pair in this.method_7())
     {
         (A_0 as Class47).method_7().Add(pair.Key, pair.Value);
     }
 }
Beispiel #4
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();
                }
            }
        }
    }
Beispiel #5
0
    private void method_23(OverrideLevelFormat A_0)
    {
        this.binaryWriter_0.Write(A_0.StartAt);
        int num = 0;

        num  = 0 | A_0.OverrideListLevel.LevelNumber;
        num |= A_0.OverrideStartAtValue ? 0x10 : 0;
        num |= A_0.OverrideFormatting ? 0x20 : 0;
        this.binaryWriter_0.Write((byte)num);
        this.binaryWriter_0.Write((short)A_0.int_7);
        this.binaryWriter_0.Write((byte)A_0.int_8);
        if (A_0.OverrideFormatting)
        {
            this.method_13(A_0.OverrideListLevel, A_0.OverrideListLevel.LevelNumber);
        }
    }
Beispiel #6
0
 internal void method_28()
 {
     if ((this.class47_0 != null) && (this.class47_0.Count != 0))
     {
         OverrideLevelFormat format = null;
         int count = this.class47_0.Count;
         foreach (KeyValuePair <int, int> pair in this.class47_0.method_7())
         {
             this.class47_0.method_5(pair.Key).method_5();
             format = null;
         }
     }
     else
     {
         this.class47_0 = null;
     }
 }
Beispiel #7
0
    private void method_22(Class12 A_0)
    {
        int num  = this.binaryReader_0.ReadInt32();
        int num2 = this.binaryReader_0.ReadByte();
        int num3 = num2 & 15;
        OverrideLevelFormat format = new OverrideLevelFormat(this.listStyleCollection_0.Document);

        A_0.method_23().method_9(num3, format);
        format.OverrideListLevel = new ListLevel(this.listStyleCollection_0.Document);
        format.OverrideListLevel.method_0(format);
        format.StartAt = num;
        format.OverrideStartAtValue = (num2 & 0x10) != 0;
        format.OverrideFormatting   = (num2 & 0x20) != 0;
        format.int_7 = this.binaryReader_0.ReadInt16();
        format.int_8 = this.binaryReader_0.ReadByte();
        if (format.OverrideFormatting)
        {
            this.method_11(format.OverrideListLevel);
        }
    }
Beispiel #8
0
    internal int method_10(OverrideLevelFormat A_0)
    {
        int index = base.InnerList.IndexOf(A_0);
        int num2  = index;

        using (Dictionary <int, int> .Enumerator enumerator = this.method_7().GetEnumerator())
        {
            KeyValuePair <int, int> current;
            while (enumerator.MoveNext())
            {
                current = enumerator.Current;
                if (current.Value == index)
                {
                    goto Label_003D;
                }
            }
            return(num2);

Label_003D:
            num2 = current.Key;
        }
        return(num2);
    }