예제 #1
0
 internal void method_1(Class703 A_0, BinaryWriter A_1, int A_2)
 {
     A_0.class597_0.class1111_21.int_0 = (int)A_1.BaseStream.Position;
     A_0.class597_0.class1111_21.int_1 = Class343.smethod_4(A_1, this.stringCollection_0);
     A_0.class597_0.class1111_22.int_0 = (int)A_1.BaseStream.Position;
     A_0.class597_0.class1111_22.int_1 = this.method_10(A_1, A_2);
     A_0.class597_0.class1111_23.int_0 = (int)A_1.BaseStream.Position;
     A_0.class597_0.class1111_23.int_1 = this.method_11(A_1, A_2);
 }
예제 #2
0
    private int method_25()
    {
        StringCollection strings = new StringCollection();

        for (int i = 0; i < this.listStyleCollection_0.Count; i++)
        {
            strings.Add(this.listStyleCollection_0[i].Name);
        }
        return(Class343.smethod_4(this.binaryWriter_0, strings));
    }
예제 #3
0
 internal int method_0(BinaryWriter A_0)
 {
     return(Class343.smethod_4(A_0, this.stringCollection_0));
 }
예제 #4
0
    private int method_1(bool A_0)
    {
        int  position = (int)this.binaryWriter_0.BaseStream.Position;
        bool flag     = Class567.smethod_16(this.class460_0.method_11());
        bool flag2    = Class567.smethod_16(this.class460_0.method_19());
        int  num2     = 0;

        num2  = 1;
        num2  = 1 | (flag ? 2 : 0);
        num2 |= flag2 ? 4 : 0;
        num2 |= ((int)(this.class460_0.method_27() & 15)) << 3;
        num2 |= !this.class460_0.method_17() ? 0x400 : 0;
        num2 |= ((int)this.class460_0.method_15()) << 13;
        this.binaryWriter_0.Write((short)num2);
        this.binaryWriter_0.Write(flag2 ? ((byte)1) : ((byte)0));
        this.binaryWriter_0.Write((byte)0);
        this.binaryWriter_0.Write(this.class460_0.method_3());
        Class1058 class2 = new Class1058 {
            mailMergeDataType_0 = MailMergeDataType.None,
            int_0 = 0xfff3
        };

        if (flag)
        {
            class2.mailMergeDataType_0 = this.class460_0.method_13();
            class2.int_0  = this.class342_0.method_6(3, this.class460_0.method_11());
            class2.bool_0 = this.class460_0.method_21();
            if (class2.mailMergeDataType_0 == MailMergeDataType.TextFile)
            {
                class2.mailMergeLegacySeparator_0 = this.class460_0.method_35();
                class2.mailMergeLegacySeparator_1 = this.class460_0.method_37();
            }
        }
        class2.method_0(this.binaryWriter_0);
        Class1058 class3 = new Class1058 {
            mailMergeDataType_0 = MailMergeDataType.TextFile,
            int_0 = 0xfff3
        };

        if (flag2)
        {
            class3.mailMergeDataType_0 = this.class460_0.method_13();
            class3.int_0  = this.class342_0.method_6(3, this.class460_0.method_19());
            class3.bool_0 = this.class460_0.method_21();
            if (class3.mailMergeDataType_0 == MailMergeDataType.TextFile)
            {
                class3.mailMergeLegacySeparator_0 = this.class460_0.method_39();
                class3.mailMergeLegacySeparator_1 = this.class460_0.method_41();
            }
        }
        class3.method_0(this.binaryWriter_0);
        int num3 = 0;

        num3  = 0 | (this.class460_0.method_33() ? 1 : 0);
        num3 |= ((int)(this.class460_0.method_7() - 1)) << 1;
        num3 |= !this.class460_0.method_23() ? 0x80 : 0;
        this.binaryWriter_0.Write((short)num3);
        this.binaryWriter_0.Write((short)0x46a0);
        if (Class567.smethod_16(this.class460_0.method_31()))
        {
            string str = smethod_0(this.class460_0.method_31());
            this.binaryWriter_0.Write((short)Class813.smethod_11(str));
            Class813.smethod_8(str, this.binaryWriter_0);
        }
        else
        {
            this.binaryWriter_0.Write((short)0);
        }
        StringCollection strings = new StringCollection();

        strings.Add(this.class460_0.method_9());
        strings.Add("");
        strings.Add(this.class460_0.method_25());
        strings.Add(this.class460_0.method_5());
        if (A_0)
        {
            strings.Add("");
        }
        Class343.smethod_4(this.binaryWriter_0, strings);
        if (A_0)
        {
            this.binaryWriter_0.Write((int)this.class460_0.method_27());
        }
        return(((int)this.binaryWriter_0.BaseStream.Position) - position);
    }