예제 #1
0
        }                                      // = new nhFont();

        public tizhuStyle()
        {
            strCapLabelName         = "";
            capPos                  = WdCaptionPosition.wdCaptionPositionBelow;
            align                   = WdParagraphAlignment.wdAlignParagraphCenter;
            strPrefix               = "";
            strPostfix              = "";
            bGetHeadingText         = false;
            bSnWhileSameHeadingText = false;
            bScopeAfterToc          = false;

            Fnt     = new nhFont();
            ParaFmt = new nhParaFmt();

            return;
        }
예제 #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;
        }