summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-03-09 08:31:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-03-09 08:31:34 +0000
commitf7461c2c9bd7858d803987d05a3173a66a791c36 (patch)
tree4a42d10883e6e4aff43b3abf8d9c65e4a0bec202 /sw/source/ui/fmtui
parentf0f866427a6e4c3624c596d8a17ee61ab1d57213 (diff)
INTEGRATION: CWS swmergeborders (1.15.48); FILE MERGED
2004/02/19 15:14:39 os 1.15.48.1: #i25027# merge border CheckBox added
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index 452e12bcefcd..5c92833821b3 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.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2004-02-03 16:40:39 $
+ * last change: $Author: hr $ $Date: 2004-03-09 09:31:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -638,6 +638,13 @@ void SwTemplateDlg::PageCreated( USHORT nId, SfxTabPage &rPage )
if(0 == (nHtmlMode & HTMLMODE_ON ))
((SvxFooterPage&)rPage).EnableDynamicSpacing();
break;
+ case TP_BORDER :
+ if( SFX_STYLE_FAMILY_PARA == nType )
+ ((SvxBorderTabPage&)rPage).SetSWMode(SW_BORDER_MODE_PARA);
+ else if( SFX_STYLE_FAMILY_FRAME == nType )
+ ((SvxBorderTabPage&)rPage).SetSWMode(SW_BORDER_MODE_FRAME);
+
+ break;
}
}