Ejemplo n.º 1
0
        internal DocumentProperty(Interface37 A_0, bool A_1)
        {
            int num = 10;

            if (A_0 == null)
            {
                throw new ArgumentNullException(BookmarkStart.b("䘯匱䘳張夷吹䠻", num));
            }
            this.string_1 = A_0.imethod_2();
            if (this.string_1 == null)
            {
                if (A_1)
                {
                    this.builtInProperty_0 = (BuiltInProperty)A_0.imethod_3();
                }
                else
                {
                    this.builtInProperty_0 = (BuiltInProperty)((A_0.imethod_3() + 0x3e8) - 2);
                }
            }
            if ((A_1 && (this.builtInProperty_0 == BuiltInProperty.EditTime)) && (A_0.imethod_0() is System.DateTime))
            {
                System.DateTime time = (System.DateTime)A_0.imethod_0();
                this.object_0 = System.TimeSpan.FromTicks(time.Ticks - 0x701ce1722770000L);
            }
            else
            {
                this.object_0 = A_0.imethod_0();
            }
            this.propertyType_0 = (Spire.CompoundFile.Doc.PropertyType)A_0.imethod_1();
        }
Ejemplo n.º 2
0
    public void method_14(Interface37 A_0)
    {
        int num = 12;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䐱唳䐵儷嬹刻䨽", num));
        }
        if ((A_0.imethod_1() != VarEnum.VT_LPSTR) && (A_0.imethod_1() != VarEnum.VT_LPWSTR))
        {
            throw new ArgumentOutOfRangeException(BookmarkStart.b("縱崳堵匷椹医䬽㈿⅁⅃", num));
        }
        this.Spire.CompoundFile.Doc.IDocProperty.set_LinkSource(A_0.imethod_0().ToString());
    }
Ejemplo n.º 3
0
        internal void method_5(Interface37 A_0)
        {
            int num = 9;

            if (A_0 == null)
            {
                throw new ArgumentNullException(BookmarkStart.b("央倰䄲尴嘶圸伺", num));
            }
            if ((A_0.imethod_1() != VarEnum.VT_LPSTR) && (A_0.imethod_1() != VarEnum.VT_LPWSTR))
            {
                throw new ArgumentOutOfRangeException(BookmarkStart.b("挮堰崲帴搶嘸为似尾⑀", num));
            }
            this.LinkSource = A_0.imethod_0().ToString();
        }
Ejemplo n.º 4
0
    public Class439(Interface37 A_0, bool A_1)
    {
        int num = 0x12;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("丷嬹主圽ℿⱁぃ", num));
        }
        this.string_0 = A_0.imethod_2();
        if (this.string_0 == null)
        {
            if (A_1)
            {
                this.builtInProperty_0 = (BuiltInProperty)A_0.imethod_3();
            }
            else
            {
                this.builtInProperty_0 = (BuiltInProperty)((A_0.imethod_3() + 0x3e8) - 2);
            }
        }
        this.object_0       = A_0.imethod_0();
        this.propertyType_0 = (PropertyType)A_0.imethod_1();
    }