Ejemplo n.º 1
0
    private static void smethod_9(Class1054 A_0, Class398 A_1, bool A_2)
    {
        int num = 2;

        A_1.method_54(BookmarkStart.b("弧ဩ堫䰭尯攱", 2), A_0.class15_0);
        A_1.method_24(BookmarkStart.b("弧ဩ䘫䴭", 2), A_0.string_13);
        A_1.method_48(BookmarkStart.b("弧ဩ堫䰭尯焱儳娵吷椹䰻弽⌿⭁⩃ⅅ", 2), A_0.string_14);
        A_1.method_48(BookmarkStart.b("弧ဩ堫䰭尯笱娳刵", 2), A_0.string_15);
        A_1.method_46(BookmarkStart.b("弧ဩ堫䰭尯瀱嬳䐵尷弹主䴽", 2), A_0.bool_6, new object[] { BookmarkStart.b("弧ဩ堫䄭䀯", 2), A_0.border_4, BookmarkStart.b("弧ဩ䀫䬭嘯䘱", 2), A_0.border_2, BookmarkStart.b("弧ဩ丫䄭䐯䘱嬳嬵", 2), A_0.border_0, BookmarkStart.b("弧ဩ師䜭圯娱䀳", 2), A_0.border_3, BookmarkStart.b("弧ဩ䔫䀭䌯嬱倳匵瀷", 2), A_0.border_1, BookmarkStart.b("弧ဩ䔫䀭䌯嬱倳匵渷", 2), A_0.border_5 });
        A_1.vmethod_4(A_0.class16_0);
        if (!A_2 && !((bool)A_0.object_0))
        {
            A_1.method_33(BookmarkStart.b("弧ဩ堫䰭尯縱唳伵圷伹䠻", num), new object[] { BookmarkStart.b("弧ဩ堫圭䀯圱", num), A_0.bool_6 ? BookmarkStart.b("丧䌩含䬭启", num) : BookmarkStart.b("渧䌩含䬭启", num) });
        }
        A_1.method_50(BookmarkStart.b("弧ဩ堫䰭尯焱儳娵吷眹崻䰽", num), A_0.string_16, A_0.string_17, A_0.string_18, A_0.string_19);
        if (!A_0.bool_6 && !A_2)
        {
            if (A_0.string_20 == null)
            {
                A_1.method_24(BookmarkStart.b("弧ဩ堫䰭尯縱嬳夵匷", num), Class1041.smethod_41(Class531.smethod_1(TableStyleOptions.Default)));
            }
            else if (A_0.string_20 != Class1041.smethod_41(Class531.smethod_1(TableStyleOptions.Default2003)))
            {
                A_1.method_24(BookmarkStart.b("弧ဩ堫䰭尯縱嬳夵匷", num), A_0.string_20);
            }
        }
        else
        {
            A_1.method_24(BookmarkStart.b("弧ဩ堫䰭尯縱嬳夵匷", num), A_0.string_20);
        }
    }
Ejemplo n.º 2
0
 private void method_89()
 {
     if (!base.method_56() && (this.method_93().TableOption != TableStyleOptions.Default2003))
     {
         base.class345_0.method_5(SprmCode.TTlp);
         base.class345_0.Write((short)0);
         base.class345_0.Write((short)Class531.smethod_1(this.method_93().TableOption));
     }
 }
Ejemplo n.º 3
0
 // Token: 0x06002AAD RID: 10925
 // RVA: 0x00020BAA File Offset: 0x0001EDAA
 public bool method_0(Class531 class531_0)
 {
     return class531_0.int_0 == (int)this.mods_0;
 }
Ejemplo n.º 4
0
 // Token: 0x06002884 RID: 10372
 // RVA: 0x0001F3D2 File Offset: 0x0001D5D2
 public bool method_0(Class531 class531_0)
 {
     return (string)class531_0.object_0 == this.string_0;
 }
Ejemplo n.º 5
0
 // Token: 0x06002E25 RID: 11813
 // RVA: 0x00022D8F File Offset: 0x00020F8F
 public void method_0(Class531 class531_0)
 {
     class531_0.string_0 = this.string_0;
 }
Ejemplo n.º 6
0
 // Token: 0x06002C3B RID: 11323
 // RVA: 0x000219A3 File Offset: 0x0001FBA3
 internal Class720(int int_1, Class531 class531_1)
 {
     this.int_0 = int_1;
     this.class531_0 = class531_1;
 }
Ejemplo n.º 7
0
 // Token: 0x06002BAD RID: 11181
 // RVA: 0x0002159A File Offset: 0x0001F79A
 public void method_0(Class531 class531_0)
 {
     class531_0.class26_0.Add(this.class746_0);
 }
