Example #1
0
    private void method_3()
    {
        Class547 latentStyles = this.styleCollection_0.LatentStyles;

        foreach (Style style in this.styleCollection_0)
        {
            if (style.StyleIdentifier != StyleIdentifier.DefaultParagraphFont)
            {
                Class66 class3 = latentStyles.method_14().method_3(style.StyleIdentifier);
                if (class3 != null)
                {
                    style.Locked      = class3.method_3();
                    style.QuickFormat = class3.method_5();
                    style.UIPriority  = class3.method_9();
                    if (class3.method_11())
                    {
                        style.IsSemiHidden   = false;
                        style.UnhideWhenUsed = false;
                        class3.method_8(false);
                        class3.method_12(false);
                    }
                }
            }
        }
    }
Example #2
0
    private void method_9(int A_0)
    {
        this.binaryWriter_0.Write((ushort)4);
        Class547 latentStyles = this.styleCollection_0.LatentStyles;
        int      num          = 0;

        num  = 0 | (latentStyles.method_2() ? 1 : 0);
        num |= latentStyles.method_6() ? 2 : 0;
        num |= latentStyles.method_10() ? 4 : 0;
        num |= latentStyles.method_4() ? 8 : 0;
        num |= latentStyles.method_8() << 4;
        for (int i = 0; i < A_0; i++)
        {
            int     num3   = 0;
            Class66 class3 = latentStyles.method_14().method_3((StyleIdentifier)i);
            if (class3 != null)
            {
                num3 |= class3.method_3() ? 1 : 0;
                num3 |= class3.method_7() ? 2 : 0;
                num3 |= class3.method_11() ? 4 : 0;
                num3 |= class3.method_5() ? 8 : 0;
                num3 |= class3.method_9() << 4;
            }
            else
            {
                num3 = num;
            }
            this.binaryWriter_0.Write(num3);
        }
    }
Example #3
0
        public object GetQiShiDate()
        {
            DateTime time = new DateTime();

            this.ilog_0.Debug("进入 GetQiShiDate");
            Class66.smethod_0(this.method_0());
            this.ilog_0.Debug("SQLiteHelper open succ");
            string    str   = "select min(KPRQ) from xxfp where sign != ''";
            DataTable table = Class66.smethod_12(str);

            time = this.method_12(table.Rows[0][0]);
            Class66.smethod_14();
            if (time.Year == 1)
            {
                return(null);
            }
            return(time);
        }
Example #4
0
        public List <FPDetail> GetFPDetailListByFPZL_(int int_0, string string_1, string string_2)
        {
            List <FPDetail> list = new List <FPDetail>();

            Class66.smethod_0(this.method_0());
            string  str  = string.Concat(new object[] { "SELECT FPZL,FPDM,FPHM,KPRQ,GFSH,GFMC,GFDZDH,GFYHZH,XFSH,XFMC,XFDZDH,XFYHZH,HJJE,SLV,HJSE,HXM,ZFBZ,KPR,BZ,YYSBZ,QDBZ,CM,TYDH,SCCJMC,XFDZ,KHYHMC,QYD,ZHD,XHD,JQBH,YYZZH,MW,YSHWXX,HYBM,SKR,FHR,XSBM,XFDH,KHYHZH,MDD,JYM,SIGN,ZFRQ,WSPZHM,HZTZDH,LZDMHM,XSDJBH,BMBBBH,ZYSPMC,SPSM,SPSM_BM FROM XXFP WHERE  XFSH ='", string_1, "' And SSYF='", int_0, "' And FPZL='", string_2, "' AND SIGN != '' AND YYSBZ != ''" });
            TaxCard card = TaxCardFactory.CreateTaxCard();

            if ((card.OldTaxCode != null) && (card.OldTaxCode != ""))
            {
                str = str + " AND XFSH='" + card.TaxCode + "'";
            }
            DataTable table = Class66.smethod_12(str);

            list = this.method_3(table);
            Class66.smethod_14();
            return(list);
        }
