summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/attrdesc.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-05-27 15:12:30 +0000
committerRüdiger Timm <rt@openoffice.org>2003-05-27 15:12:30 +0000
commita66a763f7a05a16071ba44679d036befbff18627 (patch)
tree3556417624dcb422a92cb6ad5fe1c301d174b74e /sw/source/ui/utlui/attrdesc.cxx
parent27d539abb7babe76584cabfea6b71718a947f149 (diff)
INTEGRATION: CWS aig03 (1.11.40); FILE MERGED
2003/05/20 13:47:38 os 1.11.40.1: #108789# paragraph attribute for border merging added
Diffstat (limited to 'sw/source/ui/utlui/attrdesc.cxx')
-rw-r--r--sw/source/ui/utlui/attrdesc.cxx36
1 files changed, 34 insertions, 2 deletions
diff --git a/sw/source/ui/utlui/attrdesc.cxx b/sw/source/ui/utlui/attrdesc.cxx
index a70567c57b36..04e52e2ea9a3 100644
--- a/sw/source/ui/utlui/attrdesc.cxx
+++ b/sw/source/ui/utlui/attrdesc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: attrdesc.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: vg $ $Date: 2003-04-17 15:54:44 $
+ * last change: $Author: rt $ $Date: 2003-05-27 16:12:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -396,6 +396,38 @@ SfxItemPresentation SwNumRuleItem::GetPresentation
}
return SFX_ITEM_PRESENTATION_NONE;
}
+/*************************************************************************
+|* class SwParaConnectBorderItem
+*************************************************************************/
+
+SfxItemPresentation SwParaConnectBorderItem::GetPresentation
+(
+ SfxItemPresentation ePres,
+ SfxMapUnit eCoreUnit,
+ SfxMapUnit ePresUnit,
+ XubString& rText,
+ const IntlWrapper* pIntl
+) const
+{
+ // no UI support available
+ return SfxBoolItem::GetPresentation( ePres, eCoreUnit, ePresUnit, rText, pIntl );
+/* switch ( ePres )
+ {
+ case SFX_ITEM_PRESENTATION_NONE:
+ rText.Erase();
+ return SFX_ITEM_PRESENTATION_NONE;
+ case SFX_ITEM_PRESENTATION_NAMELESS:
+ case SFX_ITEM_PRESENTATION_COMPLETE:
+ {
+ USHORT nId = GetValue() ? STR_CONNECT_BORDER_ON : STR_CONNECT_BORDER_OFF;
+ rText = SW_RESSTR( nId );
+ return ePres;
+ }
+ }
+ return SFX_ITEM_PRESENTATION_NONE;
+ */
+}
+
/******************************************************************************