Ejemplo n.º 8
0
 // Token: 0x06001CDB RID: 7387
 // RVA: 0x00017C21 File Offset: 0x00015E21
 public void method_0(Class531 class531_0)
 {
     class531_0.float_2 = this.float_0;
 }
Ejemplo n.º 9
0
 // Token: 0x06002A2C RID: 10796
 // RVA: 0x0010FFA4 File Offset: 0x0010E1A4
 public void method_0(byte[] byte_0, Exception exception_0)
 {
     if (exception_0 != null)
     {
         return;
     }
     int num = this.class685_0.class99_0.method_1();
     Class731 class731_ = Class731.smethod_3(new MemoryStream(byte_0)
     {
         Position = 0L
     }, this.class685_0.string_0[this.int_0]);
     Class885.smethod_35(class731_);
     this.class685_0.class99_0.list_1[this.int_0].vmethod_7(class731_);
     this.class531_0 = new Class531(class731_, Origins.Centre, this.vector2_0, 0.96f + (float)this.int_0 * 0.001f, true, Color.get_TransparentWhite());
     this.class531_0.bool_7 = true;
     this.class531_0.class26_0.Add(new Class746(TransformationType.Scale, 1f, 2f, num + this.int_0 * 200, num + this.int_0 * 200 + 400, Enum70.const_0));
     this.class531_0.class26_0.Add(new Class746(TransformationType.Fade, 1f, 0f, num + this.int_0 * 200, num + this.int_0 * 200 + 400, Enum70.const_0));
     this.class685_0.class99_0.vmethod_1(this.class531_0);
 }
Ejemplo n.º 10
0
 // Token: 0x06003197 RID: 12695
 // RVA: 0x001452EC File Offset: 0x001434EC
 public void method_0(Class531 class531_0)
 {
     class531_0.class26_0.Add(new Class746(TransformationType.MovementX, class531_0.vector2_0.X, class531_0.vector2_0.X - (this.class847_0.class112_0.class531_0.vector2_1.X - this.class746_0.vector2_1.X), this.class746_0.int_0, this.class746_0.int_1, this.class746_0.enum70_0));
 }
Ejemplo n.º 11
0
 // Token: 0x0600340F RID: 13327
 // RVA: 0x000264BE File Offset: 0x000246BE
 public void method_2(Class531 class531_0)
 {
     class531_0.method_14(this.bool_0 ? 0 : 500, Enum70.const_0);
 }
Ejemplo n.º 12
0
 // Token: 0x0600340D RID: 13325
 // RVA: 0x00166158 File Offset: 0x00164358
 public void method_0(Class531 class531_0)
 {
     class531_0.method_16(this.bool_0 ? 0 : 500, Enum70.const_0);
     class531_0.bool_1 = false;
     class531_0.method_19(class531_0.vector2_0 - new Vector2(100f, 0f), 2000, Enum70.const_1);
 }
Ejemplo n.º 13
0
    private static void smethod_3(RowFormat A_0, Class581 A_1)
    {
        int      num    = 4;
        Class394 class2 = A_1.imethod_1();
        string   key    = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_153 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10);
                dictionary1.Add(BookmarkStart.b("帩丫䈭术", num), 0);
                dictionary1.Add(BookmarkStart.b("䀩伫", num), 1);
                dictionary1.Add(BookmarkStart.b("帩丫䈭猯圱堳娵欷䨹崻崽⤿ⱁ⍃", num), 2);
                dictionary1.Add(BookmarkStart.b("帩丫䈭礯就倳", num), 3);
                dictionary1.Add(BookmarkStart.b("帩丫䈭爯崱䘳刵崷䠹伻", num), 4);
                dictionary1.Add(BookmarkStart.b("天䐫䨭", num), 5);
                dictionary1.Add(BookmarkStart.b("帩丫䈭簯匱䴳夵䴷丹", num), 6);
                dictionary1.Add(BookmarkStart.b("帩丫䈭猯圱堳娵男嬹主", num), 7);
                dictionary1.Add(BookmarkStart.b("帩丫䈭簯崱嬳崵", num), 8);
                dictionary1.Add(BookmarkStart.b("䬩䈫䀭弯䘱唳䈵儷唹刻", num), 9);
                Class1160.dictionary_153 = dictionary1;
            }
            if (Class1160.dictionary_153.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    class2.method_46(A_0);
                    return;

                case 1:
                    A_0.HorizontalAlignment = Class859.smethod_0(class2.method_28());
                    return;

                case 2:
                    A_0.SetAttr(0x10c2, class2.method_42());
                    return;

                case 3:
                    A_0.SetAttr(0x10f4, class2.method_42());
                    return;

                case 4:
                    smethod_4(A_0, class2);
                    return;

                case 5:
                    A_0.SetAttr(0x10ea, class2.method_39());
                    return;

                case 6:
                    smethod_5(A_0, class2);
                    return;

                case 7:
                    smethod_6(A_0, class2);
                    return;

                case 8:
                    A_0.SetAttr(0x102c, Class531.smethod_2(Class114.smethod_8(class2.method_28())));
                    return;

                case 9:
                    Class519.smethod_10(A_1, A_0);
                    return;
                }
            }
        }
        class2.vmethod_1();
    }
