xref: /AOO41X/main/sw/source/core/unocore/unomap.cxx (revision ca62e2c2083b5d0995f1245bad6c2edfb455fbec)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_sw.hxx"
26 #include <hintids.hxx>
27 
28 #include <svx/svxids.hrc>
29 #include <comphelper/TypeGeneration.hxx>
30 #include <com/sun/star/beans/PropertyAttribute.hpp>
31 #include <com/sun/star/text/PageNumberType.hpp>
32 #include <com/sun/star/script/XLibraryContainer.hpp>
33 // --> OD 2004-08-06 #i28749#
34 #include <com/sun/star/drawing/HomogenMatrix3.hpp>
35 // <--
36 #include <swtypes.hxx>
37 #include <unomap.hxx>
38 #include <unoprnms.hxx>
39 #include <unomid.h>
40 #include <cmdid.h>
41 #include <unofldmid.h>
42 #include <editeng/memberids.hrc>
43 
44 using namespace ::com::sun::star;
45 using namespace ::com::sun::star::lang;
46 using namespace ::com::sun::star::uno;
47 using namespace ::com::sun::star::beans;
48 using ::rtl::OUString;
49 using namespace ::comphelper;
50 
51 #define SW_PROP_NMID(id)	((const char*)id), 0
52 
53 #ifndef MID_TXT_LMARGIN
54 #define MID_TXT_LMARGIN 11
55 #endif
56 
57 /******************************************************************************
58 	UI-Maps
59 ******************************************************************************/
60 
61 SwUnoPropertyMapProvider aSwMapProvider;
62 
63 /* -----------------24.06.98 18:12-------------------
64  *
65  * --------------------------------------------------*/
66 SwUnoPropertyMapProvider::SwUnoPropertyMapProvider()
67 {
68 	for( sal_uInt16 i = 0; i < PROPERTY_MAP_END; i++ )
69 	{
70         aMapEntriesArr[i] = 0;
71         aPropertySetArr[i] = 0;
72 	}
73 }
74 
75 /* -----------------19.02.99 08:31-------------------
76  *
77  * --------------------------------------------------*/
78 SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider()
79 {
80 }
81 
82 #define _STANDARD_FONT_PROPERTIES \
83 	{ SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT), RES_CHRATR_FONTSIZE  ,  CPPU_E2T(CPPUTYPE_FLOAT),			PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},      \
84 	{ SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT), RES_CHRATR_WEIGHT    ,  CPPU_E2T(CPPUTYPE_FLOAT),  			PropertyAttribute::MAYBEVOID, MID_WEIGHT},                    \
85 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },                  \
86 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },                    \
87 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY   },    \
88 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },                    \
89 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_PITCH   },     \
90 	{ SW_PROP_NMID(UNO_NAME_CHAR_POSTURE), RES_CHRATR_POSTURE   ,  CPPU_E2T(CPPUTYPE_FONTSLANT),  		PropertyAttribute::MAYBEVOID, MID_POSTURE},                   \
91 	{ SW_PROP_NMID(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE ,   CPPU_E2T(CPPUTYPE_LOCALE)  ,  		PropertyAttribute::MAYBEVOID,  MID_LANG_LOCALE },
92 
93 #define _CJK_FONT_PROPERTIES \
94 	{ SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE  ,  CPPU_E2T(CPPUTYPE_FLOAT),			PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},   \
95 	{ SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_ASIAN), RES_CHRATR_CJK_WEIGHT    ,  CPPU_E2T(CPPUTYPE_FLOAT),  			PropertyAttribute::MAYBEVOID, MID_WEIGHT},                 \
96 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },               \
97 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },                 \
98 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY   },    \
99 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT,		CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },                 \
100 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_PITCH   },     \
101 	{ SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_ASIAN), RES_CHRATR_CJK_POSTURE   ,  CPPU_E2T(CPPUTYPE_FONTSLANT),  		PropertyAttribute::MAYBEVOID, MID_POSTURE},                \
102 	{ SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_ASIAN), RES_CHRATR_CJK_LANGUAGE ,   CPPU_E2T(CPPUTYPE_LOCALE)  ,  		PropertyAttribute::MAYBEVOID,  MID_LANG_LOCALE },
103 
104 #define _CTL_FONT_PROPERTIES \
105 	{ SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE  ,  CPPU_E2T(CPPUTYPE_FLOAT),			PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},\
106 	{ SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_COMPLEX), RES_CHRATR_CTL_WEIGHT    ,  CPPU_E2T(CPPUTYPE_FLOAT),  			PropertyAttribute::MAYBEVOID, MID_WEIGHT},              \
107 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },            \
108 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },              \
109 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY   },    \
110 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT,		CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },              \
111 	{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_PITCH   },     \
112 	{ SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_COMPLEX), RES_CHRATR_CTL_POSTURE   ,  CPPU_E2T(CPPUTYPE_FONTSLANT),  		PropertyAttribute::MAYBEVOID, MID_POSTURE},             \
113 	{ SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_COMPLEX), RES_CHRATR_CTL_LANGUAGE ,   CPPU_E2T(CPPUTYPE_LOCALE)  ,  		PropertyAttribute::MAYBEVOID,  MID_LANG_LOCALE },
114 
115 #define _REDLINE_NODE_PROPERTIES \
116 	{ SW_PROP_NMID(UNO_NAME_START_REDLINE), FN_UNO_REDLINE_NODE_START ,	CPPU_E2T(CPPUTYPE_PROPERTYVALUE),  	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,  0xff }, \
117 	{ SW_PROP_NMID(UNO_NAME_END_REDLINE), FN_UNO_REDLINE_NODE_END ,  	CPPU_E2T(CPPUTYPE_PROPERTYVALUE),  		PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,  0xff },
118 
119 #define _REDLINE_PROPERTIES \
120 	{SW_PROP_NMID(UNO_NAME_REDLINE_AUTHOR), 0, CPPU_E2T(CPPUTYPE_OUSTRING),						PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},\
121 	{SW_PROP_NMID(UNO_NAME_REDLINE_DATE_TIME), 0, CPPU_E2T(CPPUTYPE_DATETIME),					PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},\
122 	{SW_PROP_NMID(UNO_NAME_REDLINE_COMMENT), 0, CPPU_E2T(CPPUTYPE_OUSTRING),						PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},\
123 	{SW_PROP_NMID(UNO_NAME_REDLINE_TYPE), 0, CPPU_E2T(CPPUTYPE_OUSTRING),						PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},\
124 	{SW_PROP_NMID(UNO_NAME_REDLINE_SUCCESSOR_DATA), 0, CPPU_E2T(CPPUTYPE_PROPERTYVALUE),	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},\
125 	{SW_PROP_NMID(UNO_NAME_REDLINE_IDENTIFIER), 0, CPPU_E2T(CPPUTYPE_OUSTRING), 						PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
126 	{SW_PROP_NMID(UNO_NAME_IS_IN_HEADER_FOOTER), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), 							PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
127 	{SW_PROP_NMID(UNO_NAME_REDLINE_TEXT), 0, CPPU_E2T(CPPUTYPE_REFTEXT),					PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},\
128 	{SW_PROP_NMID(UNO_NAME_MERGE_LAST_PARA), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), 							PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
129 
130 /* -----------------24.06.98 18:12-------------------
131  *
132  * --------------------------------------------------*/
133 #define COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
134 		{ SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME), FN_UNO_PARA_STYLE, 		CPPU_E2T(CPPUTYPE_OUSTRING),         		PropertyAttribute::MAYBEVOID,     0},                                                       \
135 		{ SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), FN_UNO_PAGE_STYLE, 		CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,   0},                       \
136 		{ SW_PROP_NMID(UNO_NAME_NUMBERING_IS_NUMBER), FN_UNO_IS_NUMBER,		CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PropertyAttribute::MAYBEVOID,     0},                                                                 \
137 		{ SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL), FN_UNO_NUM_LEVEL,		CPPU_E2T(CPPUTYPE_INT16), 			PropertyAttribute::MAYBEVOID, 0},                                                            \
138 		{ SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES,		CPPU_E2T(CPPUTYPE_REFIDXREPL), 	PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},                        \
139 		{ SW_PROP_NMID(UNO_NAME_NUMBERING_START_VALUE), FN_UNO_NUM_START_VALUE, CPPU_E2T(CPPUTYPE_INT16), 			PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},                                                \
140 		{ SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), FN_UNO_DOCUMENT_INDEX,	CPPU_E2T(CPPUTYPE_REFDOCINDEX),	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },            \
141 		{ SW_PROP_NMID(UNO_NAME_TEXT_TABLE), FN_UNO_TEXT_TABLE,		CPPU_E2T(CPPUTYPE_REFTXTTABLE),		PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },               \
142 		{ SW_PROP_NMID(UNO_NAME_CELL), FN_UNO_CELL,			CPPU_E2T(CPPUTYPE_REFCELL),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },                     \
143 		{ SW_PROP_NMID(UNO_NAME_TEXT_FRAME), FN_UNO_TEXT_FRAME,		CPPU_E2T(CPPUTYPE_REFTEXTFRAME),		PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },                     \
144 		{ SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION,	CPPU_E2T(CPPUTYPE_REFTEXTSECTION),	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },                    \
145 		{ SW_PROP_NMID(UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL), FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL,CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0},                                                     \
146 		{ SW_PROP_NMID(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME), FN_UNO_PARA_CONDITIONAL_STYLE_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), 		PropertyAttribute::READONLY, 0},                                                     \
147         { SW_PROP_NMID(UNO_NAME_LIST_ID), FN_UNO_LIST_ID, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
148         { SW_PROP_NMID(UNO_NAME_PARA_IS_NUMBERING_RESTART), FN_NUMBER_NEWSTART,     CPPU_E2T(CPPUTYPE_BOOLEAN),     PropertyAttribute::MAYBEVOID, 0 }, \
149         { SW_PROP_NMID(UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE), FN_UNO_PARA_CONT_PREV_SUBTREE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0 }, \
150         { SW_PROP_NMID(UNO_NAME_PARA_LIST_LABEL_STRING), FN_UNO_PARA_NUM_STRING, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0 }, \
151 		{ SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL,        CPPU_E2T(CPPUTYPE_INT16),                PropertyAttribute::MAYBEVOID,     0}, //#outline level, zhaojianwei
152 
153 #define COMMON_HYPERLINK_PROPERTIES \
154         { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_TXTATR_INETFMT,          CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_URL},                \
155         { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_TXTATR_INETFMT,         CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_TARGET},             \
156         { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_TXTATR_INETFMT,           CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_HYPERLINKNAME  },    \
157         { SW_PROP_NMID(UNO_NAME_UNVISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_UNVISITED_FMT   },   \
158         { SW_PROP_NMID(UNO_NAME_VISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT,   CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_VISITED_FMT  },
159 
160 // same as COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01 but without
161 // UNO_NAME_BREAK_TYPE and UNO_NAME_PAGE_DESC_NAME which can not be used
162 // by the SwXTextTableCursor
163 #define COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01 \
164         { SW_PROP_NMID(UNO_NAME_PARA_IS_HYPHENATION), RES_PARATR_HYPHENZONE,        CPPU_E2T(CPPUTYPE_BOOLEAN),     PropertyAttribute::MAYBEVOID, MID_IS_HYPHEN         },                                        \
165         { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_LEADING_CHARS), RES_PARATR_HYPHENZONE,         CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_LEAD   },                              \
166         { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS), RES_PARATR_HYPHENZONE,        CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_TRAIL  },                              \
167         { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS), RES_PARATR_HYPHENZONE,       CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_HYPHEN_MAX_HYPHENS},                              \
168         { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},                                                                 \
169         { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND,    CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID ,MID_BACK_COLOR         },                                           \
170         { SW_PROP_NMID(UNO_NAME_PARA_BACK_COLOR), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID ,MID_BACK_COLOR         },                                           \
171         { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP,     CPPU_E2T(CPPUTYPE_INT16),           PropertyAttribute::MAYBEVOID, 0},                                                            \
172         { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR,      CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, 0},                                                           \
173         { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_INT16),                  PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},                                              \
174         { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,        PropertyAttribute::MAYBEVOID, MID_CROSSED_OUT},                                                       \
175         { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT,  CPPU_E2T(CPPUTYPE_INT16),             PropertyAttribute::MAYBEVOID, MID_ESC           },                                                   \
176         { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT,     CPPU_E2T(CPPUTYPE_INT8)  ,          PropertyAttribute::MAYBEVOID, MID_ESC_HEIGHT},                                               \
177         { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_ESCAPEMENT), RES_CHRATR_ESCAPEMENT,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,            PropertyAttribute::MAYBEVOID, MID_AUTO_ESC  },                                                \
178         { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK   ,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},                                                                 \
179         { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},\
180         { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT16),              PropertyAttribute::MAYBEVOID, MID_TL_STYLE},                                                \
181         { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PropertyAttribute::MAYBEVOID, MID_TL_COLOR},                                                \
182         { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),              PropertyAttribute::MAYBEVOID, MID_TL_HASCOLOR},                                                \
183         { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT16),              PropertyAttribute::MAYBEVOID, MID_TL_STYLE},                                                \
184         { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PropertyAttribute::MAYBEVOID, MID_TL_COLOR},                                                \
185         { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),              PropertyAttribute::MAYBEVOID, MID_TL_HASCOLOR},                                                \
186         { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_URL), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_OUSTRING),        PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_URL    },                                          \
187         { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_FILTER), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_OUSTRING),        PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_FILTER    },                                       \
188         { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_LOCATION), RES_BACKGROUND,         CPPU_E2T(CPPUTYPE_GRAPHICLOC), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_POSITION},                                \
189         { SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE,            CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_TXT_LMARGIN|CONVERT_TWIPS},                                   \
190         { SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS},                                  \
191         { SW_PROP_NMID(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_BOOLEAN),      PropertyAttribute::MAYBEVOID, MID_FIRST_AUTO},                                      \
192         { SW_PROP_NMID(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_INT32),      PropertyAttribute::MAYBEVOID, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},                         \
193         _STANDARD_FONT_PROPERTIES \
194         _CJK_FONT_PROPERTIES \
195         _CTL_FONT_PROPERTIES \
196         { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING    ,  CPPU_E2T(CPPUTYPE_INT16)  ,         PropertyAttribute::MAYBEVOID,   CONVERT_TWIPS},                                                           \
197         { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN   ,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},                                                                 \
198         { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID, 0},                                                                     \
199         { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR,    CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID, 0},                                                                 \
200         { SW_PROP_NMID(UNO_NAME_DROP_CAP_FORMAT), RES_PARATR_DROP,        CPPU_E2T(CPPUTYPE_DROPCAPFMT)  , PropertyAttribute::MAYBEVOID, MID_DROPCAP_FORMAT|CONVERT_TWIPS},                        \
201         { SW_PROP_NMID(UNO_NAME_DROP_CAP_WHOLE_WORD), RES_PARATR_DROP,        CPPU_E2T(CPPUTYPE_BOOLEAN)  ,         PropertyAttribute::MAYBEVOID, MID_DROPCAP_WHOLE_WORD },                                               \
202         { SW_PROP_NMID(UNO_NAME_DROP_CAP_CHAR_STYLE_NAME), RES_PARATR_DROP,        CPPU_E2T(CPPUTYPE_OUSTRING)  ,       PropertyAttribute::MAYBEVOID, MID_DROPCAP_CHAR_STYLE_NAME },                                  \
203         { SW_PROP_NMID(UNO_NAME_PARA_KEEP_TOGETHER), RES_KEEP,              CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},                                                                 \
204         { SW_PROP_NMID(UNO_NAME_PARA_SPLIT), RES_PARATR_SPLIT,      CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},                                                                 \
205         { SW_PROP_NMID(UNO_NAME_PARA_WIDOWS), RES_PARATR_WIDOWS,        CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID,     0},                                                                  \
206         { SW_PROP_NMID(UNO_NAME_PARA_ORPHANS), RES_PARATR_ORPHANS,      CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID,     0},                                                                 \
207         { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC,              CPPU_E2T(CPPUTYPE_INT16),       PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET},                                   \
208         { SW_PROP_NMID(UNO_NAME_PARA_ADJUST), RES_PARATR_ADJUST,      CPPU_E2T(CPPUTYPE_INT16),         PropertyAttribute::MAYBEVOID, MID_PARA_ADJUST},                                              \
209         { SW_PROP_NMID(UNO_NAME_PARA_EXPAND_SINGLE_WORD), RES_PARATR_ADJUST,        CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID, MID_EXPAND_SINGLE   },                                                  \
210         { SW_PROP_NMID(UNO_NAME_PARA_LAST_LINE_ADJUST), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_INT16),                PropertyAttribute::MAYBEVOID, MID_LAST_LINE_ADJUST},                                         \
211         { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_COUNT), RES_LINENUMBER,    CPPU_E2T(CPPUTYPE_BOOLEAN),             PropertyAttribute::MAYBEVOID ,MID_LINENUMBER_COUNT      },                                                \
212         { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_START_VALUE), RES_LINENUMBER, CPPU_E2T(CPPUTYPE_INT32),                    PropertyAttribute::MAYBEVOID ,MID_LINENUMBER_STARTVALUE},                                    \
213         { SW_PROP_NMID(UNO_NAME_PARA_LINE_SPACING), RES_PARATR_LINESPACING, CPPU_E2T(CPPUTYPE_LINESPACE),       PropertyAttribute::MAYBEVOID,     CONVERT_TWIPS},                                      \
214         { SW_PROP_NMID(UNO_NAME_PARA_REGISTER_MODE_ACTIVE), RES_PARATR_REGISTER,CPPU_E2T(CPPUTYPE_BOOLEAN)  ,           PropertyAttribute::MAYBEVOID, 0},                                                                 \
215         { SW_PROP_NMID(UNO_NAME_PARA_TOP_MARGIN), RES_UL_SPACE,             CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_UP_MARGIN|CONVERT_TWIPS},                                  \
216         { SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN), RES_UL_SPACE,          CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_LO_MARGIN|CONVERT_TWIPS},                                 \
217         { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN),              PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_TRANSPARENT        },                                                \
218         { SW_PROP_NMID(UNO_NAME_PARA_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN),                 PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_TRANSPARENT        },                                                \
219         { SW_PROP_NMID(UNO_NAME_NUMBERING_STYLE_NAME), RES_PARATR_NUMRULE,  CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,   0},                                                           \
220         { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN)  ,          PropertyAttribute::MAYBEVOID,     0},                                                             \
221         { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,              CPPU_E2T(CPPUTYPE_BORDERLINE),      PropertyAttribute::MAYBEVOID, LEFT_BORDER  |CONVERT_TWIPS },                            \
222         { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,             CPPU_E2T(CPPUTYPE_BORDERLINE),      PropertyAttribute::MAYBEVOID, RIGHT_BORDER |CONVERT_TWIPS },                                \
223         { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,               CPPU_E2T(CPPUTYPE_BORDERLINE),      PropertyAttribute::MAYBEVOID, TOP_BORDER   |CONVERT_TWIPS },                            \
224         { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,                CPPU_E2T(CPPUTYPE_BORDERLINE),      PropertyAttribute::MAYBEVOID, BOTTOM_BORDER|CONVERT_TWIPS },                                \
225         { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,              CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, BORDER_DISTANCE|CONVERT_TWIPS },                               \
226         { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),        PropertyAttribute::MAYBEVOID, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },                                                            \
227         { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),        PropertyAttribute::MAYBEVOID, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },                                                            \
228         { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),    PropertyAttribute::MAYBEVOID, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },                                                        \
229         { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),    PropertyAttribute::MAYBEVOID, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },                                                        \
230         { SW_PROP_NMID(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },                                   \
231         { SW_PROP_NMID(UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },                               \
232         { SW_PROP_NMID(UNO_NAME_PARA_SHADOW_FORMAT), RES_SHADOW,            CPPU_E2T(CPPUTYPE_SHADOWFMT),   PROPERTY_NONE, CONVERT_TWIPS}, \
233         { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES,          CPPU_E2T(CPPUTYPE_BOOLEAN),     PropertyAttribute::MAYBEVOID, MID_TWOLINES}, \
234         { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES,             CPPU_E2T(CPPUTYPE_OUSTRING),    PropertyAttribute::MAYBEVOID, MID_START_BRACKET}, \
235         { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES,             CPPU_E2T(CPPUTYPE_OUSTRING),    PropertyAttribute::MAYBEVOID, MID_END_BRACKET}, \
236         { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK,           CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_EMPHASIS},\
237         { SW_PROP_NMID(UNO_NAME_PARA_IS_HANGING_PUNCTUATION), RES_PARATR_HANGINGPUNCTUATION,  CPPU_E2T(CPPUTYPE_BOOLEAN),    PropertyAttribute::MAYBEVOID ,0  },    \
238         { SW_PROP_NMID(UNO_NAME_PARA_IS_CHARACTER_DISTANCE), RES_PARATR_SCRIPTSPACE,         CPPU_E2T(CPPUTYPE_BOOLEAN),    PropertyAttribute::MAYBEVOID ,0  },    \
239         { SW_PROP_NMID(UNO_NAME_PARA_IS_FORBIDDEN_RULES), RES_PARATR_FORBIDDEN_RULES,     CPPU_E2T(CPPUTYPE_BOOLEAN),    PropertyAttribute::MAYBEVOID ,0  }, \
240         { SW_PROP_NMID(UNO_NAME_PARA_VERT_ALIGNMENT), RES_PARATR_VERTALIGN,CPPU_E2T(CPPUTYPE_INT16),    PropertyAttribute::MAYBEVOID,     0      },  \
241         { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE,      CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID,     MID_ROTATE      },  \
242         { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE,       CPPU_E2T(CPPUTYPE_BOOLEAN),     PropertyAttribute::MAYBEVOID,         MID_FITTOLINE  },  \
243         { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW,       CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID,          0 },  \
244         { SW_PROP_NMID(UNO_NAME_RUBY_TEXT), RES_TXTATR_CJK_RUBY,    CPPU_E2T(CPPUTYPE_OUSTRING),    PropertyAttribute::MAYBEVOID,          MID_RUBY_TEXT },  \
245         { SW_PROP_NMID(UNO_NAME_RUBY_ADJUST), RES_TXTATR_CJK_RUBY,  CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID,          MID_RUBY_ADJUST },  \
246         { SW_PROP_NMID(UNO_NAME_RUBY_CHAR_STYLE_NAME), RES_TXTATR_CJK_RUBY, CPPU_E2T(CPPUTYPE_OUSTRING),    PropertyAttribute::MAYBEVOID,          MID_RUBY_CHARSTYLE },  \
247         { SW_PROP_NMID(UNO_NAME_RUBY_IS_ABOVE), RES_TXTATR_CJK_RUBY,    CPPU_E2T(CPPUTYPE_BOOLEAN),  PropertyAttribute::MAYBEVOID,         MID_RUBY_ABOVE },  \
248         { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF,      CPPU_E2T(CPPUTYPE_INT16),    PropertyAttribute::MAYBEVOID,      MID_RELIEF }, \
249         { SW_PROP_NMID(UNO_NAME_SNAP_TO_GRID), RES_PARATR_SNAPTOGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0 }, \
250         { SW_PROP_NMID(UNO_NAME_PARA_IS_CONNECT_BORDER), RES_PARATR_CONNECT_BORDER, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0}, \
251         { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
252 
253 #define COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN \
254         COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01 \
255         { SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK,                 CPPU_E2T(CPPUTYPE_BREAK),           PropertyAttribute::MAYBEVOID, 0}, \
256         { SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME), RES_PAGEDESC,          CPPU_E2T(CPPUTYPE_OUSTRING),            PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGEDESCNAME },
257 
258 
259 #define TABSTOPS_MAP_ENTRY                { SW_PROP_NMID(UNO_NAME_TABSTOPS), RES_PARATR_TABSTOP,   CPPU_E2T(CPPUTYPE_SEQTABSTOP),   PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},
260 
261 #define COMMON_CRSR_PARA_PROPERTIES \
262 		COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
263         COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN \
264         COMMON_HYPERLINK_PROPERTIES \
265         { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME), RES_TXTATR_CHARFMT,     CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,     0},\
266         { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAMES), FN_UNO_CHARFMT_SEQUENCE,  CPPU_E2T(CPPUTYPE_OUSTRINGS),     PropertyAttribute::MAYBEVOID,     0},\
267         { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_STYLE_NAME), RES_TXTATR_AUTOFMT,     CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,     0},\
268         { SW_PROP_NMID(UNO_NAME_PARA_AUTO_STYLE_NAME), RES_AUTO_STYLE,     CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,     0},
269 
270 #define COMMON_CRSR_PARA_PROPERTIES_2 \
271         COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
272         COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
273 
274 #define  COMPLETE_TEXT_CURSOR_MAP\
275         COMMON_CRSR_PARA_PROPERTIES\
276         { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARK), FN_UNO_DOCUMENT_INDEX_MARK, CPPU_E2T(CPPUTYPE_REFDOCIDXMRK), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
277         { SW_PROP_NMID(UNO_NAME_TEXT_FIELD), FN_UNO_TEXT_FIELD,      CPPU_E2T(CPPUTYPE_REFTXTFIELD),  PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
278         { SW_PROP_NMID(UNO_NAME_REFERENCE_MARK), FN_UNO_REFERENCE_MARK,  CPPU_E2T(CPPUTYPE_REFTEXTCNTNT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },\
279         { SW_PROP_NMID(UNO_NAME_FOOTNOTE), FN_UNO_FOOTNOTE,        CPPU_E2T(CPPUTYPE_REFFOOTNOTE),  PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
280         { SW_PROP_NMID(UNO_NAME_ENDNOTE), FN_UNO_ENDNOTE,         CPPU_E2T(CPPUTYPE_REFFOOTNOTE),  PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
281         { SW_PROP_NMID(UNO_NAME_HYPER_LINK_EVENTS), RES_TXTATR_INETFMT,     CPPU_E2T(CPPUTYPE_REFNMREPLACE), PropertyAttribute::MAYBEVOID, MID_URL_HYPERLINKEVENTS},\
282         { SW_PROP_NMID(UNO_NAME_NESTED_TEXT_CONTENT), FN_UNO_NESTED_TEXT_CONTENT, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },\
283         TABSTOPS_MAP_ENTRY
284 
285 
286 
287 #define _BASE_INDEX_PROPERTIES_\
288 		{ SW_PROP_NMID(UNO_NAME_TITLE), WID_IDX_TITLE,  CPPU_E2T(CPPUTYPE_OUSTRING)  , PROPERTY_NONE,     0},\
289 		{ SW_PROP_NMID(UNO_NAME_NAME),  WID_IDX_NAME,   CPPU_E2T(CPPUTYPE_OUSTRING)  , PROPERTY_NONE,     0},\
290 		{ SW_PROP_NMID(UNO_NAME_CONTENT_SECTION), WID_IDX_CONTENT_SECTION,  CPPU_E2T(CPPUTYPE_REFTEXTSECTION)  , PropertyAttribute::READONLY,     0},\
291 		{ SW_PROP_NMID(UNO_NAME_HEADER_SECTION), WID_IDX_HEADER_SECTION,  CPPU_E2T(CPPUTYPE_REFTEXTSECTION)  , PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,     0},\
292 
293 #define ANCHOR_TYPES_PROPERTY 	 { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPES), FN_UNO_ANCHOR_TYPES, 	CPPU_E2T(CPPUTYPE_SEQANCHORTYPE),PropertyAttribute::READONLY, 0xff},
294 
295 // OD 18.09.2003 #i18732# - add property
296 // OD 2004-05-05 #i28701# - add property 'WrapInfluenceOnObjPos'
297 // OD 2009-07-13 #i73249# - add properties 'Title' and 'Description'
298 #define COMMON_FRAME_PROPERTIES \
299 	{ SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, 			CPPU_E2T(CPPUTYPE_INT16), 			PROPERTY_NONE, MID_ANCHOR_PAGENUM		},              \
300 	{ SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, 			CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), 			PROPERTY_NONE, MID_ANCHOR_ANCHORTYPE},             \
301     { SW_PROP_NMID(UNO_NAME_ANCHOR_FRAME), RES_ANCHOR,             CPPU_E2T(CPPUTYPE_REFTEXTFRAME),    PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORFRAME},             \
302     ANCHOR_TYPES_PROPERTY\
303 	{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },                      \
304     { SW_PROP_NMID(UNO_NAME_BACK_COLOR_R_G_B), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR_R_G_B},    \
305     { SW_PROP_NMID(UNO_NAME_BACK_COLOR_TRANSPARENCY), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_BACK_COLOR_TRANSPARENCY},    \
306     { SW_PROP_NMID(UNO_NAME_CONTENT_PROTECTED), RES_PROTECT,            CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_PROTECT_CONTENT  },                          \
307     { SW_PROP_NMID(UNO_NAME_FRAME_STYLE_NAME), FN_UNO_FRAME_STYLE_NAME,CPPU_E2T(CPPUTYPE_OUSTRING),         PROPERTY_NONE, 0},                                   \
308 	{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), 		PROPERTY_NONE ,MID_GRAPHIC_URL    },                 \
309 	{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), 		PROPERTY_NONE ,MID_GRAPHIC_FILTER    },              \
310 	{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},    \
311     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_TRANSPARENCY), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENCY},    \
312     { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE,             CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},            \
313 	{ SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), 			PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},            \
314 	{ SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT32)  ,  		PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS},\
315 	{ SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT32)  ,  		PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS},\
316 	{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE ,MID_HORIORIENT_ORIENT	},             \
317 	{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_HORIORIENT_POSITION|CONVERT_TWIPS	}, \
318 	{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE ,MID_HORIORIENT_RELATION	},               \
319 	{ SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_URL, 				CPPU_E2T(CPPUTYPE_OUSTRING), 		PROPERTY_NONE ,MID_URL_URL},                         \
320 	{ SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_URL, 				CPPU_E2T(CPPUTYPE_OUSTRING), 		PROPERTY_NONE ,MID_URL_TARGET},                      \
321 	{ SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_URL, 				CPPU_E2T(CPPUTYPE_OUSTRING),			PROPERTY_NONE ,MID_URL_HYPERLINKNAME	 },                 \
322 	{ SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE, 			CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE, 0},                                        \
323 	{ SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE },               \
324 	{ SW_PROP_NMID(UNO_NAME_POSITION_PROTECTED), RES_PROTECT, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_PROTECT_POSITION},                      \
325 	{ SW_PROP_NMID(UNO_NAME_PRINT), RES_PRINT, 				CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE, 0},                                        \
326 	{ SW_PROP_NMID(UNO_NAME_RELATIVE_HEIGHT), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE,   MID_FRMSIZE_REL_HEIGHT	},            \
327 	{ SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE,   MID_FRMSIZE_REL_WIDTH	},         \
328 	{ SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, 			CPPU_E2T(CPPUTYPE_SHADOWFMT), 	PROPERTY_NONE, CONVERT_TWIPS},             \
329     { SW_PROP_NMID(UNO_NAME_IMAGE_MAP), RES_URL,                    CPPU_E2T(CPPUTYPE_REFIDXCNTNR), PROPERTY_NONE, MID_URL_CLIENTMAP}, \
330     { SW_PROP_NMID(UNO_NAME_SERVER_MAP), RES_URL,                CPPU_E2T(CPPUTYPE_BOOLEAN),            PROPERTY_NONE ,MID_URL_SERVERMAP   },                      \
331 	{ SW_PROP_NMID(UNO_NAME_SIZE), RES_FRM_SIZE, 			CPPU_E2T(CPPUTYPE_AWTSIZE), 			PROPERTY_NONE, MID_FRMSIZE_SIZE|CONVERT_TWIPS},        \
332 	{ SW_PROP_NMID(UNO_NAME_SIZE_PROTECTED), RES_PROTECT, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_PROTECT_SIZE    },                      \
333 	{ SW_PROP_NMID(UNO_NAME_IS_SYNC_WIDTH_TO_HEIGHT), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE,   MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT	},	\
334 	{ SW_PROP_NMID(UNO_NAME_IS_SYNC_HEIGHT_TO_WIDTH), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE,   MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH },		\
335 	{ SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_WRAPTXTMODE), 			PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE	},        \
336     { SW_PROP_NMID(UNO_NAME_SURROUND), RES_SURROUND,          CPPU_E2T(CPPUTYPE_WRAPTXTMODE),            PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE },        \
337 	{ SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_SURROUND_ANCHORONLY		},                 \
338 	{ SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},          \
339 	{ SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},          \
340 	{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },                    \
341 	{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE ,MID_VERTORIENT_ORIENT	},             \
342 	{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_VERTORIENT_POSITION|CONVERT_TWIPS	}, \
343 	{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE ,MID_VERTORIENT_RELATION	},               \
344 	{ SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, LEFT_BORDER  |CONVERT_TWIPS },             \
345 	{ SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, RIGHT_BORDER |CONVERT_TWIPS },                 \
346 	{ SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, TOP_BORDER   |CONVERT_TWIPS },             \
347 	{ SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, BOTTOM_BORDER|CONVERT_TWIPS },                 \
348 	{ SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, BORDER_DISTANCE|CONVERT_TWIPS },                       \
349 	{ SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },                \
350 	{ SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },                \
351 	{ SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },            \
352 	{ SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },            \
353 	{ SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, 	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},                \
354 	{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },\
355     { SW_PROP_NMID(UNO_NAME_Z_ORDER), FN_UNO_Z_ORDER,           CPPU_E2T(CPPUTYPE_INT32),       PROPERTY_NONE, 0}, \
356     { SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW), RES_FOLLOW_TEXT_FLOW,     CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
357     { SW_PROP_NMID(UNO_NAME_WRAP_INFLUENCE_ON_POSITION), RES_WRAP_INFLUENCE_ON_OBJPOS, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_WRAP_INFLUENCE}, \
358     { SW_PROP_NMID(UNO_NAME_TITLE), FN_UNO_TITLE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0}, \
359     { SW_PROP_NMID(UNO_NAME_DESCRIPTION), FN_UNO_DESCRIPTION, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0}, \
360     { SW_PROP_NMID(UNO_NAME_LAYOUT_SIZE), WID_LAYOUT_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PropertyAttribute::MAYBEVOID | PropertyAttribute::READONLY, 0 },
361 
362 
363 
364 #define COMMON_TEXT_CONTENT_PROPERTIES \
365 		{ SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), FN_UNO_ANCHOR_TYPE, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), 				PropertyAttribute::READONLY, MID_ANCHOR_ANCHORTYPE},\
366 		ANCHOR_TYPES_PROPERTY\
367 		{ SW_PROP_NMID(UNO_NAME_TEXT_WRAP), FN_UNO_TEXT_WRAP, 	CPPU_E2T(CPPUTYPE_WRAPTXTMODE), 				PropertyAttribute::READONLY, MID_SURROUND_SURROUNDTYPE	},
368 
369 
370 #define 	_PROP_DIFF_FONTHEIGHT \
371 					{ SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT), RES_CHRATR_FONTSIZE ,     		CPPU_E2T(CPPUTYPE_FLOAT),    										PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
372                     { SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT), RES_CHRATR_FONTSIZE ,            CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},\
373 					{ SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE ,     		CPPU_E2T(CPPUTYPE_FLOAT),    										PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
374                     { SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE ,          CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},\
375 					{ SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE ,     		CPPU_E2T(CPPUTYPE_FLOAT),    										PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
376                     { SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE ,            CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},
377 
378 
379 //#outline level, zhaojianwei delete { SW_PROP_NMID(UNO_NAME_DEFAULT_OUTLINE_LEVEL), FN_UNO_DEFAULT_OUTLINE_LEVEL, CPPU_E2T(CPPUTYPE_INT8), PropertyAttribute::MAYBEVOID, 0},
380 //add { SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0},
381 #define COMMON_PARA_STYLE_PROPERTIES \
382                     { SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK,                 CPPU_E2T(CPPUTYPE_BREAK),       PROPERTY_NONE, 0},\
383                     { SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME), RES_PAGEDESC,          CPPU_E2T(CPPUTYPE_OUSTRING),            PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGEDESCNAME },\
384                     { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC,              CPPU_E2T(CPPUTYPE_INT16),       PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET},\
385                     { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},\
386                     { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN),          PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT       },\
387                     { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND,    CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_BACK_COLOR        },\
388                     { SW_PROP_NMID(UNO_NAME_PARA_BACK_COLOR), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_BACK_COLOR        },\
389                     { SW_PROP_NMID(UNO_NAME_PARA_BACK_TRANSPARENT), RES_BACKGROUND,         CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT       },\
390                     { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_URL), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },\
391                     { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_FILTER), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },\
392                     { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_LOCATION), RES_BACKGROUND,         CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},\
393                     { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP,     CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE, 0},\
394                     { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR,      CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE, 0},\
395                     { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_INT16),                  PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},\
396                     { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,        PROPERTY_NONE, 0},\
397                     { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT,  CPPU_E2T(CPPUTYPE_INT16),             PROPERTY_NONE, MID_ESC          },\
398                     { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT,     CPPU_E2T(CPPUTYPE_INT8)  ,          PROPERTY_NONE, MID_ESC_HEIGHT},\
399                     { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK   ,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},\
400                     { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},\
401                     _STANDARD_FONT_PROPERTIES\
402                     _CJK_FONT_PROPERTIES\
403                     _CTL_FONT_PROPERTIES\
404                     { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT16),      PROPERTY_NONE, MID_TL_STYLE},\
405                     { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PROPERTY_NONE, MID_TL_COLOR},\
406                     { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),              PROPERTY_NONE, MID_TL_HASCOLOR},\
407                     { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT16),      PROPERTY_NONE, MID_TL_STYLE},\
408                     { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PROPERTY_NONE, MID_TL_COLOR},\
409                     { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),              PROPERTY_NONE, MID_TL_HASCOLOR},\
410                     { SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE,            CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TXT_LMARGIN|CONVERT_TWIPS},\
411                     { SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},\
412                     { SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN_RELATIVE), RES_LR_SPACE,          CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,        MID_L_REL_MARGIN},\
413                     { SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE), RES_LR_SPACE,         CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,        MID_R_REL_MARGIN},\
414                     { SW_PROP_NMID(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE,          CPPU_E2T(CPPUTYPE_BOOLEAN),      PROPERTY_NONE, MID_FIRST_AUTO},\
415                     { SW_PROP_NMID(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},\
416                     { SW_PROP_NMID(UNO_NAME_PARA_FIRST_LINE_INDENT_RELATIVE), RES_LR_SPACE,         CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FIRST_LINE_REL_INDENT|CONVERT_TWIPS},\
417                     { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING    ,  CPPU_E2T(CPPUTYPE_INT16)  ,         PROPERTY_NONE,  CONVERT_TWIPS},\
418                     { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN   ,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},\
419                     { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE, 0},\
420                     { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR,    CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE, 0},\
421                     { SW_PROP_NMID(UNO_NAME_DROP_CAP_FORMAT), RES_PARATR_DROP,        CPPU_E2T(CPPUTYPE_DROPCAPFMT)  , PROPERTY_NONE, MID_DROPCAP_FORMAT|CONVERT_TWIPS     },\
422                     { SW_PROP_NMID(UNO_NAME_DROP_CAP_WHOLE_WORD), RES_PARATR_DROP,        CPPU_E2T(CPPUTYPE_BOOLEAN)  ,         PROPERTY_NONE, MID_DROPCAP_WHOLE_WORD },\
423                     { SW_PROP_NMID(UNO_NAME_DROP_CAP_CHAR_STYLE_NAME), RES_PARATR_DROP,        CPPU_E2T(CPPUTYPE_OUSTRING)  ,       PropertyAttribute::MAYBEVOID, MID_DROPCAP_CHAR_STYLE_NAME },\
424                     { SW_PROP_NMID(UNO_NAME_PARA_KEEP_TOGETHER), RES_KEEP,              CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},\
425                     { SW_PROP_NMID(UNO_NAME_PARA_SPLIT), RES_PARATR_SPLIT,      CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},\
426                     { SW_PROP_NMID(UNO_NAME_PARA_WIDOWS), RES_PARATR_WIDOWS,        CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID,     0},\
427                     { SW_PROP_NMID(UNO_NAME_PARA_ORPHANS), RES_PARATR_ORPHANS,      CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID,     0},\
428                     { SW_PROP_NMID(UNO_NAME_PARA_EXPAND_SINGLE_WORD), RES_PARATR_ADJUST,      CPPU_E2T(CPPUTYPE_BOOLEAN)  ,         PROPERTY_NONE, MID_EXPAND_SINGLE   },\
429                     { SW_PROP_NMID(UNO_NAME_PARA_LAST_LINE_ADJUST), RES_PARATR_ADJUST,      CPPU_E2T(CPPUTYPE_INT16),       PROPERTY_NONE, MID_LAST_LINE_ADJUST},\
430                     { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_COUNT), RES_LINENUMBER,        CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_LINENUMBER_COUNT     },\
431                     { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_START_VALUE), RES_LINENUMBER,      CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_LINENUMBER_STARTVALUE},\
432                     { SW_PROP_NMID(UNO_NAME_PARA_LINE_SPACING), RES_PARATR_LINESPACING, CPPU_E2T(CPPUTYPE_LINESPACE),PROPERTY_NONE,     CONVERT_TWIPS},\
433                     { SW_PROP_NMID(UNO_NAME_PARA_ADJUST), RES_PARATR_ADJUST,      CPPU_E2T(CPPUTYPE_INT16),         PROPERTY_NONE, MID_PARA_ADJUST},\
434                     { SW_PROP_NMID(UNO_NAME_PARA_REGISTER_MODE_ACTIVE), RES_PARATR_REGISTER,    CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE, 0},\
435                     { SW_PROP_NMID(UNO_NAME_PARA_TOP_MARGIN), RES_UL_SPACE,             CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},\
436                     { SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN), RES_UL_SPACE,          CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},\
437                     { SW_PROP_NMID(UNO_NAME_PARA_TOP_MARGIN_RELATIVE), RES_UL_SPACE,        CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_UP_REL_MARGIN},\
438                     { SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN_RELATIVE), RES_UL_SPACE,         CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_LO_REL_MARGIN},\
439                     TABSTOPS_MAP_ENTRY\
440                     { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN)  ,    PROPERTY_NONE,     0},\
441                     { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,              CPPU_E2T(CPPUTYPE_BORDERLINE),  0, LEFT_BORDER  |CONVERT_TWIPS },\
442                     { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,             CPPU_E2T(CPPUTYPE_BORDERLINE),  0, RIGHT_BORDER |CONVERT_TWIPS },\
443                     { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,               CPPU_E2T(CPPUTYPE_BORDERLINE),  0, TOP_BORDER   |CONVERT_TWIPS },\
444                     { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,                CPPU_E2T(CPPUTYPE_BORDERLINE),  0, BOTTOM_BORDER|CONVERT_TWIPS },\
445                     { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,              CPPU_E2T(CPPUTYPE_INT32),   0, BORDER_DISTANCE|CONVERT_TWIPS },\
446                     { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,             CPPU_E2T(CPPUTYPE_INT32),   0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },\
447                     { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),   0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },\
448                     { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,              CPPU_E2T(CPPUTYPE_INT32),   0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },\
449                     { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,               CPPU_E2T(CPPUTYPE_INT32),   0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },\
450                     { SW_PROP_NMID(UNO_NAME_PARA_IS_HYPHENATION), RES_PARATR_HYPHENZONE,      CPPU_E2T(CPPUTYPE_BOOLEAN),  PropertyAttribute::MAYBEVOID, MID_IS_HYPHEN         },\
451                     { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_LEADING_CHARS), RES_PARATR_HYPHENZONE,         CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_LEAD   },\
452                     { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS), RES_PARATR_HYPHENZONE,        CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_TRAIL  },\
453                     { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS), RES_PARATR_HYPHENZONE,       CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID, MID_HYPHEN_MAX_HYPHENS},\
454                     { SW_PROP_NMID(UNO_NAME_NUMBERING_STYLE_NAME), RES_PARATR_NUMRULE,  CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,   0},\
455                     { SW_PROP_NMID(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },\
456                     { SW_PROP_NMID(UNO_NAME_PARA_SHADOW_FORMAT), RES_SHADOW,    CPPU_E2T(CPPUTYPE_SHADOWFMT),   PROPERTY_NONE, CONVERT_TWIPS},\
457                     { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES,          CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE, MID_TWOLINES},\
458                     { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES,             CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, MID_START_BRACKET},\
459                     { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES,             CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, MID_END_BRACKET},\
460                     { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK,           CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE, MID_EMPHASIS},\
461                     { SW_PROP_NMID(UNO_NAME_PARA_IS_HANGING_PUNCTUATION), RES_PARATR_HANGINGPUNCTUATION,  CPPU_E2T(CPPUTYPE_BOOLEAN),   PROPERTY_NONE ,0     },\
462                     { SW_PROP_NMID(UNO_NAME_PARA_IS_CHARACTER_DISTANCE), RES_PARATR_SCRIPTSPACE,         CPPU_E2T(CPPUTYPE_BOOLEAN),    PROPERTY_NONE ,0     },\
463                     { SW_PROP_NMID(UNO_NAME_PARA_IS_FORBIDDEN_RULES), RES_PARATR_FORBIDDEN_RULES,     CPPU_E2T(CPPUTYPE_BOOLEAN),    PROPERTY_NONE ,0    },\
464                     { SW_PROP_NMID(UNO_NAME_PARA_VERT_ALIGNMENT), RES_PARATR_VERTALIGN,             CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE , 0  },\
465                     { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE,      CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE,    MID_ROTATE      },\
466                     { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE,       CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE,        MID_FITTOLINE  },\
467                     { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW,       CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE,         0 },\
468                     { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF,      CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE,      MID_RELIEF },\
469                     _PROP_DIFF_FONTHEIGHT\
470                     { SW_PROP_NMID(UNO_NAME_FOLLOW_STYLE), FN_UNO_FOLLOW_STYLE,     CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},\
471                     { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL,     CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},\
472                     { SW_PROP_NMID(UNO_NAME_IS_AUTO_UPDATE), FN_UNO_IS_AUTO_UPDATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},\
473                     { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},\
474                     { SW_PROP_NMID(UNO_NAME_CATEGORY), FN_UNO_CATEGORY, CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE , 0 },\
475                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },\
476                     { SW_PROP_NMID(UNO_NAME_PARA_IS_CONNECT_BORDER), RES_PARATR_CONNECT_BORDER, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0},\
477                     { SW_PROP_NMID(UNO_NAME_SNAP_TO_GRID), RES_PARATR_SNAPTOGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0 }, \
478 					{ SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0},
479 
480 
481 #define COMMON_FLDTYP_PROPERTIES \
482                     { SW_PROP_NMID(UNO_NAME_IS_FIELD_USED),      FIELD_PROP_IS_FIELD_USED,      CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::READONLY, 0},\
483                     { SW_PROP_NMID(UNO_NAME_IS_FIELD_DISPLAYED), FIELD_PROP_IS_FIELD_DISPLAYED, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::READONLY, 0},\
484 
485 //IAccessibility2 Implementation 2009-----
486 #define COMMON_ACCESSIBILITY_TEXT_ATTRIBUTE \
487 					{ SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND, 	CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },	\
488 					{ SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR, 		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE, 0},	\
489 					{ SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},	\
490 					{ SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK,           CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE, MID_EMPHASIS},	\
491 					{ SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT,  CPPU_E2T(CPPUTYPE_INT16),  			PROPERTY_NONE, MID_ESC			},	\
492 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },	\
493 					{ SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT), RES_CHRATR_FONTSIZE  ,  CPPU_E2T(CPPUTYPE_FLOAT),			PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},	\
494 					{ SW_PROP_NMID(UNO_NAME_CHAR_POSTURE), RES_CHRATR_POSTURE   ,  CPPU_E2T(CPPUTYPE_FONTSLANT),  		PropertyAttribute::MAYBEVOID, MID_POSTURE},	\
495 					{ SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},	\
496 					{ SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},	\
497 					{ SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PropertyAttribute::MAYBEVOID, MID_TL_COLOR},	\
498 					{ SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT), RES_CHRATR_WEIGHT    ,  CPPU_E2T(CPPUTYPE_FLOAT),  			PropertyAttribute::MAYBEVOID, MID_WEIGHT},	\
499 					{ SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL), RES_PARATR_LIST_LEVEL,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0},	\
500 					{ SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT16),              PropertyAttribute::MAYBEVOID, MID_TL_STYLE},	\
501 					{ SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), RES_PARATR_NUMRULE,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},	\
502 					{ SW_PROP_NMID(UNO_NAME_PARA_ADJUST), RES_PARATR_ADJUST,      CPPU_E2T(CPPUTYPE_INT16),         PropertyAttribute::MAYBEVOID, MID_PARA_ADJUST},	\
503 					{ SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN), RES_UL_SPACE,          CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_LO_MARGIN|CONVERT_TWIPS},	\
504 					{ SW_PROP_NMID(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_INT32),      PropertyAttribute::MAYBEVOID, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},	\
505 					{ SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE,            CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_TXT_LMARGIN|CONVERT_TWIPS},	\
506 					{ SW_PROP_NMID(UNO_NAME_PARA_LINE_SPACING), RES_PARATR_LINESPACING, CPPU_E2T(CPPUTYPE_LINESPACE),       PropertyAttribute::MAYBEVOID,     CONVERT_TWIPS},	\
507 					{ SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE,           CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS},	\
508 					{ SW_PROP_NMID(UNO_NAME_TABSTOPS), RES_PARATR_TABSTOP,   CPPU_E2T(CPPUTYPE_SEQTABSTOP),   PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},	\
509 
510 //-----IAccessibility2 Implementation 2009
511 
512 const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(sal_uInt16 nPropertyId)
513 {
514 	DBG_ASSERT(nPropertyId < PROPERTY_MAP_END, "Id ?" );
515     if( !aMapEntriesArr[ nPropertyId ] )
516 	{
517 		switch(nPropertyId)
518 		{
519 			case PROPERTY_MAP_TEXT_CURSOR:
520 			{
521                 static SfxItemPropertyMapEntry aCharAndParaMap_Impl[] =
522 				{
523                     COMPLETE_TEXT_CURSOR_MAP
524                     {0,0,0,0,0,0}
525 				};
526                 aMapEntriesArr[nPropertyId] = aCharAndParaMap_Impl;
527 			}
528 			break;
529 			//IAccessibility2 Implementation 2009-----
530 			case PROPERTY_MAP_ACCESSIBILITY_TEXT_ATTRIBUTE:
531 			{
532                 static SfxItemPropertyMapEntry aAccessibilityTextAttrMap_Impl[] =
533 				{
534 					COMMON_ACCESSIBILITY_TEXT_ATTRIBUTE
535 					{0,0,0,0,0,0}
536 				};
537                 aMapEntriesArr[nPropertyId] = aAccessibilityTextAttrMap_Impl;
538 			}
539 			break;
540 			//-----IAccessibility2 Implementation 2009
541 			case PROPERTY_MAP_PARAGRAPH:
542 			{
543                 static SfxItemPropertyMapEntry aParagraphMap_Impl[] =
544 				{
545                     COMMON_CRSR_PARA_PROPERTIES_2
546                     TABSTOPS_MAP_ENTRY
547 					COMMON_TEXT_CONTENT_PROPERTIES
548                     { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME), RES_TXTATR_CHARFMT,     CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,     0},\
549                     { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAMES), FN_UNO_CHARFMT_SEQUENCE,  CPPU_E2T(CPPUTYPE_OUSTRINGS),     PropertyAttribute::MAYBEVOID,     0},\
550                     {0,0,0,0,0,0}
551 				};
552                 aMapEntriesArr[nPropertyId] = aParagraphMap_Impl;
553 			}
554 			break;
555             case PROPERTY_MAP_PARA_AUTO_STYLE :
556             {
557                 static SfxItemPropertyMapEntry aAutoParaStyleMap [] =
558                 {
559                     { SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME), RES_FRMATR_STYLE_NAME,        CPPU_E2T(CPPUTYPE_OUSTRING),                PropertyAttribute::MAYBEVOID,     0},                                                       \
560                     { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), FN_UNO_PAGE_STYLE,        CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,   0},                       \
561                     { SW_PROP_NMID(UNO_NAME_NUMBERING_IS_NUMBER), FN_UNO_IS_NUMBER,     CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},                                                                 \
562                     { SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL), FN_UNO_NUM_LEVEL,     CPPU_E2T(CPPUTYPE_INT16),           PropertyAttribute::MAYBEVOID, 0},                                                            \
563                     { SW_PROP_NMID(UNO_NAME_NUMBERING_START_VALUE), FN_UNO_NUM_START_VALUE, CPPU_E2T(CPPUTYPE_INT16),           PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},                                                \
564                     { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), FN_UNO_DOCUMENT_INDEX, CPPU_E2T(CPPUTYPE_REFDOCINDEX), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },            \
565                     { SW_PROP_NMID(UNO_NAME_TEXT_TABLE), FN_UNO_TEXT_TABLE,     CPPU_E2T(CPPUTYPE_REFTXTTABLE),     PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },               \
566                     { SW_PROP_NMID(UNO_NAME_CELL), FN_UNO_CELL,         CPPU_E2T(CPPUTYPE_REFCELL),         PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },                     \
567                     { SW_PROP_NMID(UNO_NAME_TEXT_FRAME), FN_UNO_TEXT_FRAME,     CPPU_E2T(CPPUTYPE_REFTEXTFRAME),        PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },                     \
568                     { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION),  PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },                    \
569                     { SW_PROP_NMID(UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL), FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL,CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0},                                                     \
570                     { SW_PROP_NMID(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME), RES_FRMATR_CONDITIONAL_STYLE_NAME,        CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,   0},                       \
571 					{ SW_PROP_NMID(UNO_NAME_PARA_IS_NUMBERING_RESTART), FN_NUMBER_NEWSTART,     CPPU_E2T(CPPUTYPE_BOOLEAN),     PropertyAttribute::MAYBEVOID, 0 },                       \
572 					{ SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL,        CPPU_E2T(CPPUTYPE_INT16),                PropertyAttribute::MAYBEVOID,     0}, //#outline level,zhaojianwei
573                     COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
574                     TABSTOPS_MAP_ENTRY
575                     COMMON_TEXT_CONTENT_PROPERTIES
576                     { SW_PROP_NMID(UNO_NAME_PARA_AUTO_STYLE_NAME), RES_AUTO_STYLE,     CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,     0},
577                     {0,0,0,0,0,0}
578                 };
579                 aMapEntriesArr[nPropertyId] = aAutoParaStyleMap;
580             }
581             break;
582             case PROPERTY_MAP_CHAR_STYLE :
583 			{
584                 static SfxItemPropertyMapEntry aCharStyleMap   [] =
585 				{
586 					{ SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN	 ,	CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE,     0},
587 					{ SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, 	CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
588 					{ SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND, 	CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
589 					{ SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP,   	CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE, 0},
590 					{ SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR, 		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE, 0},
591 					{ SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},
592 					{ SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},
593 					{ SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT,  CPPU_E2T(CPPUTYPE_INT16),  			PROPERTY_NONE, MID_ESC			},
594 					{ SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT, 	CPPU_E2T(CPPUTYPE_INT8)  ,  		PROPERTY_NONE, MID_ESC_HEIGHT},
595 					{ SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK	,	CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE,     0},
596                     { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},
597                     _STANDARD_FONT_PROPERTIES
598 					_CJK_FONT_PROPERTIES
599 					_CTL_FONT_PROPERTIES
600 					{ SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT16),  	PROPERTY_NONE, MID_TL_STYLE},
601 					{ SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT32),  			PROPERTY_NONE, MID_TL_COLOR},
602 					{ SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),  			PROPERTY_NONE, MID_TL_HASCOLOR},
603 					{ SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT16),  	PROPERTY_NONE, MID_TL_STYLE},
604 					{ SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT32),  			PROPERTY_NONE, MID_TL_COLOR},
605 					{ SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),  			PROPERTY_NONE, MID_TL_HASCOLOR},
606 					{ SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING    ,	CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE, 	CONVERT_TWIPS},
607 					{ SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN	,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE,     0},
608 					{ SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},
609 					{ SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},
610                     { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN)  ,    PROPERTY_NONE,     0},
611                     { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
612 					{ SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, 	  CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
613 					{ SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
614 					{ SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 	PROPERTY_NONE, MID_TWOLINES},
615 					{ SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES, 			CPPU_E2T(CPPUTYPE_OUSTRING), 	PROPERTY_NONE, MID_START_BRACKET},
616 					{ SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES, 			CPPU_E2T(CPPUTYPE_OUSTRING), 	PROPERTY_NONE, MID_END_BRACKET},
617 					{ SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK, 			CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE, MID_EMPHASIS},
618                     _PROP_DIFF_FONTHEIGHT
619 					{ SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE, 		CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE, 	  MID_ROTATE      },
620 					{ SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE, 		CPPU_E2T(CPPUTYPE_BOOLEAN), 	PROPERTY_NONE, 	      MID_FITTOLINE  },
621 					{ SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW, 		CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE, 	       0 },
622                     { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF,      CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE,      MID_RELIEF },
623                     {0,0,0,0,0,0}
624 				};
625                 aMapEntriesArr[nPropertyId] = aCharStyleMap;
626 			}
627 			break;
628 			case PROPERTY_MAP_CHAR_AUTO_STYLE :
629 			{
630                 // same as PROPERTY_MAP_TEXTPORTION_EXTENSIONS
631                 static SfxItemPropertyMapEntry aAutoCharStyleMap   [] =
632 				{
633                     { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},
634                     { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND,  CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT       },
635                     { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND,    CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_BACK_COLOR        },
636                     { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP,     CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE, 0},
637                     { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR,      CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE, 0},
638                     { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_INT16),                  PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},
639                     { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,        PROPERTY_NONE, 0},
640                     { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT,  CPPU_E2T(CPPUTYPE_INT16),             PROPERTY_NONE, MID_ESC          },
641                     { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT,     CPPU_E2T(CPPUTYPE_INT8)  ,          PROPERTY_NONE, MID_ESC_HEIGHT},
642                     { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK   ,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},
643                     { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},
644                     _STANDARD_FONT_PROPERTIES
645                     _CJK_FONT_PROPERTIES
646                     _CTL_FONT_PROPERTIES
647                     { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT16),      PROPERTY_NONE, MID_TL_STYLE},
648                     { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PROPERTY_NONE, MID_TL_COLOR},
649                     { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),              PROPERTY_NONE, MID_TL_HASCOLOR},
650                     { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT16),      PROPERTY_NONE, MID_TL_STYLE},
651                     { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_INT32),            PROPERTY_NONE, MID_TL_COLOR},
652                     { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE ,  CPPU_E2T(CPPUTYPE_BOOLEAN),              PROPERTY_NONE, MID_TL_HASCOLOR},
653                     { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING    ,  CPPU_E2T(CPPUTYPE_INT16)  ,         PROPERTY_NONE,  CONVERT_TWIPS},
654                     { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN   ,   CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,     0},
655                     { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE, 0},
656                     { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR,    CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE, 0},
657                     { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN)  ,    PROPERTY_NONE,     0},
658                     { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
659                     { SW_PROP_NMID(UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
660                     { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL,     CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
661                     { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
662                     { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES,          CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE, MID_TWOLINES},
663                     { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES,             CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, MID_START_BRACKET},
664                     { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES,             CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, MID_END_BRACKET},
665                     { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK,           CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE, MID_EMPHASIS},
666                     { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE,      CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE,    MID_ROTATE      },
667                     { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE,       CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE,        MID_FITTOLINE  },
668                     { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW,       CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE,         0 },
669                     { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF,      CPPU_E2T(CPPUTYPE_INT16),    PROPERTY_NONE,      MID_RELIEF },
670                     { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_STYLE_NAME), RES_TXTATR_AUTOFMT,     CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID,     0},
671                     {0,0,0,0,0,0}
672                 };
673                 aMapEntriesArr[nPropertyId] = aAutoCharStyleMap;
674 			}
675 			break;
676             case PROPERTY_MAP_RUBY_AUTO_STYLE :
677             {
678                 static SfxItemPropertyMapEntry aAutoRubyStyleMap [] =
679                 {
680                     { SW_PROP_NMID(UNO_NAME_RUBY_ADJUST), RES_TXTATR_CJK_RUBY,  CPPU_E2T(CPPUTYPE_INT16),   PropertyAttribute::MAYBEVOID,          MID_RUBY_ADJUST },
681                     { SW_PROP_NMID(UNO_NAME_RUBY_IS_ABOVE), RES_TXTATR_CJK_RUBY,    CPPU_E2T(CPPUTYPE_BOOLEAN),  PropertyAttribute::MAYBEVOID,     MID_RUBY_ABOVE },
682                     {0,0,0,0,0,0}
683                 };
684                 aMapEntriesArr[nPropertyId] = aAutoRubyStyleMap;
685             }
686             break;
687             case PROPERTY_MAP_PARA_STYLE :
688             {
689                 static SfxItemPropertyMapEntry aParaStyleMap [] =
690                 {
691                     COMMON_PARA_STYLE_PROPERTIES
692                     {0,0,0,0,0,0}
693                 };
694                 aMapEntriesArr[nPropertyId] = aParaStyleMap;
695             }
696             break;
697             case PROPERTY_MAP_CONDITIONAL_PARA_STYLE :
698             {
699                 static SfxItemPropertyMapEntry aParaStyleMap [] =
700                 {
701                     COMMON_PARA_STYLE_PROPERTIES
702                     { SW_PROP_NMID(UNO_NAME_PARA_STYLE_CONDITIONS), FN_UNO_PARA_STYLE_CONDITIONS, CPPU_E2T(CPPUTYPE_SEQNAMEDVALUE), PropertyAttribute::MAYBEVOID, 0},
703                     {0,0,0,0,0,0}
704                 };
705                 aMapEntriesArr[nPropertyId] = aParaStyleMap;
706             }
707 			break;
708             case PROPERTY_MAP_FRAME_STYLE:
709             {
710                 static SfxItemPropertyMapEntry aFrameStyleMap   [] =
711                 {
712                     { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR,            CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE, MID_ANCHOR_PAGENUM       },
713                     { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR,           CPPU_E2T(CPPUTYPE_TXTCNTANCHOR),            PROPERTY_NONE, MID_ANCHOR_ANCHORTYPE},
714                     { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,            CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_BACK_COLOR        },
715                     { SW_PROP_NMID(UNO_NAME_BACK_COLOR_R_G_B), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR_R_G_B},
716                     { SW_PROP_NMID(UNO_NAME_BACK_COLOR_TRANSPARENCY), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_BACK_COLOR_TRANSPARENCY},    \
717                 //  { SW_PROP_NMID(UNO_NAME_CHAIN_NEXT_NAME), RES_CHAIN,                CPPU_E2T(CPPUTYPE_OUSTRING),            PROPERTY_NONE ,MID_CHAIN_NEXTNAME},
718                 //  { SW_PROP_NMID(UNO_NAME_CHAIN_PREV_NAME), RES_CHAIN,                CPPU_E2T(CPPUTYPE_OUSTRING),            PROPERTY_NONE ,MID_CHAIN_PREVNAME},
719                 /*not impl*/    { SW_PROP_NMID(UNO_NAME_CLIENT_MAP), RES_URL,               CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_URL_CLIENTMAP         },
720                     { SW_PROP_NMID(UNO_NAME_CONTENT_PROTECTED), RES_PROTECT,            CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_PROTECT_CONTENT   },
721                     { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY), RES_EDIT_IN_READONLY,    CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
722                 //  { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND,       &,                              PROPERTY_NONE, MID_GRAPHIC
723                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
724                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
725                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND,         CPPU_E2T(CPPUTYPE_GRAPHICLOC),          PROPERTY_NONE ,MID_GRAPHIC_POSITION},
726                     // --> OD 2005-06-06 #i50322# - add missing map entry for transparency of graphic background
727                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_TRANSPARENCY), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENCY},
728                     // <--
729                     { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE,             CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
730                     { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE,            CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
731                     { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT,      CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE ,MID_HORIORIENT_ORIENT    },
732                     { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT,     CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_HORIORIENT_POSITION|CONVERT_TWIPS    },
733                     { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT,     CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE ,MID_HORIORIENT_RELATION  },
734                     { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_URL,                 CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_URL},
735                     { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_URL,                CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_TARGET},
736                     { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_URL,              CPPU_E2T(CPPUTYPE_OUSTRING),            PROPERTY_NONE ,MID_URL_HYPERLINKNAME     },
737                     { SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE,            CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
738                     { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT,      CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE },
739                     { SW_PROP_NMID(UNO_NAME_POSITION_PROTECTED), RES_PROTECT,           CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_PROTECT_POSITION},
740                     { SW_PROP_NMID(UNO_NAME_PRINT), RES_PRINT,              CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
741                     { SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE,           CPPU_E2T(CPPUTYPE_INT32)  ,         PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS          },
742                     { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE,          CPPU_E2T(CPPUTYPE_INT32)  ,         PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS         },
743                     { SW_PROP_NMID(UNO_NAME_RELATIVE_HEIGHT), RES_FRM_SIZE,         CPPU_E2T(CPPUTYPE_INT16)  ,         PROPERTY_NONE,   MID_FRMSIZE_REL_HEIGHT },
744                     { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), RES_FRM_SIZE,          CPPU_E2T(CPPUTYPE_INT16)  ,         PROPERTY_NONE,   MID_FRMSIZE_REL_WIDTH  },
745                     { SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE,           CPPU_E2T(CPPUTYPE_INT16)  ,         PROPERTY_NONE,   MID_FRMSIZE_SIZE_TYPE  },
746                     { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE,          CPPU_E2T(CPPUTYPE_INT16)  ,         PROPERTY_NONE,   MID_FRMSIZE_WIDTH_TYPE },
747                     { SW_PROP_NMID(UNO_NAME_SIZE), RES_FRM_SIZE,            CPPU_E2T(CPPUTYPE_AWTSIZE),             PROPERTY_NONE, MID_FRMSIZE_SIZE|CONVERT_TWIPS},
748                     { SW_PROP_NMID(UNO_NAME_IS_SYNC_WIDTH_TO_HEIGHT), RES_FRM_SIZE,         CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,   MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT    },
749                     { SW_PROP_NMID(UNO_NAME_IS_SYNC_HEIGHT_TO_WIDTH), RES_FRM_SIZE,         CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PROPERTY_NONE,   MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH },
750                 //  { SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE,           CPPU_E2T(CPPUTYPE_INT32)  ,         PROPERTY_NONE, MID_FRMSIZE_WIDTH            },
751                     { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW,             CPPU_E2T(CPPUTYPE_SHADOWFMT),   PROPERTY_NONE, CONVERT_TWIPS},
752                     { SW_PROP_NMID(UNO_NAME_SERVER_MAP), RES_URL,               CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_URL_SERVERMAP         },
753                     { SW_PROP_NMID(UNO_NAME_SIZE_PROTECTED), RES_PROTECT,           CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_PROTECT_SIZE    },
754                     //Surround bleibt, weil es mit der 5.1 ausgeliefert wurde, obwohl es mit text::WrapTextMode identisch ist
755                     { SW_PROP_NMID(UNO_NAME_SURROUND), RES_SURROUND,          CPPU_E2T(CPPUTYPE_WRAPTXTMODE),    PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE },
756                     { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND,           CPPU_E2T(CPPUTYPE_WRAPTXTMODE),             PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE    },
757                     { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND,             CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_SURROUND_ANCHORONLY      },
758                     { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND,            CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_SURROUND_CONTOUR         },
759                     { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND,             CPPU_E2T(CPPUTYPE_BOOLEAN),             PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE  },
760                     { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
761                     { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE,          CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
762                     { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE,           CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
763                     { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT       },
764                     { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT,      CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE ,MID_VERTORIENT_ORIENT    },
765                     { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT,     CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE ,MID_VERTORIENT_POSITION|CONVERT_TWIPS    },
766                     { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT,     CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE ,MID_VERTORIENT_RELATION  },
767                     { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,              CPPU_E2T(CPPUTYPE_BORDERLINE),  0, LEFT_BORDER  |CONVERT_TWIPS },
768                     { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,             CPPU_E2T(CPPUTYPE_BORDERLINE),  0, RIGHT_BORDER |CONVERT_TWIPS },
769                     { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,               CPPU_E2T(CPPUTYPE_BORDERLINE),  0, TOP_BORDER   |CONVERT_TWIPS },
770                     { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,                CPPU_E2T(CPPUTYPE_BORDERLINE),  0, BOTTOM_BORDER|CONVERT_TWIPS },
771                     { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,    CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
772                     { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,             CPPU_E2T(CPPUTYPE_INT32),   0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
773                     { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),   0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
774                     { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,              CPPU_E2T(CPPUTYPE_INT32),   0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
775                     { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,               CPPU_E2T(CPPUTYPE_INT32),   0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
776                     { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
777                     { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL,     CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
778                     { SW_PROP_NMID(UNO_NAME_IS_AUTO_UPDATE), FN_UNO_IS_AUTO_UPDATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
779                     { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
780                     // OD 18.09.2003 #i18732#
781                     { SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW), RES_FOLLOW_TEXT_FLOW,     CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
782                     // OD 2004-05-05 #i28701#
783                     { SW_PROP_NMID(UNO_NAME_WRAP_INFLUENCE_ON_POSITION), RES_WRAP_INFLUENCE_ON_OBJPOS, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_WRAP_INFLUENCE},
784                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
785                     {0,0,0,0,0,0}
786                 };
787                 aMapEntriesArr[nPropertyId] = aFrameStyleMap;
788             }
789             break;
790             case PROPERTY_MAP_PAGE_STYLE :
791 			{
792                 static SfxItemPropertyMapEntry aPageStyleMap   [] =
793 				{
794 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
795 				//	{ SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, 		&, 								PROPERTY_NONE, MID_GRAPHIC
796 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
797 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
798 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
799 					{ SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
800 					{ SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
801 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
802 					{ SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, LEFT_BORDER  |CONVERT_TWIPS },
803 					{ SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, RIGHT_BORDER |CONVERT_TWIPS },
804 					{ SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, TOP_BORDER   |CONVERT_TWIPS },
805 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, BOTTOM_BORDER|CONVERT_TWIPS },
806 					{ SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,    CPPU_E2T(CPPUTYPE_INT32),	0, BORDER_DISTANCE|CONVERT_TWIPS },
807 					{ SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
808 					{ SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
809 					{ SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
810 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
811 					{ SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, 			CPPU_E2T(CPPUTYPE_SHADOWFMT), 	PROPERTY_NONE, CONVERT_TWIPS},
812 
813 					{ SW_PROP_NMID(UNO_NAME_HEADER_BACK_COLOR), FN_UNO_HEADER_BACKGROUND, 	CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
814 				//	{ SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC), FN_UNO_HEADER_BACKGROUND, 	&, 								PROPERTY_NONE, MID_GRAPHIC
815 					{ SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_URL), FN_UNO_HEADER_BACKGROUND, 			CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
816 					{ SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_FILTER), FN_UNO_HEADER_BACKGROUND, 			CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
817 					{ SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_LOCATION), FN_UNO_HEADER_BACKGROUND, 	CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
818 					{ SW_PROP_NMID(UNO_NAME_HEADER_LEFT_MARGIN), FN_UNO_HEADER_LR_SPACE, 	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
819 					{ SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_MARGIN), FN_UNO_HEADER_LR_SPACE, 	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
820 					{ SW_PROP_NMID(UNO_NAME_HEADER_BACK_TRANSPARENT), FN_UNO_HEADER_BACKGROUND, 	CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
821 					{ SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, LEFT_BORDER  |CONVERT_TWIPS },
822 					{ SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, RIGHT_BORDER |CONVERT_TWIPS },
823 					{ SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, TOP_BORDER   |CONVERT_TWIPS },
824 					{ SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, BOTTOM_BORDER|CONVERT_TWIPS },
825                     { SW_PROP_NMID(UNO_NAME_HEADER_BORDER_DISTANCE), FN_UNO_HEADER_BOX,    CPPU_E2T(CPPUTYPE_INT32),    PropertyAttribute::MAYBEVOID, BORDER_DISTANCE|CONVERT_TWIPS },
826 					{ SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER_DISTANCE), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
827 					{ SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
828 					{ SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER_DISTANCE), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
829 					{ SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE), FN_UNO_HEADER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
830 					{ SW_PROP_NMID(UNO_NAME_HEADER_SHADOW_FORMAT), FN_UNO_HEADER_SHADOW, 		CPPU_E2T(CPPUTYPE_SHADOWFMT), 	PROPERTY_NONE, CONVERT_TWIPS},
831 					{ SW_PROP_NMID(UNO_NAME_HEADER_BODY_DISTANCE), FN_UNO_HEADER_BODY_DISTANCE,CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_LO_MARGIN|CONVERT_TWIPS		 },
832 					{ SW_PROP_NMID(UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT), FN_UNO_HEADER_IS_DYNAMIC_DISTANCE,CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
833 					{ SW_PROP_NMID(UNO_NAME_HEADER_IS_SHARED), FN_UNO_HEADER_SHARE_CONTENT,CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
834 					{ SW_PROP_NMID(UNO_NAME_HEADER_HEIGHT), FN_UNO_HEADER_HEIGHT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_SIZE_HEIGHT|CONVERT_TWIPS		 },
835 					{ SW_PROP_NMID(UNO_NAME_HEADER_IS_ON), FN_UNO_HEADER_ON,			CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
836                     { SW_PROP_NMID(UNO_NAME_HEADER_DYNAMIC_SPACING), FN_UNO_HEADER_EAT_SPACING,            CPPU_E2T(CPPUTYPE_BOOLEAN),         PropertyAttribute::MAYBEVOID ,0         },
837 
838 					{ SW_PROP_NMID(UNO_NAME_FOOTER_BACK_COLOR), FN_UNO_FOOTER_BACKGROUND,  	CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
839 				//	{ SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC), FN_UNO_FOOTER_BACKGROUND,  	&, 								PROPERTY_NONE, MID_GRAPHIC
840 					{ SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_URL), FN_UNO_FOOTER_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
841 					{ SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_FILTER), FN_UNO_FOOTER_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
842 					{ SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_LOCATION), FN_UNO_FOOTER_BACKGROUND,  	CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
843 					{ SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_MARGIN), FN_UNO_FOOTER_LR_SPACE, 	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
844 					{ SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_MARGIN), FN_UNO_FOOTER_LR_SPACE, 	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
845 					{ SW_PROP_NMID(UNO_NAME_FOOTER_BACK_TRANSPARENT), FN_UNO_FOOTER_BACKGROUND, 	CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
846 					{ SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, LEFT_BORDER  |CONVERT_TWIPS },
847 					{ SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, RIGHT_BORDER |CONVERT_TWIPS },
848 					{ SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, TOP_BORDER   |CONVERT_TWIPS },
849 					{ SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_BORDERLINE),	0, BOTTOM_BORDER|CONVERT_TWIPS },
850                     { SW_PROP_NMID(UNO_NAME_FOOTER_BORDER_DISTANCE), FN_UNO_FOOTER_BOX,    CPPU_E2T(CPPUTYPE_INT32),    PropertyAttribute::MAYBEVOID, BORDER_DISTANCE|CONVERT_TWIPS },
851 					{ SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
852 					{ SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
853 					{ SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER_DISTANCE), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
854 					{ SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE), FN_UNO_FOOTER_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
855 					{ SW_PROP_NMID(UNO_NAME_FOOTER_SHADOW_FORMAT), FN_UNO_FOOTER_SHADOW, 		CPPU_E2T(CPPUTYPE_SHADOWFMT), 	PROPERTY_NONE, CONVERT_TWIPS},
856 					{ SW_PROP_NMID(UNO_NAME_FOOTER_BODY_DISTANCE), FN_UNO_FOOTER_BODY_DISTANCE,CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_UP_MARGIN|CONVERT_TWIPS		 },
857 					{ SW_PROP_NMID(UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT), FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE,CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
858 					{ SW_PROP_NMID(UNO_NAME_FOOTER_IS_SHARED), FN_UNO_FOOTER_SHARE_CONTENT,CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
859 					{ SW_PROP_NMID(UNO_NAME_FOOTER_HEIGHT), FN_UNO_FOOTER_HEIGHT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_SIZE_HEIGHT|CONVERT_TWIPS		 },
860 					{ SW_PROP_NMID(UNO_NAME_FOOTER_IS_ON), FN_UNO_FOOTER_ON,			CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
861                     { SW_PROP_NMID(UNO_NAME_FOOTER_DYNAMIC_SPACING), FN_UNO_FOOTER_EAT_SPACING,            CPPU_E2T(CPPUTYPE_BOOLEAN),         PropertyAttribute::MAYBEVOID ,0         },
862 
863 
864 					{ SW_PROP_NMID(UNO_NAME_IS_LANDSCAPE), SID_ATTR_PAGE,			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE ,MID_PAGE_ORIENTATION   },
865 					{ SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), SID_ATTR_PAGE, 			CPPU_E2T(CPPUTYPE_INT16), 			PROPERTY_NONE , MID_PAGE_NUMTYPE	   },
866 					{ SW_PROP_NMID(UNO_NAME_PAGE_STYLE_LAYOUT), SID_ATTR_PAGE,			CPPU_E2T(CPPUTYPE_PAGESTYLELAY),	PROPERTY_NONE ,MID_PAGE_LAYOUT     },
867 					{ SW_PROP_NMID(UNO_NAME_PRINTER_PAPER_TRAY), RES_PAPER_BIN, 			CPPU_E2T(CPPUTYPE_OUSTRING), 			PROPERTY_NONE , 0 },
868 //					{ SW_PROP_NMID(UNO_NAME_REGISTER_MODE_ACTIVE), SID_SWREGISTER_MODE, 	CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE , 0 },
869 					{ SW_PROP_NMID(UNO_NAME_REGISTER_PARAGRAPH_STYLE), SID_SWREGISTER_COLLECTION, 	CPPU_E2T(CPPUTYPE_OUSTRING), 		PROPERTY_NONE , 0 },
870 					{ SW_PROP_NMID(UNO_NAME_SIZE), SID_ATTR_PAGE_SIZE, 	CPPU_E2T(CPPUTYPE_AWTSIZE), 			PROPERTY_NONE, 	 MID_SIZE_SIZE|CONVERT_TWIPS},
871 					{ SW_PROP_NMID(UNO_NAME_WIDTH), SID_ATTR_PAGE_SIZE,   	CPPU_E2T(CPPUTYPE_INT32)  ,  		PROPERTY_NONE, MID_SIZE_WIDTH|CONVERT_TWIPS},
872 					{ SW_PROP_NMID(UNO_NAME_HEIGHT), SID_ATTR_PAGE_SIZE,   	CPPU_E2T(CPPUTYPE_INT32)  ,  		PROPERTY_NONE, MID_SIZE_HEIGHT|CONVERT_TWIPS		 	},
873 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
874 					{ SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
875 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
876 					{ SW_PROP_NMID(UNO_NAME_HEADER_TEXT), FN_UNO_HEADER,      	CPPU_E2T(CPPUTYPE_REFTEXT),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
877 					{ SW_PROP_NMID(UNO_NAME_HEADER_TEXT_LEFT), FN_UNO_HEADER_LEFT,     CPPU_E2T(CPPUTYPE_REFTEXT),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
878 					{ SW_PROP_NMID(UNO_NAME_HEADER_TEXT_RIGHT), FN_UNO_HEADER_RIGHT,    CPPU_E2T(CPPUTYPE_REFTEXT),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
879 					{ SW_PROP_NMID(UNO_NAME_FOOTER_TEXT), FN_UNO_FOOTER,      	CPPU_E2T(CPPUTYPE_REFTEXT),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
880 					{ SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_LEFT), FN_UNO_FOOTER_LEFT, 	CPPU_E2T(CPPUTYPE_REFTEXT),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
881 					{ SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_RIGHT), FN_UNO_FOOTER_RIGHT,	CPPU_E2T(CPPUTYPE_REFTEXT),		    PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
882 					{ SW_PROP_NMID(UNO_NAME_FOLLOW_STYLE), FN_UNO_FOLLOW_STYLE, 	CPPU_E2T(CPPUTYPE_OUSTRING), 		PROPERTY_NONE, 0},
883 					{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
884 					{ SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, 	  CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
885 					{ SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
886 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_HEIGHT), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,		MID_FTN_HEIGHT|CONVERT_TWIPS},
887 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_WEIGHT), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT16),	PROPERTY_NONE ,		MID_LINE_WEIGHT|CONVERT_TWIPS},
888 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_COLOR), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT32),	PROPERTY_NONE ,		MID_LINE_COLOR},
889 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_RELATIVE_WIDTH), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT8),		PROPERTY_NONE ,		MID_LINE_RELWIDTH    },
890 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_ADJUST), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT16),	PROPERTY_NONE ,		MID_LINE_ADJUST     },
891 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_TEXT_DISTANCE), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT32),	PROPERTY_NONE ,		MID_LINE_TEXT_DIST   |CONVERT_TWIPS },
892 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_DISTANCE), FN_PARAM_FTN_INFO, 		CPPU_E2T(CPPUTYPE_INT32),	PROPERTY_NONE ,		MID_LINE_FOOTNOTE_DIST|CONVERT_TWIPS},
893                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
894                         // writing grid
895                     { SW_PROP_NMID(UNO_NAME_GRID_COLOR), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_GRID_COLOR},
896                     { SW_PROP_NMID(UNO_NAME_GRID_LINES), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_GRID_LINES},
897                     { SW_PROP_NMID(UNO_NAME_GRID_BASE_HEIGHT), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_GRID_BASEHEIGHT|CONVERT_TWIPS},
898                     { SW_PROP_NMID(UNO_NAME_GRID_RUBY_HEIGHT), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_GRID_RUBYHEIGHT|CONVERT_TWIPS},
899                     { SW_PROP_NMID(UNO_NAME_GRID_MODE), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_GRID_TYPE},
900                     { SW_PROP_NMID(UNO_NAME_GRID_RUBY_BELOW), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_GRID_RUBY_BELOW},
901                     { SW_PROP_NMID(UNO_NAME_GRID_PRINT), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_GRID_PRINT},
902                     { SW_PROP_NMID(UNO_NAME_GRID_DISPLAY), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_GRID_DISPLAY},
903                     { SW_PROP_NMID(UNO_NAME_GRID_BASE_WIDTH), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_GRID_BASEWIDTH|CONVERT_TWIPS},
904                     { SW_PROP_NMID(UNO_NAME_GRID_SNAP_TO_CHARS), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_GRID_SNAPTOCHARS},
905                     { SW_PROP_NMID(UNO_NAME_GRID_STANDARD_PAGE_MODE), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_GRID_STANDARD_MODE},
906                     {0,0,0,0,0,0}
907 				};
908                 aMapEntriesArr[nPropertyId] = aPageStyleMap;
909 			}
910 			break;
911 			case PROPERTY_MAP_NUM_STYLE  :
912 			{
913                 static SfxItemPropertyMapEntry aNumStyleMap        [] =
914 				{
915 					{ SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES,	CPPU_E2T(CPPUTYPE_REFIDXREPL), PROPERTY_NONE, CONVERT_TWIPS},
916 					{ SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, 	  CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
917 					{ SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
918                     {0,0,0,0,0,0}
919 				};
920                 aMapEntriesArr[nPropertyId] = aNumStyleMap;
921 			}
922 			break;
923 			case PROPERTY_MAP_TEXT_TABLE :
924 			{
925                 static SfxItemPropertyMapEntry aTablePropertyMap_Impl[] =
926 				{
927 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE,MID_BACK_COLOR		 },
928 					{ SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK, 				CPPU_E2T(CPPUTYPE_BREAK), 		PROPERTY_NONE, 0},
929 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
930 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
931 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
932 					{ SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
933 					{ SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
934 					{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE ,MID_HORIORIENT_ORIENT	},
935 					{ SW_PROP_NMID(UNO_NAME_KEEP_TOGETHER), RES_KEEP,				CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},
936 					{ SW_PROP_NMID(UNO_NAME_SPLIT), RES_LAYOUT_SPLIT,		CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0},
937 					{ SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC,  			CPPU_E2T(CPPUTYPE_INT16),  		PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET},
938                     { SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME), RES_PAGEDESC,           CPPU_E2T(CPPUTYPE_OUSTRING),         PropertyAttribute::MAYBEVOID, 0xff},
939 					{ SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), FN_TABLE_RELATIVE_WIDTH,CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE, 0xff	},
940 					{ SW_PROP_NMID(UNO_NAME_REPEAT_HEADLINE), FN_TABLE_HEADLINE_REPEAT,CPPU_E2T(CPPUTYPE_BOOLEAN), 		PROPERTY_NONE, 0xff},
941                     { SW_PROP_NMID(UNO_NAME_HEADER_ROW_COUNT), FN_TABLE_HEADLINE_COUNT,  CPPU_E2T(CPPUTYPE_INT32),      PROPERTY_NONE, 0xff},
942 					{ SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, 			CPPU_E2T(CPPUTYPE_SHADOWFMT), 	PROPERTY_NONE, 0},
943 					{ SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
944 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
945 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 	CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
946 					{ SW_PROP_NMID(UNO_NAME_WIDTH), FN_TABLE_WIDTH,   		CPPU_E2T(CPPUTYPE_INT32)  ,  		PROPERTY_NONE, 0xff},
947 					{ SW_PROP_NMID(UNO_NAME_IS_WIDTH_RELATIVE), FN_TABLE_IS_RELATIVE_WIDTH,   		CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE, 0xff},
948 					{ SW_PROP_NMID(UNO_NAME_CHART_ROW_AS_LABEL), FN_UNO_RANGE_ROW_LABEL,			CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE, 	0},
949 					{ SW_PROP_NMID(UNO_NAME_CHART_COLUMN_AS_LABEL), FN_UNO_RANGE_COL_LABEL,			CPPU_E2T(CPPUTYPE_BOOLEAN)  ,  		PROPERTY_NONE,     0},
950 					{ SW_PROP_NMID(UNO_NAME_TABLE_BORDER), FN_UNO_TABLE_BORDER,    		CPPU_E2T(CPPUTYPE_TABLEBORDER),	PropertyAttribute::MAYBEVOID, CONVERT_TWIPS },
951                     { SW_PROP_NMID(UNO_NAME_TABLE_BORDER_DISTANCES), FN_UNO_TABLE_BORDER_DISTANCES,         CPPU_E2T(CPPUTYPE_TABLEBORDERDISTANCES), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS },
952                     { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS), FN_UNO_TABLE_COLUMN_SEPARATORS,   CPPU_E2T(CPPUTYPE_TBLCOLSEP),   PropertyAttribute::MAYBEVOID, 0 },
953 					{ SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_RELATIVE_SUM), FN_UNO_TABLE_COLUMN_RELATIVE_SUM,		CPPU_E2T(CPPUTYPE_INT16),		PropertyAttribute::READONLY, 0 },
954 					COMMON_TEXT_CONTENT_PROPERTIES
955 					{ SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, 	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
956 					{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
957 					{ SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION,	CPPU_E2T(CPPUTYPE_REFTEXTSECTION),	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
958                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
959                     { SW_PROP_NMID(UNO_NAME_TABLE_NAME),   FN_UNO_TABLE_NAME,   CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0 },
960                      { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_OUSTRING),         PROPERTY_NONE, 0},
961                     // --> collapsing borders DVO, FME 2005-05-27 #i29550#
962                     { SW_PROP_NMID(UNO_NAME_COLLAPSING_BORDERS), RES_COLLAPSING_BORDERS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
963                     // <-- collapsing
964                     _REDLINE_NODE_PROPERTIES
965                     {0,0,0,0,0,0}
966 				};
967 
968                 aMapEntriesArr[nPropertyId] = aTablePropertyMap_Impl;
969 			}
970 			break;
971 			case PROPERTY_MAP_TABLE_CELL :
972 			{
973                 static SfxItemPropertyMapEntry aCellMap_Impl[] =
974 				{
975 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, 	CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,	MID_BACK_COLOR		 },
976 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
977 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
978 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
979                     { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND,  CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE , MID_GRAPHIC_TRANSPARENT      },
980 					{ SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), RES_BOXATR_FORMAT, 	CPPU_E2T(CPPUTYPE_INT32),			PropertyAttribute::MAYBEVOID ,0		 		},
981 					{ SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),	0, LEFT_BORDER  |CONVERT_TWIPS },
982 					{ SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),	0, RIGHT_BORDER |CONVERT_TWIPS },
983 					{ SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),	0, TOP_BORDER   |CONVERT_TWIPS },
984 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),	0, BOTTOM_BORDER|CONVERT_TWIPS },
985 					{ SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,    CPPU_E2T(CPPUTYPE_INT32),	0, BORDER_DISTANCE|CONVERT_TWIPS },
986 					{ SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
987 					{ SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
988 					{ SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
989 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,    			CPPU_E2T(CPPUTYPE_INT32),	0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
990 					{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
991 					{ SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION,	CPPU_E2T(CPPUTYPE_REFTEXTSECTION),	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
992                     { SW_PROP_NMID(UNO_NAME_IS_PROTECTED), RES_PROTECT,            CPPU_E2T(CPPUTYPE_BOOLEAN), 0, MID_PROTECT_CONTENT},
993                     { SW_PROP_NMID(UNO_NAME_CELL_NAME), FN_UNO_CELL_NAME,            CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY,0},
994 					{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE ,MID_VERTORIENT_ORIENT	},
995                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
996                     { SW_PROP_NMID(UNO_NAME_ROW_SPAN),     FN_UNO_CELL_ROW_SPAN, CPPU_E2T(CPPUTYPE_INT32),  0, 0 },
997                     _REDLINE_NODE_PROPERTIES
998                     {0,0,0,0,0,0}
999 				};
1000                 aMapEntriesArr[nPropertyId] = aCellMap_Impl;
1001 			}
1002 			break;
1003 			case PROPERTY_MAP_TABLE_RANGE:
1004 			{
1005                 static SfxItemPropertyMapEntry aRangePropertyMap_Impl[] =
1006 				{
1007                     COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01
1008                     TABSTOPS_MAP_ENTRY
1009                     { SW_PROP_NMID(UNO_NAME_BACK_COLOR), FN_UNO_TABLE_CELL_BACKGROUND,  CPPU_E2T(CPPUTYPE_INT32),   PropertyAttribute::MAYBEVOID|PropertyAttribute::MAYBEVOID ,MID_BACK_COLOR       },
1010                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_URL    },
1011                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_FILTER    },
1012                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), FN_UNO_TABLE_CELL_BACKGROUND,   CPPU_E2T(CPPUTYPE_GRAPHICLOC), PropertyAttribute::MAYBEVOID|PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_POSITION},
1013                     { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), FN_UNO_TABLE_CELL_BACKGROUND,    CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_TRANSPARENT      },
1014                     { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), RES_BOXATR_FORMAT,         CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID ,0             },
1015                     // commented properties already found in
1016                     // COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01
1017 //                    { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),    0, LEFT_BORDER  |CONVERT_TWIPS },
1018 //                    { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),   0, RIGHT_BORDER |CONVERT_TWIPS },
1019 //                    { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER   |CONVERT_TWIPS },
1020 //                    { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),  0, BOTTOM_BORDER|CONVERT_TWIPS },
1021 //                    { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,    CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
1022 //                    { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,             CPPU_E2T(CPPUTYPE_INT32),   0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
1023 //                    { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),   0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
1024 //                    { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,              CPPU_E2T(CPPUTYPE_INT32),   0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
1025 //                    { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,               CPPU_E2T(CPPUTYPE_INT32),   0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
1026                     { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT,      CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE ,MID_VERTORIENT_ORIENT    },
1027                     { SW_PROP_NMID(UNO_NAME_CHART_ROW_AS_LABEL), FN_UNO_RANGE_ROW_LABEL,    CPPU_E2T(CPPUTYPE_BOOLEAN),         PropertyAttribute::MAYBEVOID,  0},
1028                     { SW_PROP_NMID(UNO_NAME_CHART_COLUMN_AS_LABEL), FN_UNO_RANGE_COL_LABEL, CPPU_E2T(CPPUTYPE_BOOLEAN)  ,       PropertyAttribute::MAYBEVOID,     0},
1029 
1030                     {0,0,0,0,0,0}
1031 				};
1032                 aMapEntriesArr[nPropertyId] = aRangePropertyMap_Impl;
1033 			}
1034 			break;
1035 			case PROPERTY_MAP_SECTION:
1036 			{
1037                 static SfxItemPropertyMapEntry aSectionPropertyMap_Impl[] =
1038 				{
1039 					{ SW_PROP_NMID(UNO_NAME_CONDITION), WID_SECT_CONDITION, CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1040 					{ SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE), WID_SECT_DDE_TYPE, CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1041 					{ SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE), WID_SECT_DDE_FILE, CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1042 					{ SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT), WID_SECT_DDE_ELEMENT, CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1043 					{ SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE), WID_SECT_DDE_AUTOUPDATE, CPPU_E2T(CPPUTYPE_BOOLEAN),				PROPERTY_NONE,	0},
1044 					{ SW_PROP_NMID(UNO_NAME_FILE_LINK), WID_SECT_LINK     , CPPU_E2T(CPPUTYPE_SECTFILELNK), 	PROPERTY_NONE,     0},
1045 					{ SW_PROP_NMID(UNO_NAME_IS_VISIBLE), WID_SECT_VISIBLE   , CPPU_E2T(CPPUTYPE_BOOLEAN),  			PROPERTY_NONE,     0},
1046 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_SECT_PROTECTED, CPPU_E2T(CPPUTYPE_BOOLEAN),  			PROPERTY_NONE,     0},
1047                     // --> FME 2004-06-22 #114856# edit in readonly sections
1048                     { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY), WID_SECT_EDIT_IN_READONLY,    CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
1049                     // <--
1050                     { SW_PROP_NMID(UNO_NAME_LINK_REGION), WID_SECT_REGION   , CPPU_E2T(CPPUTYPE_OUSTRING)  ,        PROPERTY_NONE,     0},
1051 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1052 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1053 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1054 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1055 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1056 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1057 					{ SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, 	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
1058 					{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
1059 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_COLLECT_AT_TEXT_END), RES_FTN_AT_TXTEND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),		           PROPERTY_NONE ,MID_COLLECT					},
1060 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_RESTART_NUMBERING), RES_FTN_AT_TXTEND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),		           PROPERTY_NONE , MID_RESTART_NUM },
1061 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_RESTART_NUMBERING_AT), RES_FTN_AT_TXTEND,		CPPU_E2T(CPPUTYPE_INT16),				PROPERTY_NONE , MID_NUM_START_AT},
1062 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_OWN_NUMBERING), RES_FTN_AT_TXTEND, 	CPPU_E2T(CPPUTYPE_BOOLEAN),													PROPERTY_NONE ,  MID_OWN_NUM     },
1063 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_TYPE), RES_FTN_AT_TXTEND,		CPPU_E2T(CPPUTYPE_INT16),				PROPERTY_NONE , MID_NUM_TYPE    },
1064 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_PREFIX), RES_FTN_AT_TXTEND, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,      MID_PREFIX      },
1065 					{ SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_SUFFIX), RES_FTN_AT_TXTEND, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,      MID_SUFFIX      },
1066 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_COLLECT_AT_TEXT_END), RES_END_AT_TXTEND,        CPPU_E2T(CPPUTYPE_BOOLEAN),		           PROPERTY_NONE , MID_COLLECT						},
1067 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_RESTART_NUMBERING), RES_END_AT_TXTEND,        CPPU_E2T(CPPUTYPE_BOOLEAN),		           PROPERTY_NONE , MID_RESTART_NUM  },
1068 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_RESTART_NUMBERING_AT), RES_END_AT_TXTEND,     CPPU_E2T(CPPUTYPE_INT16),				PROPERTY_NONE ,  MID_NUM_START_AT },
1069 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_OWN_NUMBERING), RES_END_AT_TXTEND,     CPPU_E2T(CPPUTYPE_BOOLEAN),													PROPERTY_NONE ,  MID_OWN_NUM      },
1070 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_TYPE), RES_END_AT_TXTEND,       CPPU_E2T(CPPUTYPE_INT16),				PROPERTY_NONE ,MID_NUM_TYPE     },
1071 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_PREFIX), RES_END_AT_TXTEND,     CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,   MID_PREFIX       },
1072 					{ SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_SUFFIX), RES_END_AT_TXTEND,     CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE, 	 MID_SUFFIX       },
1073 					{ SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), WID_SECT_DOCUMENT_INDEX, CPPU_E2T(CPPUTYPE_REFDOCINDEX), PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID, 0 },
1074 					{ SW_PROP_NMID(UNO_NAME_IS_GLOBAL_DOCUMENT_SECTION), WID_SECT_IS_GLOBAL_DOC_SECTION, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0 },
1075                     { SW_PROP_NMID(UNO_NAME_PROTECTION_KEY), WID_SECT_PASSWORD,      CPPU_E2T(CPPUTYPE_SEQINT8), PROPERTY_NONE, 0 },
1076                     { SW_PROP_NMID(UNO_NAME_DONT_BALANCE_TEXT_COLUMNS), RES_COLUMNBALANCE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
1077 					COMMON_TEXT_CONTENT_PROPERTIES
1078 					_REDLINE_NODE_PROPERTIES
1079 					{ SW_PROP_NMID(UNO_NAME_IS_CURRENTLY_VISIBLE), WID_SECT_CURRENTLY_VISIBLE, CPPU_E2T(CPPUTYPE_BOOLEAN),  		PROPERTY_NONE,     0},
1080                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
1081                     /* -> #109700# */
1082                     { SW_PROP_NMID(UNO_NAME_SECT_LEFT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), 			PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS},                                   \
1083                     { SW_PROP_NMID(UNO_NAME_SECT_RIGHT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), 			PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS},                                  \
1084                     /* <- #1097001# */
1085                     {0,0,0,0,0,0}
1086 				};
1087                 aMapEntriesArr[nPropertyId] = aSectionPropertyMap_Impl;
1088 			}
1089 			break;
1090 			case PROPERTY_MAP_TEXT_SEARCH:
1091 			{
1092                 static SfxItemPropertyMapEntry aSearchPropertyMap_Impl[] =
1093 				{
1094 					{ SW_PROP_NMID(UNO_NAME_SEARCH_ALL), WID_SEARCH_ALL, 		CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1095 					{ SW_PROP_NMID(UNO_NAME_SEARCH_BACKWARDS), WID_BACKWARDS, 			CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1096 					{ SW_PROP_NMID(UNO_NAME_SEARCH_CASE_SENSITIVE), WID_CASE_SENSITIVE, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1097 				//	{ SW_PROP_NMID(UNO_NAME_SEARCH_IN_SELECTION), WID_IN_SELECTION, 		CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1098 					{ SW_PROP_NMID(UNO_NAME_SEARCH_REGULAR_EXPRESSION), WID_REGULAR_EXPRESSION, CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1099 					{ SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY), WID_SIMILARITY, 		CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1100 					{ SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_ADD), WID_SIMILARITY_ADD, 	CPPU_E2T(CPPUTYPE_INT16)  , 	PROPERTY_NONE,     0},
1101 					{ SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_EXCHANGE), WID_SIMILARITY_EXCHANGE,CPPU_E2T(CPPUTYPE_INT16)  , 	PROPERTY_NONE,     0},
1102 					{ SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_RELAX), WID_SIMILARITY_RELAX, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1103 					{ SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_REMOVE), WID_SIMILARITY_REMOVE, 	CPPU_E2T(CPPUTYPE_INT16)  , 	PROPERTY_NONE,     0},
1104 					{ SW_PROP_NMID(UNO_NAME_SEARCH_STYLES), WID_STYLES, 			CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1105 					{ SW_PROP_NMID(UNO_NAME_SEARCH_WORDS), WID_WORDS, 				CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1106                     {0,0,0,0,0,0}
1107 				};
1108                 aMapEntriesArr[nPropertyId] = aSearchPropertyMap_Impl;
1109 			}
1110 			break;
1111 			case PROPERTY_MAP_TEXT_FRAME:
1112 			{
1113                 static SfxItemPropertyMapEntry aFramePropertyMap_Impl[] =
1114 				{
1115 					COMMON_FRAME_PROPERTIES
1116                     _REDLINE_NODE_PROPERTIES
1117                     { SW_PROP_NMID(UNO_NAME_CHAIN_NEXT_NAME), RES_CHAIN,                CPPU_E2T(CPPUTYPE_OUSTRING),            PropertyAttribute::MAYBEVOID ,MID_CHAIN_NEXTNAME},
1118 					{ SW_PROP_NMID(UNO_NAME_CHAIN_PREV_NAME), RES_CHAIN,				CPPU_E2T(CPPUTYPE_OUSTRING),			PropertyAttribute::MAYBEVOID ,MID_CHAIN_PREVNAME},
1119 				/*not impl*/	{ SW_PROP_NMID(UNO_NAME_CLIENT_MAP), RES_URL, 				CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_URL_CLIENTMAP		 },
1120 					{ SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY), RES_EDIT_IN_READONLY,	CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE, 0},
1121 				//	{ SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, 		&, 								PROPERTY_NONE, MID_GRAPHIC
1122 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1123 					//next elements are part of the service description
1124 					{ SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_ABSOLUTE),			RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT32),  		PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS		 	},
1125 					{ SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_PERCENT),				RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT8),  		PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT	},
1126 					{ SW_PROP_NMID(UNO_NAME_FRAME_ISAUTOMATIC_HEIGHT),         RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_BOOLEAN),  		PROPERTY_NONE, MID_FRMSIZE_IS_AUTO_HEIGHT	},
1127 					{ SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_ABSOLUTE), 			RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT32),  		PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS		 	},
1128 					{ SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_PERCENT), 				RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT8),  		PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH	},
1129 					{ SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE,   MID_FRMSIZE_SIZE_TYPE	},
1130 					{ SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE,   MID_FRMSIZE_WIDTH_TYPE },
1131                     { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
1132                     {0,0,0,0,0,0}
1133 				};
1134                 aMapEntriesArr[nPropertyId] = aFramePropertyMap_Impl;
1135 			}
1136 			break;
1137 			case PROPERTY_MAP_TEXT_GRAPHIC:
1138 			{
1139                 static SfxItemPropertyMapEntry aGraphicPropertyMap_Impl[] =
1140 				{
1141 					COMMON_FRAME_PROPERTIES
1142 					{ SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_SURROUND_CONTOUR		    },
1143 					{ SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE	},
1144 					{ SW_PROP_NMID(UNO_NAME_GRAPHIC_CROP), RES_GRFATR_CROPGRF,     CPPU_E2T(CPPUTYPE_GRFCROP), 	PROPERTY_NONE, CONVERT_TWIPS },
1145 					{ SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_EVEN_PAGES), RES_GRFATR_MIRRORGRF,	CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE,		MID_MIRROR_HORZ_EVEN_PAGES			  },
1146 					{ SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_ODD_PAGES), RES_GRFATR_MIRRORGRF,	CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE,		MID_MIRROR_HORZ_ODD_PAGES				  },
1147 					{ SW_PROP_NMID(UNO_NAME_VERT_MIRRORED), RES_GRFATR_MIRRORGRF,   CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE,     MID_MIRROR_VERT			  },
1148                     { SW_PROP_NMID(UNO_NAME_GRAPHIC_URL), FN_UNO_GRAPHIC_U_R_L, CPPU_E2T(CPPUTYPE_OUSTRING), 0, 0 },
1149                     { SW_PROP_NMID(UNO_NAME_REPLACEMENT_GRAPHIC_URL), FN_UNO_REPLACEMENT_GRAPHIC_U_R_L, CPPU_E2T(CPPUTYPE_OUSTRING), 0, 0 },
1150                     { SW_PROP_NMID(UNO_NAME_GRAPHIC_FILTER), FN_UNO_GRAPHIC_FILTER,      CPPU_E2T(CPPUTYPE_OUSTRING), 0, 0 },
1151                     { SW_PROP_NMID(UNO_NAME_GRAPHIC), FN_UNO_GRAPHIC, CPPU_E2T(CPPUTYPE_REFXGRAPHIC), 0, 0 },
1152                     { SW_PROP_NMID(UNO_NAME_ACTUAL_SIZE), FN_UNO_ACTUAL_SIZE,    CPPU_E2T(CPPUTYPE_AWTSIZE),  PropertyAttribute::READONLY, CONVERT_TWIPS},
1153 //                    { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), FN_UNO_ALTERNATIVE_TEXT,CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE , 0   },
1154 					{ SW_PROP_NMID(UNO_NAME_CONTOUR_POLY_POLYGON), FN_PARAM_COUNTOUR_PP, CPPU_E2T(CPPUTYPE_PNTSEQSEQ), PropertyAttribute::MAYBEVOID, 0 },
1155 					{ SW_PROP_NMID(UNO_NAME_IS_PIXEL_CONTOUR), FN_UNO_IS_PIXEL_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
1156 					{ SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_CONTOUR), FN_UNO_IS_AUTOMATIC_CONTOUR , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
1157 					{ SW_PROP_NMID(UNO_NAME_GRAPHIC_ROTATION), RES_GRFATR_ROTATION, 	 CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1158 					{ SW_PROP_NMID(UNO_NAME_ADJUST_LUMINANCE), RES_GRFATR_LUMINANCE, 	 CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1159 					{ SW_PROP_NMID(UNO_NAME_ADJUST_CONTRAST), RES_GRFATR_CONTRAST, 	 CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1160 					{ SW_PROP_NMID(UNO_NAME_ADJUST_RED), RES_GRFATR_CHANNELR, 	 CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1161 					{ SW_PROP_NMID(UNO_NAME_ADJUST_GREEN), RES_GRFATR_CHANNELG, 	 CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1162 					{ SW_PROP_NMID(UNO_NAME_ADJUST_BLUE), RES_GRFATR_CHANNELB, 	 CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1163 					{ SW_PROP_NMID(UNO_NAME_GAMMA), RES_GRFATR_GAMMA,	 	 CPPU_E2T(CPPUTYPE_DOUBLE),		0,	 0},
1164 					{ SW_PROP_NMID(UNO_NAME_GRAPHIC_IS_INVERTED), RES_GRFATR_INVERT,	 	 CPPU_E2T(CPPUTYPE_BOOLEAN),	0,	 0},
1165 					{ SW_PROP_NMID(UNO_NAME_TRANSPARENCY), RES_GRFATR_TRANSPARENCY, CPPU_E2T(CPPUTYPE_INT16),	0,	 0},
1166 					{ SW_PROP_NMID(UNO_NAME_GRAPHIC_COLOR_MODE), RES_GRFATR_DRAWMODE,	 CPPU_E2T(CPPUTYPE_COLORMODE),		0,	 0},
1167                     {0,0,0,0,0,0}
1168 				};
1169                 aMapEntriesArr[nPropertyId] = aGraphicPropertyMap_Impl;
1170 			}
1171 			break;
1172 			case PROPERTY_MAP_EMBEDDED_OBJECT:
1173 			{
1174                 static SfxItemPropertyMapEntry aEmbeddedPropertyMap_Impl[] =
1175 				{
1176 					COMMON_FRAME_PROPERTIES
1177 					{ SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUR },
1178 					{ SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE},
1179 					{ SW_PROP_NMID(UNO_NAME_CONTOUR_POLY_POLYGON), FN_PARAM_COUNTOUR_PP, CPPU_E2T(CPPUTYPE_PNTSEQSEQ), PropertyAttribute::MAYBEVOID, 0 },
1180 					{ SW_PROP_NMID(UNO_NAME_IS_PIXEL_CONTOUR), FN_UNO_IS_PIXEL_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
1181 					{ SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_CONTOUR), FN_UNO_IS_AUTOMATIC_CONTOUR , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
1182                     { SW_PROP_NMID(UNO_NAME_CLSID),                FN_UNO_CLSID, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0 },
1183                     { SW_PROP_NMID(UNO_NAME_STREAM_NAME),           FN_UNO_STREAM_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0 },
1184                     { SW_PROP_NMID(UNO_NAME_MODEL), FN_UNO_MODEL, CPPU_E2T(CPPUTYPE_REFMODEL), PropertyAttribute::READONLY|PropertyAttribute::MAYBEVOID, 0},
1185                     { SW_PROP_NMID(UNO_NAME_GRAPHIC_URL), FN_UNO_REPLACEMENT_GRAPHIC_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0 },
1186                     { SW_PROP_NMID(UNO_NAME_GRAPHIC), FN_UNO_REPLACEMENT_GRAPHIC, CPPU_E2T(CPPUTYPE_REFXGRAPHIC), PropertyAttribute::MAYBEVOID, 0 },
1187                     { SW_PROP_NMID(UNO_NAME_COMPONENT),FN_UNO_COMPONENT, CPPU_E2T(CPPUTYPE_REFCOMPONENT), PropertyAttribute::READONLY, 0},
1188                     { SW_PROP_NMID(UNO_NAME_EMBEDDED_OBJECT),FN_EMBEDDED_OBJECT, CPPU_E2T(CPPUTPYE_REFEMBEDDEDOBJECT), PropertyAttribute::READONLY, 0},
1189 //                    { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), FN_UNO_ALTERNATIVE_TEXT,CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE , 0   },
1190                     {0,0,0,0,0,0}
1191 				};
1192                 aMapEntriesArr[nPropertyId] = aEmbeddedPropertyMap_Impl;
1193 			}
1194 			break;
1195 			case PROPERTY_MAP_TEXT_SHAPE:
1196 			{
1197                 static SfxItemPropertyMapEntry aShapeMap_Impl[] =
1198 				{
1199 					{ SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, 			CPPU_E2T(CPPUTYPE_INT16), 			PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_PAGENUM		},
1200 					{ SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, 			CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), 			PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORTYPE},
1201                     { SW_PROP_NMID(UNO_NAME_ANCHOR_FRAME), RES_ANCHOR,             CPPU_E2T(CPPUTYPE_REFTEXTFRAME),    PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORFRAME},
1202                     { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT,        CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_ORIENT },
1203 					{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_POSITION|CONVERT_TWIPS	},
1204 					{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_RELATION	},
1205 					{ SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS},
1206 					{ SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS},
1207                     { SW_PROP_NMID(UNO_NAME_SURROUND), RES_SURROUND,          CPPU_E2T(CPPUTYPE_WRAPTXTMODE),    PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_SURROUNDTYPE },
1208 					{ SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_WRAPTXTMODE), 			PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE	},
1209 					{ SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_ANCHORONLY		},
1210 					{ SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_SURROUND_CONTOUR		    },
1211 					{ SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, 			CPPU_E2T(CPPUTYPE_BOOLEAN), 			PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE	},
1212 					{ SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
1213 					{ SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, 			CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
1214 					{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_ORIENT	},
1215 					{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_POSITION|CONVERT_TWIPS	},
1216 					{ SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT,		CPPU_E2T(CPPUTYPE_INT16),			PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_RELATION	},
1217 					{ SW_PROP_NMID(UNO_NAME_TEXT_RANGE), FN_TEXT_RANGE,			CPPU_E2T(CPPUTYPE_REFTXTRANGE), 		PROPERTY_NONE, 0},
1218                     { SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE,             CPPU_E2T(CPPUTYPE_BOOLEAN),            PROPERTY_NONE, 0},
1219                     { SW_PROP_NMID(UNO_NAME_ANCHOR_POSITION), FN_ANCHOR_POSITION,    CPPU_E2T(CPPUTYPE_AWTPOINT),    PropertyAttribute::READONLY, 0},
1220                     // OD 2004-05-04 #i26791#
1221                     { SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW), RES_FOLLOW_TEXT_FLOW,     CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1222                     // --> OD 2004-06-29 #i28701#
1223                     { SW_PROP_NMID(UNO_NAME_WRAP_INFLUENCE_ON_POSITION), RES_WRAP_INFLUENCE_ON_OBJPOS, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_WRAP_INFLUENCE},
1224                     // --> OD 2004-08-06 #i28749#
1225                     { SW_PROP_NMID( UNO_NAME_TRANSFORMATION_IN_HORI_L2R),
1226                                     FN_SHAPE_TRANSFORMATION_IN_HORI_L2R,
1227                                     CPPU_E2T(CPPUTYPE_TRANSFORMATIONINHORIL2R),
1228                                     PropertyAttribute::READONLY, 0},
1229                     { SW_PROP_NMID( UNO_NAME_POSITION_LAYOUT_DIR),
1230                                     FN_SHAPE_POSITION_LAYOUT_DIR,
1231                                     CPPU_E2T(CPPUTYPE_INT16),
1232                                     PROPERTY_NONE, 0},
1233                     // <--
1234                     // --> OD 2004-10-28 #i36248#
1235                     { SW_PROP_NMID( UNO_NAME_STARTPOSITION_IN_HORI_L2R),
1236                                     FN_SHAPE_STARTPOSITION_IN_HORI_L2R,
1237                                     CPPU_E2T(CPPUTYPE_AWTPOINT),
1238                                     PropertyAttribute::READONLY, 0},
1239                     { SW_PROP_NMID( UNO_NAME_ENDPOSITION_IN_HORI_L2R),
1240                                     FN_SHAPE_ENDPOSITION_IN_HORI_L2R,
1241                                     CPPU_E2T(CPPUTYPE_AWTPOINT),
1242                                     PropertyAttribute::READONLY, 0},
1243                     // <--
1244                     // --> OD 2006-11-09 #i71182#
1245                     // missing map entry for property <PageToogle>
1246                     { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT,      CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE },
1247                     // <--
1248                     {0,0,0,0,0,0}
1249 				};
1250                 aMapEntriesArr[nPropertyId] = aShapeMap_Impl;
1251 			}
1252 			break;
1253 			case PROPERTY_MAP_INDEX_MARK:
1254 			{
1255                 static SfxItemPropertyMapEntry aIdxMarkMap_Impl[] =
1256 				{
1257 					{ SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, 		CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1258 					{ SW_PROP_NMID(UNO_NAME_PRIMARY_KEY), WID_PRIMARY_KEY,	CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1259 					{ SW_PROP_NMID(UNO_NAME_SECONDARY_KEY), WID_SECONDARY_KEY,	CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1260                     { SW_PROP_NMID(UNO_NAME_TEXT_READING), WID_TEXT_READING, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,     0},
1261                     { SW_PROP_NMID(UNO_NAME_PRIMARY_KEY_READING), WID_PRIMARY_KEY_READING, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,     0},
1262                     { SW_PROP_NMID(UNO_NAME_SECONDARY_KEY_READING), WID_SECONDARY_KEY_READING, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,     0},
1263 					{ SW_PROP_NMID(UNO_NAME_IS_MAIN_ENTRY), WID_MAIN_ENTRY,		CPPU_E2T(CPPUTYPE_BOOLEAN)  , 		PROPERTY_NONE,     0},
1264 					COMMON_TEXT_CONTENT_PROPERTIES
1265                     {0,0,0,0,0,0}
1266 				};
1267                 aMapEntriesArr[nPropertyId] = aIdxMarkMap_Impl;
1268 			}
1269 			break;
1270 			case PROPERTY_MAP_CNTIDX_MARK:
1271 			{
1272                 static SfxItemPropertyMapEntry aCntntMarkMap_Impl[] =
1273 				{
1274 					{ SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, 		CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1275 					{ SW_PROP_NMID(UNO_NAME_LEVEL), WID_LEVEL        ,	CPPU_E2T(CPPUTYPE_INT16)  , 		PROPERTY_NONE,     0},
1276 					COMMON_TEXT_CONTENT_PROPERTIES
1277                     {0,0,0,0,0,0}
1278 				};
1279                 aMapEntriesArr[nPropertyId] = aCntntMarkMap_Impl;
1280 			}
1281 			break;
1282 			case PROPERTY_MAP_USER_MARK:
1283 			{
1284                 static SfxItemPropertyMapEntry aUserMarkMap_Impl[] =
1285 				{
1286 					{ SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, 		CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1287 					{ SW_PROP_NMID(UNO_NAME_LEVEL        ),   WID_LEVEL        ,	CPPU_E2T(CPPUTYPE_INT16)  , 		PROPERTY_NONE,     0},
1288 					{ SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME), WID_USER_IDX_NAME, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 		PROPERTY_NONE,     0},
1289 					COMMON_TEXT_CONTENT_PROPERTIES
1290                     {0,0,0,0,0,0}
1291 				};
1292                 aMapEntriesArr[nPropertyId] = aUserMarkMap_Impl;
1293 			}
1294 			break;
1295 			case PROPERTY_MAP_INDEX_IDX:
1296 			{
1297                 static SfxItemPropertyMapEntry aTOXIndexMap_Impl[] =
1298 				{
1299 					_BASE_INDEX_PROPERTIES_
1300 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1301 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1302 					{ SW_PROP_NMID(UNO_NAME_USE_ALPHABETICAL_SEPARATORS), WID_USE_ALPHABETICAL_SEPARATORS         ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1303 					{ SW_PROP_NMID(UNO_NAME_USE_KEY_AS_ENTRY), WID_USE_KEY_AS_ENTRY                    ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1304 					{ SW_PROP_NMID(UNO_NAME_USE_COMBINED_ENTRIES), WID_USE_COMBINED_ENTRIES                ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1305 					{ SW_PROP_NMID(UNO_NAME_IS_CASE_SENSITIVE), WID_IS_CASE_SENSITIVE                   ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1306 					{ SW_PROP_NMID(UNO_NAME_USE_P_P), WID_USE_P_P                             ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1307 					{ SW_PROP_NMID(UNO_NAME_USE_DASH), WID_USE_DASH                            ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1308 					{ SW_PROP_NMID(UNO_NAME_USE_UPPER_CASE), WID_USE_UPPER_CASE                      ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1309 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,	0},
1310 				//	{ SW_PROP_NMID(UNO_NAME_???                               ),   WID_???                                 ,  &_getReflection  , PROPERTY_NONE,     0},
1311 					{ SW_PROP_NMID(UNO_NAME_MAIN_ENTRY_CHARACTER_STYLE_NAME), WID_MAIN_ENTRY_CHARACTER_STYLE_NAME     ,  CPPU_E2T(CPPUTYPE_OUSTRING)  , PROPERTY_NONE,     0},
1312 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1313 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1314 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1315 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1316 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1317 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1318 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 				WID_PARA_HEAD, 			CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1319 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLESEPARATOR), 			WID_PARA_SEP, 			CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1320 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 				WID_PARA_LEV1, 			CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1321 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), 				WID_PARA_LEV2, 			CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1322 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), 				WID_PARA_LEV3, 			CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1323 					{ SW_PROP_NMID(UNO_NAME_IS_COMMA_SEPARATED), WID_IS_COMMA_SEPARATED, CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,0		 },
1324 					{ SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK),			PropertyAttribute::READONLY ,0		 },
1325 					{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1326                     { SW_PROP_NMID(UNO_NAME_LOCALE),            WID_IDX_LOCALE,         CPPU_E2T(CPPUTYPE_LOCALE), PROPERTY_NONE,     0},\
1327                     { SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM),    WID_IDX_SORT_ALGORITHM,  CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,     0},\
1328                     {0,0,0,0,0,0}
1329 				};
1330                 aMapEntriesArr[nPropertyId] = aTOXIndexMap_Impl;
1331 			}
1332 			break;
1333 			case PROPERTY_MAP_INDEX_CNTNT:
1334 			{
1335                 static SfxItemPropertyMapEntry aTOXContentMap_Impl[] =
1336 				{
1337 					_BASE_INDEX_PROPERTIES_
1338 					{ SW_PROP_NMID(UNO_NAME_LEVEL), WID_LEVEL                               ,  CPPU_E2T(CPPUTYPE_INT16)  , PROPERTY_NONE,     0},
1339 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_MARKS), WID_CREATE_FROM_MARKS                   ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1340 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_OUTLINE), WID_CREATE_FROM_OUTLINE                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1341 				//	{ SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES               ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,     0},
1342 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1343 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1344 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,     0},
1345 					{ SW_PROP_NMID(UNO_NAME_LEVEL_PARAGRAPH_STYLES), WID_LEVEL_PARAGRAPH_STYLES              ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PropertyAttribute::READONLY,     0},
1346 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES), WID_CREATE_FROM_PARAGRAPH_STYLES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1347 				//	{ SW_PROP_NMID(UNO_NAME_RECALC_TAB_STOPS), WID_RECALC_TAB_STOPS                    ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1348 				//	{ SW_PROP_NMID(UNO_NAME_???                               ), WID_???                                 ,  &_getReflection  , PROPERTY_NONE,     0},
1349 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1350 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1351 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1352 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1353 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1354 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1355 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 	WID_PARA_HEAD, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1356 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 	WID_PARA_LEV1, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1357 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), 	WID_PARA_LEV2, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1358 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), 	WID_PARA_LEV3, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1359 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4), 	WID_PARA_LEV4, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1360 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5), 	WID_PARA_LEV5, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1361 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6), 	WID_PARA_LEV6, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1362 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7), 	WID_PARA_LEV7, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1363 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8), 	WID_PARA_LEV8, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1364 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9), 	WID_PARA_LEV9, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1365 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10), 	WID_PARA_LEV10, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1366 					{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1367 					{ SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK),			PropertyAttribute::READONLY ,0		 },
1368                     {0,0,0,0,0,0}
1369 				};
1370                 aMapEntriesArr[nPropertyId] = aTOXContentMap_Impl;
1371 			}
1372 			break;
1373 			case PROPERTY_MAP_INDEX_USER:
1374 			{
1375                 static SfxItemPropertyMapEntry aTOXUserMap_Impl[] =
1376 				{
1377 					_BASE_INDEX_PROPERTIES_
1378 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_MARKS), WID_CREATE_FROM_MARKS                   ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1379 				//	{ SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES               ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,0},
1380 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1381 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1382 					{ SW_PROP_NMID(UNO_NAME_USE_LEVEL_FROM_SOURCE), WID_USE_LEVEL_FROM_SOURCE               ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1383 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,0},
1384 					{ SW_PROP_NMID(UNO_NAME_LEVEL_PARAGRAPH_STYLES), WID_LEVEL_PARAGRAPH_STYLES              ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PropertyAttribute::READONLY,0},
1385 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES), WID_CREATE_FROM_PARAGRAPH_STYLES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1386 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_TABLES), WID_CREATE_FROM_TABLES                  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1387 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_TEXT_FRAMES), WID_CREATE_FROM_TEXT_FRAMES             ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1388 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS), WID_CREATE_FROM_GRAPHIC_OBJECTS         ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1389 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS), WID_CREATE_FROM_EMBEDDED_OBJECTS        ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1390 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1391 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1392 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1393 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1394 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1395 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1396 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 	WID_PARA_HEAD, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1397 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 	WID_PARA_LEV1, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1398 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), 	WID_PARA_LEV2, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1399 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), 	WID_PARA_LEV3, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1400 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4), 	WID_PARA_LEV4, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1401 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5), 	WID_PARA_LEV5, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1402 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6), 	WID_PARA_LEV6, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1403 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7), 	WID_PARA_LEV7, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1404 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8), 	WID_PARA_LEV8, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1405 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9), 	WID_PARA_LEV9, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1406 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10), 	WID_PARA_LEV10, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1407 					{ SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK),			PropertyAttribute::READONLY ,0		 },
1408 					{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1409                     { SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME), WID_USER_IDX_NAME,    CPPU_E2T(CPPUTYPE_OUSTRING)  ,      PROPERTY_NONE,     0},
1410                     {0,0,0,0,0,0}
1411 				};
1412                 aMapEntriesArr[nPropertyId] = aTOXUserMap_Impl;
1413 			}
1414 			break;
1415 			case PROPERTY_MAP_INDEX_TABLES:
1416 			{
1417                 static SfxItemPropertyMapEntry aTOXTablesMap_Impl[] =
1418 				{
1419 					_BASE_INDEX_PROPERTIES_
1420 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1421 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_LABELS), WID_CREATE_FROM_LABELS                  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1422 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1423 					{ SW_PROP_NMID(UNO_NAME_LABEL_CATEGORY), WID_LABEL_CATEGORY                      ,  CPPU_E2T(CPPUTYPE_OUSTRING)  , PROPERTY_NONE,     0},
1424 					{ SW_PROP_NMID(UNO_NAME_LABEL_DISPLAY_TYPE), WID_LABEL_DISPLAY_TYPE                  ,  CPPU_E2T(CPPUTYPE_INT16)  , PROPERTY_NONE,     0},
1425 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,0},
1426 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1427 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1428 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1429 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1430 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1431 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1432 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 	WID_PARA_HEAD, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1433 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 	WID_PARA_LEV1, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1434 					{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1435                     {0,0,0,0,0,0}
1436 				};
1437                 aMapEntriesArr[nPropertyId] = aTOXTablesMap_Impl;
1438 			}
1439 			break;
1440 			case PROPERTY_MAP_INDEX_OBJECTS:
1441 			{
1442                 static SfxItemPropertyMapEntry aTOXObjectsMap_Impl[] =
1443 				{
1444 					_BASE_INDEX_PROPERTIES_
1445 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1446 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1447 					{ SW_PROP_NMID(UNO_NAME_USE_ALPHABETICAL_SEPARATORS), WID_USE_ALPHABETICAL_SEPARATORS         ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1448 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,0},
1449 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_MATH), WID_CREATE_FROM_STAR_MATH               ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1450 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_CHART), WID_CREATE_FROM_STAR_CHART              ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1451 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_CALC), WID_CREATE_FROM_STAR_CALC               ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1452 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_DRAW), WID_CREATE_FROM_STAR_DRAW               ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1453 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS), WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1454 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1455 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1456 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1457 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1458 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1459 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1460 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 	WID_PARA_HEAD, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1461 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 	WID_PARA_LEV1, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1462 					{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1463                     {0,0,0,0,0,0}
1464 				};
1465                 aMapEntriesArr[nPropertyId] = aTOXObjectsMap_Impl;
1466 			}
1467 			break;
1468 			case PROPERTY_MAP_INDEX_ILLUSTRATIONS:
1469 			{
1470                 static SfxItemPropertyMapEntry aTOXIllustrationsMap_Impl[] =
1471 				{
1472 					_BASE_INDEX_PROPERTIES_
1473 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER                 ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1474 					{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_LABELS), WID_CREATE_FROM_LABELS                  ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1475 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1476 					{ SW_PROP_NMID(UNO_NAME_USE_ALPHABETICAL_SEPARATORS), WID_USE_ALPHABETICAL_SEPARATORS         ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1477 					{ SW_PROP_NMID(UNO_NAME_LABEL_CATEGORY), WID_LABEL_CATEGORY                      ,  CPPU_E2T(CPPUTYPE_OUSTRING)  , PROPERTY_NONE,     0},
1478 					{ SW_PROP_NMID(UNO_NAME_LABEL_DISPLAY_TYPE), WID_LABEL_DISPLAY_TYPE                  ,  CPPU_E2T(CPPUTYPE_INT16)  , PROPERTY_NONE,     0},
1479 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,0},
1480 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1481 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1482 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1483 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1484 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1485 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1486 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 	WID_PARA_HEAD, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1487 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 	WID_PARA_LEV1, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1488 					{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1489                     {0,0,0,0,0,0}
1490 				};
1491                 aMapEntriesArr[nPropertyId] = aTOXIllustrationsMap_Impl;
1492 			}
1493 			break;
1494 			case PROPERTY_MAP_TEXT_TABLE_ROW:
1495 			{
1496                 static SfxItemPropertyMapEntry aTableRowPropertyMap_Impl[] =
1497 				{
1498 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR		 },
1499 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1500 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1501 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1502 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1503 					{ SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS), FN_UNO_TABLE_COLUMN_SEPARATORS,	CPPU_E2T(CPPUTYPE_TBLCOLSEP),  	PropertyAttribute::MAYBEVOID, 0 },
1504 					{ SW_PROP_NMID(UNO_NAME_HEIGHT), FN_UNO_ROW_HEIGHT,		CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,CONVERT_TWIPS },
1505 					{ SW_PROP_NMID(UNO_NAME_IS_AUTO_HEIGHT), FN_UNO_ROW_AUTO_HEIGHT,	CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,	0 },
1506 					{ SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE,   MID_FRMSIZE_SIZE_TYPE	},
1507 					{ SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE,   		CPPU_E2T(CPPUTYPE_INT16)  ,  		PROPERTY_NONE,   MID_FRMSIZE_WIDTH_TYPE },
1508                     { SW_PROP_NMID(UNO_NAME_IS_SPLIT_ALLOWED), RES_ROW_SPLIT,       CPPU_E2T(CPPUTYPE_BOOLEAN)  , PropertyAttribute::MAYBEVOID, 0},
1509                 //  { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE,          CPPU_E2T(CPPUTYPE_INT32)  ,         PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS         },
1510 				//	{ SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, 			CPPU_E2T(CPPUTYPE_SHADOWFMT), 	PROPERTY_NONE, CONVERT_TWIPS},
1511                     {0,0,0,0,0,0}
1512 				};
1513 
1514                 aMapEntriesArr[nPropertyId] = (SfxItemPropertyMapEntry*)aTableRowPropertyMap_Impl;
1515 			}
1516 			break;
1517 			case PROPERTY_MAP_TEXT_TABLE_CURSOR:
1518 			{
1519 				// das PropertySet entspricht dem Range ohne Chart-Properties
1520                 static SfxItemPropertyMapEntry aTableCursorPropertyMap_Impl [] =
1521 				{
1522                     COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01
1523                     TABSTOPS_MAP_ENTRY
1524 
1525                     // attributes from PROPERTY_MAP_TABLE_CELL:
1526                     { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,    CPPU_E2T(CPPUTYPE_INT32),           PROPERTY_NONE , MID_BACK_COLOR       },
1527                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND,      CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1528                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND,       CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1529                     { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND,         CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1530                     { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), RES_BOXATR_FORMAT,  CPPU_E2T(CPPUTYPE_INT32),           PropertyAttribute::MAYBEVOID ,0             },
1531                     { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND,  CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE , MID_GRAPHIC_TRANSPARENT      },
1532                     // commented ones are already part of
1533                     // COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01:
1534 //                    { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),    0, LEFT_BORDER  |CONVERT_TWIPS },
1535 //                    { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),   0, RIGHT_BORDER |CONVERT_TWIPS },
1536 //                    { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER   |CONVERT_TWIPS },
1537 //                    { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX,    CPPU_E2T(CPPUTYPE_BORDERLINE),  0, BOTTOM_BORDER|CONVERT_TWIPS },
1538 //                    { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX,    CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
1539 //                    { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX,             CPPU_E2T(CPPUTYPE_INT32),   0, LEFT_BORDER_DISTANCE  |CONVERT_TWIPS },
1540 //                    { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX,                CPPU_E2T(CPPUTYPE_INT32),   0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
1541 //                    { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX,              CPPU_E2T(CPPUTYPE_INT32),   0, TOP_BORDER_DISTANCE   |CONVERT_TWIPS },
1542 //                    { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX,               CPPU_E2T(CPPUTYPE_INT32),   0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
1543                     { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
1544                     { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION),  PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
1545                     { SW_PROP_NMID(UNO_NAME_IS_PROTECTED), RES_PROTECT,            CPPU_E2T(CPPUTYPE_BOOLEAN), 0, MID_PROTECT_CONTENT},
1546                     { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT,      CPPU_E2T(CPPUTYPE_INT16),           PROPERTY_NONE ,MID_VERTORIENT_ORIENT    },
1547                     {0,0,0,0,0,0}
1548 				};
1549                 aMapEntriesArr[nPropertyId] = aTableCursorPropertyMap_Impl;
1550 			}
1551 			break;
1552 			case PROPERTY_MAP_BOOKMARK:
1553 			{
1554                 static SfxItemPropertyMapEntry aBookmarkPropertyMap_Impl [] =
1555 				{
1556 					{ SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, 	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
1557 					COMMON_TEXT_CONTENT_PROPERTIES
1558                     {0,0,0,0,0,0}
1559 				};
1560                 aMapEntriesArr[nPropertyId] = aBookmarkPropertyMap_Impl;
1561 			}
1562 			break;
1563 			case PROPERTY_MAP_PARAGRAPH_EXTENSIONS:
1564 			{
1565                 static SfxItemPropertyMapEntry aParagraphExtensionsMap_Impl[] =
1566 				{
1567                     COMMON_TEXT_CONTENT_PROPERTIES
1568                     {0,0,0,0,0,0}
1569 				};
1570 
1571                 aMapEntriesArr[nPropertyId] = aParagraphExtensionsMap_Impl;
1572 			}
1573 			break;
1574 			case PROPERTY_MAP_BIBLIOGRAPHY :
1575 			{
1576                 static SfxItemPropertyMapEntry aBibliographyMap_Impl[] =
1577 				{
1578 					_BASE_INDEX_PROPERTIES_
1579 					{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED                           ,  CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,     0},
1580 					{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL,                CPPU_E2T(CPPUTYPE_REFTEXTCOL),    PROPERTY_NONE, MID_COLUMNS},
1581 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL    },
1582 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER    },
1583 					{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_GRAPHICLOC), 			PROPERTY_NONE ,MID_GRAPHIC_POSITION},
1584 					{ SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND,			CPPU_E2T(CPPUTYPE_INT32),			PROPERTY_NONE ,MID_BACK_COLOR		 },
1585 					{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, 		CPPU_E2T(CPPUTYPE_BOOLEAN),			PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT		 },
1586 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), 	WID_PARA_HEAD, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1587 					{ SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), 	WID_PARA_LEV1, 	CPPU_E2T(CPPUTYPE_OUSTRING)  , 0,     0},
1588 					{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT                        ,  CPPU_E2T(CPPUTYPE_REFIDXREPL)  , PROPERTY_NONE,0},
1589                     { SW_PROP_NMID(UNO_NAME_LOCALE),            WID_IDX_LOCALE,         CPPU_E2T(CPPUTYPE_LOCALE), PROPERTY_NONE,     0},\
1590                     { SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM),    WID_IDX_SORT_ALGORITHM,  CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,     0},\
1591                     {0,0,0,0,0,0}
1592 				};
1593                 aMapEntriesArr[nPropertyId] = aBibliographyMap_Impl;
1594 			}
1595 			break;
1596 			case PROPERTY_MAP_TEXT_DOCUMENT:
1597 			{
1598                 static SfxItemPropertyMapEntry aDocMap_Impl[] =
1599 				{
1600                     { SW_PROP_NMID(UNO_NAME_BASIC_LIBRARIES), WID_DOC_BASIC_LIBRARIES,  CPPU_E2T(CPPUTYPE_REFLIBCONTAINER), PropertyAttribute::READONLY, 0},
1601 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
1602 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
1603 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY   },
1604 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
1605 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT,		CPPU_E2T(CPPUTYPE_INT16),					PropertyAttribute::MAYBEVOID, MID_FONT_PITCH   },
1606                     { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT,     CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
1607 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT,	CPPU_E2T(CPPUTYPE_OUSTRING), 	PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
1608 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT,	CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY   },
1609 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT,	CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
1610 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT,	CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_PITCH   },
1611 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT,	CPPU_E2T(CPPUTYPE_OUSTRING),  	PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
1612 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT,	CPPU_E2T(CPPUTYPE_OUSTRING), 	PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
1613 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT,	CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY   },
1614 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT,	CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
1615 					{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT,	CPPU_E2T(CPPUTYPE_INT16),	PropertyAttribute::MAYBEVOID, MID_FONT_PITCH   },
1616 					{ SW_PROP_NMID(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE ,   CPPU_E2T(CPPUTYPE_LOCALE), PropertyAttribute::MAYBEVOID,  MID_LANG_LOCALE },
1617 					{ SW_PROP_NMID(UNO_NAME_CHARACTER_COUNT), WID_DOC_CHAR_COUNT,			CPPU_E2T(CPPUTYPE_INT32),	PropertyAttribute::READONLY,   0},
1618                     { SW_PROP_NMID(UNO_NAME_DIALOG_LIBRARIES), WID_DOC_DIALOG_LIBRARIES,  CPPU_E2T(CPPUTYPE_REFLIBCONTAINER), PropertyAttribute::READONLY, 0},
1619 					{ SW_PROP_NMID(UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L), WID_DOC_AUTO_MARK_URL, CPPU_E2T(CPPUTYPE_OUSTRING),	PROPERTY_NONE,   0},
1620 					{ SW_PROP_NMID(UNO_NAME_PARAGRAPH_COUNT), WID_DOC_PARA_COUNT,			CPPU_E2T(CPPUTYPE_INT32),	PropertyAttribute::READONLY,   0},
1621 					{ SW_PROP_NMID(UNO_NAME_RECORD_CHANGES), WID_DOC_CHANGES_RECORD,		CPPU_E2T(CPPUTYPE_BOOLEAN),	PROPERTY_NONE,   0},
1622 					{ SW_PROP_NMID(UNO_NAME_SHOW_CHANGES), WID_DOC_CHANGES_SHOW,		CPPU_E2T(CPPUTYPE_BOOLEAN),	PROPERTY_NONE,   0},
1623 					{ SW_PROP_NMID(UNO_NAME_WORD_COUNT), WID_DOC_WORD_COUNT,			CPPU_E2T(CPPUTYPE_INT32),	PropertyAttribute::READONLY,   0},
1624 					{ SW_PROP_NMID(UNO_NAME_WORD_SEPARATOR), WID_DOC_WORD_SEPARATOR,		CPPU_E2T(CPPUTYPE_OUSTRING),	PROPERTY_NONE,   0},
1625 					{ SW_PROP_NMID(UNO_NAME_HIDE_FIELD_TIPS), WID_DOC_HIDE_TIPS, 			CPPU_E2T(CPPUTYPE_BOOLEAN),	PROPERTY_NONE,   0},
1626 					{ SW_PROP_NMID(UNO_NAME_REDLINE_DISPLAY_TYPE), WID_DOC_REDLINE_DISPLAY, 	CPPU_E2T(CPPUTYPE_INT16),	PROPERTY_NONE,   0},
1627                     { SW_PROP_NMID(UNO_NAME_REDLINE_PROTECTION_KEY), WID_DOC_CHANGES_PASSWORD,      CPPU_E2T(CPPUTYPE_SEQINT8), PROPERTY_NONE, 0 },
1628                     { SW_PROP_NMID(UNO_NAME_FORBIDDEN_CHARACTERS), WID_DOC_FORBIDDEN_CHARS,    CPPU_E2T(CPPUTYPE_REFFORBCHARS), PROPERTY_NONE,   0},
1629 					{ SW_PROP_NMID(UNO_NAME_TWO_DIGIT_YEAR), WID_DOC_TWO_DIGIT_YEAR,	CPPU_E2T(CPPUTYPE_INT16),	PROPERTY_NONE,   0},
1630 					{ SW_PROP_NMID(UNO_NAME_AUTOMATIC_CONTROL_FOCUS),		WID_DOC_AUTOMATIC_CONTROL_FOCUS,	CPPU_E2T(CPPUTYPE_BOOLEAN),	PROPERTY_NONE,   0},
1631 					{ SW_PROP_NMID(UNO_NAME_APPLY_FORM_DESIGN_MODE),		WID_DOC_APPLY_FORM_DESIGN_MODE,		CPPU_E2T(CPPUTYPE_BOOLEAN),	PROPERTY_NONE,   0},
1632                     { SW_PROP_NMID(UNO_NAME_RUNTIME_UID), WID_DOC_RUNTIME_UID,  CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
1633                     { SW_PROP_NMID(UNO_NAME_LOCK_UPDATES),        WID_DOC_LOCK_UPDATES,     CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,   0},
1634                     { SW_PROP_NMID(UNO_NAME_HAS_VALID_SIGNATURES),  WID_DOC_HAS_VALID_SIGNATURES, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY,   0},
1635 					{ SW_PROP_NMID(UNO_NAME_BUILDID), WID_DOC_BUILDID, CPPU_E2T(CPPUTYPE_OUSTRING), 0, 0},
1636                     // --> OD 2006-03-21 #b6375613#
1637                     { SW_PROP_NMID(UNO_NAME_APPLY_WORKAROUND_FOR_B6375613), WID_APPLY_WORKAROUND_FOR_B6375613, CPPU_E2T(CPPUTYPE_BOOLEAN), 0, 0},
1638                      { SW_PROP_NMID(UNO_NAME_DEFAULT_PAGE_MODE),  WID_DOC_DEFAULT_PAGE_MODE,  CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,  0},
1639                     // <--
1640                     {0,0,0,0,0,0}
1641 				};
1642                 aMapEntriesArr[nPropertyId] = aDocMap_Impl;
1643 			}
1644 			break;
1645 			case PROPERTY_MAP_LINK_TARGET:
1646 			{
1647                 static SfxItemPropertyMapEntry aLinkTargetMap_Impl[] =
1648 				{
1649 					{ SW_PROP_NMID(UNO_LINK_DISPLAY_BITMAP), 0, 	CPPU_E2T(CPPUTYPE_REFBITMAP), PropertyAttribute::READONLY, 0xff},
1650 					{ SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), 0, 	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
1651                     {0,0,0,0,0,0}
1652 				};
1653                 aMapEntriesArr[nPropertyId] = aLinkTargetMap_Impl;
1654 			}
1655 			break;
1656 			case PROPERTY_MAP_AUTO_TEXT_GROUP :
1657 			{
1658                 static SfxItemPropertyMapEntry aAutoTextGroupMap_Impl[] =
1659 				{
1660 					{ SW_PROP_NMID(UNO_NAME_FILE_PATH), WID_GROUP_PATH, 	CPPU_E2T(CPPUTYPE_OUSTRING),	PROPERTY_NONE,   PropertyAttribute::READONLY},
1661 					{ SW_PROP_NMID(UNO_NAME_TITLE), WID_GROUP_TITLE, CPPU_E2T(CPPUTYPE_OUSTRING),	PROPERTY_NONE,   0},
1662                     {0,0,0,0,0,0}
1663 				};
1664                 aMapEntriesArr[nPropertyId] = aAutoTextGroupMap_Impl;
1665 			}
1666 			break;
1667 			case PROPERTY_MAP_TEXTPORTION_EXTENSIONS:
1668 			{
1669                 static SfxItemPropertyMapEntry aTextPortionExtensionMap_Impl[] =
1670 				{
1671                     COMPLETE_TEXT_CURSOR_MAP
1672                     {SW_PROP_NMID(UNO_NAME_BOOKMARK), FN_UNO_BOOKMARK, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT),   PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
1673                     {SW_PROP_NMID(UNO_NAME_CONTROL_CHARACTER), FN_UNO_CONTROL_CHARACTER, CPPU_E2T(CPPUTYPE_INT16),                 PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, MID_HYPHEN_MIN_LEAD   },
1674                     {SW_PROP_NMID(UNO_NAME_IS_COLLAPSED), FN_UNO_IS_COLLAPSED, CPPU_E2T(CPPUTYPE_BOOLEAN),                             PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },
1675                     {SW_PROP_NMID(UNO_NAME_IS_START), FN_UNO_IS_START, CPPU_E2T(CPPUTYPE_BOOLEAN),                             PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },
1676                     //_REDLINE_PROPERTIES
1677                     {SW_PROP_NMID(UNO_NAME_TEXT_PORTION_TYPE), FN_UNO_TEXT_PORTION_TYPE, CPPU_E2T(CPPUTYPE_OUSTRING),                        PropertyAttribute::READONLY, 0},
1678                     {SW_PROP_NMID(UNO_NAME_META), FN_UNO_META, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },
1679                     {0,0,0,0,0,0}
1680 				};
1681                 aMapEntriesArr[nPropertyId] = aTextPortionExtensionMap_Impl;
1682 			}
1683 			break;
1684 			case PROPERTY_MAP_FOOTNOTE:
1685 			{
1686                 static SfxItemPropertyMapEntry aFootnoteMap_Impl[] =
1687 				{
1688 					{SW_PROP_NMID(UNO_NAME_REFERENCE_ID), 0, CPPU_E2T(CPPUTYPE_INT16),PropertyAttribute::READONLY|PropertyAttribute::MAYBEVOID,	0},
1689 					COMMON_TEXT_CONTENT_PROPERTIES
1690                     _REDLINE_NODE_PROPERTIES
1691                     {0,0,0,0,0,0}
1692 				};
1693                 aMapEntriesArr[nPropertyId] = aFootnoteMap_Impl;
1694 			}
1695 			break;
1696 			case PROPERTY_MAP_TEXT_COLUMS :
1697 			{
1698                 static SfxItemPropertyMapEntry aTextColumns_Impl[] =
1699 				{
1700                     {SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC), WID_TXTCOL_IS_AUTOMATIC, CPPU_E2T(CPPUTYPE_BOOLEAN),PropertyAttribute::READONLY, 0},
1701                     {SW_PROP_NMID(UNO_NAME_AUTOMATIC_DISTANCE), WID_TXTCOL_AUTO_DISTANCE, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
1702                     {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_WIDTH), WID_TXTCOL_LINE_WIDTH, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
1703 					{SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_COLOR), WID_TXTCOL_LINE_COLOR, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE,	0},
1704 					{SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT), WID_TXTCOL_LINE_REL_HGT, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE,	0},
1705 					{SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT), WID_TXTCOL_LINE_ALIGN, CPPU_E2T(CPPUTYPE_VERTALIGN),PROPERTY_NONE,	0},
1706 					{SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_IS_ON), WID_TXTCOL_LINE_IS_ON, CPPU_E2T(CPPUTYPE_BOOLEAN),PROPERTY_NONE,	0},
1707                     {0,0,0,0,0,0}
1708 				};
1709                 aMapEntriesArr[nPropertyId] = aTextColumns_Impl;
1710 			}
1711 			break;
1712 			case PROPERTY_MAP_REDLINE :
1713 			{
1714                 static SfxItemPropertyMapEntry aRedlineMap_Impl[] =
1715 				{
1716 					_REDLINE_PROPERTIES
1717                     _REDLINE_NODE_PROPERTIES
1718                     {SW_PROP_NMID(UNO_NAME_REDLINE_START), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE),  PropertyAttribute::READONLY,    0},
1719 					{SW_PROP_NMID(UNO_NAME_REDLINE_END), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE),	PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY,	0},
1720                     {0,0,0,0,0,0}
1721 				};
1722                 aMapEntriesArr[nPropertyId] = aRedlineMap_Impl;
1723 			}
1724             break;
1725 			case PROPERTY_MAP_TEXT_DEFAULT :
1726 			{
1727                 static SfxItemPropertyMapEntry aTextDefaultMap_Impl[] =
1728 				{
1729 					{ SW_PROP_NMID(UNO_NAME_TAB_STOP_DISTANCE), RES_PARATR_TABSTOP, 	CPPU_E2T(CPPUTYPE_INT32),	PROPERTY_NONE, MID_STD_TAB | CONVERT_TWIPS},
1730                     COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
1731                     COMMON_HYPERLINK_PROPERTIES
1732                     { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME), RES_TXTATR_CHARFMT,     CPPU_E2T(CPPUTYPE_OUSTRING),  PropertyAttribute::MAYBEVOID,     0},
1733                     { SW_PROP_NMID(UNO_NAME_IS_SPLIT_ALLOWED), RES_ROW_SPLIT,       CPPU_E2T(CPPUTYPE_BOOLEAN)  , PropertyAttribute::MAYBEVOID, 0},
1734                     // --> collapsing borders DVO, FME 2005-05-27 #i29550#
1735                     { SW_PROP_NMID(UNO_NAME_COLLAPSING_BORDERS), RES_COLLAPSING_BORDERS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1736                     // <-- collapsing
1737 
1738 			//text grid enhancement for better CJK support.  2007-04-01
1739 			//just export the default page mode property, other properties are not handled in this version
1740                     { SW_PROP_NMID(UNO_NAME_GRID_STANDARD_PAGE_MODE), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_GRID_STANDARD_MODE},
1741                     {0,0,0,0,0,0}
1742 				};
1743                 aMapEntriesArr[nPropertyId] = aTextDefaultMap_Impl;
1744                 for( SfxItemPropertyMapEntry * pMap = aTextDefaultMap_Impl;
1745 						pMap->pName; ++pMap )
1746                 {
1747                     // UNO_NAME_PAGE_DESC_NAME should keep its MAYBEVOID flag
1748                     if (!(RES_PAGEDESC == pMap->nWID && MID_PAGEDESC_PAGEDESCNAME == pMap->nMemberId))
1749                         pMap->nFlags &= ~PropertyAttribute::MAYBEVOID;
1750                 }
1751 			}
1752 			break;
1753             case PROPERTY_MAP_REDLINE_PORTION :
1754             {
1755                 static SfxItemPropertyMapEntry aRedlinePortionMap_Impl[] =
1756 				{
1757                     COMPLETE_TEXT_CURSOR_MAP
1758                     {SW_PROP_NMID(UNO_NAME_BOOKMARK), FN_UNO_BOOKMARK, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT),   PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
1759                     {SW_PROP_NMID(UNO_NAME_CONTROL_CHARACTER), FN_UNO_CONTROL_CHARACTER, CPPU_E2T(CPPUTYPE_INT16),                 PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, MID_HYPHEN_MIN_LEAD   },
1760                     {SW_PROP_NMID(UNO_NAME_IS_COLLAPSED), FN_UNO_IS_COLLAPSED, CPPU_E2T(CPPUTYPE_BOOLEAN),                             PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },
1761                     {SW_PROP_NMID(UNO_NAME_IS_START), FN_UNO_IS_START, CPPU_E2T(CPPUTYPE_BOOLEAN),                             PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0 },
1762 					_REDLINE_PROPERTIES
1763                     {SW_PROP_NMID(UNO_NAME_TEXT_PORTION_TYPE), FN_UNO_TEXT_PORTION_TYPE, CPPU_E2T(CPPUTYPE_OUSTRING),                        PropertyAttribute::READONLY, 0},
1764                     {0,0,0,0,0,0}
1765 				};
1766                 aMapEntriesArr[nPropertyId] = aRedlinePortionMap_Impl;
1767             }
1768             break;
1769             case  PROPERTY_MAP_FLDTYP_DATETIME:
1770 			{
1771                 static SfxItemPropertyMapEntry aDateTimeFieldPropMap[] =
1772 				{
1773 					{SW_PROP_NMID(UNO_NAME_ADJUST), FIELD_PROP_SUBTYPE, 	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
1774 					{SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME,  CPPU_E2T(CPPUTYPE_DATETIME), PROPERTY_NONE,	0},
1775 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),		FIELD_PROP_BOOL1,	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
1776 					{SW_PROP_NMID(UNO_NAME_IS_DATE), 	FIELD_PROP_BOOL2,	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
1777 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT,	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
1778                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
1779                     COMMON_FLDTYP_PROPERTIES
1780                     {0,0,0,0,0,0}
1781 				};
1782                 aMapEntriesArr[nPropertyId] = aDateTimeFieldPropMap;
1783 			}
1784 			break;
1785 			case  PROPERTY_MAP_FLDTYP_USER     :
1786 			{
1787                 static SfxItemPropertyMapEntry aUserFieldPropMap[] =
1788 				{
1789 					{SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2,	CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,	0},
1790 					{SW_PROP_NMID(UNO_NAME_IS_VISIBLE), 	FIELD_PROP_BOOL1,	CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,	0},
1791 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), 	FIELD_PROP_FORMAT,	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
1792                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
1793                     COMMON_FLDTYP_PROPERTIES
1794                     {0,0,0,0,0,0}
1795 				};
1796 
1797                 aMapEntriesArr[nPropertyId] = aUserFieldPropMap;
1798 			}
1799 			break;
1800 			case  PROPERTY_MAP_FLDTYP_SET_EXP  :
1801 			{
1802                 static SfxItemPropertyMapEntry aSetExpFieldPropMap     [] =
1803 				{
1804 					{SW_PROP_NMID(UNO_NAME_CONTENT),          	FIELD_PROP_PAR2, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1805 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1806 					{SW_PROP_NMID(UNO_NAME_HINT),				FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1807 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),		FIELD_PROP_FORMAT,	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
1808 					{SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), 	FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
1809 					{SW_PROP_NMID(UNO_NAME_IS_INPUT), 		FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN),	PROPERTY_NONE, 0},
1810                     // #i69733# wrong name - UNO_NAME_IS_INPUT expanded to "Input" instead of "IsInput"
1811                     {SW_PROP_NMID(UNO_NAME_INPUT),          FIELD_PROP_BOOL1,   CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
1812                     {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL3,  CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,  0},
1813 					{SW_PROP_NMID(UNO_NAME_IS_VISIBLE),       FIELD_PROP_BOOL2,   CPPU_E2T(CPPUTYPE_BOOLEAN),    PROPERTY_NONE, 0},
1814 					//TODO: UNO_NAME_VARIABLE_NAME gibt es das wirklich?
1815 					{SW_PROP_NMID(UNO_NAME_SEQUENCE_VALUE),	FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE,	0},
1816 					{SW_PROP_NMID(UNO_NAME_SUB_TYPE),		 	FIELD_PROP_SUBTYPE,	CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
1817 					{SW_PROP_NMID(UNO_NAME_VALUE),			FIELD_PROP_DOUBLE,	CPPU_E2T(CPPUTYPE_DOUBLE), 	PROPERTY_NONE,	0},
1818 					{SW_PROP_NMID(UNO_NAME_VARIABLE_NAME), 	FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PropertyAttribute::READONLY, 0},
1819                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
1820                     COMMON_FLDTYP_PROPERTIES
1821                     {0,0,0,0,0,0}
1822 				};
1823                 aMapEntriesArr[nPropertyId] = aSetExpFieldPropMap;
1824 			}
1825 			break;
1826 			case  PROPERTY_MAP_FLDTYP_GET_EXP  :
1827 			{
1828                 static SfxItemPropertyMapEntry aGetExpFieldPropMap     [] =
1829 				{
1830 					{SW_PROP_NMID(UNO_NAME_CONTENT),			FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1831 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1832 					{SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2,	CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,	0},
1833 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),	FIELD_PROP_FORMAT,	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
1834 					{SW_PROP_NMID(UNO_NAME_SUB_TYPE),		 	FIELD_PROP_SUBTYPE,	CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
1835 					{SW_PROP_NMID(UNO_NAME_VALUE),			FIELD_PROP_DOUBLE,	CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY,	0},
1836 					{SW_PROP_NMID(UNO_NAME_VARIABLE_SUBTYPE),	FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
1837                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
1838                     COMMON_FLDTYP_PROPERTIES
1839                     {0,0,0,0,0,0}
1840 				};
1841                 aMapEntriesArr[nPropertyId] = aGetExpFieldPropMap;
1842 			}
1843 			break;
1844 			case  PROPERTY_MAP_FLDTYP_FILE_NAME:
1845 			{
1846                 static SfxItemPropertyMapEntry aFileNameFieldPropMap   [] =
1847 				{
1848 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1849 					{SW_PROP_NMID(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
1850 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),	FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN),	    PROPERTY_NONE, 0},
1851                     COMMON_FLDTYP_PROPERTIES
1852                     {0,0,0,0,0,0}
1853 				};
1854                 aMapEntriesArr[nPropertyId] = aFileNameFieldPropMap;
1855 			}
1856 			break;
1857 			case  PROPERTY_MAP_FLDTYP_PAGE_NUM :
1858 			{
1859                 static SfxItemPropertyMapEntry aPageNumFieldPropMap        [] =
1860 				{
1861 					{SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), 	FIELD_PROP_FORMAT, 	CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
1862 					{SW_PROP_NMID(UNO_NAME_OFFSET), 			FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16),  PROPERTY_NONE,	0},
1863 					{SW_PROP_NMID(UNO_NAME_SUB_TYPE), 			FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_PAGENUMTYPE), PROPERTY_NONE,	0},
1864 					{SW_PROP_NMID(UNO_NAME_USERTEXT),			FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
1865                     COMMON_FLDTYP_PROPERTIES
1866                     {0,0,0,0,0,0}
1867 				};
1868                 aMapEntriesArr[nPropertyId] = aPageNumFieldPropMap;
1869 			}
1870 			break;
1871 			case  PROPERTY_MAP_FLDTYP_AUTHOR   :
1872 			{
1873                 static SfxItemPropertyMapEntry aAuthorFieldPropMap     [] =
1874 				{
1875 					{SW_PROP_NMID(UNO_NAME_CONTENT),	FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  	PROPERTY_NONE, 0},
1876 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1877 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),	FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN),	    PROPERTY_NONE, 0},
1878 					{SW_PROP_NMID(UNO_NAME_FULL_NAME),FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN),		PROPERTY_NONE, 0},
1879                     COMMON_FLDTYP_PROPERTIES
1880                     {0,0,0,0,0,0}
1881 				};
1882                 aMapEntriesArr[nPropertyId] = aAuthorFieldPropMap;
1883 			}
1884 			break;
1885 			case  PROPERTY_MAP_FLDTYP_CHAPTER  :
1886 			{
1887                 static SfxItemPropertyMapEntry aChapterFieldPropMap        [] =
1888 				{
1889 					{SW_PROP_NMID(UNO_NAME_CHAPTER_FORMAT),FIELD_PROP_USHORT1, 	CPPU_E2T(CPPUTYPE_INT16),	PROPERTY_NONE, 0},
1890 					{SW_PROP_NMID(UNO_NAME_LEVEL 		),FIELD_PROP_BYTE1, 		CPPU_E2T(CPPUTYPE_INT8),  	PROPERTY_NONE, 0},
1891                     COMMON_FLDTYP_PROPERTIES
1892                     {0,0,0,0,0,0}
1893 				};
1894                 aMapEntriesArr[nPropertyId] = aChapterFieldPropMap;
1895 			}
1896 			break;
1897 			case PROPERTY_MAP_FLDTYP_GET_REFERENCE			:
1898 			{
1899                 static SfxItemPropertyMapEntry aGetRefFieldPropMap     [] =
1900 				{
1901 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1902 					{SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_PART),FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE,	0},
1903 					{SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_SOURCE),FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE,	0},
1904 					{SW_PROP_NMID(UNO_NAME_SEQUENCE_NUMBER), 	FIELD_PROP_SHORT1, 	CPPU_E2T(CPPUTYPE_INT16),   PROPERTY_NONE, 0},
1905 					{SW_PROP_NMID(UNO_NAME_SOURCE_NAME), 		FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1906                     COMMON_FLDTYP_PROPERTIES
1907                     {0,0,0,0,0,0}
1908 				};
1909                 aMapEntriesArr[nPropertyId] = aGetRefFieldPropMap;
1910 			}
1911 			break;
1912 			case PROPERTY_MAP_FLDTYP_CONDITIONED_TEXT      :
1913 			{
1914                 static SfxItemPropertyMapEntry aConditionedTxtFieldPropMap [] =
1915 				{
1916 					{SW_PROP_NMID(UNO_NAME_CONDITION),		FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1917 					{SW_PROP_NMID(UNO_NAME_FALSE_CONTENT),	FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1918                 	{SW_PROP_NMID(UNO_NAME_IS_CONDITION_TRUE) ,  FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN),   PROPERTY_NONE, 0},
1919                 	{SW_PROP_NMID(UNO_NAME_TRUE_CONTENT) ,  FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1920                     {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1921                     COMMON_FLDTYP_PROPERTIES
1922                     {0,0,0,0,0,0}
1923 				};
1924                 aMapEntriesArr[nPropertyId] = aConditionedTxtFieldPropMap;
1925 			}
1926 			break;
1927 			case PROPERTY_MAP_FLDTYP_HIDDEN_TEXT :
1928 			{
1929                 static SfxItemPropertyMapEntry aHiddenTxtFieldPropMap  [] =
1930 				{
1931 					{SW_PROP_NMID(UNO_NAME_CONDITION),		FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1932 					{SW_PROP_NMID(UNO_NAME_CONTENT) ,		FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1933                 	{SW_PROP_NMID(UNO_NAME_IS_HIDDEN) ,     FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN),   PROPERTY_NONE, 0},
1934                     {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
1935                     COMMON_FLDTYP_PROPERTIES
1936                     {0,0,0,0,0,0}
1937 				};
1938                 aMapEntriesArr[nPropertyId] = aHiddenTxtFieldPropMap;
1939 			}
1940 			break;
1941 			case PROPERTY_MAP_FLDTYP_ANNOTATION            :
1942 			{
1943                 static SfxItemPropertyMapEntry aAnnotationFieldPropMap [] =
1944 				{
1945 					{SW_PROP_NMID(UNO_NAME_AUTHOR),	FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1946 					{SW_PROP_NMID(UNO_NAME_CONTENT),	FIELD_PROP_PAR2, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1947 					{SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), 	FIELD_PROP_DATE_TIME, 	CPPU_E2T(CPPUTYPE_DATETIME), 	PROPERTY_NONE, 0},
1948                     {SW_PROP_NMID(UNO_NAME_DATE),    FIELD_PROP_DATE,   CPPU_E2T(CPPUTYPE_DATE),    PROPERTY_NONE, 0},
1949                     {SW_PROP_NMID(UNO_NAME_TEXT_RANGE), FIELD_PROP_TEXT, CPPU_E2T(CPPUTYPE_REFINTERFACE),  PropertyAttribute::READONLY,    0},
1950                     COMMON_FLDTYP_PROPERTIES
1951                     {0,0,0,0,0,0}
1952 				};
1953                 aMapEntriesArr[nPropertyId] = aAnnotationFieldPropMap;
1954 			}
1955 			break;
1956 			case PROPERTY_MAP_FLDTYP_INPUT:
1957 			{
1958                 static SfxItemPropertyMapEntry aInputFieldPropMap      [] =
1959 				{
1960 					{SW_PROP_NMID(UNO_NAME_CONTENT),	FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1961 					{SW_PROP_NMID(UNO_NAME_HINT),		FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1962 					{SW_PROP_NMID(UNO_NAME_HELP),		FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1963 					{SW_PROP_NMID(UNO_NAME_TOOLTIP),		FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1964                     COMMON_FLDTYP_PROPERTIES
1965                     {0,0,0,0,0,0}
1966 				};
1967                 aMapEntriesArr[nPropertyId] = aInputFieldPropMap;
1968 			}
1969 			break;
1970 			case PROPERTY_MAP_FLDTYP_MACRO                 :
1971 			{
1972                 static SfxItemPropertyMapEntry aMacroFieldPropMap      [] =
1973 				{
1974 					{SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1975                     {SW_PROP_NMID(UNO_NAME_MACRO_NAME),FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
1976                     {SW_PROP_NMID(UNO_NAME_MACRO_LIBRARY),FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),PROPERTY_NONE, 0},
1977                     {SW_PROP_NMID(UNO_NAME_SCRIPT_URL),FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING),PROPERTY_NONE, 0},
1978                     COMMON_FLDTYP_PROPERTIES
1979                     {0,0,0,0,0,0}
1980 				};
1981                 aMapEntriesArr[nPropertyId] = aMacroFieldPropMap;
1982 			}
1983 			break;
1984 			case PROPERTY_MAP_FLDTYP_DDE                   :
1985 			{
1986                 static SfxItemPropertyMapEntry aDDEFieldPropMap            [] =
1987 				{
1988                     COMMON_FLDTYP_PROPERTIES
1989                     {0,0,0,0,0,0}
1990 				};
1991                 aMapEntriesArr[nPropertyId] = aDDEFieldPropMap;
1992 			}
1993 			break;
1994             case PROPERTY_MAP_FLDTYP_DROPDOWN :
1995 			{
1996                 static SfxItemPropertyMapEntry aDropDownMap            [] =
1997 				{
1998                     {SW_PROP_NMID(UNO_NAME_ITEMS), FIELD_PROP_STRINGS, CPPU_E2T(CPPUTYPE_OUSTRINGS), PROPERTY_NONE, 0},
1999                     {SW_PROP_NMID(UNO_NAME_SELITEM), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2000                     {SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2001                     {SW_PROP_NMID(UNO_NAME_HELP), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2002                     {SW_PROP_NMID(UNO_NAME_TOOLTIP), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2003                     COMMON_FLDTYP_PROPERTIES
2004                     {0,0,0,0,0,0}
2005 				};
2006                 aMapEntriesArr[nPropertyId] = aDropDownMap;
2007 			}
2008 			break;
2009 			case PROPERTY_MAP_FLDTYP_HIDDEN_PARA           :
2010 			{
2011                 static SfxItemPropertyMapEntry aHiddenParaFieldPropMap [] =
2012 				{
2013 					{SW_PROP_NMID(UNO_NAME_CONDITION),FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2014                 	{SW_PROP_NMID(UNO_NAME_IS_HIDDEN) ,  FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN),   PROPERTY_NONE, 0},
2015                     COMMON_FLDTYP_PROPERTIES
2016                     {0,0,0,0,0,0}
2017 				};
2018                 aMapEntriesArr[nPropertyId] = aHiddenParaFieldPropMap;
2019 			}
2020 			break;
2021 			case PROPERTY_MAP_FLDTYP_DOC_INFO              :
2022 			{
2023                 static SfxItemPropertyMapEntry aDocInfoFieldPropMap        [] =
2024 				{
2025 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),		FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN),	    PROPERTY_NONE, 0},
2026 					{SW_PROP_NMID(UNO_NAME_INFO_FORMAT),	FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2027 					{SW_PROP_NMID(UNO_NAME_INFO_TYPE), 	FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2028                     COMMON_FLDTYP_PROPERTIES
2029                     {0,0,0,0,0,0}
2030 				};
2031                 aMapEntriesArr[nPropertyId] = aDocInfoFieldPropMap;
2032 			}
2033 			break;
2034 			case PROPERTY_MAP_FLDTYP_TEMPLATE_NAME         :
2035 			{
2036                 static SfxItemPropertyMapEntry aTmplNameFieldPropMap   [] =
2037 				{
2038 					{SW_PROP_NMID(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2039                     COMMON_FLDTYP_PROPERTIES
2040                     {0,0,0,0,0,0}
2041 				};
2042                 aMapEntriesArr[nPropertyId] = aTmplNameFieldPropMap;
2043 			}
2044 			break;
2045 			case PROPERTY_MAP_FLDTYP_USER_EXT              :
2046 			{
2047                 static SfxItemPropertyMapEntry aUsrExtFieldPropMap     [] =
2048 				{
2049 					{SW_PROP_NMID(UNO_NAME_CONTENT),			FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2050 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2051 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),			FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN),	    PROPERTY_NONE, 0},
2052 					{SW_PROP_NMID(UNO_NAME_USER_DATA_TYPE),	FIELD_PROP_USHORT1,	CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE, 0},
2053                     COMMON_FLDTYP_PROPERTIES
2054                     {0,0,0,0,0,0}
2055 				};
2056                 aMapEntriesArr[nPropertyId]= aUsrExtFieldPropMap;
2057 			}
2058 			break;
2059 			case PROPERTY_MAP_FLDTYP_REF_PAGE_SET          :
2060 			{
2061                 static SfxItemPropertyMapEntry aRefPgSetFieldPropMap   [] =
2062 				{
2063 					{SW_PROP_NMID(UNO_NAME_OFFSET), 	FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE,	0},
2064 					{SW_PROP_NMID(UNO_NAME_ON),		FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN),		PROPERTY_NONE, 0},
2065                     COMMON_FLDTYP_PROPERTIES
2066                     {0,0,0,0,0,0}
2067 				};
2068                 aMapEntriesArr[nPropertyId] = aRefPgSetFieldPropMap;
2069 			}
2070 			break;
2071 			case PROPERTY_MAP_FLDTYP_REF_PAGE_GET          :
2072 			{
2073                 static SfxItemPropertyMapEntry aRefPgGetFieldPropMap   [] =
2074 				{
2075                     {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2076                     {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE),     FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,    0},
2077                     COMMON_FLDTYP_PROPERTIES
2078                     {0,0,0,0,0,0}
2079 				};
2080                 aMapEntriesArr[nPropertyId] = aRefPgGetFieldPropMap;
2081 			}
2082 			break;
2083 			case PROPERTY_MAP_FLDTYP_JUMP_EDIT             :
2084 			{
2085                 static SfxItemPropertyMapEntry aJumpEdtFieldPropMap        [] =
2086 				{
2087 					{SW_PROP_NMID(UNO_NAME_HINT),				FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2088 					{SW_PROP_NMID(UNO_NAME_PLACEHOLDER),		FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2089 					{SW_PROP_NMID(UNO_NAME_PLACEHOLDER_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), 	PROPERTY_NONE,	0},
2090                     COMMON_FLDTYP_PROPERTIES
2091                     {0,0,0,0,0,0}
2092 				};
2093                 aMapEntriesArr[nPropertyId] = aJumpEdtFieldPropMap;
2094 			}
2095 			break;
2096 			case PROPERTY_MAP_FLDTYP_SCRIPT                :
2097 			{
2098                 static SfxItemPropertyMapEntry aScriptFieldPropMap     [] =
2099 				{
2100 					{SW_PROP_NMID(UNO_NAME_CONTENT),		FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2101 					{SW_PROP_NMID(UNO_NAME_SCRIPT_TYPE),	FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2102 					{SW_PROP_NMID(UNO_NAME_URL_CONTENT),	FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN),		PROPERTY_NONE, 0},
2103                     COMMON_FLDTYP_PROPERTIES
2104                     {0,0,0,0,0,0}
2105 				};
2106                 aMapEntriesArr[nPropertyId] = aScriptFieldPropMap;
2107 			}
2108 			break;
2109 			case PROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET     :
2110 			{
2111                 static SfxItemPropertyMapEntry aDBNextSetFieldPropMap  [] =
2112 				{
2113                     // Note: DATA_BASE_NAME and DATA_BASE_URL
2114                     // are mapped to the same nMId, because internally  we only use
2115                     // them as DataSource and it does not matter which one it is.
2116 
2117                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2118                     {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2119 					{SW_PROP_NMID(UNO_NAME_CONDITION)	,	  FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2120                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) ,  FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2121                     {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32),   PROPERTY_NONE, 0},
2122                     COMMON_FLDTYP_PROPERTIES
2123                     {0,0,0,0,0,0}
2124 				};
2125                 aMapEntriesArr[nPropertyId] = aDBNextSetFieldPropMap;
2126 			}
2127 			break;
2128 			case PROPERTY_MAP_FLDTYP_DATABASE_NUM_SET      :
2129 			{
2130                 static SfxItemPropertyMapEntry aDBNumSetFieldPropMap   [] =
2131 				{
2132                     // Note: DATA_BASE_NAME and DATA_BASE_URL
2133                     // are mapped to the same nMId, because internally  we only use
2134                     // them as DataSource and it does not matter which one it is.
2135 
2136                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME ) ,  FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2137                     {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME  ), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2138                     {SW_PROP_NMID(UNO_NAME_CONDITION),         FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2139                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) ,   FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2140                     {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32),   PROPERTY_NONE, 0},
2141 					{SW_PROP_NMID(UNO_NAME_SET_NUMBER		), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
2142                     COMMON_FLDTYP_PROPERTIES
2143                     {0,0,0,0,0,0}
2144 				};
2145                 aMapEntriesArr[nPropertyId] = aDBNumSetFieldPropMap;
2146 			}
2147 			break;
2148 			case PROPERTY_MAP_FLDTYP_DATABASE_SET_NUM      :
2149 			{
2150                 static SfxItemPropertyMapEntry aDBSetNumFieldPropMap   [] =
2151 				{
2152                     // Note: DATA_BASE_NAME and DATA_BASE_URL
2153                     // are mapped to the same nMId, because internally  we only use
2154                     // them as DataSource and it does not matter which one it is.
2155 
2156                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2157                     {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2158                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) ,  FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2159                     {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32),   PROPERTY_NONE, 0},
2160 					{SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), 	  FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2161 					{SW_PROP_NMID(UNO_NAME_SET_NUMBER		), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
2162                     {SW_PROP_NMID(UNO_NAME_IS_VISIBLE),       FIELD_PROP_BOOL2,   CPPU_E2T(CPPUTYPE_BOOLEAN),    PROPERTY_NONE, 0},
2163                     COMMON_FLDTYP_PROPERTIES
2164                     {0,0,0,0,0,0}
2165 				};
2166                 aMapEntriesArr[nPropertyId] = aDBSetNumFieldPropMap;
2167 			}
2168 			break;
2169 			case PROPERTY_MAP_FLDTYP_DATABASE              :
2170 			{
2171                 static SfxItemPropertyMapEntry aDBFieldPropMap         [] =
2172 				{
2173 					{SW_PROP_NMID(UNO_NAME_CONTENT),			FIELD_PROP_PAR1,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2174 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2175                     {SW_PROP_NMID(UNO_NAME_FIELD_CODE),         FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2176                     {SW_PROP_NMID(UNO_NAME_IS_DATA_BASE_FORMAT),FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
2177 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), 	  	FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
2178                     {SW_PROP_NMID(UNO_NAME_IS_VISIBLE),       FIELD_PROP_BOOL2,   CPPU_E2T(CPPUTYPE_BOOLEAN),    PROPERTY_NONE, 0},
2179                     COMMON_FLDTYP_PROPERTIES
2180                     {0,0,0,0,0,0}
2181 				};
2182                 aMapEntriesArr[nPropertyId] = aDBFieldPropMap;
2183 			}
2184 			break;
2185 			case PROPERTY_MAP_FLDTYP_DATABASE_NAME         :
2186 			{
2187                 static SfxItemPropertyMapEntry aDBNameFieldPropMap     [] =
2188 				{
2189                     // Note: DATA_BASE_NAME and DATA_BASE_URL
2190                     // are mapped to the same nMId, because internally  we only use
2191                     // them as DataSource and it does not matter which one it is.
2192 
2193                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2194                     {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2195                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) ,  FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2196                     {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32),   PROPERTY_NONE, 0},
2197                     {SW_PROP_NMID(UNO_NAME_IS_VISIBLE),       FIELD_PROP_BOOL2,   CPPU_E2T(CPPUTYPE_BOOLEAN),    PROPERTY_NONE, 0},
2198                     COMMON_FLDTYP_PROPERTIES
2199                     {0,0,0,0,0,0}
2200 				};
2201                 aMapEntriesArr[nPropertyId] = aDBNameFieldPropMap;
2202 			}
2203 			break;
2204 			case PROPERTY_MAP_FLDTYP_DOCSTAT:
2205 			{
2206                 static SfxItemPropertyMapEntry aDocstatFieldPropMap        [] =
2207 				{
2208 					{SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), 	FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2209 				//	{UNO_NAME_STATISTIC_TYPE_ID,FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16),	PROPERTY_NONE,	0},
2210                     COMMON_FLDTYP_PROPERTIES
2211                     {0,0,0,0,0,0}
2212 				};
2213                 aMapEntriesArr[nPropertyId] = aDocstatFieldPropMap;
2214 			}
2215 			break;
2216 			case PROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR:
2217 			{
2218                 static SfxItemPropertyMapEntry aDocInfoAuthorPropMap           [] =
2219 				{
2220 					{SW_PROP_NMID(UNO_NAME_AUTHOR),	FIELD_PROP_PAR1, 	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2221 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2222 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),	FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
2223                     COMMON_FLDTYP_PROPERTIES
2224                     {0,0,0,0,0,0}
2225 				};
2226                 aMapEntriesArr[nPropertyId] = aDocInfoAuthorPropMap;
2227 			}
2228 			break;
2229 			case PROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME:
2230 			{
2231                 static SfxItemPropertyMapEntry aDocInfoDateTimePropMap         [] =
2232 				{
2233 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2234 					{SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE),		FIELD_PROP_DOUBLE, 	CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY,	0},
2235 					{SW_PROP_NMID(UNO_NAME_IS_DATE), 	FIELD_PROP_BOOL2,	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
2236 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT,	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
2237 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),		FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,	0},
2238                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
2239                     {0,0,0,0,0,0}
2240 				};
2241                 aMapEntriesArr[nPropertyId] = aDocInfoDateTimePropMap;
2242 			}
2243 			break;
2244 			case PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME     :
2245 			{
2246                 static SfxItemPropertyMapEntry aDocInfoEditTimePropMap         [] =
2247 				{
2248 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2249 					{SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE),		FIELD_PROP_DOUBLE, 	CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY,	0},
2250 					{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT,	CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,	0},
2251 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),		FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,	0},
2252                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
2253                     COMMON_FLDTYP_PROPERTIES
2254                     {0,0,0,0,0,0}
2255 				};
2256                 aMapEntriesArr[nPropertyId] = aDocInfoEditTimePropMap;
2257 			}
2258 			break;
2259 			case PROPERTY_MAP_FLDTYP_DOCINFO_MISC:
2260 			{
2261                 static SfxItemPropertyMapEntry aDocInfoStringContentPropMap            [] =
2262 				{
2263 					{SW_PROP_NMID(UNO_NAME_CONTENT),	FIELD_PROP_PAR1,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2264 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2265 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),	FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
2266                     COMMON_FLDTYP_PROPERTIES
2267                     {0,0,0,0,0,0}
2268 				};
2269                 aMapEntriesArr[nPropertyId] = aDocInfoStringContentPropMap;
2270 			}
2271 			break;
2272 			case PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM:
2273 			{
2274                 static SfxItemPropertyMapEntry aDocInfoCustomPropMap           [] =
2275 				{
2276 					{SW_PROP_NMID(UNO_NAME_NAME),	FIELD_PROP_PAR4,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2277 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2278 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),	FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
2279                     {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT,   CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,    0},
2280                     {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
2281                     COMMON_FLDTYP_PROPERTIES
2282                     {0,0,0,0,0,0}
2283 				};
2284                 aMapEntriesArr[nPropertyId] = aDocInfoCustomPropMap;
2285 			}
2286 			break;
2287 			case PROPERTY_MAP_FLDTYP_DOCINFO_REVISION          :
2288 			{
2289                 static SfxItemPropertyMapEntry aDocInfoRevisionPropMap [] =
2290 				{
2291 					{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2292 					{SW_PROP_NMID(UNO_NAME_REVISION),	FIELD_PROP_USHORT1,	CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2293 					{SW_PROP_NMID(UNO_NAME_IS_FIXED),	FIELD_PROP_BOOL1, 	CPPU_E2T(CPPUTYPE_BOOLEAN)  , PROPERTY_NONE,0},
2294                     COMMON_FLDTYP_PROPERTIES
2295                     {0,0,0,0,0,0}
2296 				};
2297                 aMapEntriesArr[nPropertyId] = aDocInfoRevisionPropMap;
2298 			}
2299 			break;
2300 			case PROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS:
2301 			{
2302                 static SfxItemPropertyMapEntry aCombinedCharactersPropMap[] =
2303 				{
2304 					{SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2305                     COMMON_FLDTYP_PROPERTIES
2306                     {0,0,0,0,0,0}
2307 				};
2308                 aMapEntriesArr[nPropertyId] = aCombinedCharactersPropMap;
2309 			}
2310 			break;
2311         	case PROPERTY_MAP_FLDTYP_TABLE_FORMULA:
2312         	{
2313                 static SfxItemPropertyMapEntry aTableFormulaPropMap[] =
2314 				{
2315                 	{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2316                 	{SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),  PROPERTY_NONE, 0},
2317                 	{SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL1,  CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
2318                 	{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT,   CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
2319                     COMMON_FLDTYP_PROPERTIES
2320                     {0,0,0,0,0,0}
2321 				};
2322                 aMapEntriesArr[nPropertyId] = aTableFormulaPropMap;
2323 			}
2324         	break;
2325 			case PROPERTY_MAP_FLDTYP_DUMMY_0:
2326 			{
2327                 static SfxItemPropertyMapEntry aEmptyPropMap           [] =
2328 				{
2329                     COMMON_FLDTYP_PROPERTIES
2330                     {0,0,0,0,0,0}
2331 				};
2332                 aMapEntriesArr[nPropertyId] = aEmptyPropMap;
2333 			}
2334 			break;
2335 			case PROPERTY_MAP_FLDMSTR_USER :
2336 			{
2337                 static SfxItemPropertyMapEntry aUserFieldTypePropMap[] =
2338 				{
2339 					{SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS),	FIELD_PROP_PROP_SEQ,	CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
2340 					{SW_PROP_NMID(UNO_NAME_IS_EXPRESSION), 		FIELD_PROP_BOOL1,  CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,	0},
2341                     {SW_PROP_NMID(UNO_NAME_NAME),               FIELD_PROP_PAR1,  CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},
2342 					{SW_PROP_NMID(UNO_NAME_VALUE),		 	FIELD_PROP_DOUBLE,	CPPU_E2T(CPPUTYPE_DOUBLE), PROPERTY_NONE,	0},
2343 					{SW_PROP_NMID(UNO_NAME_CONTENT),			FIELD_PROP_PAR2,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2344 					{SW_PROP_NMID(UNO_NAME_INSTANCE_NAME),		FIELD_PROP_PAR3,	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
2345                     {0,0,0,0,0,0}
2346 				};
2347                 aMapEntriesArr[nPropertyId] = aUserFieldTypePropMap;
2348 			}
2349 			break;
2350 			case PROPERTY_MAP_FLDMSTR_DDE     	:
2351 			{
2352                 static SfxItemPropertyMapEntry aDDEFieldTypePropMap[] =
2353 				{
2354 					{SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT ), FIELD_PROP_PAR2,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2355 					{SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE    ), FIELD_PROP_PAR4,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2356 					{SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE    ), FIELD_PROP_SUBTYPE,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2357 					{SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS),	FIELD_PROP_PROP_SEQ,	CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
2358                 	{SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE), FIELD_PROP_BOOL1,  CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE,    0},
2359                     {SW_PROP_NMID(UNO_NAME_NAME),               FIELD_PROP_PAR1,  CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2360 					{SW_PROP_NMID(UNO_NAME_INSTANCE_NAME),		FIELD_PROP_PAR3,	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
2361                     {SW_PROP_NMID(UNO_NAME_CONTENT),            FIELD_PROP_PAR5,    CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2362                     {0,0,0,0,0,0}
2363 				};
2364                 aMapEntriesArr[nPropertyId] = aDDEFieldTypePropMap;
2365 			}
2366 			break;
2367 			case PROPERTY_MAP_FLDMSTR_SET_EXP     :
2368 			{
2369                 static SfxItemPropertyMapEntry aSetExpFieldTypePropMap[] =
2370 				{
2371 					{SW_PROP_NMID(UNO_NAME_CHAPTER_NUMBERING_LEVEL),FIELD_PROP_SHORT1,	CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE,	0},
2372 					{SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS),	FIELD_PROP_PROP_SEQ,	CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
2373                     {SW_PROP_NMID(UNO_NAME_NAME),               FIELD_PROP_PAR1,  CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2374 					{SW_PROP_NMID(UNO_NAME_NUMBERING_SEPARATOR), FIELD_PROP_PAR2,	CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,	0},
2375 					{SW_PROP_NMID(UNO_NAME_SUB_TYPE),		 	FIELD_PROP_SUBTYPE,	CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE,	0},
2376 					{SW_PROP_NMID(UNO_NAME_INSTANCE_NAME),		FIELD_PROP_PAR3,	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
2377                     {0,0,0,0,0,0}
2378 				};
2379                 aMapEntriesArr[nPropertyId] = aSetExpFieldTypePropMap;
2380 			}
2381 			break;
2382 			case PROPERTY_MAP_FLDMSTR_DATABASE    :
2383 			{
2384                 static SfxItemPropertyMapEntry aDBFieldTypePropMap         [] =
2385 				{
2386                     // Note: DATA_BASE_NAME and DATA_BASE_URL
2387                     // are mapped to the same nMId, because internally  we only use
2388                     // them as DataSource and it does not matter which one it is.
2389 
2390                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME ) ,  FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2391                     {SW_PROP_NMID(UNO_NAME_NAME),              FIELD_PROP_PAR3,  CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},
2392                     {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME  ), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2393                     {SW_PROP_NMID(UNO_NAME_DATA_COLUMN_NAME ), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2394                     {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME),     FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
2395                     {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) ,   FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0},
2396                     {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32),   PROPERTY_NONE, 0},
2397 					{SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS),	FIELD_PROP_PROP_SEQ,	CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
2398                     {0,0,0,0,0,0}
2399 				};
2400                 aMapEntriesArr[nPropertyId] = aDBFieldTypePropMap;
2401 			}
2402 			break;
2403 			case PROPERTY_MAP_FLDMSTR_DUMMY0      :
2404 			{
2405                 static SfxItemPropertyMapEntry aStandardFieldMasterMap[] =
2406 				{
2407 					{SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS),	0,	CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
2408                     {SW_PROP_NMID(UNO_NAME_NAME),               0,  CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
2409 					{SW_PROP_NMID(UNO_NAME_INSTANCE_NAME),		0,	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
2410                     {0,0,0,0,0,0}
2411 				};
2412                 aMapEntriesArr[nPropertyId] = aStandardFieldMasterMap;
2413 			}
2414 			break;
2415 			case PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY:
2416 			{
2417                 static SfxItemPropertyMapEntry aBibliographyFieldMap[] =
2418 				{
2419 					{SW_PROP_NMID(UNO_NAME_FIELDS  )	, FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_PROPERTYVALUE),PROPERTY_NONE, 0},
2420                     COMMON_FLDTYP_PROPERTIES
2421                     {0,0,0,0,0,0}
2422 				};
2423                 aMapEntriesArr[nPropertyId] = aBibliographyFieldMap;
2424 			}
2425 			break;
2426 			case PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY:
2427 			{
2428                 static SfxItemPropertyMapEntry aBibliographyFieldMasterMap[] =
2429 				{
2430 					{SW_PROP_NMID(UNO_NAME_BRACKET_BEFORE 	  )	, FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING),               PROPERTY_NONE, 0},
2431 					{SW_PROP_NMID(UNO_NAME_BRACKET_AFTER 	  )	, FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING),               PROPERTY_NONE, 0},
2432 					{SW_PROP_NMID(UNO_NAME_IS_NUMBER_ENTRIES  )	, FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN),                    PROPERTY_NONE, 0},
2433 					{SW_PROP_NMID(UNO_NAME_IS_SORT_BY_POSITION)	, FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN),                    PROPERTY_NONE, 0},
2434 	                {SW_PROP_NMID(UNO_NAME_LOCALE),            FIELD_PROP_LOCALE,  CPPU_E2T(CPPUTYPE_LOCALE)  , PROPERTY_NONE,     0},
2435     	            {SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM),    FIELD_PROP_PAR3,  CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE,     0},
2436 					{SW_PROP_NMID(UNO_NAME_SORT_KEYS 		  )	, FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_PROPERTYVALUES),	PROPERTY_NONE, 0},
2437 					{SW_PROP_NMID(UNO_NAME_INSTANCE_NAME),		FIELD_PROP_PAR4,	CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
2438                     {0,0,0,0,0,0}
2439 				};
2440                 aMapEntriesArr[nPropertyId] = aBibliographyFieldMasterMap;
2441 			}
2442 			break;
2443             case PROPERTY_MAP_TEXT :
2444             {
2445                 static SfxItemPropertyMapEntry aTextMap[] =
2446                 {
2447                     _REDLINE_NODE_PROPERTIES
2448                     {0,0,0,0,0,0}
2449                 };
2450                 aMapEntriesArr[nPropertyId] = aTextMap;
2451             }
2452             break;
2453             case PROPERTY_MAP_MAILMERGE :
2454             {
2455                 static SfxItemPropertyMapEntry aMailMergeMap[] =
2456                 {
2457                     { SW_PROP_NMID(UNO_NAME_SELECTION),             WID_SELECTION,              CPPU_E2T(CPPUTYPE_SEQANY),      PROPERTY_NONE, 0},
2458                     { SW_PROP_NMID(UNO_NAME_RESULT_SET),            WID_RESULT_SET,             CPPU_E2T(CPPUTYPE_REFRESULTSET), PROPERTY_NONE, 0},
2459                     { SW_PROP_NMID(UNO_NAME_CONNECTION),            WID_CONNECTION,             CPPU_E2T(CPPUTYPE_REFCONNECTION), PROPERTY_NONE, 0},
2460                     { SW_PROP_NMID(UNO_NAME_MODEL),                 WID_MODEL,                  CPPU_E2T(CPPUTYPE_REFMODEL),    PropertyAttribute::READONLY, 0},
2461                     { SW_PROP_NMID(UNO_NAME_DATA_SOURCE_NAME),      WID_DATA_SOURCE_NAME,       CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2462                     { SW_PROP_NMID(UNO_NAME_DAD_COMMAND),           WID_DATA_COMMAND,           CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2463                     { SW_PROP_NMID(UNO_NAME_FILTER),                WID_FILTER,                 CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2464                     { SW_PROP_NMID(UNO_NAME_DOCUMENT_URL),          WID_DOCUMENT_URL,           CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2465                     { SW_PROP_NMID(UNO_NAME_OUTPUT_URL),            WID_OUTPUT_URL,             CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2466                     { SW_PROP_NMID(UNO_NAME_DAD_COMMAND_TYPE),      WID_DATA_COMMAND_TYPE,      CPPU_E2T(CPPUTYPE_INT32),       PROPERTY_NONE, 0},
2467                     { SW_PROP_NMID(UNO_NAME_OUTPUT_TYPE),           WID_OUTPUT_TYPE,            CPPU_E2T(CPPUTYPE_INT16),       PROPERTY_NONE, 0},
2468                     { SW_PROP_NMID(UNO_NAME_ESCAPE_PROCESSING),     WID_ESCAPE_PROCESSING,      CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE, 0},
2469                     { SW_PROP_NMID(UNO_NAME_SINGLE_PRINT_JOBS),     WID_SINGLE_PRINT_JOBS,      CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE, 0},
2470                     { SW_PROP_NMID(UNO_NAME_FILE_NAME_FROM_COLUMN), WID_FILE_NAME_FROM_COLUMN,  CPPU_E2T(CPPUTYPE_BOOLEAN),     PROPERTY_NONE, 0},
2471                     { SW_PROP_NMID(UNO_NAME_FILE_NAME_PREFIX),      WID_FILE_NAME_PREFIX,       CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2472                     { SW_PROP_NMID(UNO_NAME_SUBJECT),               WID_MAIL_SUBJECT,           CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2473                     { SW_PROP_NMID(UNO_NAME_ADDRESS_FROM_COLUMN),   WID_ADDRESS_FROM_COLUMN,    CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2474                     { SW_PROP_NMID(UNO_NAME_SEND_AS_HTML),          WID_SEND_AS_HTML,           CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
2475                     { SW_PROP_NMID(UNO_NAME_SEND_AS_ATTACHMENT),    WID_SEND_AS_ATTACHMENT,     CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
2476                     { SW_PROP_NMID(UNO_NAME_MAIL_BODY),             WID_MAIL_BODY,              CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2477                     { SW_PROP_NMID(UNO_NAME_ATTACHMENT_NAME),       WID_ATTACHMENT_NAME,        CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2478                     { SW_PROP_NMID(UNO_NAME_ATTACHMENT_FILTER),     WID_ATTACHMENT_FILTER,      CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2479                     { SW_PROP_NMID(UNO_NAME_PRINT_OPTIONS),         WID_PRINT_OPTIONS,          CPPU_E2T(CPPUTYPE_PROPERTYVALUES),  PROPERTY_NONE, 0},
2480                     { SW_PROP_NMID(UNO_NAME_SAVE_AS_SINGLE_FILE),   WID_SAVE_AS_SINGLE_FILE,    CPPU_E2T(CPPUTYPE_BOOLEAN),         PROPERTY_NONE, 0},
2481                     { SW_PROP_NMID(UNO_NAME_SAVE_FILTER),           WID_SAVE_FILTER,            CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2482                     { SW_PROP_NMID(UNO_NAME_SAVE_FILTER_OPTIONS),   WID_SAVE_FILTER_OPTIONS,    CPPU_E2T(CPPUTYPE_OUSTRING),        PROPERTY_NONE, 0},
2483                     { SW_PROP_NMID(UNO_NAME_SAVE_FILTER_DATA),      WID_SAVE_FILTER_DATA,       CPPU_E2T(CPPUTYPE_PROPERTYVALUES),        PROPERTY_NONE, 0},
2484                     { SW_PROP_NMID(UNO_NAME_COPIES_TO),             WID_COPIES_TO,              CPPU_E2T(CPPUTYPE_OUSTRINGS),       PROPERTY_NONE, 0},
2485                     { SW_PROP_NMID(UNO_NAME_BLIND_COPIES_TO),       WID_BLIND_COPIES_TO,        CPPU_E2T(CPPUTYPE_OUSTRINGS),       PROPERTY_NONE, 0},
2486                     { SW_PROP_NMID(UNO_NAME_IN_SERVER_PASSWORD),     WID_IN_SERVER_PASSWORD,     CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2487                     { SW_PROP_NMID(UNO_NAME_OUT_SERVER_PASSWORD),    WID_OUT_SERVER_PASSWORD,    CPPU_E2T(CPPUTYPE_OUSTRING),    PROPERTY_NONE, 0},
2488                     {0,0,0,0,0,0}
2489                 };
2490                 aMapEntriesArr[nPropertyId] = aMailMergeMap;
2491             }
2492             break;
2493             case PROPERTY_MAP_TEXT_VIEW :
2494             {
2495                 static SfxItemPropertyMapEntry pTextViewMap[] =
2496                 {
2497                     {SW_PROP_NMID(UNO_NAME_PAGE_COUNT),             WID_PAGE_COUNT,             CPPU_E2T(CPPUTYPE_INT32),   PropertyAttribute::READONLY, 0},
2498                     {SW_PROP_NMID(UNO_NAME_LINE_COUNT),             WID_LINE_COUNT,             CPPU_E2T(CPPUTYPE_INT32),   PropertyAttribute::READONLY, 0},
2499                     {SW_PROP_NMID(UNO_NAME_IS_CONSTANT_SPELLCHECK), WID_IS_CONSTANT_SPELLCHECK, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
2500                     {SW_PROP_NMID(UNO_NAME_IS_HIDE_SPELL_MARKS),    WID_IS_HIDE_SPELL_MARKS,    CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},  // deprecated #i91949
2501                     {0,0,0,0,0,0}
2502                 };
2503                 aMapEntriesArr[nPropertyId] = pTextViewMap;
2504             }
2505             break;
2506             case PROPERTY_MAP_CHART2_DATA_SEQUENCE :
2507             {
2508                 static SfxItemPropertyMapEntry aChart2DataSequenceMap[] =
2509                 {
2510                     {SW_PROP_NMID(UNO_NAME_ROLE), 0, CPPU_E2T(CPPUTYPE_OUSTRING),   PROPERTY_NONE, 0 },
2511                     {0,0,0,0,0,0}
2512                 };
2513                 aMapEntriesArr[nPropertyId] = aChart2DataSequenceMap;
2514             }
2515             break;
2516             case PROPERTY_MAP_METAFIELD:
2517             {
2518                 static SfxItemPropertyMapEntry aMetaFieldMap[] =
2519                 {
2520                     { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), 0,
2521                         CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0 },
2522                     { SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), 0,
2523                         CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
2524                     {0,0,0,0,0,0}
2525                 };
2526                 aMapEntriesArr[nPropertyId] = aMetaFieldMap;
2527             }
2528             break;
2529 
2530             default:
2531                 DBG_ERROR( "unexpected property map ID" );
2532 		}
2533         //fill the character pointers and types into the arrays
2534         SfxItemPropertyMapEntry* p = aMapEntriesArr[nPropertyId];
2535         sal_uInt16 i = 0;
2536         for( ; p->pName; ++p, ++i )
2537         {
2538             // set the name
2539             const SwPropNameLen& rPropNm = GetPropName( (sal_uInt16)(long)p->pName );
2540             p->pName = rPropNm.pName;
2541             p->nNameLen = rPropNm.nNameLen;
2542             // get the cppu type from the comphelper
2543             CppuTypes nTyp = (CppuTypes) (long) p->pType;
2544             GenerateCppuType( nTyp, p->pType );
2545             DBG_ASSERT( nTyp != (CppuTypes) (long) p->pType, "unknown type" );
2546         }
2547 	}
2548     return aMapEntriesArr[nPropertyId];
2549 }
2550 /*-- 17.02.2009 15:29:58---------------------------------------------------
2551 
2552   -----------------------------------------------------------------------*/
2553 const SfxItemPropertySet*  SwUnoPropertyMapProvider::GetPropertySet( sal_uInt16 nPropertyId)
2554 {
2555     if( !aPropertySetArr[nPropertyId] )
2556     {
2557         const SfxItemPropertyMapEntry* pEntries = GetPropertyMapEntries(nPropertyId);
2558         switch( nPropertyId )
2559         {
2560             case PROPERTY_MAP_TEXT_CURSOR:
2561             {
2562                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_CURSOR(pEntries);
2563                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_CURSOR;
2564             }
2565             break;
2566             case PROPERTY_MAP_CHAR_STYLE:
2567             {
2568                 static SfxItemPropertySet aPROPERTY_MAP_CHAR_STYLE(pEntries);
2569                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_CHAR_STYLE;
2570             }
2571             break;
2572             case PROPERTY_MAP_PARA_STYLE:
2573             {
2574                 static SfxItemPropertySet aPROPERTY_MAP_PARA_STYLE(pEntries);
2575                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_PARA_STYLE;
2576             }
2577             break;
2578             case PROPERTY_MAP_FRAME_STYLE:
2579             {
2580                 static SfxItemPropertySet aPROPERTY_MAP_FRAME_STYLE(pEntries);
2581                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FRAME_STYLE;
2582             }
2583             break;
2584             case PROPERTY_MAP_PAGE_STYLE:
2585             {
2586                 static SfxItemPropertySet aPROPERTY_MAP_PAGE_STYLE(pEntries);
2587                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_PAGE_STYLE;
2588             }
2589             break;
2590             case PROPERTY_MAP_NUM_STYLE:
2591             {
2592                 static SfxItemPropertySet aPROPERTY_MAP_NUM_STYLE(pEntries);
2593                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_NUM_STYLE;
2594             }
2595             break;
2596             case PROPERTY_MAP_SECTION:
2597             {
2598                 static SfxItemPropertySet aPROPERTY_MAP_SECTION(pEntries);
2599                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_SECTION;
2600             }
2601             break;
2602             case PROPERTY_MAP_TEXT_TABLE:
2603             {
2604                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_TABLE(pEntries);
2605                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_TABLE;
2606             }
2607             break;
2608             case PROPERTY_MAP_TABLE_CELL:
2609             {
2610                 static SfxItemPropertySet aPROPERTY_MAP_TABLE_CELL(pEntries);
2611                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TABLE_CELL;
2612             }
2613             break;
2614             case PROPERTY_MAP_TABLE_RANGE:
2615             {
2616                 static SfxItemPropertySet aPROPERTY_MAP_TABLE_RANGE(pEntries);
2617                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TABLE_RANGE;
2618             }
2619             break;
2620             case PROPERTY_MAP_TEXT_SEARCH:
2621             {
2622                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_SEARCH(pEntries);
2623                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_SEARCH;
2624             }
2625             break;
2626             case PROPERTY_MAP_TEXT_FRAME:
2627             {
2628                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_FRAME(pEntries);
2629                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_FRAME;
2630             }
2631             break;
2632             case PROPERTY_MAP_TEXT_GRAPHIC:
2633             {
2634                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_GRAPHIC(pEntries);
2635                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_GRAPHIC;
2636             }
2637             break;
2638             case PROPERTY_MAP_TEXT_SHAPE:
2639             {
2640                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_SHAPE(pEntries);
2641                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_SHAPE;
2642             }
2643             break;
2644             case PROPERTY_MAP_INDEX_USER:
2645             {
2646                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_USER(pEntries);
2647                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_USER;
2648             }
2649             break;
2650             case PROPERTY_MAP_INDEX_CNTNT:
2651             {
2652                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_CNTNT(pEntries);
2653                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_CNTNT;
2654             }
2655             break;
2656             case PROPERTY_MAP_INDEX_IDX:
2657             {
2658                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_IDX(pEntries);
2659                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_IDX;
2660             }
2661             break;
2662             case PROPERTY_MAP_USER_MARK:
2663             {
2664                 static SfxItemPropertySet aPROPERTY_MAP_USER_MARK(pEntries);
2665                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_USER_MARK;
2666             }
2667             break;
2668             case PROPERTY_MAP_CNTIDX_MARK:
2669             {
2670                 static SfxItemPropertySet aPROPERTY_MAP_CNTIDX_MARK(pEntries);
2671                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_CNTIDX_MARK;
2672             }
2673             break;
2674             case PROPERTY_MAP_INDEX_MARK:
2675             {
2676                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_MARK(pEntries);
2677                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_MARK;
2678             }
2679             break;
2680             case PROPERTY_MAP_TEXT_TABLE_ROW:
2681             {
2682                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_TABLE_ROW(pEntries);
2683                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_TABLE_ROW;
2684             }
2685             break;
2686             case PROPERTY_MAP_TEXT_SHAPE_DESCRIPTOR:
2687             {
2688                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_SHAPE_DESCRIPTOR(pEntries);
2689                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_SHAPE_DESCRIPTOR;
2690             }
2691             break;
2692             case PROPERTY_MAP_TEXT_TABLE_CURSOR:
2693             {
2694                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_TABLE_CURSOR(pEntries);
2695                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_TABLE_CURSOR;
2696             }
2697             break;
2698             case PROPERTY_MAP_BOOKMARK:
2699             {
2700                 static SfxItemPropertySet aPROPERTY_MAP_BOOKMARK(pEntries);
2701                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_BOOKMARK;
2702             }
2703             break;
2704             case PROPERTY_MAP_PARAGRAPH_EXTENSIONS:
2705             {
2706                 static SfxItemPropertySet aPROPERTY_MAP_PARAGRAPH_EXTENSIONS(pEntries);
2707                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_PARAGRAPH_EXTENSIONS;
2708             }
2709             break;
2710             case PROPERTY_MAP_INDEX_ILLUSTRATIONS:
2711             {
2712                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_ILLUSTRATIONS(pEntries);
2713                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_ILLUSTRATIONS;
2714             }
2715             break;
2716             case PROPERTY_MAP_INDEX_OBJECTS:
2717             {
2718                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_OBJECTS(pEntries);
2719                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_OBJECTS;
2720             }
2721             break;
2722             case PROPERTY_MAP_INDEX_TABLES:
2723             {
2724                 static SfxItemPropertySet aPROPERTY_MAP_INDEX_TABLES(pEntries);
2725                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_INDEX_TABLES;
2726             }
2727             break;
2728             case PROPERTY_MAP_BIBLIOGRAPHY           :
2729             {
2730                 static SfxItemPropertySet aPROPERTY_MAP_BIBLIOGRAPHY(pEntries);
2731                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_BIBLIOGRAPHY;
2732             }
2733             break;
2734             case PROPERTY_MAP_TEXT_DOCUMENT:
2735             {
2736                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_DOCUMENT(pEntries);
2737                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_DOCUMENT;
2738             }
2739             break;
2740             case PROPERTY_MAP_LINK_TARGET            :
2741             {
2742                 static SfxItemPropertySet aPROPERTY_MAP_LINK_TARGET(pEntries);
2743                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_LINK_TARGET;
2744             }
2745             break;
2746             case PROPERTY_MAP_AUTO_TEXT_GROUP        :
2747             {
2748                 static SfxItemPropertySet aPROPERTY_MAP_AUTO_TEXT_GROUP(pEntries);
2749                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_AUTO_TEXT_GROUP;
2750             }
2751             break;
2752             case PROPERTY_MAP_TEXTPORTION_EXTENSIONS :
2753             {
2754                 static SfxItemPropertySet aPROPERTY_MAP_TEXTPORTION_EXTENSIONS(pEntries);
2755                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXTPORTION_EXTENSIONS;
2756             }
2757             break;
2758             case PROPERTY_MAP_FOOTNOTE               :
2759             {
2760                 static SfxItemPropertySet aPROPERTY_MAP_FOOTNOTE(pEntries);
2761                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FOOTNOTE;
2762             }
2763             break;
2764             case PROPERTY_MAP_TEXT_COLUMS            :
2765             {
2766                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_COLUMS(pEntries);
2767                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_COLUMS;
2768             }
2769             break;
2770             case PROPERTY_MAP_PARAGRAPH              :
2771             {
2772                 static SfxItemPropertySet aPROPERTY_MAP_PARAGRAPH(pEntries);
2773                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_PARAGRAPH;
2774             }
2775             break;
2776             case PROPERTY_MAP_EMBEDDED_OBJECT        :
2777             {
2778                 static SfxItemPropertySet aPROPERTY_MAP_EMBEDDED_OBJECT(pEntries);
2779                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_EMBEDDED_OBJECT;
2780             }
2781             break;
2782             case PROPERTY_MAP_REDLINE                :
2783             {
2784                 static SfxItemPropertySet aPROPERTY_MAP_REDLINE(pEntries);
2785                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_REDLINE;
2786             }
2787             break;
2788             case PROPERTY_MAP_TEXT_DEFAULT           :
2789             {
2790                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_DEFAULT(pEntries);
2791                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_DEFAULT;
2792             }
2793             break;
2794             case PROPERTY_MAP_FLDTYP_DATETIME:
2795             {
2796                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DATETIME(pEntries);
2797                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DATETIME;
2798             }
2799             break;
2800             case PROPERTY_MAP_FLDTYP_USER:
2801             {
2802                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_USER(pEntries);
2803                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_USER;
2804             }
2805             break;
2806             case PROPERTY_MAP_FLDTYP_SET_EXP:
2807             {
2808                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_SET_EXP(pEntries);
2809                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_SET_EXP;
2810             }
2811             break;
2812             case PROPERTY_MAP_FLDTYP_GET_EXP:
2813             {
2814                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_GET_EXP(pEntries);
2815                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_GET_EXP;
2816             }
2817             break;
2818             case PROPERTY_MAP_FLDTYP_FILE_NAME:
2819             {
2820                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_FILE_NAME(pEntries);
2821                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_FILE_NAME;
2822             }
2823             break;
2824             case PROPERTY_MAP_FLDTYP_PAGE_NUM:
2825             {
2826                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_PAGE_NUM(pEntries);
2827                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_PAGE_NUM;
2828             }
2829             break;
2830             case PROPERTY_MAP_FLDTYP_AUTHOR:
2831             {
2832                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_AUTHOR(pEntries);
2833                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_AUTHOR;
2834             }
2835             break;
2836             case PROPERTY_MAP_FLDTYP_CHAPTER:
2837             {
2838                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_CHAPTER(pEntries);
2839                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_CHAPTER;
2840             }
2841             break;
2842             case PROPERTY_MAP_FLDTYP_GET_REFERENCE:
2843             {
2844                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_GET_REFERENCE(pEntries);
2845                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_GET_REFERENCE;
2846             }
2847             break;
2848             case PROPERTY_MAP_FLDTYP_CONDITIONED_TEXT:
2849             {
2850                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_CONDITIONED_TEXT(pEntries);
2851                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_CONDITIONED_TEXT;
2852             }
2853             break;
2854             case PROPERTY_MAP_FLDTYP_HIDDEN_TEXT:
2855             {
2856                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_HIDDEN_TEXT(pEntries);
2857                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_HIDDEN_TEXT;
2858             }
2859             break;
2860             case PROPERTY_MAP_FLDTYP_ANNOTATION :
2861             {
2862                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_ANNOTATION(pEntries);
2863                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_ANNOTATION;
2864             }
2865             break;
2866             case PROPERTY_MAP_FLDTYP_INPUT:
2867             {
2868                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_INPUT(pEntries);
2869                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_INPUT;
2870             }
2871             break;
2872             case PROPERTY_MAP_FLDTYP_MACRO:
2873             {
2874                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_MACRO(pEntries);
2875                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_MACRO;
2876             }
2877             break;
2878             case PROPERTY_MAP_FLDTYP_DDE:
2879             {
2880                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DDE(pEntries);
2881                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DDE;
2882             }
2883             break;
2884             case PROPERTY_MAP_FLDTYP_HIDDEN_PARA:
2885             {
2886                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_HIDDEN_PARA(pEntries);
2887                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_HIDDEN_PARA;
2888             }
2889             break;
2890             case PROPERTY_MAP_FLDTYP_DOC_INFO :
2891             {
2892                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOC_INFO(pEntries);
2893                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOC_INFO;
2894             }
2895             break;
2896             case PROPERTY_MAP_FLDTYP_TEMPLATE_NAME:
2897             {
2898                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_TEMPLATE_NAME(pEntries);
2899                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_TEMPLATE_NAME;
2900             }
2901             break;
2902             case PROPERTY_MAP_FLDTYP_USER_EXT :
2903             {
2904                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_USER_EXT(pEntries);
2905                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_USER_EXT;
2906             }
2907             break;
2908             case PROPERTY_MAP_FLDTYP_REF_PAGE_SET:
2909             {
2910                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_REF_PAGE_SET(pEntries);
2911                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_REF_PAGE_SET;
2912             }
2913             break;
2914             case PROPERTY_MAP_FLDTYP_REF_PAGE_GET:
2915             {
2916                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_REF_PAGE_GET(pEntries);
2917                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_REF_PAGE_GET;
2918             }
2919             break;
2920             case PROPERTY_MAP_FLDTYP_JUMP_EDIT:
2921             {
2922                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_JUMP_EDIT(pEntries);
2923                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_JUMP_EDIT;
2924             }
2925             break;
2926             case PROPERTY_MAP_FLDTYP_SCRIPT:
2927             {
2928                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_SCRIPT(pEntries);
2929                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_SCRIPT;
2930             }
2931             break;
2932             case PROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET:
2933             {
2934                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET(pEntries);
2935                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET;
2936             }
2937             break;
2938             case PROPERTY_MAP_FLDTYP_DATABASE_NUM_SET:
2939             {
2940                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DATABASE_NUM_SET(pEntries);
2941                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DATABASE_NUM_SET;
2942             }
2943             break;
2944             case PROPERTY_MAP_FLDTYP_DATABASE_SET_NUM:
2945             {
2946                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DATABASE_SET_NUM(pEntries);
2947                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DATABASE_SET_NUM;
2948             }
2949             break;
2950             case PROPERTY_MAP_FLDTYP_DATABASE:
2951             {
2952                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DATABASE(pEntries);
2953                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DATABASE;
2954             }
2955             break;
2956             case PROPERTY_MAP_FLDTYP_DATABASE_NAME:
2957             {
2958                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DATABASE_NAME(pEntries);
2959                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DATABASE_NAME;
2960             }
2961             break;
2962             case PROPERTY_MAP_FLDTYP_DOCSTAT:
2963             {
2964                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCSTAT(pEntries);
2965                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCSTAT;
2966             }
2967             break;
2968             case PROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR:
2969             {
2970                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR(pEntries);
2971                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR;
2972             }
2973             break;
2974             case PROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME:
2975             {
2976                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME(pEntries);
2977                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME;
2978             }
2979             break;
2980             case PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME:
2981             {
2982                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME(pEntries);
2983                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME;
2984             }
2985             break;
2986             case PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME:
2987             {
2988                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME(pEntries);
2989                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME;
2990             }
2991             break;
2992             case PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME:
2993             {
2994                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME(pEntries);
2995                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME;
2996             }
2997             break;
2998             case PROPERTY_MAP_FLDTYP_DOCINFO_MISC :
2999             {
3000                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_MISC(pEntries);
3001                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_MISC;
3002             }
3003             break;
3004             case PROPERTY_MAP_FLDTYP_DOCINFO_REVISION:
3005             {
3006                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_REVISION(pEntries);
3007                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_REVISION;
3008             }
3009             break;
3010             case PROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS:
3011             {
3012                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS(pEntries);
3013                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS;
3014             }
3015             break;
3016             case PROPERTY_MAP_FLDTYP_DUMMY_0:
3017             {
3018                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DUMMY_0(pEntries);
3019                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DUMMY_0;
3020             }
3021             break;
3022             case PROPERTY_MAP_FLDTYP_TABLE_FORMULA:
3023             {
3024                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_TABLE_FORMULA(pEntries);
3025                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_TABLE_FORMULA;
3026             }
3027             break;
3028             case PROPERTY_MAP_FLDMSTR_USER:
3029             {
3030                 static SfxItemPropertySet aPROPERTY_MAP_FLDMSTR_USER(pEntries);
3031                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDMSTR_USER;
3032             }
3033             break;
3034             case PROPERTY_MAP_FLDMSTR_DDE:
3035             {
3036                 static SfxItemPropertySet aPROPERTY_MAP_FLDMSTR_DDE(pEntries);
3037                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDMSTR_DDE;
3038             }
3039             break;
3040             case PROPERTY_MAP_FLDMSTR_SET_EXP:
3041             {
3042                 static SfxItemPropertySet aPROPERTY_MAP_FLDMSTR_SET_EXP(pEntries);
3043                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDMSTR_SET_EXP;
3044             }
3045             break;
3046             case PROPERTY_MAP_FLDMSTR_DATABASE:
3047             {
3048                 static SfxItemPropertySet aPROPERTY_MAP_FLDMSTR_DATABASE(pEntries);
3049                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDMSTR_DATABASE;
3050             }
3051             break;
3052             case PROPERTY_MAP_FLDMSTR_DUMMY0:
3053             {
3054                 static SfxItemPropertySet aPROPERTY_MAP_FLDMSTR_DUMMY0(pEntries);
3055                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDMSTR_DUMMY0;
3056             }
3057             break;
3058             case PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY:
3059             {
3060                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_BIBLIOGRAPHY(pEntries);
3061                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_BIBLIOGRAPHY;
3062             }
3063             break;
3064             case PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY:
3065             {
3066                 static SfxItemPropertySet aPROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY(pEntries);
3067                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY;
3068             }
3069             break;
3070             case PROPERTY_MAP_TEXT:
3071             {
3072                 static SfxItemPropertySet aPROPERTY_MAP_TEXT(pEntries);
3073                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT;
3074             }
3075             break;
3076             case PROPERTY_MAP_REDLINE_PORTION:
3077             {
3078                 static SfxItemPropertySet aPROPERTY_MAP_REDLINE_PORTION(pEntries);
3079                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_REDLINE_PORTION;
3080             }
3081             break;
3082             case PROPERTY_MAP_MAILMERGE:
3083             {
3084                 static SfxItemPropertySet aPROPERTY_MAP_MAILMERGE(pEntries);
3085                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_MAILMERGE;
3086             }
3087             break;
3088             case PROPERTY_MAP_FLDTYP_DROPDOWN:
3089             {
3090                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DROPDOWN(pEntries);
3091                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DROPDOWN;
3092             }
3093             break;
3094             case PROPERTY_MAP_CHART2_DATA_SEQUENCE:
3095             {
3096                 static SfxItemPropertySet aPROPERTY_MAP_CHART2_DATA_SEQUENCE(pEntries);
3097                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_CHART2_DATA_SEQUENCE;
3098             }
3099             break;
3100             case PROPERTY_MAP_TEXT_VIEW:
3101             {
3102                 static SfxItemPropertySet aPROPERTY_MAP_TEXT_VIEW(pEntries);
3103                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_TEXT_VIEW;
3104             }
3105             break;
3106             case PROPERTY_MAP_CONDITIONAL_PARA_STYLE:
3107             {
3108                 static SfxItemPropertySet aPROPERTY_MAP_CONDITIONAL_PARA_STYLE(pEntries);
3109                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_CONDITIONAL_PARA_STYLE;
3110             }
3111             break;
3112             case PROPERTY_MAP_CHAR_AUTO_STYLE:
3113             {
3114                 static SfxItemPropertySet aPROPERTY_MAP_CHAR_AUTO_STYLE(pEntries);
3115                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_CHAR_AUTO_STYLE;
3116             }
3117             break;
3118             case PROPERTY_MAP_RUBY_AUTO_STYLE:
3119             {
3120                 static SfxItemPropertySet aPROPERTY_MAP_RUBY_AUTO_STYLE(pEntries);
3121                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_RUBY_AUTO_STYLE;
3122             }
3123             break;
3124             case PROPERTY_MAP_PARA_AUTO_STYLE:
3125             {
3126                 static SfxItemPropertySet aPROPERTY_MAP_PARA_AUTO_STYLE(pEntries);
3127                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_PARA_AUTO_STYLE;
3128             }
3129             break;
3130             case PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM:
3131             {
3132                 static SfxItemPropertySet aPROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM(pEntries);
3133                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM;
3134             }
3135             break;
3136             case PROPERTY_MAP_METAFIELD:
3137             {
3138                 static SfxItemPropertySet aPROPERTY_MAP_METAFIELD(pEntries);
3139                 aPropertySetArr[nPropertyId] = &aPROPERTY_MAP_METAFIELD;
3140             }
3141             break;
3142         }
3143     }
3144     return aPropertySetArr[nPropertyId];
3145 }
3146 
3147 /* -----------------04.07.98 11:42-------------------
3148  *
3149  * --------------------------------------------------*/
3150 sal_Bool SwItemPropertySet::FillItem(SfxItemSet& /*rSet*/, sal_uInt16 /*nWhich*/, sal_Bool /*bGetProperty*/) const
3151 {
3152 	sal_Bool bRet = sal_False;
3153 /*	if(nWhich == SID_ATTR_PAGE_PAPERBIN)
3154 	{
3155 		rSet.Put(SvxPaperBinItem(SID_ATTR_PAGE_PAPERBIN, 0));
3156 		bRet = sal_True;
3157 	}*/
3158 	return bRet;
3159 }
3160 
3161