summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-04-04 07:16:15 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-04-04 07:16:15 +0000
commitea2d83c780ce4fd4e1e75aadf225bc2b9476fcbf (patch)
tree44a96632af314a0a6a333c23b3ad63d5aaf5d2df /sw/source/core/unocore
parent6122919f1f6a55f09d65116c6241165a57dd9815 (diff)
INTEGRATION: CWS tl07 (1.170.24); FILE MERGED
2005/03/15 09:54:45 tl 1.170.24.3: RESYNC: (1.171-1.173); FILE MERGED 2005/02/14 12:42:56 tl 1.170.24.2: RESYNC: (1.170-1.171); FILE MERGED 2004/12/13 14:16:45 tl 1.170.24.1: #i37766# added properties to SwXTextView
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r--sw/source/core/unocore/unomap.cxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index f60290dbfee2..103c7f2b7e4d 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unomap.cxx,v $
*
- * $Revision: 1.174 $
+ * $Revision: 1.175 $
*
- * last change: $Author: vg $ $Date: 2005-03-11 10:46:52 $
+ * last change: $Author: rt $ $Date: 2005-04-04 08:16:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2380,6 +2380,19 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16 nP
aMapArr[nPropertyId] = aMailMergeMap;
}
break;
+ case PROPERTY_MAP_TEXT_VIEW :
+ {
+ static SfxItemPropertyMap pTextViewMap[] =
+ {
+ {SW_PROP_NMID(UNO_NAME_PAGE_COUNT), WID_PAGE_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_LINE_COUNT), WID_LINE_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_CONSTANT_SPELLCHECK), WID_IS_CONSTANT_SPELLCHECK, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_HIDE_SPELL_MARKS), WID_IS_HIDE_SPELL_MARKS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {0,0,0,0}
+ };
+ aMapArr[nPropertyId] = pTextViewMap;
+ }
+ break;
default:
DBG_ERROR( "unexpected property map ID" );