Ejemplo n.º 14
0
 // Token: 0x06001C5E RID: 7262
 // RVA: 0x00017611 File Offset: 0x00015811
 public void method_0(Class531 class531_0)
 {
     class531_0.method_39(this.color_0, this.bool_0 ? 0 : 1000, false, Enum70.const_0);
 }
Ejemplo n.º 15
0
 // Token: 0x06002BB8 RID: 11192
 // RVA: 0x00021616 File Offset: 0x0001F816
 public void ctor>b__a(Class531 class531_0)
 {
     class531_0.class26_0.Add(this.class746_1);
 }
Ejemplo n.º 16
0
 // Token: 0x06003165 RID: 12645
 // RVA: 0x00143F5C File Offset: 0x0014215C
 public void method_0(Class531 class531_0)
 {
     this.class102_0.method_12(class531_0);
     if (this.bool_0)
     {
         class531_0.method_14(300, Enum70.const_0);
         class531_0.method_21(class531_0.bool_1 ? this.class843_0.float_0 : (this.class843_0.float_0 + 8f), 300, Enum70.const_1);
         return;
     }
     class531_0.method_16(300, Enum70.const_0);
 }
Ejemplo n.º 17
0
 // Token: 0x06002DE7 RID: 11751
 // RVA: 0x00129E80 File Offset: 0x00128080
 public void method_0(Class531 class531_0)
 {
     switch (this.enum72_0)
     {
     case Enum72.const_0:
         class531_0.enum115_0 = Enum115.const_5;
         class531_0.origins_0 = Origins.TopLeft;
         return;
     case Enum72.const_1:
         break;
     case Enum72.const_2:
         class531_0.enum115_0 = Enum115.const_6;
         class531_0.origins_0 = Origins.TopCentre;
         return;
     case Enum72.const_3:
         class531_0.enum115_0 = Enum115.const_7;
         class531_0.origins_0 = Origins.TopRight;
         break;
     default:
         return;
     }
 }
