Esempio n. 1
0
 internal Class703()
 {
     this.class597_0  = new Class597();
     this.class1057_0 = new Class1057();
     this.class929_0  = new Class929();
     this.class868_0  = new Class868();
     this.class653_0  = new Class653();
     this.ushort_0    = 0xa5ec;
     this.nfibEnum_0  = NFibEnum.Word2003;
     this.ushort_11   = 0xa4;
     this.ushort_1    = 0x6021;
     this.short_0     = 0x409;
     this.bool_2      = true;
     this.bool_8      = true;
     this.ushort_2    = 0xbf;
     this.bool_16     = true;
     this.ushort_5    = 14;
     this.ushort_6    = 0x5741;
     this.ushort_7    = 0x4e;
     this.ushort_8    = BookmarkStart.b("Գܵᘷ༹਻ွ瀿汁瑃", 14)[0] | (BookmarkStart.b("Գܵᘷ༹਻ွ瀿汁瑃", 14)[2] << 8);
     this.ushort_9    = BookmarkStart.b("Գܵᘷ༹਻ွ瀿汁瑃", 14)[4] | (BookmarkStart.b("Գܵᘷ༹਻ွ瀿汁瑃", 14)[6] << 8);
     this.short_2     = 0x409;
     this.ushort_10   = 0x16;
     this.int_28      = 0xfffff;
     this.int_25      = 0xfffff;
     this.int_22      = 0xfffff;
     this.int_12      = 0xc73e;
     this.int_13      = 0xc73e;
 }
Esempio n. 2
0
 internal Class143(BinaryReader A_0, Class812 A_1, NFibEnum A_2) : base(A_1)
 {
     this.cellFormat_0 = new CellFormat();
     this.class479_0   = new Class479(this, A_0);
     this.nfibEnum_0   = A_2;
     this.class758_0   = new Class758();
 }
Esempio n. 3
0
 internal Class1109(BinaryReader A_0, Class812 A_1, NFibEnum A_2, Class764 A_3)
 {
     this.class764_0 = A_3;
     this.class479_0 = new Class479(this, A_0);
     this.class141_0 = new Class141(A_0, A_1);
     this.class143_0 = new Class143(A_0, A_1, A_2);
 }
Esempio n. 4
0
    internal void method_3(BinaryReader A_0)
    {
        A_0.BaseStream.Position = 0x44L;
        this.int_12             = A_0.ReadInt32();
        this.int_13             = A_0.ReadInt32();
        this.int_14             = A_0.ReadInt32();
        this.int_15             = A_0.ReadInt32();
        this.int_16             = A_0.ReadInt32();
        this.int_17             = A_0.ReadInt32();
        this.int_18             = A_0.ReadInt32();
        this.int_19             = A_0.ReadInt32();
        this.int_20             = A_0.ReadInt32();
        this.int_21             = A_0.ReadInt32();
        this.int_22             = A_0.ReadInt32();
        this.int_23             = A_0.ReadInt32();
        this.int_24             = A_0.ReadInt32();
        this.int_25             = A_0.ReadInt32();
        this.int_26             = A_0.ReadInt32();
        this.int_27             = A_0.ReadInt32();
        this.int_28             = A_0.ReadInt32();
        this.int_29             = A_0.ReadInt32();
        this.int_30             = A_0.ReadInt32();
        this.int_31             = A_0.ReadInt32();
        this.int_32             = A_0.ReadInt32();
        this.ushort_11          = A_0.ReadUInt16();
        int position = (int)A_0.BaseStream.Position;

        this.class597_0.method_10(A_0);
        if (this.ushort_11 >= 0x6c)
        {
            this.class1057_0.method_5(A_0);
        }
        if (this.ushort_11 >= 0x88)
        {
            this.class929_0.method_7(A_0);
        }
        if (this.ushort_11 >= 0xa4)
        {
            this.class868_0.method_2(A_0);
        }
        if (this.ushort_11 >= 0xb7)
        {
            this.class653_0.method_0(A_0);
        }
        if (this.ushort_11 >= 0x6c)
        {
            A_0.BaseStream.Position = position + (this.ushort_11 * 8);
            if (A_0.ReadUInt16() >= 2)
            {
                this.nfibEnum_0 = (NFibEnum)A_0.ReadUInt16();
                this.int_7      = A_0.ReadUInt16();
            }
        }
        this.method_8();
    }
