Exemplo n.º 1
0
        public void copy2(tizhuStyle oth)
        {
            oth.bEnable                 = bEnable;
            oth.strCapLabelName         = strCapLabelName;
            oth.capPos                  = capPos;
            oth.align                   = align;
            oth.strPrefix               = strPrefix;
            oth.strPostfix              = strPostfix;
            oth.bGetHeadingText         = bGetHeadingText;
            oth.bSnWhileSameHeadingText = bSnWhileSameHeadingText;
            oth.bScopeAfterToc          = bScopeAfterToc;

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

            return;
        }
Exemplo n.º 2
0
        public void clone(tizhuStyle oth)
        {
            bEnable                 = oth.bEnable;
            strCapLabelName         = oth.strCapLabelName;
            capPos                  = oth.capPos;
            align                   = oth.align;
            strPrefix               = oth.strPrefix;
            strPostfix              = oth.strPostfix;
            bGetHeadingText         = oth.bGetHeadingText;
            bSnWhileSameHeadingText = oth.bSnWhileSameHeadingText;
            bScopeAfterToc          = oth.bScopeAfterToc;

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

            return;
        }