Ejemplo n.º 18
0
    public bool imethod_0(SprmCode A_0, SprmType A_1, int A_2, BinaryReader A_3)
    {
        if (A_1 != SprmType.Tap)
        {
            return(true);
        }
        base.binaryReader_0 = A_3;
        this.class758_0.method_31(A_3);
        this.class758_0.method_30(base.method_54() ? null : this.method_94());
        SprmCode code = A_0;

        if (code <= SprmCode.TTextFlow)
        {
            if (code <= SprmCode.TJc)
            {
                if (code <= SprmCode.TCVertBands)
                {
                    switch (code)
                    {
                    case SprmCode.TCHorzBands:
                        base.wordAttrCollection_0.SetAttr(0x1194, (long)A_3.ReadByte());
                        goto Label_0BB9;

                    case SprmCode.TCVertBands:
                        base.wordAttrCollection_0.SetAttr(0x119e, (long)A_3.ReadByte());
                        goto Label_0BB9;

                    case SprmCode.TCellVertAlignStyle:
                        base.wordAttrCollection_0.SetAttr(0xbf4, (VerticalAlignment)A_3.ReadByte());
                        goto Label_0BB9;

                    case SprmCode.TFCantSplit90:
                    {
                        bool flag6 = !A_3.ReadBoolean();
                        if (this.nfibEnum_0 < NFibEnum.Word2002)
                        {
                            base.wordAttrCollection_0.SetAttr(0x1108, flag6);
                        }
                        goto Label_0BB9;
                    }

                    case SprmCode.TTableHeader:
                        base.wordAttrCollection_0.SetAttr(0xfc8, A_3.ReadByte() == 1);
                        goto Label_0BB9;

                    case SprmCode.TFCantOverlap:
                    {
                        bool flag2 = A_3.ReadByte() == 0;
                        (base.wordAttrCollection_0 as RowFormat).Positioning.SetAttr(0x45, flag2);
                        goto Label_0BB9;
                    }

                    case SprmCode.TFCantSplit:
                    {
                        bool flag3 = !A_3.ReadBoolean();
                        base.wordAttrCollection_0.SetAttr(0x1108, flag3);
                        goto Label_0BB9;
                    }
                    }
                    goto Label_0B9F;
                }
                if (code <= SprmCode.TFAllowAutoFit)
                {
                    if (code != SprmCode.TPositionCode)
                    {
                        if (code != SprmCode.TFAllowAutoFit)
                        {
                            goto Label_0B9F;
                        }
                        base.wordAttrCollection_0.SetAttr(0x1090, (A_3.ReadByte() == 1) ? LayoutType.AutoFit : LayoutType.Fixed);
                    }
                    else
                    {
                        base.method_51(0x3f, 0x40);
                    }
                }
                else if (code != SprmCode.TWall)
                {
                    if (code != SprmCode.TJc)
                    {
                        goto Label_0B9F;
                    }
                    base.wordAttrCollection_0.SetAttr(0x13ed, (RowAlignment)A_3.ReadInt16());
                }
                else
                {
                    this.method_71();
                }
                goto Label_0BB9;
            }
            if (code <= SprmCode.TIstd)
            {
                if (code <= SprmCode.TFBiDi)
                {
                    if (code != SprmCode.TJcEx)
                    {
                        if (code != SprmCode.TFBiDi)
                        {
                            goto Label_0B9F;
                        }
                        base.wordAttrCollection_0.SetAttr(0x111c, A_3.ReadInt16() != 0);
                    }
                    else if (base.wordAttrCollection_0 is RowFormat)
                    {
                        this.method_93().HorizontalAlignment = (RowAlignment)A_3.ReadInt16();
                    }
                }
                else if (code != SprmCode.TMerge)
                {
                    if (code != SprmCode.TIstd)
                    {
                        goto Label_0B9F;
                    }
                    this.method_93().Istd = A_3.ReadUInt16();
                }
                else
                {
                    this.class758_0.method_5();
                }
                goto Label_0BB9;
            }
            if (code <= SprmCode.TIpgp)
            {
                if (code != SprmCode.TTlp)
                {
                    if (code == SprmCode.TIpgp)
                    {
                        goto Label_0BB9;
                    }
                    goto Label_0B9F;
                }
                A_3.ReadInt16();
                base.wordAttrCollection_0.SetAttr(0x102c, Class531.smethod_2(A_3.ReadInt16()));
                goto Label_0BB9;
            }
            switch (code)
            {
            case SprmCode.TInsert:
                this.class758_0.method_4(this.method_93());
                goto Label_0BB9;

            case SprmCode.TDxaCol:
            {
                int num5 = A_3.ReadInt16();
                this.class758_0.method_1(num5, ((float)A_3.ReadInt16()) / 20f);
                goto Label_0BB9;
            }

            case SprmCode.TTextFlow:
            {
                int           num2      = A_3.ReadUInt16();
                TextDirection direction = Class417.smethod_36(A_3.ReadUInt16());
                this.class758_0.method_0(num2, 0xbea, direction);
                goto Label_0BB9;
            }

            case SprmCode.TRsidTr:
                base.wordAttrCollection_0.SetAttr(0x1130, A_3.ReadInt32());
                goto Label_0BB9;
            }
        }
        else if (code > SprmCode.TFCellNoWrap)
        {
            if (code <= SprmCode.TCnf)
            {
                if (code <= SprmCode.TCellBrcType)
                {
                    switch (code)
                    {
                    case SprmCode.TTableShd:
                        base.method_42(0x10ea);
                        goto Label_0BB9;

                    case SprmCode.TCellBrcType:
                        this.class758_0.method_9(A_2);
                        goto Label_0BB9;

                    case SprmCode.TCellHideMark:
                    {
                        int  num6  = A_3.ReadUInt16();
                        bool flag4 = A_3.ReadBoolean();
                        this.class758_0.method_0(num6, 0xc94, flag4);
                        goto Label_0BB9;
                    }
                    }
                    goto Label_0B9F;
                }
                if (code != SprmCode.TPropRMark)
                {
                    if (code != SprmCode.TCnf)
                    {
                        goto Label_0B9F;
                    }
                    base.method_53(this, A_3, A_2, TableStylePrType.Cell);
                }
                else
                {
                    base.method_45(new RowFormat(base.document_0), false);
                }
                goto Label_0BB9;
            }
            if (code > SprmCode.TCellShdStyle)
            {
                switch (code)
                {
                case SprmCode.TTableWidth:
                    this.method_75(base.wordAttrCollection_0.method_32(0x1086) as Class15);
                    goto Label_0BB9;

                case SprmCode.TWidthBefore:
                    this.method_78(0x109a);
                    goto Label_0BB9;

                case SprmCode.TWidthAfter:
                    this.method_78(0x10a4);
                    goto Label_0BB9;

                case SprmCode.TFitText:
                {
                    int  num8  = A_3.ReadUInt16();
                    bool flag5 = A_3.ReadBoolean();
                    this.class758_0.method_0(num8, 0xc76, flag5);
                    goto Label_0BB9;
                }

                case SprmCode.TLeftIndent:
                    this.method_77(0x10f4);
                    goto Label_0BB9;
                }
            }
            else
            {
                switch (code)
                {
                case SprmCode.TCellShdExRaw:
                case SprmCode.TCellShdExRaw2:
                case SprmCode.TCellShdExRaw3:
                    this.class758_0.method_8(A_0, A_2);
                    goto Label_0BB9;

                case SprmCode.TCellBrcBottomStyle:
                case SprmCode.TCellBrcLeftStyle:
                case SprmCode.TCellBrcRightStyle:
                case SprmCode.TCellBrcInsideHStyle:
                case SprmCode.TCellBrcInsideVStyle:
                case SprmCode.TCellBrcTL2BRStyle:
                case SprmCode.TCellBrcTR2BLStyle:
                    goto Label_0AA3;

                case SprmCode.TCellShdStyle:
                {
                    Class16 class3 = Class1106.smethod_1(A_3, null);
                    if (base.method_54())
                    {
                        base.wordAttrCollection_0.SetAttr(0xc62, class3);
                    }
                    else if (base.class13_0 != null)
                    {
                        base.class13_0.Interface8.imethod_1().SetAttr(0xc62, class3);
                    }
                    goto Label_0BB9;
                }
                }
            }
        }
        else
        {
            switch (code)
            {
            case SprmCode.TFrameLeft:
                base.method_47(0x3d, 0x3b);
                goto Label_0BB9;

            case SprmCode.TFrameTop:
                base.method_48(0x3e, 60);
                goto Label_0BB9;

            case SprmCode.TFromTextLeft:
                (base.wordAttrCollection_0 as RowFormat).Positioning.SetAttr(0x43, ((float)A_3.ReadInt16()) / 20f);
                goto Label_0BB9;

            case SprmCode.TFromTextTop:
                (base.wordAttrCollection_0 as RowFormat).Positioning.SetAttr(0x41, ((float)A_3.ReadInt16()) / 20f);
                goto Label_0BB9;

            case SprmCode.TDyaRowHeight:
            {
                TableRowHeightType auto;
                int num4 = A_3.ReadInt16();
                if (num4 == 0)
                {
                    auto = TableRowHeightType.Auto;
                }
                else if (num4 > 0)
                {
                    auto = TableRowHeightType.AtLeast;
                }
                else
                {
                    auto = TableRowHeightType.Exactly;
                }
                base.wordAttrCollection_0.SetAttr(0x100e, auto);
                base.wordAttrCollection_0.SetAttr(0x1018, ((float)Math.Abs(num4)) / 20f);
                goto Label_0BB9;
            }

            case SprmCode.TFromTextRight:
                (base.wordAttrCollection_0 as RowFormat).Positioning.SetAttr(0x44, ((float)A_3.ReadInt16()) / 20f);
                goto Label_0BB9;

            case SprmCode.TFromTextBottom:
                (base.wordAttrCollection_0 as RowFormat).Positioning.SetAttr(0x42, ((float)A_3.ReadInt16()) / 20f);
                goto Label_0BB9;

            case SprmCode.TDxaLeft:
                this.int_1 = A_3.ReadInt16();
                goto Label_0BB9;

            case SprmCode.TDxaGapHalf:
            {
                int num9 = A_3.ReadInt16();
                if (this.nfibEnum_0 == NFibEnum.Word97)
                {
                    this.method_93().Paddings.Left  = num9;
                    this.method_93().Paddings.Right = num9;
                }
                goto Label_0BB9;
            }

            case SprmCode.TTableBorders80:
            case SprmCode.TTableBorders:
                this.method_70(A_0);
                goto Label_0BB9;

            case SprmCode.TDefTable:
                this.class758_0.method_2(this.method_93(), A_2, this.nfibEnum_0);
                if (!this.method_93().method_6(0xfb4) && !this.method_93().method_6(0x10e0))
                {
                    this.method_93().Paddings.Left  = 0f;
                    this.method_93().Paddings.Right = 0f;
                }
                goto Label_0BB9;

            case SprmCode.TCellShd:
            case SprmCode.TCellShdEx:
            case SprmCode.TCellShdEx2:
            case SprmCode.TCellShdEx3:
                if (!this.method_96())
                {
                    this.class758_0.method_8(A_0, A_2);
                }
                goto Label_0BB9;

            case SprmCode.TCellBrcTopStyle:
                goto Label_0AA3;

            case SprmCode.TBrcTopCv:
            case SprmCode.TBrcLeftCv:
            case SprmCode.TBrcBottomCv:
            case SprmCode.TBrcRightCv:
                this.class758_0.method_12(A_0, A_2);
                goto Label_0BB9;

            case SprmCode.TSetBrc80:
            case SprmCode.TSetBrc:
                this.class758_0.method_10(A_0);
                goto Label_0BB9;

            case SprmCode.TVertMerge:
                this.class758_0.method_6();
                goto Label_0BB9;

            case SprmCode.TVertAlign:
            {
                int num7 = A_3.ReadUInt16();
                VerticalAlignment alignment = (VerticalAlignment)A_3.ReadByte();
                this.class758_0.method_0(num7, 0xbf4, alignment);
                goto Label_0BB9;
            }

            case SprmCode.TCellPadding:
                this.class758_0.method_7();
                goto Label_0BB9;

            case SprmCode.TCellSpacingDefault:
                this.method_72();
                goto Label_0BB9;

            case SprmCode.TCellPaddingDefault:
                this.method_73();
                goto Label_0BB9;

            case SprmCode.TCellWidth:
            {
                int     num3   = A_3.ReadInt16();
                Class15 class2 = this.method_74();
                switch (class2.method_51())
                {
                case FtsWidth.None:
                    this.class758_0.method_0(num3, 0xbc6, FtsWidth.None);
                    this.class758_0.method_0(num3, 0xbc4, 0f);
                    break;

                case FtsWidth.Auto:
                    this.class758_0.method_0(num3, 0xbc6, FtsWidth.Auto);
                    this.class758_0.method_0(num3, 0xbc4, 0f);
                    break;

                case FtsWidth.Percentage:
                    this.class758_0.method_0(num3, 0xbc6, FtsWidth.Percentage);
                    this.class758_0.method_0(num3, 0xbc4, class2.method_49() / 50f);
                    break;

                case FtsWidth.Point:
                    this.class758_0.method_0(num3, 0xbc6, FtsWidth.Point);
                    this.class758_0.method_0(num3, 0xbc4, class2.method_49() / 20f);
                    break;
                }
                goto Label_0BB9;
            }

            case SprmCode.TFCellNoWrap:
            {
                int  num  = A_3.ReadUInt16();
                bool flag = !A_3.ReadBoolean();
                this.class758_0.method_0(num, 0xc6c, flag);
                goto Label_0BB9;
            }
            }
        }
        goto Label_0B9F;
Label_0AA3:
        base.method_39(smethod_1(A_0));
        goto Label_0BB9;
Label_0B9F:
        return(false);

Label_0BB9:
        return(true);
    }
