コード例 #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();
        }
コード例 #2
0
        internal bool method_2(Interface37 A_0, int A_1)
        {
            int num = 4;

            if (A_0 == null)
            {
                throw new ArgumentNullException(BookmarkStart.b("尩䴫尭夯匱娳䈵", num));
            }
            if (this.object_0 == null)
            {
                return(false);
            }
            if (this.IsBuiltIn)
            {
                bool flag;
                int  num2 = this.method_3(this.builtInProperty_0, out flag);
                A_0.imethod_4(num2);
            }
            else
            {
                A_0.imethod_4(A_1);
            }
            object obj2 = this.object_0;

            if ((this.IsBuiltIn && (A_0.imethod_3() == 10)) && (this.object_0 is System.TimeSpan))
            {
                System.TimeSpan span = (System.TimeSpan) this.object_0;
                obj2 = System.DateTime.FromBinary(span.Ticks + 0x701ce1722770000L);
            }
            return(A_0.imethod_5(obj2, this.propertyType_0));
        }
コード例 #3
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());
    }
コード例 #4
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();
        }
コード例 #5
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();
    }
コード例 #6
0
    public bool method_12(Interface37 A_0, int A_1)
    {
        int num = 0x12;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("丷嬹主圽ℿⱁぃ", num));
        }
        if (this.object_0 == null)
        {
            return(false);
        }
        if (this.Spire.CompoundFile.Doc.IDocProperty.get_IsBuiltIn())
        {
            bool flag;
            int  num2 = smethod_0(this.builtInProperty_0, out flag);
            A_0.imethod_4(num2);
        }
        else
        {
            A_0.imethod_4(A_1);
        }
        return(A_0.imethod_5(this.object_0, this.propertyType_0));
    }