summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-08-26 10:36:56 +0000
committerOliver Specht <os@openoffice.org>2002-08-26 10:36:56 +0000
commitedcfd572a0dae4e0579a5a504dd0a71f4440194d (patch)
treef3d0510c23dfc8946b060cf9bacd2bb2940a1579 /sw/source/ui/fmtui
parentce8530874f21b159ce7317fdc9a51eaf42d00e3a (diff)
#101550# dynamic distance in headers/footers
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx12
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;
}
}