Ejemplo n.º 19
0
 // Token: 0x0600339F RID: 13215
 // RVA: 0x00026112 File Offset: 0x00024312
 public void method_0(Class531 class531_1)
 {
     if (this.bool_0)
     {
         class531_1.vector2_1 = this.class531_0.vector2_1;
     }
     if (this.bool_1)
     {
         this.class427_0.vmethod_50(class531_1);
     }
     this.class872_0.bool_8 = true;
 }
Ejemplo n.º 20
0
 // Token: 0x060028B7 RID: 10423
 // RVA: 0x0001F5AC File Offset: 0x0001D7AC
 public void method_0(Class531 class531_0)
 {
     class531_0.method_8(!this.bool_0);
 }
Ejemplo n.º 21
0
 // Token: 0x06002BAB RID: 11179
 // RVA: 0x0002157B File Offset: 0x0001F77B
 public void ctor>b__0(Class531 class531_0)
 {
     class531_0.class26_0.Add(this.class746_0);
     class531_0.float_1 = this.float_0;
 }
Ejemplo n.º 22
0
 // Token: 0x060028BB RID: 10427
 // RVA: 0x0001F5BD File Offset: 0x0001D7BD
 public void method_0(Class531 class531_0)
 {
     class531_0.method_23(new Vector2(0f, (float)this.int_0), 500, Enum70.const_1);
     class531_0.vector2_0.Y = class531_0.vector2_0.Y + (float)this.int_0;
 }
