Beispiel #1
0
    private void imethod_0(BinaryReader A_0, int A_1, int A_2)
    {
        int  num      = A_0.ReadByte();
        long position = A_0.BaseStream.Position;

        try
        {
            Class431 class2;
            if (num != 0)
            {
                long offset = base.method_0() + (num * 2);
                A_0.BaseStream.Seek(offset, SeekOrigin.Begin);
                class2 = new Class431(A_0, true);
            }
            else
            {
                class2 = new Class431();
            }
            this.class158_0.method_5(A_1, A_2, class2);
        }
        finally
        {
            A_0.BaseStream.Seek(position, SeekOrigin.Begin);
        }
    }
Beispiel #2
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);
    }
Beispiel #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));
    }
Beispiel #4
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());
    }
 public abstract void Visit(Class431 c);
 public override void Visit(Class431 c) { }
Beispiel #7
0
 internal void method_10(int A_0, int A_1, Class431 A_2)
 {
     this.method_29().method_6().method_5(A_0, A_1, A_2);
 }