Esempio n. 1
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     this.class688_3 = reader.FileFormatVersion < Class250.int_69 ? new Class686.Class688(false) : new Class686.Class688(reader);
     this.class682_0 = new Class682();
     this.class682_0.imethod_0(reader);
     this.int_5      = reader.imethod_5();
     this.class682_1 = new Class682[this.int_5];
     this.double_3   = new double[this.int_5];
     for (int index = 0; index < this.int_5; ++index)
     {
         this.class682_1[index] = new Class682();
         this.class682_1[index].imethod_0(reader);
         this.double_3[index] = reader.imethod_8();
     }
     this.class688_1 = new Class686.Class688(reader);
     this.class688_2 = new Class686.Class688(reader);
     if (reader.FileFormatVersion >= Class250.int_69)
     {
         this.int_7      = reader.imethod_5();
         this.class688_4 = new Class686.Class688(reader);
         this.class688_5 = new Class686.Class688(reader);
     }
     else
     {
         this.int_7      = 0;
         this.class688_4 = new Class686.Class688(false);
         this.class688_5 = new Class686.Class688(false);
     }
     this.int_6      = reader.imethod_5();
     this.class244_0 = (Class244)null;
     this.vector3D_0 = Vector3D.Zero;
     if (this.int_6 == 1)
     {
         this.class244_0 = new Class244();
         this.class244_0.vmethod_0(reader);
     }
     else
     {
         if (this.int_6 != 0)
         {
             throw new Exception0("cl_loft_spl_sur : invalid type " + (object)this.int_6);
         }
         this.vector3D_0 = reader.imethod_19();
     }
     this.class439_2 = new Class439(reader);
 }
Esempio n. 2
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        ShapeObject obj2 = new ShapeObject(A_0.method_9());

        if (A_2 != null)
        {
            A_2.method_37(obj2.CharacterFormat);
        }
        Class43 class2 = new Class43();
        Class43 class3 = new Class43();

        class3.SetAttr(0x103b, ShapeType.StraightConnector1);
        Class244.smethod_2(A_0, class3);
        Class746.smethod_1(A_0, class2);
        smethod_1(A_0, class3);
        obj2.ShapePr = class2;
        class3.method_37(obj2.ShapePr);
        obj2.SetShapeAttribute(0x147, 0x2a30);
        A_1.method_13(obj2);
    }
Esempio n. 3
0
    internal static bool smethod_10(Class857 A_0, DocumentObject A_1, CharacterFormat A_2, Style A_3)
    {
        int num = 3;

        if (!(A_1 is ShapeObject) || (A_1 is ShapeGroup))
        {
            Class396       class3        = A_0.method_11();
            DocumentObject lastParagraph = A_1;
            string         str3          = class3.method_0();
            string         str           = class3.method_1();
            if ((A_1 is Body) && (((str3 == BookmarkStart.b("䴨太䰬堮", num)) && (str == BookmarkStart.b("䠨", num))) || (((((str == BookmarkStart.b("丨", num)) || (str == BookmarkStart.b("䔨䈪䌬䨮", num))) || ((str == BookmarkStart.b("䨨䐪䌬䄮吰倲䄴堶䬸", num)) || (str == BookmarkStart.b("嬨个丬嬮", num)))) || (((str == BookmarkStart.b("䨨䈪弬䰮崰嘲", num)) || (str == BookmarkStart.b("䰨䜪䄬䘮䄰䀲倴", num))) || ((str == BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num)) || (str == BookmarkStart.b("夨䐪䄬嘮嘰尲嬴", num))))) || ((((str == BookmarkStart.b("嬨个䨬娮崰刲䜴ᨶ䤸吺儼䘾♀ⱂ⭄", num)) || (str == BookmarkStart.b("夨䨪夬䜮", num))) || ((str == BookmarkStart.b("夨䨪䨬䨮ᰰ䜲崴䈶吸夺匼帾⡀⽂", num)) || (str == BookmarkStart.b("䐨个䰬尮䐰䄲倴", num)))) || (((str == BookmarkStart.b("䨨䨪崬嬮堰尲嬴", num)) || (str == BookmarkStart.b("娨䠪䠬䄮吰", num))) || (str == BookmarkStart.b("䨨帪帬嬮帰帲ᠴ䐶儸娺䴼娾", num)))))))
            {
                if (A_0.method_36().Count == 0)
                {
                    Body body = (Body)A_1;
                    if (body.LastParagraph == null)
                    {
                        body.method_13(new Paragraph(A_0.method_9()));
                        A_0.method_36().Add(body.LastParagraph);
                    }
                    lastParagraph = (DocumentObject)body.LastParagraph;
                }
                else
                {
                    lastParagraph = (Paragraph)A_0.method_36()[A_0.method_36().Count - 1];
                }
            }
            string key = class3.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_174 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x12);
                    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);
                    dictionary1.Add(BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num), 10);
                    dictionary1.Add(BookmarkStart.b("夨䐪䄬嘮嘰尲嬴", num), 11);
                    dictionary1.Add(BookmarkStart.b("夨䨪夬䜮", num), 12);
                    dictionary1.Add(BookmarkStart.b("嬨个䨬娮崰刲䜴ᨶ䤸吺儼䘾♀ⱂ⭄", num), 13);
                    dictionary1.Add(BookmarkStart.b("夨䨪䨬䨮ᰰ䜲崴䈶吸夺匼帾⡀⽂", num), 14);
                    dictionary1.Add(BookmarkStart.b("䐨个䰬尮䐰䄲倴", num), 15);
                    dictionary1.Add(BookmarkStart.b("䨨䨪崬嬮堰尲嬴", num), 0x10);
                    dictionary1.Add(BookmarkStart.b("娨䠪䠬䄮吰", num), 0x11);
                    Class1160.dictionary_174 = dictionary1;
                }
                if (Class1160.dictionary_174.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        Class745.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 1:
                        return(smethod_11(A_0, lastParagraph));

                    case 2:
                        Class746.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 3:
                        Class1144.smethod_0(A_0, lastParagraph, A_2, A_3);
                        return(true);

                    case 4:
                        Class244.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 5:
                        Class245.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 6:
                        A_0.method_56(true);
                        Class1051.smethod_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 7:
                    case 8:
                        A_0.method_56(true);
                        Class473.smethod_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 9:
                    case 10:
                    case 11:
                    {
                        A_0.method_56(true);
                        Class1097 class2 = new Class1097();
                        class2.method_23(class3.method_1() == BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num));
                        class2.method_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);
                    }

                    case 12:
                        A_0.method_56(true);
                        new Class1143().method_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 14:
                    case 15:
                    case 0x10:
                    case 0x11:
                        return(true);
                    }
                }
            }
        }
        return(false);
    }
 public abstract void Visit(Class244 c);
 public override void Visit(Class244 c) { }