diff options
author | Oliver Specht <os@openoffice.org> | 2002-08-26 10:36:56 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-08-26 10:36:56 +0000 |
commit | edcfd572a0dae4e0579a5a504dd0a71f4440194d (patch) | |
tree | f3d0510c23dfc8946b060cf9bacd2bb2940a1579 /sw/source/ui/fmtui | |
parent | ce8530874f21b159ce7317fdc9a51eaf42d00e3a (diff) |
#101550# dynamic distance in headers/footers
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index e7ebc17ff962..0a3a69c9d8e7 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tmpdlg.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: os $ $Date: 2002-08-16 13:48:54 $ + * last change: $Author: os $ $Date: 2002-08-26 11:35:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -638,6 +638,14 @@ void SwTemplateDlg::PageCreated( USHORT nId, SfxTabPage &rPage ) case RID_SVXPAGE_PICK_BULLET : ((SvxBulletPickTabPage&)rPage).SetCharFmtName(sBulletCharFmt); break; + case TP_HEADER_PAGE: + if(0 == (nHtmlMode & HTMLMODE_ON )) + ((SvxHeaderPage&)rPage).EnableDynamicSpacing(); + break; + case TP_FOOTER_PAGE: + if(0 == (nHtmlMode & HTMLMODE_ON )) + ((SvxFooterPage&)rPage).EnableDynamicSpacing(); + break; } } |