Esempio n. 1
0
    private void method_13(ListLevel A_0, int A_1)
    {
        string bulletCharacter;

        this.binaryWriter_0.Write(A_0.StartAt);
        this.binaryWriter_0.Write((byte)A_0.PatternType);
        int num = 0;

        num  = 0 | ((byte)A_0.NumberAlignment);
        num |= A_0.IsLegalStyleNumbering ? 4 : 0;
        num |= A_0.NoRestartByHigher ? 8 : 0;
        num |= A_0.bool_8 ? 0x10 : 0;
        num |= A_0.bool_9 ? 0x20 : 0;
        num |= A_0.Word6Legacy ? 0x40 : 0;
        num |= A_0.bool_7 ? 0x80 : 0;
        this.binaryWriter_0.Write((byte)num);
        if (A_0.PatternType == ListPatternType.Bullet)
        {
            bulletCharacter = A_0.BulletCharacter;
        }
        else
        {
            string str2 = string.Empty;
            if ((A_0.NumberPrefix != null) && (A_0.NumberPrefix.Length > 0))
            {
                str2 = this.method_14(A_0.NumberPrefix);
            }
            bulletCharacter = str2;
            if (!A_0.NoLevelText && (A_0.NumberSufix != null))
            {
                bulletCharacter = bulletCharacter + Convert.ToChar(A_1).ToString() + A_0.NumberSufix;
            }
            else if (A_0.PatternType == ListPatternType.None)
            {
                bulletCharacter = A_0.LevelText;
            }
        }
        bulletCharacter = this.method_12(bulletCharacter);
        byte[] buffer = smethod_2(bulletCharacter);
        this.binaryWriter_0.Write(buffer);
        this.binaryWriter_0.Write((byte)A_0.FollowCharacter);
        this.binaryWriter_0.Write(A_0.LegacySpace);
        this.binaryWriter_0.Write(A_0.LegacyIndent);
        smethod_1(A_0);
        Class431 class2 = this.class140_0.method_64(A_0.CharacterFormat, null, false);

        this.binaryWriter_0.Write((byte)class2.method_2().Length);
        Class430 class3 = this.class141_0.method_62(A_0.ParagraphFormat, null);

        this.binaryWriter_0.Write((byte)class3.method_2().Length);
        this.binaryWriter_0.Write((short)0);
        this.binaryWriter_0.Write(class3.method_2());
        this.binaryWriter_0.Write(class2.method_2());
        Class813.smethod_2(bulletCharacter, 0x7fffffff, this.binaryWriter_0, true, false);
    }
Esempio n. 2
0
    private void method_10()
    {
        Class431 class2 = this.class140_0.method_64(this.styleCollection_0.Document.DefCharFormat, this.class1107_0, false);

        this.binaryWriter_0.Write(class2.method_2().Length);
        this.binaryWriter_0.Write(class2.method_2());
        Class430 class3 = this.class141_0.method_62(this.styleCollection_0.DefaultParaPr, this.class1150_0);

        this.binaryWriter_0.Write(class3.method_2().Length);
        this.binaryWriter_0.Write(class3.method_2());
    }
Esempio n. 3
0
    internal int method_38(int A_0, Class428 A_1, out CharacterFormat A_2, out Class1107 A_3)
    {
        int      num    = base.method_15().method_11(A_0);
        Class431 class2 = base.method_15().method_25(num);

        A_2 = new CharacterFormat(this.document_0);
        A_3 = new Class1107();
        this.class140_0.method_62(class2.method_2(), A_2, A_3, this.method_47());
        this.class140_0.method_62(A_1.method_2(), A_2, A_3, this.method_47());
        return(base.method_15().method_16(num + 1));
    }