Beispiel #1
0
    internal Class602(BinaryReader A_0, int A_1, int A_2, Class536 A_3)
    {
        this.class760_0 = new Class760(A_1, A_2);
        int num = A_0.ReadInt16();

        this.bool_1 = (num & 1) != 0;
        int num2 = A_0.ReadInt32();

        this.bool_0 = (num2 & 0x40000000) == 0;
        this.int_0  = this.bool_0 ? num2 : ((num2 & 0x3fffffff) / 2);
        int num3 = A_0.ReadInt16();

        if ((num3 & 1) == 0)
        {
            int  index = (num3 & 0xfe) >> 1;
            int  num5  = (int)sprmCode_0[index];
            byte num6  = (byte)num5;
            byte num7  = (byte)(num5 >> 8);
            byte num8  = (byte)(num3 >> 8);
            this.class428_0 = new Class428(new byte[] { num6, num7, num8 });
        }
        else
        {
            int num9 = (num3 & 0xfffe) >> 1;
            this.class428_0 = A_3.method_0(num9);
        }
    }
Beispiel #2
0
 internal void method_5(Class428 A_0)
 {
     byte[] array = new byte[base.method_2().Length + A_0.method_2().Length];
     base.method_2().CopyTo(array, 0);
     A_0.method_2().CopyTo(array, base.method_2().Length);
     base.method_3(array);
 }
Beispiel #3
0
    internal Struct24 method_37(int A_0, Class428 A_1)
    {
        int num = base.method_14().method_11(A_0);

        this.class1109_0.method_0(base.method_14().method_25(num), A_1.method_2(), this.document_0);
        return(new Struct24(this.class1109_0.method_1(), this.class1109_0.method_2(), this.class1109_0.method_3()));
    }
Beispiel #4
0
 internal Class602(int A_0, int A_1, int A_2, bool A_3)
 {
     this.class760_0 = new Class760(A_0, A_1);
     this.int_0      = A_2;
     this.bool_0     = A_3;
     this.bool_1     = false;
     this.class428_0 = new Class428();
 }
Beispiel #5
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 #6
0
    internal Class430 method_66(TableRow A_0, Class430 A_1, BinaryWriter A_2, Class1056 A_3)
    {
        CellCollection cells     = A_0.Cells;
        RowFormat      rowFormat = A_0.RowFormat;

        smethod_2(cells, rowFormat, false);
        this.method_84(cells, rowFormat);
        if (!A_3.method_2())
        {
            rowFormat = (RowFormat)A_0.RowFormat.SysDirectAttrs;
            smethod_2(cells, rowFormat, true);
            this.method_84(cells, rowFormat);
        }
        Class428 class2   = this.method_67(A_0.RowFormat, true, A_3);
        int      position = (int)A_2.BaseStream.Position;
        int      num2     = class2.method_2().Length + A_1.method_2().Length;

        A_2.Write((ushort)num2);
        A_2.Write(A_1.method_2());
        A_2.Write(class2.method_2());
        Class428 class3 = this.method_85(position);
        Class430 class4 = new Class430(0, class3.method_2());

        class4.method_5(A_1);
        Class428 class5 = this.method_67(A_0.RowFormat, false, A_3);

        class4.method_5(class5);
        A_0.RowFormat.Remove(0x13ec);
        Class580 formatRevision = A_0.RowFormat.FormatRevision;

        if (formatRevision != null)
        {
            formatRevision.method_4().Remove(0x13ec);
        }
        return(class4);
    }
Beispiel #7
0
    internal void method_1(byte[] A_0)
    {
        int num = 6;

        if (A_0 != null)
        {
            Stream baseStream = this.binaryReader_0.BaseStream;
            baseStream.Position = 0L;
            baseStream.Write(A_0, 0, A_0.Length);
            baseStream.Position = 0L;
            for (int i = 0; baseStream.Position < A_0.Length; i++)
            {
                int      position = (int)baseStream.Position;
                SprmCode code     = (SprmCode)this.binaryReader_0.ReadUInt16();
                int      count    = smethod_1(this.binaryReader_0, code);
                SprmType type     = (SprmType)(((int)(code & 0x1c00)) >> 10);
                if (bool_1)
                {
                    byte[] buffer = new byte[count];
                    long   num8   = baseStream.Position;
                    baseStream.Read(buffer, 0, count);
                    baseStream.Position = num8;
                }
                if (this.method_0(code, i))
                {
                    int      num4   = this.binaryReader_0.ReadInt32();
                    Class428 class2 = Class430.smethod_0(this.binaryReader_1, num4);
                    if (this.class479_0 == null)
                    {
                        this.class479_0 = new Class479(this.interface15_0, this.binaryReader_1);
                    }
                    this.class479_0.method_2(this.bool_0);
                    this.class479_0.method_1(class2.method_2());
                    baseStream.Position = A_0.Length;
                }
                else
                {
                    int num6 = (int)baseStream.Position;
                    int num2 = num6 + count;
                    if (!this.interface15_0.imethod_0(code, type, count, this.binaryReader_0) && bool_1)
                    {
                        int num9 = Math.Min((int)(num2 - position), (int)(A_0.Length - position));
                        string.Format(BookmarkStart.b("樫䄭䔯就倳ᘵ䴷吹堻儽⌿㝁⥃⍅♇㹉⥋⩍灏őѓѕᕗ恙❛湝婟㩡ᥣ䙥ᡧ୩ṫ཭ᵯ᝱s፵੷婹ၻ᭽늇붋벏늑ꚛ뺝\udb9f\u90a1\ud9a3\u88a5", num), (int)code, count, Class85.smethod_5(A_0, position, num9));
                    }
                    if (baseStream.Position != num2)
                    {
                        if ((baseStream.Position != num6) && (baseStream.Position == num2))
                        {
                            switch (code)
                            {
                            case SprmCode.TCellShdEx:
                            case SprmCode.TCellShdExRaw:
                            case SprmCode.PChgTabs:
                            case SprmCode.CShdEx:
                                goto Label_01CC;
                            }
                            throw new InvalidOperationException(string.Format(BookmarkStart.b("攫䀭匯崱䘳䐵崷夹䠻刽㤿扁㙃⍅⥇⹉汋ᵍOQᥓ汕⍗橙晛ٝᵟ䱡䑣⍥ၧᩩ५൭ѯ᝱ၳ噵ͷ䭹Ż剽ꁿꢇ늑꒕몙ﺛ풟잡힣袥", num), (int)code, count, baseStream.Position - num6));
                        }
                        baseStream.Position = num2;
                    }
                    Label_01CC :;
                }
            }
        }
    }
 public abstract void Visit(Class428 c);
 public override void Visit(Class428 c) { }
Beispiel #10
0
 internal bool method_1(Class428 A_0)
 {
     return(Class85.smethod_1(this.byte_0, A_0.byte_0));
 }