Ejemplo n.º 1
0
    internal static string smethod_0(Class677 A_0)
    {
        int           num     = 15;
        StringBuilder builder = new StringBuilder();

        builder.AppendFormat(BookmarkStart.b("ᔴ笶瀸町瘼Ἶ㩀獂㡄杆㉈穊が潎⩐慒⡔睖", 15), A_0.method_5(), Class955.smethod_5(A_0.method_8()), Class955.smethod_5(A_0.method_10()));
        if (A_0.method_12())
        {
            builder.Append(BookmarkStart.b("椴嘶ᤸ", num));
        }
        builder.AppendFormat(BookmarkStart.b("椴儶ᤸ䀺഼䈾慀", num), A_0.method_28());
        builder.Append(smethod_2(A_0.method_26()));
        return(builder.ToString());
    }
Ejemplo n.º 2
0
    private void method_15(ShapeObject A_0)
    {
        FieldType fieldOCX;
        string    str;
        int       num       = 0x10;
        ShapeType shapeType = A_0.ShapeType;

        if (shapeType != ShapeType.OleObject)
        {
            if (shapeType != ShapeType.OleControl)
            {
                throw new InvalidOperationException(BookmarkStart.b("挵嘷弹䐻丽┿⅁ぃ⍅ⱇ橉㽋♍ㅏ≑ㅓ癕ⱗ⍙ⱛ㭝也", num));
            }
            fieldOCX = FieldType.FieldOCX;
            str      = Class169.smethod_0(A_0.OleFormat.Interface49.get_ObjectType());
        }
        else if (A_0.OleFormat.IsLink)
        {
            Class677 class5;
            fieldOCX = FieldType.FieldLink;
            if (!A_0.IsOleControl && !A_0.IsOleObject)
            {
                class5 = null;
            }
            else
            {
                class5 = new Class677(A_0);
            }
            char ch = '\v';
            str = Class655.smethod_0(class5).Replace(BookmarkStart.b("ጵ਷ਹ", num), BookmarkStart.b("ᘵ", num)).Replace(BookmarkStart.b("ጵ਷༹", num), BookmarkStart.b("ጵ", num)).Replace(ch.ToString(), string.Empty).Replace(BookmarkStart.b("ਵ", num), BookmarkStart.b("ጵଷ夹", num)).Replace(BookmarkStart.b("࠵", num), BookmarkStart.b("ጵଷ弹", num));
        }
        else
        {
            fieldOCX = FieldType.FieldEmbed;
            str      = Class1061.smethod_0(A_0.OleFormat.Interface49.get_ObjectType());
        }
        this.class423_0.method_39(fieldOCX, A_0.CharacterFormat);
        this.class423_0.method_37(str, A_0.CharacterFormat);
        this.class423_0.stack_1.Push(new Field(A_0.Document, fieldOCX, str));
        if (A_0.OleFormat.Interface49.get_Container() == null)
        {
            this.class423_0.method_46(A_0.CharacterFormat, 0);
            this.method_16(A_0);
            goto Label_02FE;
        }
        if (A_0.OleFormat.IsChangeNativeData)
        {
            A_0.OleFormat.method_103();
        }
        Class1132 class2 = new Class1132(A_0.OleFormat.Interface49.get_Container());
        Class454  class3 = null;

        if (class2.method_0().ContainsKey(BookmarkStart.b("椵", num) + A_0.OleFormat.Interface49.get_OleStorageName()))
        {
            Class1089 class4 = class2.method_0()[BookmarkStart.b("椵", num) + A_0.OleFormat.Interface49.get_OleStorageName()] as Class1089;
            class3 = new Class454(Convert.ToInt32(A_0.OleFormat.Interface49.get_OleStorageName()), class4);
            this.class423_0.method_46(A_0.CharacterFormat, class3.method_0());
            this.class423_0.method_62().class1089_0[class3.method_2()] = class3.method_12();
            switch (A_0.OleObjectType)
            {
            case ShapeOleObjectType.Embedded:
                this.class423_0.method_62().class1089_1[class3.method_2()] = class3.method_12();
                goto Label_02A7;

            case ShapeOleObjectType.Linked:
                goto Label_02A7;

            case ShapeOleObjectType.Control:
                this.class423_0.method_62().bool_2 = true;
                goto Label_02A7;
            }
            throw new InvalidOperationException(BookmarkStart.b("挵嘷弹䐻丽┿⅁ぃ⍅ⱇ橉͋ɍᕏ牑㭓㑕㉗㽙㽛⩝䁟ᙡᵣᙥ൧䑩", num));
        }
Label_02A7:
        A_0.OleFormat.Interface49.get_Container().Position = 0L;
        if (((class3 != null) && class3.method_11()) && (class3.method_7() != null))
        {
            this.method_17(class3);
        }
        else
        {
            this.method_16(A_0);
        }
Label_02FE:
        this.class423_0.method_40(new FieldMark(A_0.Document, A_0.CharacterFormat, FieldMarkType.FieldEnd));
    }