Esempio n. 5
0
    private void method_2(BinaryReader A_0)
    {
        A_0.BaseStream.Position = 0L;
        this.ushort_0           = A_0.ReadUInt16();
        this.nfibEnum_0         = (NFibEnum)A_0.ReadUInt16();
        this.ushort_1           = A_0.ReadUInt16();
        this.short_0            = A_0.ReadInt16();
        this.short_1            = A_0.ReadInt16();
        int num = A_0.ReadByte();

        this.bool_0   = (num & 1) != 0;
        this.bool_1   = (num & 2) != 0;
        this.bool_2   = (num & 4) != 0;
        this.bool_3   = (num & 8) != 0;
        this.int_7    = (num & 240) >> 4;
        num           = A_0.ReadByte();
        this.bool_4   = (num & 1) != 0;
        this.bool_5   = (num & 2) != 0;
        this.bool_6   = (num & 4) != 0;
        this.bool_7   = (num & 8) != 0;
        this.bool_8   = (num & 0x10) != 0;
        this.bool_9   = (num & 0x20) != 0;
        this.bool_10  = (num & 0x40) != 0;
        this.bool_11  = (num & 0x80) != 0;
        this.ushort_2 = A_0.ReadUInt16();
        this.int_8    = A_0.ReadInt32();
        this.byte_0   = A_0.ReadByte();
        num           = A_0.ReadByte();
        this.bool_12  = (num & 1) != 0;
        this.bool_13  = (num & 2) != 0;
        this.bool_14  = (num & 4) != 0;
        this.bool_15  = (num & 8) != 0;
        this.bool_16  = (num & 0x10) != 0;
        this.ushort_3 = A_0.ReadUInt16();
        this.ushort_4 = A_0.ReadUInt16();
        this.int_9    = A_0.ReadInt32();
        this.int_10   = A_0.ReadInt32();
        this.ushort_5 = A_0.ReadUInt16();
        this.ushort_6 = A_0.ReadUInt16();
        this.ushort_7 = A_0.ReadUInt16();
        this.ushort_8 = A_0.ReadUInt16();
        this.ushort_9 = A_0.ReadUInt16();
        A_0.BaseStream.Seek(0x12L, SeekOrigin.Current);
        this.short_2   = A_0.ReadInt16();
        this.ushort_10 = A_0.ReadUInt16();
        this.int_11    = A_0.ReadInt32();
    }
Esempio n. 6
0
    internal void method_2(RowFormat A_0, int A_1, NFibEnum A_2)
    {
        this.class732_0 = new Class732();
        A_0.SetAttr(0x13ec, this.class732_0);
        int position = (int)this.binaryReader_0.BaseStream.Position;
        int num2     = this.binaryReader_0.ReadByte();

        int[] numArray = new int[num2 + 1];
        for (int i = 0; i < numArray.Length; i++)
        {
            numArray[i] = this.binaryReader_0.ReadInt16();
        }
        A_0.SetAttr(0x13f2, numArray);
        A_0.SetAttr(0x13ee, numArray[0]);
        for (int j = 0; j < num2; j++)
        {
            CellFormat format = new CellFormat();
            int        num6   = ((int)this.binaryReader_0.BaseStream.Position) - position;
            if (num6 < A_1)
            {
                Class354.smethod_0(this.binaryReader_0, format);
            }
            int num5 = numArray[j + 1] - numArray[j];
            format.Cellx         = (short)numArray[j + 1];
            format.TwipCellWidth = num5;
            if (A_2 <= NFibEnum.Word97)
            {
                format.WidthUnit = FtsWidth.Point;
                format.CellWidth = ((float)num5) / 20f;
            }
            else if ((A_2 <= NFibEnum.Word2000) && (!format.method_6(0xbc6) || !format.method_6(0xbc4)))
            {
                format.WidthUnit = FtsWidth.Point;
                format.CellWidth = ((float)num5) / 20f;
            }
            this.class732_0.Add(format);
        }
    }