Ejemplo n.º 23
0
 // Token: 0x06002BAF RID: 11183
 // RVA: 0x000215AD File Offset: 0x0001F7AD
 public void method_0(Class531 class531_0)
 {
     class531_0.vector2_1 = this.vector2_0;
 }
Ejemplo n.º 24
0
    internal Class1054(RowFormat A_0, bool A_1, Interface52 A_2)
    {
        int num4 = 5;

        this.bool_1 = true;
        this.bool_4 = true;
        this.bool_6 = A_2.imethod_2();
        for (int i = 0; i < A_0.Count; i++)
        {
            int    num2 = A_0.method_18(i);
            object obj2 = A_0.method_19(i);
            int    num3 = num2;
            if (num3 <= 0x10a4)
            {
                if (num3 <= 0x100e)
                {
                    if (num3 <= 0xfa5)
                    {
                        switch (num3)
                        {
                        case 1:
                            if (!(obj2 as Borders).IsDefault)
                            {
                                this.border_4 = (obj2 as Borders).Top;
                                this.border_2 = (obj2 as Borders).Left;
                                this.border_0 = (obj2 as Borders).Bottom;
                                this.border_3 = (obj2 as Borders).Right;
                                this.border_1 = (obj2 as Borders).Horizontal;
                                this.border_5 = (obj2 as Borders).Vertical;
                                this.int_1   += 6;
                            }
                            break;

                        case 3:
                            this.string_18 = A_2.imethod_1().method_23((obj2 as Paddings).Bottom, 20f).ToString();
                            this.string_17 = A_2.imethod_1().method_23((obj2 as Paddings).Left, 20f).ToString();
                            this.string_16 = A_2.imethod_1().method_23((obj2 as Paddings).Top, 20f).ToString();
                            this.string_19 = A_2.imethod_1().method_23((obj2 as Paddings).Right, 20f).ToString();
                            this.int_1    += 4;
                            break;

                        case 0x77:
                            this.bool_0 = (bool)obj2;
                            break;

                        case 120:
                        {
                            this.bool_0 = true;
                            RowFormat.TablePositioning positioning = obj2 as RowFormat.TablePositioning;
                            this.string_3  = (positioning.DistanceFromTop != 0f) ? A_2.imethod_1().method_23(positioning.DistanceFromTop, 20f).ToString() : null;
                            this.string_4  = (positioning.DistanceFromLeft != 9f) ? A_2.imethod_1().method_23(positioning.DistanceFromLeft, 20f).ToString() : null;
                            this.string_5  = (positioning.DistanceFromBottom != 0f) ? A_2.imethod_1().method_23(positioning.DistanceFromBottom, 20f).ToString() : null;
                            this.string_6  = (positioning.DistanceFromRight != 9f) ? A_2.imethod_1().method_23(positioning.DistanceFromRight, 20f).ToString() : null;
                            this.string_8  = Class417.smethod_16(Class417.smethod_21(positioning.HorizRelationTo));
                            this.string_7  = Class417.smethod_14((VerticalOrigin)positioning.VertRelationTo);
                            this.string_9  = (positioning.HorizPositionAbs != HorizontalPosition.Left) ? Class417.smethod_18(positioning.HorizPositionAbs) : null;
                            this.string_11 = (positioning.VertPositionAbs != VerticalPosition.None) ? Class417.smethod_23(positioning.VertPositionAbs) : null;
                            this.string_10 = A_2.imethod_1().method_23(positioning.HorizPositionEx, 20f).ToString();
                            this.string_12 = A_2.imethod_1().method_23(positioning.VertPositionEx, 20f).ToString();
                            this.bool_1    = positioning.TableOverlap;
                            break;
                        }

                        case 0xfa5:
                            if (obj2 != null)
                            {
                                Style style = A_2.imethod_0().Styles.method_13((int)obj2, false);
                                if (A_2.imethod_2())
                                {
                                    this.string_0 = style.StyleId;
                                }
                                else
                                {
                                    this.string_0 = A_2.imethod_4(style.Istd);
                                }
                            }
                            break;
                        }
                    }
                    else
                    {
                        switch (num3)
                        {
                        case 0xfaa:
                        {
                            this.string_13 = Class859.smethod_1((RowAlignment)obj2);
                            this.int_0++;
                            this.int_1++;
                            continue;
                        }

                        case 0xfc8:
                        {
                            if ((bool)obj2)
                            {
                                this.bool_3 = (bool)obj2;
                                this.int_0++;
                            }
                            continue;
                        }
                        }
                        if (num3 == 0x100e)
                        {
                            TableRowHeightType type = (TableRowHeightType)obj2;
                            if (type != TableRowHeightType.AtLeast)
                            {
                                this.string_22 = Class859.smethod_3(type, this.bool_6);
                                this.int_0++;
                            }
                            if ((this.bool_6 && (type == TableRowHeightType.Auto)) && (this.string_21 == null))
                            {
                                this.string_21 = BookmarkStart.b("ᬪ", num4);
                            }
                        }
                    }
                }
                else if (num3 <= 0x1086)
                {
                    switch (num3)
                    {
                    case 0x1018:
                    {
                        this.string_21 = Class1041.smethod_8((int)A_2.imethod_1().method_23(obj2, 20f));
                        this.int_0++;
                        continue;
                    }

                    case 0x102c:
                    {
                        this.string_20 = Class1041.smethod_41(Class531.smethod_1((TableStyleOptions)obj2));
                        this.int_1++;
                        continue;
                    }
                    }
                    if (num3 == 0x1086)
                    {
                        this.class15_0 = (Class15)obj2;
                        if (this.bool_6)
                        {
                            this.int_1++;
                        }
                    }
                }
                else
                {
                    switch (num3)
                    {
                    case 0x1090:
                    {
                        if (!A_1)
                        {
                            this.object_0 = ((LayoutType)obj2) == LayoutType.AutoFit;
                            this.int_1++;
                        }
                        continue;
                    }

                    case 0x109a:
                    {
                        this.int_3 = (int)Math.Round((double)(obj2 as Class15).method_49());
                        if (this.int_3 > 0)
                        {
                            this.int_0++;
                        }
                        continue;
                    }
                    }
                    if (num3 == 0x10a4)
                    {
                        this.int_5 = (int)(obj2 as Class15).method_49();
                        if (this.int_5 > 0)
                        {
                            this.int_0++;
                        }
                    }
                }
            }
            else if (num3 <= 0x1130)
            {
                if (num3 <= 0x10f4)
                {
                    switch (num3)
                    {
                    case 0x10c2:
                    {
                        this.string_14 = A_2.imethod_1().method_23(obj2, 20f).ToString();
                        this.int_0++;
                        this.int_1++;
                        continue;
                    }

                    case 0x10ea:
                    {
                        this.class16_0 = (Class16)obj2;
                        this.int_1++;
                        continue;
                    }
                    }
                    if (num3 == 0x10f4)
                    {
                        this.string_15 = A_2.imethod_1().method_23(obj2, 20f).ToString();
                        this.int_1++;
                    }
                }
                else
                {
                    switch (num3)
                    {
                    case 0x1108:
                    {
                        if (!((bool)obj2))
                        {
                            this.bool_4 = (bool)obj2;
                            this.int_0++;
                        }
                        continue;
                    }

                    case 0x111c:
                    {
                        this.bool_2 = (bool)obj2;
                        continue;
                    }
                    }
                    if (num3 == 0x1130)
                    {
                        this.string_25 = Class114.smethod_5((int)obj2);
                    }
                }
            }
            else if (num3 <= 0x11a8)
            {
                switch (num3)
                {
                case 0x1194:
                {
                    this.string_1 = Class1041.smethod_9((long)obj2);
                    continue;
                }

                case 0x119e:
                {
                    this.string_2 = Class1041.smethod_9((long)obj2);
                    continue;
                }
                }
                if ((num3 == 0x11a8) && A_2.imethod_2())
                {
                    this.bool_5 = true;
                    this.int_0++;
                }
            }
            else
            {
                switch (num3)
                {
                case 0x13f0:
                    this.int_2 = (int)obj2;
                    this.int_0++;
                    break;

                case 0x13f1:
                    this.int_4 = (int)obj2;
                    this.int_0++;
                    break;

                case 0x1392:
                    this.string_24 = (string)obj2;
                    break;

                case 0x1388:
                    this.string_23 = (string)obj2;
                    break;
                }
            }
        }
        if (!A_1)
        {
            if (this.object_0 == null)
            {
                this.object_0 = A_0.LayoutType == LayoutType.AutoFit;
                this.int_1++;
            }
            if ((bool)this.object_0)
            {
                this.int_1--;
            }
        }
        if ((A_0.OwnerBase is Table) && ((A_0.OwnerBase as Table).TableStyle != null))
        {
            if (this.bool_6)
            {
                this.string_0 = (A_0.OwnerBase as Table).TableStyle.StyleId;
            }
            else
            {
                this.string_0 = A_2.imethod_5((A_0.OwnerBase as Table).TableStyle.StyleId);
            }
        }
    }