示例#1
0
        public void copy2(pageNumStyle oth)
        {
            oth.bEnable = bEnable;
            oth.nSecNum = nSecNum;

            oth.Fnt.clone(Fnt);
            oth.ParaFmt.clone(ParaFmt);

            oth.nPgNumSnStyle           = nPgNumSnStyle;
            oth.bIncludeHeadingSn       = bIncludeHeadingSn;
            oth.nPgNumHeadingStartStyle = nPgNumHeadingStartStyle;
            oth.nPgNumHeadingSplittor   = nPgNumHeadingSplittor;

            oth.bPgNumFollowPrevSec = bPgNumFollowPrevSec;
            oth.nPgNumStartPageNum  = nPgNumStartPageNum;

            return;
        }
示例#2
0
        public void clone(pageNumStyle oth)
        {
            bEnable = oth.bEnable;
            nSecNum = oth.nSecNum;

            Fnt.clone(oth.Fnt);
            ParaFmt.clone(oth.ParaFmt);

            nPgNumSnStyle           = oth.nPgNumSnStyle;
            bIncludeHeadingSn       = oth.bIncludeHeadingSn;
            nPgNumHeadingStartStyle = oth.nPgNumHeadingStartStyle;
            nPgNumHeadingSplittor   = oth.nPgNumHeadingSplittor;

            bPgNumFollowPrevSec = oth.bPgNumFollowPrevSec;
            nPgNumStartPageNum  = oth.nPgNumStartPageNum;

            return;
        }