Example #1
0
 internal Class266 method_4(EscherRecordType A_0)
 {
     for (int i = 0; i < this.class1063_0.Count; i++)
     {
         Class266 class2 = this.class1063_0.method_0(i);
         if (class2.method_3().method_8() == A_0)
         {
             return(class2);
         }
     }
     return(null);
 }
Example #2
0
    internal ShapeBase method_0(Class266 A_0)
    {
        int num = 0x11;

        switch (A_0.method_3().method_8())
        {
        case EscherRecordType.ShapeGroupContainer:
            return(this.method_2((Class277)A_0));

        case EscherRecordType.ShapeContainer:
            return(this.method_4((Class273)A_0));
        }
        throw new InvalidOperationException(BookmarkStart.b("戶圸债匼倾㙀ⵂ敄Ɇ㩈⡊╌⩎⍐獒❔㉖㩘㑚⽜㭞你", num));
    }
Example #3
0
    private void method_10(Class276 A_0)
    {
        int       num       = 14;
        Class658  class2    = new Class658(this.document_0, this.class274_0.method_14(), A_0.method_13());
        Class931  class3    = new Class931(class2);
        Hashtable hashtable = this.method_11(A_0.method_14());

        for (int i = 0; i < A_0.method_8(); i++)
        {
            Class266 class4 = A_0.method_9(i);
            switch (class4.method_3().method_8())
            {
            case EscherRecordType.ShapeGroupContainer:
            {
                Class277 class6 = (Class277)class4;
                if (class6.method_11().method_10() && !class6.method_11().method_12())
                {
                    smethod_1(class6, class3, hashtable);
                }
                break;
            }

            case EscherRecordType.ShapeContainer:
            {
                Class273 class5 = (Class273)class4;
                if (class5.method_11().method_24() && !class5.method_11().method_12())
                {
                    this.shapeObject_0 = class3.method_4(class5);
                }
                break;
            }

            case EscherRecordType.SolverContainer:
            case EscherRecordType.Dg:
            case EscherRecordType.RegroupItems:
                break;

            case EscherRecordType.Dgg:
            case EscherRecordType.Bse:
                goto Label_00FF;

            default:
                goto Label_00FF;
            }
        }
        return;

Label_00FF:
        throw new InvalidOperationException(BookmarkStart.b("愳堵匷吹医䤽⸿扁㙃⍅⭇╉㹋⩍灏♑ⵓ♕㵗穙㕛そ䁟͡੣䙥ⵧᥩཫ٭ᕯqᝳṵᵷࡹ屻᩽ꊋ", num));
    }
Example #4
0
    private void method_5(Class273 A_0, ShapeBase A_1)
    {
        Class291 class2 = null;

        for (int i = 0; i < A_0.method_8(); i++)
        {
            Class279 class4;
            Class266 class3 = A_0.method_9(i);
            if (class3 != null)
            {
                switch (class3.method_3().method_8())
                {
                case EscherRecordType.ShapeGroup:
                {
                    Class285 class5 = (Class285)class3;
                    A_1.CoordOrigin = class5.method_4();
                    A_1.method_56(class5.method_6());
                    break;
                }

                case EscherRecordType.Shape:
                    class4 = (Class279)class3;
                    A_1.Id = class4.method_4();
                    if (!class4.method_6())
                    {
                        goto Label_00AB;
                    }
                    A_1.SetShapeType(ShapeType.Group);
                    goto Label_00C9;

                case EscherRecordType.ShapeOptions:
                case EscherRecordType.ShapeOptionsEx:
                    goto Label_00D7;

                case EscherRecordType.ChildAnchor:
                    goto Label_00F0;
                }
            }
            continue;
Label_00AB:
            if (class4.method_14())
            {
                A_1.SetShapeType(ShapeType.OleObject);
            }
            else
            {
                A_1.SetShapeType(class4.method_30());
            }
Label_00C9:
            A_1.FlipOrientation = class4.method_32();
            continue;
Label_00D7:
            this.class930_0.method_0(((Class287)class3).method_4(), A_1);
            continue;
Label_00F0:
            class2 = (Class291)class3;
        }
        if (class2 != null)
        {
            Class265.smethod_2(A_1, (double)class2.method_4(), (double)class2.method_6(), (double)class2.method_8(), (double)class2.method_10());
        }
    }