Example #5
0
        public List <GoodsInfo> GetGoodsQDList_(string string_1, string string_2, long long_0)
        {
            List <GoodsInfo> list = new List <GoodsInfo>();

            try
            {
                Class66.smethod_0(this.method_0());
                DataTable table = Class66.smethod_12(string.Concat(new object[] { "SELECT XXFP_XHQD.SPMC,XXFP_XHQD.GGXH,XXFP_XHQD.JLDW,XXFP_XHQD.SL,XXFP_XHQD.DJ,XXFP_XHQD.JE,XXFP_XHQD.SE,XXFP_XHQD.SLV,XXFP_XHQD.HSJBZ, XXFP_XHQD.FPMXXH,XXFP_XHQD.FLBM,XXFP_XHQD.XSYH,XXFP_XHQD.YHSM,XXFP_XHQD.LSLVBS,XXFP_XHQD.SPBH,XXFP.YYSBZ,XXFP.SLv as XXFPSLv FROM XXFP_XHQD LEFT JOIN XXFP ON XXFP_XHQD.FPDM=XXFP.FPDM AND XXFP_XHQD.FPHM=XXFP.FPHM WHERE XXFP_XHQD.FPZL ='", string_1, "' And XXFP_XHQD.FPDM='", string_2, "' And XXFP_XHQD.FPHM='", long_0, "'" }));
                list = this.method_6(table, string_1);
                Class66.smethod_14();
            }
            catch (BaseException exception)
            {
                ExceptionHandler.HandleError(exception);
            }
            catch (Exception)
            {
            }
            return(list);
        }
Example #6
0
    private void method_4(int A_0)
    {
        this.binaryReader_0.ReadUInt16();
        Class547 latentStyles = this.styleCollection_0.LatentStyles;

        for (int i = 0; i < A_0; i++)
        {
            int     num2   = this.binaryReader_0.ReadInt32();
            bool    flag   = (num2 & 1) != 0;
            bool    flag2  = (num2 & 2) != 0;
            bool    flag3  = (num2 & 4) != 0;
            bool    flag4  = (num2 & 8) != 0;
            int     num3   = (num2 >> 4) & 0xfff;
            Class66 class3 = new Class66((StyleIdentifier)i, flag, flag4, flag2, num3, flag3);
            if (!latentStyles.method_1(class3))
            {
                latentStyles.method_14().method_1(class3);
            }
        }
    }
Example #7
0
    // Token: 0x06000653 RID: 1619 RVA: 0x00035E5C File Offset: 0x0003405C
    private Class47 method_10(bool bool_2)
    {
        if (!this.bool_0)
        {
            bool flag = this.bool_1 || this.symmetricAlgorithm_0 == null;
            if (this.symmetricAlgorithm_0 == null)
            {
                this.symmetricAlgorithm_0 = Class136.smethod_0();
                if (this.symmetricAlgorithm_0 == null)
                {
                    this.bool_0 = true;
                }
            }
            if (this.symmetricAlgorithm_0 != null)
            {
                if (flag)
                {
                    this.symmetricAlgorithm_0.Key     = this.method_4();
                    this.symmetricAlgorithm_0.IV      = this.method_6();
                    this.symmetricAlgorithm_0.Mode    = Class136.smethod_1(this.method_0());
                    this.symmetricAlgorithm_0.Padding = Class136.smethod_2(this.method_2());
                }
                return(new Class48(bool_2 ? this.symmetricAlgorithm_0.CreateEncryptor() : this.symmetricAlgorithm_0.CreateDecryptor()));
            }
        }
        Class92 interface6_ = new Class92(new Class135());
        Class65 @class;

        if (this.method_2() != (Enum1)1)
        {
            @class = new Class66(interface6_, Class136.smethod_3(this.method_2()));
        }
        else
        {
            @class = new Class65(interface6_);
        }
        Class95 interface1_ = new Class95(new Class19(this.method_4()), this.method_6());

        @class.imethod_1(bool_2, interface1_);
        return(new Class49(@class));
    }
Example #8
0
 internal GdiKerningPairs(Class77 pairs, Class66 converter)
 {
     this.class77_0 = pairs;
     this.class66_0 = converter;
 }
Example #9
0
 internal bool method_1(Class66 A_0)
 {
     return((((A_0.bool_0 == this.bool_0) && (A_0.bool_1 == this.bool_1)) && ((A_0.bool_2 == this.bool_2) && (A_0.int_0 == this.int_0))) && (A_0.bool_3 == this.bool_3));
 }
Example #10
0
        // Token: 0x06001465 RID: 5221 RVA: 0x000252C8 File Offset: 0x000234C8
        public void DurationUnitChange(int NewDurationUnit)
        {
            Class66 class66_ = new Class66(NewDurationUnit);

            this.class24_0.method_49(this.class24_0, class66_);
        }
Example #11
0
 internal void method_1(Class66 A_0)
 {
     this.class656_0.method_4((int)A_0.method_2(), A_0);
 }
Example #12
0
 internal bool method_1(Class66 A_0)
 {
     return((((A_0.method_3() == this.method_2()) && (A_0.method_5() == this.method_4())) && ((A_0.method_7() == this.method_6()) && (A_0.method_9() == this.method_8()))) && (A_0.method_11() == this.method_10()));
 }