Example #1
0
    private void method_9(int A_0)
    {
        this.binaryWriter_0.Write((ushort)4);
        Class547 latentStyles = this.styleCollection_0.LatentStyles;
        int      num          = 0;

        num  = 0 | (latentStyles.method_2() ? 1 : 0);
        num |= latentStyles.method_6() ? 2 : 0;
        num |= latentStyles.method_10() ? 4 : 0;
        num |= latentStyles.method_4() ? 8 : 0;
        num |= latentStyles.method_8() << 4;
        for (int i = 0; i < A_0; i++)
        {
            int     num3   = 0;
            Class66 class3 = latentStyles.method_14().method_3((StyleIdentifier)i);
            if (class3 != null)
            {
                num3 |= class3.method_3() ? 1 : 0;
                num3 |= class3.method_7() ? 2 : 0;
                num3 |= class3.method_11() ? 4 : 0;
                num3 |= class3.method_5() ? 8 : 0;
                num3 |= class3.method_9() << 4;
            }
            else
            {
                num3 = num;
            }
            this.binaryWriter_0.Write(num3);
        }
    }
Example #2
0
    private void method_3()
    {
        Class547 latentStyles = this.styleCollection_0.LatentStyles;

        foreach (Style style in this.styleCollection_0)
        {
            if (style.StyleIdentifier != StyleIdentifier.DefaultParagraphFont)
            {
                Class66 class3 = latentStyles.method_14().method_3(style.StyleIdentifier);
                if (class3 != null)
                {
                    style.Locked      = class3.method_3();
                    style.QuickFormat = class3.method_5();
                    style.UIPriority  = class3.method_9();
                    if (class3.method_11())
                    {
                        style.IsSemiHidden   = false;
                        style.UnhideWhenUsed = false;
                        class3.method_8(false);
                        class3.method_12(false);
                    }
                }
            }
        }
    }
Example #3
0
    private static void smethod_1(Class582 A_0)
    {
        int      num          = 5;
        Class547 latentStyles = A_0.Interface50.imethod_0().Styles.LatentStyles;
        Class394 class3       = A_0.imethod_1();

        while (class3.method_19())
        {
            string str2 = class3.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("伪䠬䤮細尲嘴尶尸强渼䬾⁀㝂⁄", num)))
                {
                    if (str2 == BookmarkStart.b("䜪䰬嬮吰崲䄴搶䴸䈺儼娾ɀⱂい⥆㵈", num))
                    {
                        latentStyles.method_13(class3.method_4());
                    }
                }
                else
                {
                    latentStyles.method_3(class3.method_63());
                }
            }
        }
        while (class3.method_9(BookmarkStart.b("䜪䰬嬮吰崲䄴搶䴸䈺儼娾㉀", num)))
        {
            string str;
            if (((str = class3.method_1()) != null) && (str == BookmarkStart.b("䜪帬䬮琰䬲嘴制䤸伺吼倾⽀", num)))
            {
                smethod_2(A_0);
            }
        }
    }
Example #4
0
    internal Class547 method_0()
    {
        Class547 class2 = (Class547)base.MemberwiseClone();

        class2.class776_0 = this.class776_0.method_0();
        return(class2);
    }
 internal StyleCollection(Document A_0) : base(A_0, A_0)
 {
     this.string_2          = string.Empty;
     this.string_3          = string.Empty;
     this.class547_0        = new Class547();
     this.class656_0        = new Class656();
     this.class181_0        = new Class181();
     this.class656_1        = new Class656();
     this.object_0          = new object();
     this.object_1          = new object();
     this.characterFormat_0 = new CharacterFormat(A_0);
     this.paragraphFormat_0 = new ParagraphFormat(A_0);
     this.dictionary_0      = null;
 }
Example #6
0
    private void method_4(int A_0)
    {
        this.binaryReader_0.ReadUInt16();
        Class547 latentStyles = this.styleCollection_0.LatentStyles;

        for (int i = 0; i < A_0; i++)
        {
            int     num2   = this.binaryReader_0.ReadInt32();
            bool    flag   = (num2 & 1) != 0;
            bool    flag2  = (num2 & 2) != 0;
            bool    flag3  = (num2 & 4) != 0;
            bool    flag4  = (num2 & 8) != 0;
            int     num3   = (num2 >> 4) & 0xfff;
            Class66 class3 = new Class66((StyleIdentifier)i, flag, flag4, flag2, num3, flag3);
            if (!latentStyles.method_1(class3))
            {
                latentStyles.method_14().method_1(class3);
            }
        }
    }
Example #7
0
    private static void smethod_2(Class582 A_0)
    {
        int      num          = 5;
        Class547 latentStyles = A_0.Interface50.imethod_0().Styles.LatentStyles;
        Class394 class3       = A_0.imethod_1();
        bool     flag         = latentStyles.method_2();
        string   str          = "";
        bool     flag2        = latentStyles.method_4();
        bool     flag3        = latentStyles.method_6();
        int      num2         = latentStyles.method_8();
        bool     flag4        = latentStyles.method_10();

        while (class3.method_19())
        {
            string str2 = class3.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䜪䈬䰮娰嘲儴", num)))
                {
                    if (str2 == BookmarkStart.b("䔪䰬䈮吰", num))
                    {
                        str = class3.method_3();
                    }
                }
                else
                {
                    flag = class3.method_63();
                }
            }
        }
        StyleIdentifier identifier = Class417.smethod_25(str);

        if (identifier != StyleIdentifier.User)
        {
            latentStyles.method_14().method_1(new Class66(identifier, flag, flag2, flag3, num2, flag4));
        }
    }