1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: unomap.cxx,v $
10 * $Revision: 1.213.54.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_sw.hxx"
33 #include <hintids.hxx>
35 #ifndef _SVX_SVXIDS_HRC
36 #include <svx/svxids.hrc>
38 #ifndef _COMPHELPER_TYPEGENERATION_HXX
39 #include <comphelper/TypeGeneration.hxx>
41 #ifndef _COM_SUN_STAR_BEANS_PropertyAttribute_HPP_
42 #include <com/sun/star/beans/PropertyAttribute.hpp>
44 #include <com/sun/star/text/PageNumberType.hpp>
45 #include <com/sun/star/script/XLibraryContainer.hpp>
46 // --> OD 2004-08-06 #i28749#
47 #include <com/sun/star/drawing/HomogenMatrix3.hpp>
49 #include <swtypes.hxx>
51 #include <unoprnms.hxx>
57 #include <unofldmid.h>
60 using namespace ::com::sun::star
;
61 using namespace ::com::sun::star::lang
;
62 using namespace ::com::sun::star::uno
;
63 using namespace ::com::sun::star::beans
;
64 using ::rtl::OUString
;
65 using namespace ::comphelper
;
67 #define SW_PROP_NMID(id) ((const char*)id), 0
69 #ifndef MID_TXT_LMARGIN
70 #define MID_TXT_LMARGIN 11
73 /******************************************************************************
75 ******************************************************************************/
77 SwUnoPropertyMapProvider aSwMapProvider
;
79 /* -----------------24.06.98 18:12-------------------
81 * --------------------------------------------------*/
82 SwUnoPropertyMapProvider::SwUnoPropertyMapProvider()
84 for( sal_uInt16 i
= 0; i
< PROPERTY_MAP_END
; i
++ )
88 pCharStyleMap
= pParaStyleMap
= pFrameStyleMap
=
89 pPageStyleMap
= pNumStyleMap
= pConditionalParaStyleMap
=
90 pCharAutoStyleMap
= pRubyAutoStyleMap
= pParaAutoStyleMap
= 0;
93 /* -----------------19.02.99 08:31-------------------
95 * --------------------------------------------------*/
96 SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider()
100 delete pFrameStyleMap
;
101 delete pPageStyleMap
;
103 delete pConditionalParaStyleMap
;
104 delete pCharAutoStyleMap
;
105 delete pRubyAutoStyleMap
;
106 delete pParaAutoStyleMap
;
108 /* -----------------19.02.99 08:31-------------------
110 * --------------------------------------------------*/
111 SfxItemPropertySet
& SwUnoPropertyMapProvider::GetPropertySet(sal_Int8 nPropSetId
)
113 SfxItemPropertySet
** ppMap
= 0;
114 sal_uInt16 nPropertyId
= 0xFFFF;
117 case PROPERTY_SET_CHAR_STYLE
:
118 ppMap
= &pCharStyleMap
;
119 nPropertyId
= PROPERTY_MAP_CHAR_STYLE
;
121 case PROPERTY_SET_PARA_STYLE
:
122 ppMap
= &pParaStyleMap
;
123 nPropertyId
= PROPERTY_MAP_PARA_STYLE
;
125 case PROPERTY_SET_FRAME_STYLE
:
126 ppMap
= &pFrameStyleMap
;
127 nPropertyId
= PROPERTY_MAP_FRAME_STYLE
;
129 case PROPERTY_SET_PAGE_STYLE
:
130 ppMap
= &pPageStyleMap
;
131 nPropertyId
= PROPERTY_MAP_PAGE_STYLE
;
133 case PROPERTY_SET_NUM_STYLE
:
134 ppMap
= &pNumStyleMap
;
135 nPropertyId
= PROPERTY_MAP_NUM_STYLE
;
137 case PROPERTY_SET_CONDITIONAL_PARA_STYLE
:
138 ppMap
= &pConditionalParaStyleMap
;
139 nPropertyId
= PROPERTY_MAP_CONDITIONAL_PARA_STYLE
;
141 case PROPERTY_SET_CHAR_AUTO_STYLE
:
142 ppMap
= &pCharAutoStyleMap
;
143 nPropertyId
= PROPERTY_MAP_CHAR_AUTO_STYLE
;
145 case PROPERTY_SET_RUBY_AUTO_STYLE
:
146 ppMap
= &pRubyAutoStyleMap
;
147 nPropertyId
= PROPERTY_MAP_RUBY_AUTO_STYLE
;
149 case PROPERTY_SET_PARA_AUTO_STYLE
:
150 ppMap
= &pParaAutoStyleMap
;
151 nPropertyId
= PROPERTY_MAP_PARA_AUTO_STYLE
;
154 DBG_ERROR( "unexpected property set id" );
157 SfxItemPropertySet
* pRet
;
161 *ppMap
= new SwItemPropertySet( GetPropertyMap( nPropertyId
));
168 /* -----------------25.06.98 07:19-------------------
170 * --------------------------------------------------*/
172 #if defined( PM2 ) && (!defined( CSET ) && !defined ( MTW ) && !defined( WTC ))
181 lcl_CompareMap(const void* pSmaller
, const void* pBigger
)
183 int nDiff
= strcmp( ((const SfxItemPropertyMap
*)pSmaller
)->pName
,
184 ((const SfxItemPropertyMap
*)pBigger
)->pName
);
188 /* -----------------24.06.98 18:12-------------------
190 * --------------------------------------------------*/
191 void SwUnoPropertyMapProvider::Sort( sal_uInt16 nId
)
193 SfxItemPropertyMap
* p
= aMapArr
[nId
];
195 for( ; p
->pName
; ++p
, ++i
)
198 const SwPropNameLen
& rPropNm
= GetPropName( (USHORT
)(long)p
->pName
);
199 p
->pName
= rPropNm
.pName
;
200 p
->nNameLen
= rPropNm
.nNameLen
;
201 // get the cppu type from the comphelper
202 CppuTypes nTyp
= (CppuTypes
) (long) p
->pType
;
203 GenerateCppuType( nTyp
, p
->pType
);
204 DBG_ASSERT( nTyp
!= (CppuTypes
) (long) p
->pType
, "unknown type" );
206 qsort( aMapArr
[nId
], i
, sizeof(SfxItemPropertyMap
), lcl_CompareMap
);
210 #define _STANDARD_FONT_PROPERTIES \
211 { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS}, \
212 { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT), RES_CHRATR_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
213 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
214 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
215 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
216 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
217 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
218 { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE), RES_CHRATR_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
219 { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
221 #define _CJK_FONT_PROPERTIES \
222 { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS}, \
223 { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_ASIAN), RES_CHRATR_CJK_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
224 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
225 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
226 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
227 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
228 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
229 { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_ASIAN), RES_CHRATR_CJK_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
230 { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_ASIAN), RES_CHRATR_CJK_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
232 #define _CTL_FONT_PROPERTIES \
233 { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},\
234 { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_COMPLEX), RES_CHRATR_CTL_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
235 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
236 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
237 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
238 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
239 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
240 { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_COMPLEX), RES_CHRATR_CTL_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
241 { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_COMPLEX), RES_CHRATR_CTL_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
243 #define _REDLINE_NODE_PROPERTIES \
244 { SW_PROP_NMID(UNO_NAME_START_REDLINE), FN_UNO_REDLINE_NODE_START , CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0xff }, \
245 { SW_PROP_NMID(UNO_NAME_END_REDLINE), FN_UNO_REDLINE_NODE_END , CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0xff },
247 #define _REDLINE_PROPERTIES \
248 {SW_PROP_NMID(UNO_NAME_REDLINE_AUTHOR), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
249 {SW_PROP_NMID(UNO_NAME_REDLINE_DATE_TIME), 0, CPPU_E2T(CPPUTYPE_DATETIME), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
250 {SW_PROP_NMID(UNO_NAME_REDLINE_COMMENT), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
251 {SW_PROP_NMID(UNO_NAME_REDLINE_TYPE), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
252 {SW_PROP_NMID(UNO_NAME_REDLINE_SUCCESSOR_DATA), 0, CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
253 {SW_PROP_NMID(UNO_NAME_REDLINE_IDENTIFIER), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
254 {SW_PROP_NMID(UNO_NAME_IS_IN_HEADER_FOOTER), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
255 {SW_PROP_NMID(UNO_NAME_REDLINE_TEXT), 0, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
256 {SW_PROP_NMID(UNO_NAME_MERGE_LAST_PARA), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
258 /* -----------------24.06.98 18:12-------------------
260 * --------------------------------------------------*/
261 #define COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
262 { SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME), FN_UNO_PARA_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
263 { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), FN_UNO_PAGE_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0}, \
264 { SW_PROP_NMID(UNO_NAME_NUMBERING_IS_NUMBER), FN_UNO_IS_NUMBER, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
265 { SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL), FN_UNO_NUM_LEVEL, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0}, \
266 { SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES, CPPU_E2T(CPPUTYPE_REFIDXREPL), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
267 { SW_PROP_NMID(UNO_NAME_NUMBERING_START_VALUE), FN_UNO_NUM_START_VALUE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
268 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), FN_UNO_DOCUMENT_INDEX, CPPU_E2T(CPPUTYPE_REFDOCINDEX), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
269 { SW_PROP_NMID(UNO_NAME_TEXT_TABLE), FN_UNO_TEXT_TABLE, CPPU_E2T(CPPUTYPE_REFTXTTABLE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
270 { SW_PROP_NMID(UNO_NAME_CELL), FN_UNO_CELL, CPPU_E2T(CPPUTYPE_REFCELL), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
271 { SW_PROP_NMID(UNO_NAME_TEXT_FRAME), FN_UNO_TEXT_FRAME, CPPU_E2T(CPPUTYPE_REFTEXTFRAME), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
272 { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
273 { SW_PROP_NMID(UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL), FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL,CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0}, \
274 { SW_PROP_NMID(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME), FN_UNO_PARA_CONDITIONAL_STYLE_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0}, \
275 { SW_PROP_NMID(UNO_NAME_LIST_ID), FN_UNO_LIST_ID, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
276 { SW_PROP_NMID(UNO_NAME_PARA_IS_NUMBERING_RESTART), FN_NUMBER_NEWSTART, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0 }, \
277 { SW_PROP_NMID(UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE), FN_UNO_PARA_CONT_PREV_SUBTREE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0 }, \
278 { SW_PROP_NMID(UNO_NAME_PARA_LIST_LABEL_STRING), FN_UNO_PARA_NUM_STRING, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0 }, \
279 { SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0}, //#outline level, zhaojianwei
281 #define COMMON_HYPERLINK_PROPERTIES \
282 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_URL}, \
283 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_TARGET}, \
284 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_HYPERLINKNAME }, \
285 { SW_PROP_NMID(UNO_NAME_UNVISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_UNVISITED_FMT }, \
286 { SW_PROP_NMID(UNO_NAME_VISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_URL_VISITED_FMT },
288 // same as COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01 but without
289 // UNO_NAME_BREAK_TYPE and UNO_NAME_PAGE_DESC_NAME which can not be used
290 // by the SwXTextTableCursor
291 #define COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01 \
292 { SW_PROP_NMID(UNO_NAME_PARA_IS_HYPHENATION), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_IS_HYPHEN }, \
293 { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_LEADING_CHARS), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_LEAD }, \
294 { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_TRAIL }, \
295 { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MAX_HYPHENS}, \
296 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
297 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID ,MID_BACK_COLOR }, \
298 { SW_PROP_NMID(UNO_NAME_PARA_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID ,MID_BACK_COLOR }, \
299 { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0}, \
300 { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, 0}, \
301 { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_CROSS_OUT}, \
302 { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, MID_CROSSED_OUT}, \
303 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_ESC }, \
304 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT8) , PropertyAttribute::MAYBEVOID, MID_ESC_HEIGHT}, \
305 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_ESCAPEMENT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, MID_AUTO_ESC }, \
306 { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK , CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
307 { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0},\
308 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_TL_STYLE}, \
309 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_TL_COLOR}, \
310 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_TL_HASCOLOR}, \
311 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_TL_STYLE}, \
312 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_TL_COLOR}, \
313 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_TL_HASCOLOR}, \
314 { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_URL }, \
315 { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_FILTER }, \
316 { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_POSITION}, \
317 { SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_TXT_LMARGIN|CONVERT_TWIPS}, \
318 { SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS}, \
319 { SW_PROP_NMID(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_FIRST_AUTO}, \
320 { SW_PROP_NMID(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_FIRST_LINE_INDENT|CONVERT_TWIPS}, \
321 _STANDARD_FONT_PROPERTIES \
322 _CJK_FONT_PROPERTIES \
323 _CTL_FONT_PROPERTIES \
324 { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING , CPPU_E2T(CPPUTYPE_INT16) , PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
325 { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
326 { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
327 { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
328 { SW_PROP_NMID(UNO_NAME_DROP_CAP_FORMAT), RES_PARATR_DROP, CPPU_E2T(CPPUTYPE_DROPCAPFMT) , PropertyAttribute::MAYBEVOID, MID_DROPCAP_FORMAT|CONVERT_TWIPS}, \
329 { SW_PROP_NMID(UNO_NAME_DROP_CAP_WHOLE_WORD), RES_PARATR_DROP, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, MID_DROPCAP_WHOLE_WORD }, \
330 { SW_PROP_NMID(UNO_NAME_DROP_CAP_CHAR_STYLE_NAME), RES_PARATR_DROP, CPPU_E2T(CPPUTYPE_OUSTRING) , PropertyAttribute::MAYBEVOID, MID_DROPCAP_CHAR_STYLE_NAME }, \
331 { SW_PROP_NMID(UNO_NAME_PARA_KEEP_TOGETHER), RES_KEEP, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
332 { SW_PROP_NMID(UNO_NAME_PARA_SPLIT), RES_PARATR_SPLIT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
333 { SW_PROP_NMID(UNO_NAME_PARA_WIDOWS), RES_PARATR_WIDOWS, CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID, 0}, \
334 { SW_PROP_NMID(UNO_NAME_PARA_ORPHANS), RES_PARATR_ORPHANS, CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID, 0}, \
335 { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET}, \
336 { SW_PROP_NMID(UNO_NAME_PARA_ADJUST), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_PARA_ADJUST}, \
337 { SW_PROP_NMID(UNO_NAME_PARA_EXPAND_SINGLE_WORD), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, MID_EXPAND_SINGLE }, \
338 { SW_PROP_NMID(UNO_NAME_PARA_LAST_LINE_ADJUST), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_LAST_LINE_ADJUST}, \
339 { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_COUNT), RES_LINENUMBER, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,MID_LINENUMBER_COUNT }, \
340 { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_START_VALUE), RES_LINENUMBER, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID ,MID_LINENUMBER_STARTVALUE}, \
341 { SW_PROP_NMID(UNO_NAME_PARA_LINE_SPACING), RES_PARATR_LINESPACING, CPPU_E2T(CPPUTYPE_LINESPACE), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
342 { SW_PROP_NMID(UNO_NAME_PARA_REGISTER_MODE_ACTIVE), RES_PARATR_REGISTER,CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
343 { SW_PROP_NMID(UNO_NAME_PARA_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_UP_MARGIN|CONVERT_TWIPS}, \
344 { SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_LO_MARGIN|CONVERT_TWIPS}, \
345 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_TRANSPARENT }, \
346 { SW_PROP_NMID(UNO_NAME_PARA_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_TRANSPARENT }, \
347 { SW_PROP_NMID(UNO_NAME_NUMBERING_STYLE_NAME), RES_PARATR_NUMRULE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
348 { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
349 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), PropertyAttribute::MAYBEVOID, LEFT_BORDER |CONVERT_TWIPS }, \
350 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), PropertyAttribute::MAYBEVOID, RIGHT_BORDER |CONVERT_TWIPS }, \
351 { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), PropertyAttribute::MAYBEVOID, TOP_BORDER |CONVERT_TWIPS }, \
352 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), PropertyAttribute::MAYBEVOID, BOTTOM_BORDER|CONVERT_TWIPS }, \
353 { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, BORDER_DISTANCE|CONVERT_TWIPS }, \
354 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, LEFT_BORDER_DISTANCE |CONVERT_TWIPS }, \
355 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS }, \
356 { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, TOP_BORDER_DISTANCE |CONVERT_TWIPS }, \
357 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS }, \
358 { SW_PROP_NMID(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 }, \
359 { SW_PROP_NMID(UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 }, \
360 { SW_PROP_NMID(UNO_NAME_PARA_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS}, \
361 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_TWOLINES}, \
362 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_START_BRACKET}, \
363 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_END_BRACKET}, \
364 { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_EMPHASIS},\
365 { SW_PROP_NMID(UNO_NAME_PARA_IS_HANGING_PUNCTUATION), RES_PARATR_HANGINGPUNCTUATION, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,0 }, \
366 { SW_PROP_NMID(UNO_NAME_PARA_IS_CHARACTER_DISTANCE), RES_PARATR_SCRIPTSPACE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,0 }, \
367 { SW_PROP_NMID(UNO_NAME_PARA_IS_FORBIDDEN_RULES), RES_PARATR_FORBIDDEN_RULES, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,0 }, \
368 { SW_PROP_NMID(UNO_NAME_PARA_VERT_ALIGNMENT), RES_PARATR_VERTALIGN,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0 }, \
369 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_ROTATE }, \
370 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_FITTOLINE }, \
371 { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0 }, \
372 { SW_PROP_NMID(UNO_NAME_RUBY_TEXT), RES_TXTATR_CJK_RUBY, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_RUBY_TEXT }, \
373 { SW_PROP_NMID(UNO_NAME_RUBY_ADJUST), RES_TXTATR_CJK_RUBY, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_RUBY_ADJUST }, \
374 { SW_PROP_NMID(UNO_NAME_RUBY_CHAR_STYLE_NAME), RES_TXTATR_CJK_RUBY, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_RUBY_CHARSTYLE }, \
375 { SW_PROP_NMID(UNO_NAME_RUBY_IS_ABOVE), RES_TXTATR_CJK_RUBY, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_RUBY_ABOVE }, \
376 { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_RELIEF }, \
377 { SW_PROP_NMID(UNO_NAME_SNAP_TO_GRID), RES_PARATR_SNAPTOGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0 }, \
378 { SW_PROP_NMID(UNO_NAME_PARA_IS_CONNECT_BORDER), RES_PARATR_CONNECT_BORDER, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0}, \
379 { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
381 #define COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN \
382 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01 \
383 { SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK, CPPU_E2T(CPPUTYPE_BREAK), PropertyAttribute::MAYBEVOID, 0}, \
384 { SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGEDESCNAME },
387 #define TABSTOPS_MAP_ENTRY { SW_PROP_NMID(UNO_NAME_TABSTOPS), RES_PARATR_TABSTOP, CPPU_E2T(CPPUTYPE_SEQTABSTOP), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS},
389 #define COMMON_CRSR_PARA_PROPERTIES \
390 COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
391 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN \
392 COMMON_HYPERLINK_PROPERTIES \
393 { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME), RES_TXTATR_CHARFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},\
394 { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAMES), FN_UNO_CHARFMT_SEQUENCE, CPPU_E2T(CPPUTYPE_OUSTRINGS), PropertyAttribute::MAYBEVOID, 0},\
395 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_STYLE_NAME), RES_TXTATR_AUTOFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},\
396 { SW_PROP_NMID(UNO_NAME_PARA_AUTO_STYLE_NAME), RES_AUTO_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},
398 #define COMMON_CRSR_PARA_PROPERTIES_2 \
399 COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
400 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
402 #define COMPLETE_TEXT_CURSOR_MAP\
403 COMMON_CRSR_PARA_PROPERTIES\
404 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARK), FN_UNO_DOCUMENT_INDEX_MARK, CPPU_E2T(CPPUTYPE_REFDOCIDXMRK), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
405 { SW_PROP_NMID(UNO_NAME_TEXT_FIELD), FN_UNO_TEXT_FIELD, CPPU_E2T(CPPUTYPE_REFTXTFIELD), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
406 { SW_PROP_NMID(UNO_NAME_REFERENCE_MARK), FN_UNO_REFERENCE_MARK, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT), PropertyAttribute::MAYBEVOID ,0 },\
407 { SW_PROP_NMID(UNO_NAME_FOOTNOTE), FN_UNO_FOOTNOTE, CPPU_E2T(CPPUTYPE_REFFOOTNOTE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
408 { SW_PROP_NMID(UNO_NAME_ENDNOTE), FN_UNO_ENDNOTE, CPPU_E2T(CPPUTYPE_REFFOOTNOTE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },\
409 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_EVENTS), RES_TXTATR_INETFMT, CPPU_E2T(CPPUTYPE_REFNMREPLACE), PropertyAttribute::MAYBEVOID, MID_URL_HYPERLINKEVENTS},\
414 #define _BASE_INDEX_PROPERTIES_\
415 { SW_PROP_NMID(UNO_NAME_TITLE), WID_IDX_TITLE, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},\
416 { SW_PROP_NMID(UNO_NAME_NAME), WID_IDX_NAME, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},\
417 { SW_PROP_NMID(UNO_NAME_CONTENT_SECTION), WID_IDX_CONTENT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION) , PropertyAttribute::READONLY, 0},\
418 { SW_PROP_NMID(UNO_NAME_HEADER_SECTION), WID_IDX_HEADER_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION) , PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
420 #define ANCHOR_TYPES_PROPERTY { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPES), FN_UNO_ANCHOR_TYPES, CPPU_E2T(CPPUTYPE_SEQANCHORTYPE),PropertyAttribute::READONLY, 0xff},
422 // OD 18.09.2003 #i18732# - add property
423 // OD 2004-05-05 #i28701# - add property 'WrapInfluenceOnObjPos'
424 #define COMMON_FRAME_PROPERTIES \
425 { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ANCHOR_PAGENUM }, \
426 { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PROPERTY_NONE, MID_ANCHOR_ANCHORTYPE}, \
427 { SW_PROP_NMID(UNO_NAME_ANCHOR_FRAME), RES_ANCHOR, CPPU_E2T(CPPUTYPE_REFTEXTFRAME), PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORFRAME}, \
428 ANCHOR_TYPES_PROPERTY\
429 { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR }, \
430 { SW_PROP_NMID(UNO_NAME_BACK_COLOR_R_G_B), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR_R_G_B}, \
431 { SW_PROP_NMID(UNO_NAME_BACK_COLOR_TRANSPARENCY), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_BACK_COLOR_TRANSPARENCY}, \
432 { SW_PROP_NMID(UNO_NAME_CONTENT_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_CONTENT }, \
433 { SW_PROP_NMID(UNO_NAME_FRAME_STYLE_NAME), FN_UNO_FRAME_STYLE_NAME,CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0}, \
434 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL }, \
435 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, \
436 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, \
437 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_TRANSPARENCY), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENCY}, \
438 { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS}, \
439 { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS}, \
440 { SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS},\
441 { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS},\
442 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_ORIENT }, \
443 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_HORIORIENT_POSITION|CONVERT_TWIPS }, \
444 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_RELATION }, \
445 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_URL}, \
446 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_TARGET}, \
447 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_HYPERLINKNAME }, \
448 { SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
449 { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE }, \
450 { SW_PROP_NMID(UNO_NAME_POSITION_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_POSITION}, \
451 { SW_PROP_NMID(UNO_NAME_PRINT), RES_PRINT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
452 { SW_PROP_NMID(UNO_NAME_RELATIVE_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT }, \
453 { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH }, \
454 { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS}, \
455 { SW_PROP_NMID(UNO_NAME_IMAGE_MAP), RES_URL, CPPU_E2T(CPPUTYPE_REFIDXCNTNR), PROPERTY_NONE, MID_URL_CLIENTMAP}, \
456 { SW_PROP_NMID(UNO_NAME_SERVER_MAP), RES_URL, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_URL_SERVERMAP }, \
457 { SW_PROP_NMID(UNO_NAME_SIZE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PROPERTY_NONE, MID_FRMSIZE_SIZE|CONVERT_TWIPS}, \
458 { SW_PROP_NMID(UNO_NAME_SIZE_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_SIZE }, \
459 { 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 }, \
460 { 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 }, \
461 { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE }, \
462 { SW_PROP_NMID(UNO_NAME_SURROUND), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE }, \
463 { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_ANCHORONLY }, \
464 { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS}, \
465 { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS}, \
466 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, \
467 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_ORIENT }, \
468 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_VERTORIENT_POSITION|CONVERT_TWIPS }, \
469 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_RELATION }, \
470 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS }, \
471 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS }, \
472 { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS }, \
473 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS }, \
474 { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS }, \
475 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS }, \
476 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS }, \
477 { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS }, \
478 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS }, \
479 { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff}, \
480 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },\
481 { SW_PROP_NMID(UNO_NAME_Z_ORDER), FN_UNO_Z_ORDER, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0}, \
482 { SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW), RES_FOLLOW_TEXT_FLOW, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
483 { SW_PROP_NMID(UNO_NAME_WRAP_INFLUENCE_ON_POSITION), RES_WRAP_INFLUENCE_ON_OBJPOS, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_WRAP_INFLUENCE}, \
484 { SW_PROP_NMID(UNO_NAME_LAYOUT_SIZE), WID_LAYOUT_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PropertyAttribute::MAYBEVOID | PropertyAttribute::READONLY, 0 },
488 #define COMMON_TEXT_CONTENT_PROPERTIES \
489 { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), FN_UNO_ANCHOR_TYPE, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PropertyAttribute::READONLY, MID_ANCHOR_ANCHORTYPE},\
490 ANCHOR_TYPES_PROPERTY\
491 { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), FN_UNO_TEXT_WRAP, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PropertyAttribute::READONLY, MID_SURROUND_SURROUNDTYPE },
494 #define _PROP_DIFF_FONTHEIGHT \
495 { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
496 { SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},\
497 { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
498 { SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},\
499 { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
500 { SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},
503 //#outline level, zhaojianwei delete { SW_PROP_NMID(UNO_NAME_DEFAULT_OUTLINE_LEVEL), FN_UNO_DEFAULT_OUTLINE_LEVEL, CPPU_E2T(CPPUTYPE_INT8), PropertyAttribute::MAYBEVOID, 0},
504 //add { SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0},
505 #define COMMON_PARA_STYLE_PROPERTIES \
506 { SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK, CPPU_E2T(CPPUTYPE_BREAK), PROPERTY_NONE, 0},\
507 { SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGEDESCNAME },\
508 { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET},\
509 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
510 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },\
511 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },\
512 { SW_PROP_NMID(UNO_NAME_PARA_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },\
513 { SW_PROP_NMID(UNO_NAME_PARA_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },\
514 { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },\
515 { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },\
516 { SW_PROP_NMID(UNO_NAME_PARA_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},\
517 { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},\
518 { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},\
519 { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},\
520 { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
521 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ESC },\
522 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT8) , PROPERTY_NONE, MID_ESC_HEIGHT},\
523 { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
524 { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
525 _STANDARD_FONT_PROPERTIES\
526 _CJK_FONT_PROPERTIES\
527 _CTL_FONT_PROPERTIES\
528 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_TL_STYLE},\
529 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TL_COLOR},\
530 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TL_HASCOLOR},\
531 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_TL_STYLE},\
532 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TL_COLOR},\
533 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TL_HASCOLOR},\
534 { SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TXT_LMARGIN|CONVERT_TWIPS},\
535 { SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},\
536 { SW_PROP_NMID(UNO_NAME_PARA_LEFT_MARGIN_RELATIVE), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_L_REL_MARGIN},\
537 { SW_PROP_NMID(UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_R_REL_MARGIN},\
538 { SW_PROP_NMID(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_FIRST_AUTO},\
539 { SW_PROP_NMID(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},\
540 { 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},\
541 { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, CONVERT_TWIPS},\
542 { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
543 { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
544 { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
545 { SW_PROP_NMID(UNO_NAME_DROP_CAP_FORMAT), RES_PARATR_DROP, CPPU_E2T(CPPUTYPE_DROPCAPFMT) , PROPERTY_NONE, MID_DROPCAP_FORMAT|CONVERT_TWIPS },\
546 { SW_PROP_NMID(UNO_NAME_DROP_CAP_WHOLE_WORD), RES_PARATR_DROP, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, MID_DROPCAP_WHOLE_WORD },\
547 { SW_PROP_NMID(UNO_NAME_DROP_CAP_CHAR_STYLE_NAME), RES_PARATR_DROP, CPPU_E2T(CPPUTYPE_OUSTRING) , PropertyAttribute::MAYBEVOID, MID_DROPCAP_CHAR_STYLE_NAME },\
548 { SW_PROP_NMID(UNO_NAME_PARA_KEEP_TOGETHER), RES_KEEP, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
549 { SW_PROP_NMID(UNO_NAME_PARA_SPLIT), RES_PARATR_SPLIT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
550 { SW_PROP_NMID(UNO_NAME_PARA_WIDOWS), RES_PARATR_WIDOWS, CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID, 0},\
551 { SW_PROP_NMID(UNO_NAME_PARA_ORPHANS), RES_PARATR_ORPHANS, CPPU_E2T(CPPUTYPE_INT8),PropertyAttribute::MAYBEVOID, 0},\
552 { SW_PROP_NMID(UNO_NAME_PARA_EXPAND_SINGLE_WORD), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, MID_EXPAND_SINGLE },\
553 { SW_PROP_NMID(UNO_NAME_PARA_LAST_LINE_ADJUST), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_LAST_LINE_ADJUST},\
554 { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_COUNT), RES_LINENUMBER, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_LINENUMBER_COUNT },\
555 { SW_PROP_NMID(UNO_NAME_PARA_LINE_NUMBER_START_VALUE), RES_LINENUMBER, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_LINENUMBER_STARTVALUE},\
556 { SW_PROP_NMID(UNO_NAME_PARA_LINE_SPACING), RES_PARATR_LINESPACING, CPPU_E2T(CPPUTYPE_LINESPACE),PROPERTY_NONE, CONVERT_TWIPS},\
557 { SW_PROP_NMID(UNO_NAME_PARA_ADJUST), RES_PARATR_ADJUST, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_PARA_ADJUST},\
558 { SW_PROP_NMID(UNO_NAME_PARA_REGISTER_MODE_ACTIVE), RES_PARATR_REGISTER, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
559 { SW_PROP_NMID(UNO_NAME_PARA_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},\
560 { SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},\
561 { SW_PROP_NMID(UNO_NAME_PARA_TOP_MARGIN_RELATIVE), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_UP_REL_MARGIN},\
562 { SW_PROP_NMID(UNO_NAME_PARA_BOTTOM_MARGIN_RELATIVE), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_LO_REL_MARGIN},\
564 { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},\
565 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },\
566 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },\
567 { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },\
568 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },\
569 { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },\
570 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },\
571 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },\
572 { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },\
573 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },\
574 { SW_PROP_NMID(UNO_NAME_PARA_IS_HYPHENATION), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, MID_IS_HYPHEN },\
575 { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_LEADING_CHARS), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_LEAD },\
576 { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_TRAIL },\
577 { SW_PROP_NMID(UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS), RES_PARATR_HYPHENZONE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MAX_HYPHENS},\
578 { SW_PROP_NMID(UNO_NAME_NUMBERING_STYLE_NAME), RES_PARATR_NUMRULE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},\
579 { SW_PROP_NMID(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },\
580 { SW_PROP_NMID(UNO_NAME_PARA_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},\
581 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TWOLINES},\
582 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, MID_START_BRACKET},\
583 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, MID_END_BRACKET},\
584 { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_EMPHASIS},\
585 { SW_PROP_NMID(UNO_NAME_PARA_IS_HANGING_PUNCTUATION), RES_PARATR_HANGINGPUNCTUATION, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },\
586 { SW_PROP_NMID(UNO_NAME_PARA_IS_CHARACTER_DISTANCE), RES_PARATR_SCRIPTSPACE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },\
587 { SW_PROP_NMID(UNO_NAME_PARA_IS_FORBIDDEN_RULES), RES_PARATR_FORBIDDEN_RULES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },\
588 { SW_PROP_NMID(UNO_NAME_PARA_VERT_ALIGNMENT), RES_PARATR_VERTALIGN, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , 0 },\
589 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ROTATE },\
590 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_FITTOLINE },\
591 { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },\
592 { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_RELIEF },\
593 _PROP_DIFF_FONTHEIGHT\
594 { SW_PROP_NMID(UNO_NAME_FOLLOW_STYLE), FN_UNO_FOLLOW_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},\
595 { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},\
596 { SW_PROP_NMID(UNO_NAME_IS_AUTO_UPDATE), FN_UNO_IS_AUTO_UPDATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},\
597 { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},\
598 { SW_PROP_NMID(UNO_NAME_CATEGORY), FN_UNO_CATEGORY, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , 0 },\
599 { SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },\
600 { SW_PROP_NMID(UNO_NAME_PARA_IS_CONNECT_BORDER), RES_PARATR_CONNECT_BORDER, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0},\
601 { SW_PROP_NMID(UNO_NAME_SNAP_TO_GRID), RES_PARATR_SNAPTOGRID, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0 }, \
602 { SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL), RES_PARATR_OUTLINELEVEL,CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0},
605 #define COMMON_FLDTYP_PROPERTIES \
606 { SW_PROP_NMID(UNO_NAME_IS_FIELD_USED), FIELD_PROP_IS_FIELD_USED, CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::READONLY, 0},\
607 { SW_PROP_NMID(UNO_NAME_IS_FIELD_DISPLAYED), FIELD_PROP_IS_FIELD_DISPLAYED, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::READONLY, 0},\
610 const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16 nPropertyId)
612 DBG_ASSERT(nPropertyId
< PROPERTY_MAP_END
, "Id ?" );
613 if( !aMapArr
[ nPropertyId
] )
617 case PROPERTY_MAP_TEXT_CURSOR
:
619 static SfxItemPropertyMap aCharAndParaMap_Impl
[] =
621 COMPLETE_TEXT_CURSOR_MAP
624 aMapArr
[nPropertyId
] = aCharAndParaMap_Impl
;
627 case PROPERTY_MAP_PARAGRAPH
:
629 static SfxItemPropertyMap aParagraphMap_Impl
[] =
631 COMMON_CRSR_PARA_PROPERTIES_2
633 COMMON_TEXT_CONTENT_PROPERTIES
634 { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME
), RES_TXTATR_CHARFMT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0},\
635 { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAMES
), FN_UNO_CHARFMT_SEQUENCE
, CPPU_E2T(CPPUTYPE_OUSTRINGS
), PropertyAttribute::MAYBEVOID
, 0},\
638 aMapArr
[nPropertyId
] = aParagraphMap_Impl
;
641 case PROPERTY_MAP_PARA_AUTO_STYLE
:
643 static SfxItemPropertyMap aAutoParaStyleMap
[] =
645 { SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME
), RES_FRMATR_STYLE_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0}, \
646 { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME
), FN_UNO_PAGE_STYLE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0}, \
647 { SW_PROP_NMID(UNO_NAME_NUMBERING_IS_NUMBER
), FN_UNO_IS_NUMBER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PropertyAttribute::MAYBEVOID
, 0}, \
648 { SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL
), FN_UNO_NUM_LEVEL
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, 0}, \
649 { SW_PROP_NMID(UNO_NAME_NUMBERING_START_VALUE
), FN_UNO_NUM_START_VALUE
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, CONVERT_TWIPS
}, \
650 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX
), FN_UNO_DOCUMENT_INDEX
, CPPU_E2T(CPPUTYPE_REFDOCINDEX
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 }, \
651 { SW_PROP_NMID(UNO_NAME_TEXT_TABLE
), FN_UNO_TEXT_TABLE
, CPPU_E2T(CPPUTYPE_REFTXTTABLE
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 }, \
652 { SW_PROP_NMID(UNO_NAME_CELL
), FN_UNO_CELL
, CPPU_E2T(CPPUTYPE_REFCELL
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 }, \
653 { SW_PROP_NMID(UNO_NAME_TEXT_FRAME
), FN_UNO_TEXT_FRAME
, CPPU_E2T(CPPUTYPE_REFTEXTFRAME
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 }, \
654 { SW_PROP_NMID(UNO_NAME_TEXT_SECTION
), FN_UNO_TEXT_SECTION
, CPPU_E2T(CPPUTYPE_REFTEXTSECTION
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 }, \
655 { SW_PROP_NMID(UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL
), FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL
,CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, 0}, \
656 { SW_PROP_NMID(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME
), RES_FRMATR_CONDITIONAL_STYLE_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0}, \
657 { SW_PROP_NMID(UNO_NAME_PARA_IS_NUMBERING_RESTART
), FN_NUMBER_NEWSTART
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
, 0 }, \
658 { SW_PROP_NMID(UNO_NAME_OUTLINE_LEVEL
), RES_PARATR_OUTLINELEVEL
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, 0}, //#outline level,zhaojianwei
659 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
661 COMMON_TEXT_CONTENT_PROPERTIES
662 { SW_PROP_NMID(UNO_NAME_PARA_AUTO_STYLE_NAME
), RES_AUTO_STYLE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0},
665 aMapArr
[nPropertyId
] = aAutoParaStyleMap
;
668 case PROPERTY_MAP_CHAR_STYLE
:
670 static SfxItemPropertyMap aCharStyleMap
[] =
672 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING
), RES_CHRATR_AUTOKERN
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
673 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT
), RES_CHRATR_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
674 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR
), RES_CHRATR_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
675 { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP
), RES_CHRATR_CASEMAP
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
676 { SW_PROP_NMID(UNO_NAME_CHAR_COLOR
), RES_CHRATR_COLOR
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
677 { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT
), RES_CHRATR_CROSSEDOUT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_CROSS_OUT
},
678 { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT
), RES_CHRATR_CROSSEDOUT
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
679 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT
), RES_CHRATR_ESCAPEMENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_ESC
},
680 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT
), RES_CHRATR_ESCAPEMENT
, CPPU_E2T(CPPUTYPE_INT8
) , PROPERTY_NONE
, MID_ESC_HEIGHT
},
681 { SW_PROP_NMID(UNO_NAME_CHAR_FLASH
), RES_CHRATR_BLINK
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
682 { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN
), RES_CHRATR_HIDDEN
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
683 _STANDARD_FONT_PROPERTIES
686 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE
), RES_CHRATR_UNDERLINE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_TL_STYLE
},
687 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR
), RES_CHRATR_UNDERLINE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_TL_COLOR
},
688 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR
), RES_CHRATR_UNDERLINE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_TL_HASCOLOR
},
689 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE
), RES_CHRATR_OVERLINE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_TL_STYLE
},
690 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR
), RES_CHRATR_OVERLINE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_TL_COLOR
},
691 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR
), RES_CHRATR_OVERLINE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_TL_HASCOLOR
},
692 { SW_PROP_NMID(UNO_NAME_CHAR_KERNING
), RES_CHRATR_KERNING
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, CONVERT_TWIPS
},
693 { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION
), RES_CHRATR_NOHYPHEN
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
694 { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED
), RES_CHRATR_SHADOWED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
695 { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED
), RES_CHRATR_CONTOUR
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
696 { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE
), RES_CHRATR_WORDLINEMODE
,CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
697 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
698 { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL
), FN_UNO_IS_PHYSICAL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
699 { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME
), FN_UNO_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
700 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON
), RES_CHRATR_TWO_LINES
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_TWOLINES
},
701 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX
), RES_CHRATR_TWO_LINES
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, MID_START_BRACKET
},
702 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX
), RES_CHRATR_TWO_LINES
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, MID_END_BRACKET
},
703 { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS
), RES_CHRATR_EMPHASIS_MARK
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_EMPHASIS
},
704 _PROP_DIFF_FONTHEIGHT
705 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION
), RES_CHRATR_ROTATE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_ROTATE
},
706 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE
), RES_CHRATR_ROTATE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_FITTOLINE
},
707 { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH
), RES_CHRATR_SCALEW
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
708 { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF
), RES_CHRATR_RELIEF
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_RELIEF
},
711 aMapArr
[nPropertyId
] = aCharStyleMap
;
714 case PROPERTY_MAP_CHAR_AUTO_STYLE
:
716 // same as PROPERTY_MAP_TEXTPORTION_EXTENSIONS
717 static SfxItemPropertyMap aAutoCharStyleMap
[] =
719 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING
), RES_CHRATR_AUTOKERN
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
720 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT
), RES_CHRATR_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
721 { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR
), RES_CHRATR_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
722 { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP
), RES_CHRATR_CASEMAP
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
723 { SW_PROP_NMID(UNO_NAME_CHAR_COLOR
), RES_CHRATR_COLOR
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
724 { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT
), RES_CHRATR_CROSSEDOUT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_CROSS_OUT
},
725 { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT
), RES_CHRATR_CROSSEDOUT
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
726 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT
), RES_CHRATR_ESCAPEMENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_ESC
},
727 { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT
), RES_CHRATR_ESCAPEMENT
, CPPU_E2T(CPPUTYPE_INT8
) , PROPERTY_NONE
, MID_ESC_HEIGHT
},
728 { SW_PROP_NMID(UNO_NAME_CHAR_FLASH
), RES_CHRATR_BLINK
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
729 { SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN
), RES_CHRATR_HIDDEN
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
730 _STANDARD_FONT_PROPERTIES
733 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE
), RES_CHRATR_UNDERLINE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_TL_STYLE
},
734 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR
), RES_CHRATR_UNDERLINE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_TL_COLOR
},
735 { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR
), RES_CHRATR_UNDERLINE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_TL_HASCOLOR
},
736 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE
), RES_CHRATR_OVERLINE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_TL_STYLE
},
737 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR
), RES_CHRATR_OVERLINE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_TL_COLOR
},
738 { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR
), RES_CHRATR_OVERLINE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_TL_HASCOLOR
},
739 { SW_PROP_NMID(UNO_NAME_CHAR_KERNING
), RES_CHRATR_KERNING
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, CONVERT_TWIPS
},
740 { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION
), RES_CHRATR_NOHYPHEN
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
741 { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED
), RES_CHRATR_SHADOWED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
742 { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED
), RES_CHRATR_CONTOUR
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
743 { SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE
), RES_CHRATR_WORDLINEMODE
,CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
744 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
745 { SW_PROP_NMID(UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES
), RES_TXTATR_UNKNOWN_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
746 { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL
), FN_UNO_IS_PHYSICAL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
747 { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME
), FN_UNO_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
748 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON
), RES_CHRATR_TWO_LINES
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_TWOLINES
},
749 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX
), RES_CHRATR_TWO_LINES
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, MID_START_BRACKET
},
750 { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX
), RES_CHRATR_TWO_LINES
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, MID_END_BRACKET
},
751 { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS
), RES_CHRATR_EMPHASIS_MARK
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_EMPHASIS
},
752 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION
), RES_CHRATR_ROTATE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_ROTATE
},
753 { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE
), RES_CHRATR_ROTATE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_FITTOLINE
},
754 { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH
), RES_CHRATR_SCALEW
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
755 { SW_PROP_NMID(UNO_NAME_CHAR_RELIEF
), RES_CHRATR_RELIEF
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_RELIEF
},
756 { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_STYLE_NAME
), RES_TXTATR_AUTOFMT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0},
759 aMapArr
[nPropertyId
] = aAutoCharStyleMap
;
762 case PROPERTY_MAP_RUBY_AUTO_STYLE
:
764 static SfxItemPropertyMap aAutoRubyStyleMap
[] =
766 { SW_PROP_NMID(UNO_NAME_RUBY_ADJUST
), RES_TXTATR_CJK_RUBY
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_RUBY_ADJUST
},
767 { SW_PROP_NMID(UNO_NAME_RUBY_IS_ABOVE
), RES_TXTATR_CJK_RUBY
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
, MID_RUBY_ABOVE
},
770 aMapArr
[nPropertyId
] = aAutoRubyStyleMap
;
773 case PROPERTY_MAP_PARA_STYLE
:
775 static SfxItemPropertyMap aParaStyleMap
[] =
777 COMMON_PARA_STYLE_PROPERTIES
780 aMapArr
[nPropertyId
] = aParaStyleMap
;
783 case PROPERTY_MAP_CONDITIONAL_PARA_STYLE
:
785 static SfxItemPropertyMap aParaStyleMap
[] =
787 COMMON_PARA_STYLE_PROPERTIES
788 { SW_PROP_NMID(UNO_NAME_PARA_STYLE_CONDITIONS
), FN_UNO_PARA_STYLE_CONDITIONS
, CPPU_E2T(CPPUTYPE_SEQNAMEDVALUE
), PropertyAttribute::MAYBEVOID
, 0},
791 aMapArr
[nPropertyId
] = aParaStyleMap
;
794 case PROPERTY_MAP_FRAME_STYLE
:
796 static SfxItemPropertyMap aFrameStyleMap
[] =
798 { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO
), RES_ANCHOR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_ANCHOR_PAGENUM
},
799 { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE
), RES_ANCHOR
, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR
), PROPERTY_NONE
, MID_ANCHOR_ANCHORTYPE
},
800 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
801 { SW_PROP_NMID(UNO_NAME_BACK_COLOR_R_G_B
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR_R_G_B
},
802 { SW_PROP_NMID(UNO_NAME_BACK_COLOR_TRANSPARENCY
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
,MID_BACK_COLOR_TRANSPARENCY
}, \
803 // { SW_PROP_NMID(UNO_NAME_CHAIN_NEXT_NAME), RES_CHAIN, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_CHAIN_NEXTNAME},
804 // { SW_PROP_NMID(UNO_NAME_CHAIN_PREV_NAME), RES_CHAIN, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_CHAIN_PREVNAME},
805 /*not impl*/ { SW_PROP_NMID(UNO_NAME_CLIENT_MAP
), RES_URL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_URL_CLIENTMAP
},
806 { SW_PROP_NMID(UNO_NAME_CONTENT_PROTECTED
), RES_PROTECT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_PROTECT_CONTENT
},
807 { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY
), RES_EDIT_IN_READONLY
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
808 // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
809 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
810 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
811 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
812 // --> OD 2005-06-06 #i50322# - add missing map entry for transparency of graphic background
813 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_TRANSPARENCY
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENCY
},
815 { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_L_MARGIN
|CONVERT_TWIPS
},
816 { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_R_MARGIN
|CONVERT_TWIPS
},
817 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_HORIORIENT_ORIENT
},
818 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_HORIORIENT_POSITION
|CONVERT_TWIPS
},
819 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_HORIORIENT_RELATION
},
820 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L
), RES_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_URL_URL
},
821 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET
), RES_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_URL_TARGET
},
822 { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME
), RES_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_URL_HYPERLINKNAME
},
823 { SW_PROP_NMID(UNO_NAME_OPAQUE
), RES_OPAQUE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
824 { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_HORIORIENT_PAGETOGGLE
},
825 { SW_PROP_NMID(UNO_NAME_POSITION_PROTECTED
), RES_PROTECT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_PROTECT_POSITION
},
826 { SW_PROP_NMID(UNO_NAME_PRINT
), RES_PRINT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
827 { SW_PROP_NMID(UNO_NAME_WIDTH
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT32
) , PROPERTY_NONE
, MID_FRMSIZE_WIDTH
|CONVERT_TWIPS
},
828 { SW_PROP_NMID(UNO_NAME_HEIGHT
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT32
) , PROPERTY_NONE
, MID_FRMSIZE_HEIGHT
|CONVERT_TWIPS
},
829 { SW_PROP_NMID(UNO_NAME_RELATIVE_HEIGHT
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_REL_HEIGHT
},
830 { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_REL_WIDTH
},
831 { SW_PROP_NMID(UNO_NAME_SIZE_TYPE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_SIZE_TYPE
},
832 { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_WIDTH_TYPE
},
833 { SW_PROP_NMID(UNO_NAME_SIZE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_AWTSIZE
), PROPERTY_NONE
, MID_FRMSIZE_SIZE
|CONVERT_TWIPS
},
834 { 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
},
835 { 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
},
836 // { SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_WIDTH },
837 { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT
), RES_SHADOW
, CPPU_E2T(CPPUTYPE_SHADOWFMT
), PROPERTY_NONE
, CONVERT_TWIPS
},
838 { SW_PROP_NMID(UNO_NAME_SERVER_MAP
), RES_URL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_URL_SERVERMAP
},
839 { SW_PROP_NMID(UNO_NAME_SIZE_PROTECTED
), RES_PROTECT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_PROTECT_SIZE
},
840 //Surround bleibt, weil es mit der 5.1 ausgeliefert wurde, obwohl es mit text::WrapTextMode identisch ist
841 { SW_PROP_NMID(UNO_NAME_SURROUND
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_WRAPTXTMODE
), PROPERTY_NONE
, MID_SURROUND_SURROUNDTYPE
},
842 { SW_PROP_NMID(UNO_NAME_TEXT_WRAP
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_WRAPTXTMODE
), PROPERTY_NONE
, MID_SURROUND_SURROUNDTYPE
},
843 { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_ANCHORONLY
},
844 { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUR
},
845 { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUROUTSIDE
},
846 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
847 { SW_PROP_NMID(UNO_NAME_TOP_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_UP_MARGIN
|CONVERT_TWIPS
},
848 { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_LO_MARGIN
|CONVERT_TWIPS
},
849 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
850 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_VERTORIENT_ORIENT
},
851 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_VERTORIENT_POSITION
|CONVERT_TWIPS
},
852 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_VERTORIENT_RELATION
},
853 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, LEFT_BORDER
|CONVERT_TWIPS
},
854 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, RIGHT_BORDER
|CONVERT_TWIPS
},
855 { SW_PROP_NMID(UNO_NAME_TOP_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, TOP_BORDER
|CONVERT_TWIPS
},
856 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, BOTTOM_BORDER
|CONVERT_TWIPS
},
857 { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BORDER_DISTANCE
|CONVERT_TWIPS
},
858 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, LEFT_BORDER_DISTANCE
|CONVERT_TWIPS
},
859 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, RIGHT_BORDER_DISTANCE
|CONVERT_TWIPS
},
860 { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, TOP_BORDER_DISTANCE
|CONVERT_TWIPS
},
861 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BOTTOM_BORDER_DISTANCE
|CONVERT_TWIPS
},
862 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
863 { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL
), FN_UNO_IS_PHYSICAL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
864 { SW_PROP_NMID(UNO_NAME_IS_AUTO_UPDATE
), FN_UNO_IS_AUTO_UPDATE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
865 { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME
), FN_UNO_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
866 // OD 18.09.2003 #i18732#
867 { SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW
), RES_FOLLOW_TEXT_FLOW
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
868 // OD 2004-05-05 #i28701#
869 { SW_PROP_NMID(UNO_NAME_WRAP_INFLUENCE_ON_POSITION
), RES_WRAP_INFLUENCE_ON_OBJPOS
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, MID_WRAP_INFLUENCE
},
870 { SW_PROP_NMID(UNO_NAME_WRITING_MODE
), RES_FRAMEDIR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
873 aMapArr
[nPropertyId
] = aFrameStyleMap
;
876 case PROPERTY_MAP_PAGE_STYLE
:
878 static SfxItemPropertyMap aPageStyleMap
[] =
880 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
881 // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
882 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
883 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
884 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
885 { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_L_MARGIN
|CONVERT_TWIPS
},
886 { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_R_MARGIN
|CONVERT_TWIPS
},
887 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
888 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, LEFT_BORDER
|CONVERT_TWIPS
},
889 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, RIGHT_BORDER
|CONVERT_TWIPS
},
890 { SW_PROP_NMID(UNO_NAME_TOP_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, TOP_BORDER
|CONVERT_TWIPS
},
891 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, BOTTOM_BORDER
|CONVERT_TWIPS
},
892 { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BORDER_DISTANCE
|CONVERT_TWIPS
},
893 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, LEFT_BORDER_DISTANCE
|CONVERT_TWIPS
},
894 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, RIGHT_BORDER_DISTANCE
|CONVERT_TWIPS
},
895 { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, TOP_BORDER_DISTANCE
|CONVERT_TWIPS
},
896 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BOTTOM_BORDER_DISTANCE
|CONVERT_TWIPS
},
897 { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT
), RES_SHADOW
, CPPU_E2T(CPPUTYPE_SHADOWFMT
), PROPERTY_NONE
, CONVERT_TWIPS
},
899 { SW_PROP_NMID(UNO_NAME_HEADER_BACK_COLOR
), FN_UNO_HEADER_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
900 // { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC), FN_UNO_HEADER_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
901 { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_URL
), FN_UNO_HEADER_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
902 { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_FILTER
), FN_UNO_HEADER_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
903 { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_LOCATION
), FN_UNO_HEADER_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
904 { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_MARGIN
), FN_UNO_HEADER_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_L_MARGIN
|CONVERT_TWIPS
},
905 { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_MARGIN
), FN_UNO_HEADER_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_R_MARGIN
|CONVERT_TWIPS
},
906 { SW_PROP_NMID(UNO_NAME_HEADER_BACK_TRANSPARENT
), FN_UNO_HEADER_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
907 { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, LEFT_BORDER
|CONVERT_TWIPS
},
908 { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, RIGHT_BORDER
|CONVERT_TWIPS
},
909 { SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, TOP_BORDER
|CONVERT_TWIPS
},
910 { SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, BOTTOM_BORDER
|CONVERT_TWIPS
},
911 { SW_PROP_NMID(UNO_NAME_HEADER_BORDER_DISTANCE
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
, BORDER_DISTANCE
|CONVERT_TWIPS
},
912 { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER_DISTANCE
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, LEFT_BORDER_DISTANCE
|CONVERT_TWIPS
},
913 { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, RIGHT_BORDER_DISTANCE
|CONVERT_TWIPS
},
914 { SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER_DISTANCE
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, TOP_BORDER_DISTANCE
|CONVERT_TWIPS
},
915 { SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE
), FN_UNO_HEADER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BOTTOM_BORDER_DISTANCE
|CONVERT_TWIPS
},
916 { SW_PROP_NMID(UNO_NAME_HEADER_SHADOW_FORMAT
), FN_UNO_HEADER_SHADOW
, CPPU_E2T(CPPUTYPE_SHADOWFMT
), PROPERTY_NONE
, CONVERT_TWIPS
},
917 { SW_PROP_NMID(UNO_NAME_HEADER_BODY_DISTANCE
), FN_UNO_HEADER_BODY_DISTANCE
,CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_LO_MARGIN
|CONVERT_TWIPS
},
918 { SW_PROP_NMID(UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT
), FN_UNO_HEADER_IS_DYNAMIC_DISTANCE
,CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
919 { SW_PROP_NMID(UNO_NAME_HEADER_IS_SHARED
), FN_UNO_HEADER_SHARE_CONTENT
,CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
920 { SW_PROP_NMID(UNO_NAME_HEADER_HEIGHT
), FN_UNO_HEADER_HEIGHT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_SIZE_HEIGHT
|CONVERT_TWIPS
},
921 { SW_PROP_NMID(UNO_NAME_HEADER_IS_ON
), FN_UNO_HEADER_ON
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
922 { SW_PROP_NMID(UNO_NAME_HEADER_DYNAMIC_SPACING
), FN_UNO_HEADER_EAT_SPACING
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
,0 },
924 { SW_PROP_NMID(UNO_NAME_FOOTER_BACK_COLOR
), FN_UNO_FOOTER_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
925 // { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC), FN_UNO_FOOTER_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
926 { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_URL
), FN_UNO_FOOTER_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
927 { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_FILTER
), FN_UNO_FOOTER_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
928 { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_LOCATION
), FN_UNO_FOOTER_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
929 { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_MARGIN
), FN_UNO_FOOTER_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_L_MARGIN
|CONVERT_TWIPS
},
930 { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_MARGIN
), FN_UNO_FOOTER_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_R_MARGIN
|CONVERT_TWIPS
},
931 { SW_PROP_NMID(UNO_NAME_FOOTER_BACK_TRANSPARENT
), FN_UNO_FOOTER_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
932 { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, LEFT_BORDER
|CONVERT_TWIPS
},
933 { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, RIGHT_BORDER
|CONVERT_TWIPS
},
934 { SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, TOP_BORDER
|CONVERT_TWIPS
},
935 { SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, BOTTOM_BORDER
|CONVERT_TWIPS
},
936 { SW_PROP_NMID(UNO_NAME_FOOTER_BORDER_DISTANCE
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
, BORDER_DISTANCE
|CONVERT_TWIPS
},
937 { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, LEFT_BORDER_DISTANCE
|CONVERT_TWIPS
},
938 { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, RIGHT_BORDER_DISTANCE
|CONVERT_TWIPS
},
939 { SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER_DISTANCE
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, TOP_BORDER_DISTANCE
|CONVERT_TWIPS
},
940 { SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE
), FN_UNO_FOOTER_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BOTTOM_BORDER_DISTANCE
|CONVERT_TWIPS
},
941 { SW_PROP_NMID(UNO_NAME_FOOTER_SHADOW_FORMAT
), FN_UNO_FOOTER_SHADOW
, CPPU_E2T(CPPUTYPE_SHADOWFMT
), PROPERTY_NONE
, CONVERT_TWIPS
},
942 { SW_PROP_NMID(UNO_NAME_FOOTER_BODY_DISTANCE
), FN_UNO_FOOTER_BODY_DISTANCE
,CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_UP_MARGIN
|CONVERT_TWIPS
},
943 { SW_PROP_NMID(UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT
), FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE
,CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
944 { SW_PROP_NMID(UNO_NAME_FOOTER_IS_SHARED
), FN_UNO_FOOTER_SHARE_CONTENT
,CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
945 { SW_PROP_NMID(UNO_NAME_FOOTER_HEIGHT
), FN_UNO_FOOTER_HEIGHT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_SIZE_HEIGHT
|CONVERT_TWIPS
},
946 { SW_PROP_NMID(UNO_NAME_FOOTER_IS_ON
), FN_UNO_FOOTER_ON
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
947 { SW_PROP_NMID(UNO_NAME_FOOTER_DYNAMIC_SPACING
), FN_UNO_FOOTER_EAT_SPACING
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
,0 },
950 { SW_PROP_NMID(UNO_NAME_IS_LANDSCAPE
), SID_ATTR_PAGE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_PAGE_ORIENTATION
},
951 { SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE
), SID_ATTR_PAGE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_PAGE_NUMTYPE
},
952 { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_LAYOUT
), SID_ATTR_PAGE
, CPPU_E2T(CPPUTYPE_PAGESTYLELAY
), PROPERTY_NONE
,MID_PAGE_LAYOUT
},
953 { SW_PROP_NMID(UNO_NAME_PRINTER_PAPER_TRAY
), RES_PAPER_BIN
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
954 // { SW_PROP_NMID(UNO_NAME_REGISTER_MODE_ACTIVE), SID_SWREGISTER_MODE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , 0 },
955 { SW_PROP_NMID(UNO_NAME_REGISTER_PARAGRAPH_STYLE
), SID_SWREGISTER_COLLECTION
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
956 { SW_PROP_NMID(UNO_NAME_SIZE
), SID_ATTR_PAGE_SIZE
, CPPU_E2T(CPPUTYPE_AWTSIZE
), PROPERTY_NONE
, MID_SIZE_SIZE
|CONVERT_TWIPS
},
957 { SW_PROP_NMID(UNO_NAME_WIDTH
), SID_ATTR_PAGE_SIZE
, CPPU_E2T(CPPUTYPE_INT32
) , PROPERTY_NONE
, MID_SIZE_WIDTH
|CONVERT_TWIPS
},
958 { SW_PROP_NMID(UNO_NAME_HEIGHT
), SID_ATTR_PAGE_SIZE
, CPPU_E2T(CPPUTYPE_INT32
) , PROPERTY_NONE
, MID_SIZE_HEIGHT
|CONVERT_TWIPS
},
959 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
960 { SW_PROP_NMID(UNO_NAME_TOP_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_UP_MARGIN
|CONVERT_TWIPS
},
961 { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_LO_MARGIN
|CONVERT_TWIPS
},
962 { SW_PROP_NMID(UNO_NAME_HEADER_TEXT
), FN_UNO_HEADER
, CPPU_E2T(CPPUTYPE_REFTEXT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
963 { SW_PROP_NMID(UNO_NAME_HEADER_TEXT_LEFT
), FN_UNO_HEADER_LEFT
, CPPU_E2T(CPPUTYPE_REFTEXT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
964 { SW_PROP_NMID(UNO_NAME_HEADER_TEXT_RIGHT
), FN_UNO_HEADER_RIGHT
, CPPU_E2T(CPPUTYPE_REFTEXT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
965 { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT
), FN_UNO_FOOTER
, CPPU_E2T(CPPUTYPE_REFTEXT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
966 { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_LEFT
), FN_UNO_FOOTER_LEFT
, CPPU_E2T(CPPUTYPE_REFTEXT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
967 { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_RIGHT
), FN_UNO_FOOTER_RIGHT
, CPPU_E2T(CPPUTYPE_REFTEXT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
968 { SW_PROP_NMID(UNO_NAME_FOLLOW_STYLE
), FN_UNO_FOLLOW_STYLE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
969 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
970 { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL
), FN_UNO_IS_PHYSICAL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
971 { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME
), FN_UNO_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
972 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_HEIGHT
), FN_PARAM_FTN_INFO
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_FTN_HEIGHT
|CONVERT_TWIPS
},
973 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_WEIGHT
), FN_PARAM_FTN_INFO
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_LINE_WEIGHT
|CONVERT_TWIPS
},
974 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_COLOR
), FN_PARAM_FTN_INFO
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_LINE_COLOR
},
975 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_RELATIVE_WIDTH
), FN_PARAM_FTN_INFO
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, MID_LINE_RELWIDTH
},
976 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_ADJUST
), FN_PARAM_FTN_INFO
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_LINE_ADJUST
},
977 { 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
},
978 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_DISTANCE
), FN_PARAM_FTN_INFO
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_LINE_FOOTNOTE_DIST
|CONVERT_TWIPS
},
979 { SW_PROP_NMID(UNO_NAME_WRITING_MODE
), RES_FRAMEDIR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
981 { SW_PROP_NMID(UNO_NAME_GRID_COLOR
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_GRID_COLOR
},
982 { SW_PROP_NMID(UNO_NAME_GRID_LINES
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_GRID_LINES
},
983 { SW_PROP_NMID(UNO_NAME_GRID_BASE_HEIGHT
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_GRID_BASEHEIGHT
|CONVERT_TWIPS
},
984 { SW_PROP_NMID(UNO_NAME_GRID_RUBY_HEIGHT
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_GRID_RUBYHEIGHT
|CONVERT_TWIPS
},
985 { SW_PROP_NMID(UNO_NAME_GRID_MODE
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_GRID_TYPE
},
986 { SW_PROP_NMID(UNO_NAME_GRID_RUBY_BELOW
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRID_RUBY_BELOW
},
987 { SW_PROP_NMID(UNO_NAME_GRID_PRINT
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRID_PRINT
},
988 { SW_PROP_NMID(UNO_NAME_GRID_DISPLAY
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRID_DISPLAY
},
989 { SW_PROP_NMID(UNO_NAME_GRID_BASE_WIDTH
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_GRID_BASEWIDTH
|CONVERT_TWIPS
},
990 { SW_PROP_NMID(UNO_NAME_GRID_SNAP_TO_CHARS
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRID_SNAPTOCHARS
},
991 { SW_PROP_NMID(UNO_NAME_GRID_STANDARD_PAGE_MODE
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRID_STANDARD_MODE
},
994 aMapArr
[nPropertyId
] = aPageStyleMap
;
997 case PROPERTY_MAP_NUM_STYLE
:
999 static SfxItemPropertyMap aNumStyleMap
[] =
1001 { SW_PROP_NMID(UNO_NAME_NUMBERING_RULES
), FN_UNO_NUM_RULES
, CPPU_E2T(CPPUTYPE_REFIDXREPL
), PROPERTY_NONE
, CONVERT_TWIPS
},
1002 { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL
), FN_UNO_IS_PHYSICAL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
1003 { SW_PROP_NMID(UNO_NAME_DISPLAY_NAME
), FN_UNO_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
1006 aMapArr
[nPropertyId
] = aNumStyleMap
;
1009 case PROPERTY_MAP_TEXT_TABLE
:
1011 static SfxItemPropertyMap aTablePropertyMap_Impl
[] =
1013 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1014 { SW_PROP_NMID(UNO_NAME_BREAK_TYPE
), RES_BREAK
, CPPU_E2T(CPPUTYPE_BREAK
), PROPERTY_NONE
, 0},
1015 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1016 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1017 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1018 { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_L_MARGIN
|CONVERT_TWIPS
},
1019 { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_R_MARGIN
|CONVERT_TWIPS
},
1020 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_HORIORIENT_ORIENT
},
1021 { SW_PROP_NMID(UNO_NAME_KEEP_TOGETHER
), RES_KEEP
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1022 { SW_PROP_NMID(UNO_NAME_SPLIT
), RES_LAYOUT_SPLIT
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1023 { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET
), RES_PAGEDESC
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_PAGEDESC_PAGENUMOFFSET
},
1024 { SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME
), RES_PAGEDESC
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0xff},
1025 { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH
), FN_TABLE_RELATIVE_WIDTH
,CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0xff },
1026 { SW_PROP_NMID(UNO_NAME_REPEAT_HEADLINE
), FN_TABLE_HEADLINE_REPEAT
,CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0xff},
1027 { SW_PROP_NMID(UNO_NAME_HEADER_ROW_COUNT
), FN_TABLE_HEADLINE_COUNT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0xff},
1028 { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT
), RES_SHADOW
, CPPU_E2T(CPPUTYPE_SHADOWFMT
), PROPERTY_NONE
, 0},
1029 { SW_PROP_NMID(UNO_NAME_TOP_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_UP_MARGIN
|CONVERT_TWIPS
},
1030 { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_LO_MARGIN
|CONVERT_TWIPS
},
1031 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1032 { SW_PROP_NMID(UNO_NAME_WIDTH
), FN_TABLE_WIDTH
, CPPU_E2T(CPPUTYPE_INT32
) , PROPERTY_NONE
, 0xff},
1033 { SW_PROP_NMID(UNO_NAME_IS_WIDTH_RELATIVE
), FN_TABLE_IS_RELATIVE_WIDTH
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0xff},
1034 { SW_PROP_NMID(UNO_NAME_CHART_ROW_AS_LABEL
), FN_UNO_RANGE_ROW_LABEL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1035 { SW_PROP_NMID(UNO_NAME_CHART_COLUMN_AS_LABEL
), FN_UNO_RANGE_COL_LABEL
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1036 { SW_PROP_NMID(UNO_NAME_TABLE_BORDER
), FN_UNO_TABLE_BORDER
, CPPU_E2T(CPPUTYPE_TABLEBORDER
), PropertyAttribute::MAYBEVOID
, CONVERT_TWIPS
},
1037 { SW_PROP_NMID(UNO_NAME_TABLE_BORDER_DISTANCES
), FN_UNO_TABLE_BORDER_DISTANCES
, CPPU_E2T(CPPUTYPE_TABLEBORDERDISTANCES
), PropertyAttribute::MAYBEVOID
, CONVERT_TWIPS
},
1038 { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS
), FN_UNO_TABLE_COLUMN_SEPARATORS
, CPPU_E2T(CPPUTYPE_TBLCOLSEP
), PropertyAttribute::MAYBEVOID
, 0 },
1039 { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_RELATIVE_SUM
), FN_UNO_TABLE_COLUMN_RELATIVE_SUM
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::READONLY
, 0 },
1040 COMMON_TEXT_CONTENT_PROPERTIES
1041 { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME
), FN_PARAM_LINK_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0xff},
1042 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
1043 { SW_PROP_NMID(UNO_NAME_TEXT_SECTION
), FN_UNO_TEXT_SECTION
, CPPU_E2T(CPPUTYPE_REFTEXTSECTION
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 },
1044 { SW_PROP_NMID(UNO_NAME_WRITING_MODE
), RES_FRAMEDIR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
1045 // --> collapsing borders DVO, FME 2005-05-27 #i29550#
1046 { SW_PROP_NMID(UNO_NAME_COLLAPSING_BORDERS
), RES_COLLAPSING_BORDERS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1048 _REDLINE_NODE_PROPERTIES
1052 aMapArr
[nPropertyId
] = aTablePropertyMap_Impl
;
1055 case PROPERTY_MAP_TABLE_CELL
:
1057 static SfxItemPropertyMap aCellMap_Impl
[] =
1059 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_BACK_COLOR
},
1060 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1061 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1062 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1063 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRAPHIC_TRANSPARENT
},
1064 { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), RES_BOXATR_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
,0 },
1065 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, LEFT_BORDER
|CONVERT_TWIPS
},
1066 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, RIGHT_BORDER
|CONVERT_TWIPS
},
1067 { SW_PROP_NMID(UNO_NAME_TOP_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, TOP_BORDER
|CONVERT_TWIPS
},
1068 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER
), RES_BOX
, CPPU_E2T(CPPUTYPE_BORDERLINE
), 0, BOTTOM_BORDER
|CONVERT_TWIPS
},
1069 { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BORDER_DISTANCE
|CONVERT_TWIPS
},
1070 { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, LEFT_BORDER_DISTANCE
|CONVERT_TWIPS
},
1071 { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, RIGHT_BORDER_DISTANCE
|CONVERT_TWIPS
},
1072 { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, TOP_BORDER_DISTANCE
|CONVERT_TWIPS
},
1073 { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE
), RES_BOX
, CPPU_E2T(CPPUTYPE_INT32
), 0, BOTTOM_BORDER_DISTANCE
|CONVERT_TWIPS
},
1074 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
1075 { SW_PROP_NMID(UNO_NAME_TEXT_SECTION
), FN_UNO_TEXT_SECTION
, CPPU_E2T(CPPUTYPE_REFTEXTSECTION
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 },
1076 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), RES_PROTECT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), 0, MID_PROTECT_CONTENT
},
1077 { SW_PROP_NMID(UNO_NAME_CELL_NAME
), FN_UNO_CELL_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
,0},
1078 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_VERTORIENT_ORIENT
},
1079 { SW_PROP_NMID(UNO_NAME_WRITING_MODE
), RES_FRAMEDIR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
1080 { SW_PROP_NMID(UNO_NAME_ROW_SPAN
), FN_UNO_CELL_ROW_SPAN
, CPPU_E2T(CPPUTYPE_INT32
), 0, 0 },
1081 _REDLINE_NODE_PROPERTIES
1084 aMapArr
[nPropertyId
] = aCellMap_Impl
;
1087 case PROPERTY_MAP_TABLE_RANGE
:
1089 static SfxItemPropertyMap aRangePropertyMap_Impl
[] =
1091 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01
1093 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), FN_UNO_TABLE_CELL_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::MAYBEVOID
,MID_BACK_COLOR
},
1094 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
,MID_GRAPHIC_URL
},
1095 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
,MID_GRAPHIC_FILTER
},
1096 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), FN_UNO_TABLE_CELL_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::MAYBEVOID
,MID_GRAPHIC_POSITION
},
1097 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), FN_UNO_TABLE_CELL_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::MAYBEVOID
,MID_GRAPHIC_TRANSPARENT
},
1098 { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), RES_BOXATR_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
,0 },
1099 // commented properties already found in
1100 // COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01
1101 // { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
1102 // { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
1103 // { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
1104 // { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
1105 // { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
1106 // { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
1107 // { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
1108 // { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
1109 // { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
1110 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_VERTORIENT_ORIENT
},
1111 { SW_PROP_NMID(UNO_NAME_CHART_ROW_AS_LABEL
), FN_UNO_RANGE_ROW_LABEL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
, 0},
1112 { SW_PROP_NMID(UNO_NAME_CHART_COLUMN_AS_LABEL
), FN_UNO_RANGE_COL_LABEL
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PropertyAttribute::MAYBEVOID
, 0},
1116 aMapArr
[nPropertyId
] = aRangePropertyMap_Impl
;
1119 case PROPERTY_MAP_SECTION
:
1121 static SfxItemPropertyMap aSectionPropertyMap_Impl
[] =
1123 { SW_PROP_NMID(UNO_NAME_CONDITION
), WID_SECT_CONDITION
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1124 { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE
), WID_SECT_DDE_TYPE
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1125 { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE
), WID_SECT_DDE_FILE
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1126 { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT
), WID_SECT_DDE_ELEMENT
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1127 { SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE
), WID_SECT_DDE_AUTOUPDATE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1128 { SW_PROP_NMID(UNO_NAME_FILE_LINK
), WID_SECT_LINK
, CPPU_E2T(CPPUTYPE_SECTFILELNK
), PROPERTY_NONE
, 0},
1129 { SW_PROP_NMID(UNO_NAME_IS_VISIBLE
), WID_SECT_VISIBLE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1130 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_SECT_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1131 // --> FME 2004-06-22 #114856# edit in readonly sections
1132 { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY
), WID_SECT_EDIT_IN_READONLY
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1134 { SW_PROP_NMID(UNO_NAME_LINK_REGION
), WID_SECT_REGION
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1135 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1136 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1137 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1138 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1139 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1140 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1141 { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME
), FN_PARAM_LINK_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0xff},
1142 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
1143 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_COLLECT_AT_TEXT_END
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_COLLECT
},
1144 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_RESTART_NUMBERING
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_RESTART_NUM
},
1145 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_RESTART_NUMBERING_AT
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_NUM_START_AT
},
1146 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_OWN_NUMBERING
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_OWN_NUM
},
1147 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_TYPE
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_NUM_TYPE
},
1148 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_PREFIX
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, MID_PREFIX
},
1149 { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_SUFFIX
), RES_FTN_AT_TXTEND
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, MID_SUFFIX
},
1150 { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_COLLECT_AT_TEXT_END
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_COLLECT
},
1151 { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_RESTART_NUMBERING
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_RESTART_NUM
},
1152 { SW_PROP_NMID(UNO_NAME_ENDNOTE_RESTART_NUMBERING_AT
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, MID_NUM_START_AT
},
1153 { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_OWN_NUMBERING
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_OWN_NUM
},
1154 { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_TYPE
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_NUM_TYPE
},
1155 { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_PREFIX
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, MID_PREFIX
},
1156 { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_SUFFIX
), RES_END_AT_TXTEND
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, MID_SUFFIX
},
1157 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX
), WID_SECT_DOCUMENT_INDEX
, CPPU_E2T(CPPUTYPE_REFDOCINDEX
), PropertyAttribute::READONLY
| PropertyAttribute::MAYBEVOID
, 0 },
1158 { SW_PROP_NMID(UNO_NAME_IS_GLOBAL_DOCUMENT_SECTION
), WID_SECT_IS_GLOBAL_DOC_SECTION
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0 },
1159 { SW_PROP_NMID(UNO_NAME_PROTECTION_KEY
), WID_SECT_PASSWORD
, CPPU_E2T(CPPUTYPE_SEQINT8
), PROPERTY_NONE
, 0 },
1160 { SW_PROP_NMID(UNO_NAME_DONT_BALANCE_TEXT_COLUMNS
), RES_COLUMNBALANCE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0 },
1161 COMMON_TEXT_CONTENT_PROPERTIES
1162 _REDLINE_NODE_PROPERTIES
1163 { SW_PROP_NMID(UNO_NAME_IS_CURRENTLY_VISIBLE
), WID_SECT_CURRENTLY_VISIBLE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1164 { SW_PROP_NMID(UNO_NAME_WRITING_MODE
), RES_FRAMEDIR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
1166 { SW_PROP_NMID(UNO_NAME_SECT_LEFT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
, MID_L_MARGIN
|CONVERT_TWIPS
}, \
1167 { SW_PROP_NMID(UNO_NAME_SECT_RIGHT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
, MID_R_MARGIN
|CONVERT_TWIPS
}, \
1171 aMapArr
[nPropertyId
] = aSectionPropertyMap_Impl
;
1174 case PROPERTY_MAP_TEXT_SEARCH
:
1176 static SfxItemPropertyMap aSearchPropertyMap_Impl
[] =
1178 { SW_PROP_NMID(UNO_NAME_SEARCH_ALL
), WID_SEARCH_ALL
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1179 { SW_PROP_NMID(UNO_NAME_SEARCH_BACKWARDS
), WID_BACKWARDS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1180 { SW_PROP_NMID(UNO_NAME_SEARCH_CASE_SENSITIVE
), WID_CASE_SENSITIVE
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1181 // { SW_PROP_NMID(UNO_NAME_SEARCH_IN_SELECTION), WID_IN_SELECTION, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
1182 { SW_PROP_NMID(UNO_NAME_SEARCH_REGULAR_EXPRESSION
), WID_REGULAR_EXPRESSION
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1183 { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY
), WID_SIMILARITY
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1184 { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_ADD
), WID_SIMILARITY_ADD
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1185 { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_EXCHANGE
), WID_SIMILARITY_EXCHANGE
,CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1186 { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_RELAX
), WID_SIMILARITY_RELAX
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1187 { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_REMOVE
), WID_SIMILARITY_REMOVE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1188 { SW_PROP_NMID(UNO_NAME_SEARCH_STYLES
), WID_STYLES
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1189 { SW_PROP_NMID(UNO_NAME_SEARCH_WORDS
), WID_WORDS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1192 aMapArr
[nPropertyId
] = aSearchPropertyMap_Impl
;
1195 case PROPERTY_MAP_TEXT_FRAME
:
1197 static SfxItemPropertyMap aFramePropertyMap_Impl
[] =
1199 COMMON_FRAME_PROPERTIES
1200 _REDLINE_NODE_PROPERTIES
1201 { SW_PROP_NMID(UNO_NAME_CHAIN_NEXT_NAME
), RES_CHAIN
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
,MID_CHAIN_NEXTNAME
},
1202 { SW_PROP_NMID(UNO_NAME_CHAIN_PREV_NAME
), RES_CHAIN
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
,MID_CHAIN_PREVNAME
},
1203 /*not impl*/ { SW_PROP_NMID(UNO_NAME_CLIENT_MAP
), RES_URL
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_URL_CLIENTMAP
},
1204 { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY
), RES_EDIT_IN_READONLY
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1205 // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
1206 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1207 //next elements are part of the service description
1208 { SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_ABSOLUTE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_FRMSIZE_HEIGHT
|CONVERT_TWIPS
},
1209 { SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_PERCENT
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, MID_FRMSIZE_REL_HEIGHT
},
1210 { SW_PROP_NMID(UNO_NAME_FRAME_ISAUTOMATIC_HEIGHT
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_FRMSIZE_IS_AUTO_HEIGHT
},
1211 { SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_ABSOLUTE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_FRMSIZE_WIDTH
|CONVERT_TWIPS
},
1212 { SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_PERCENT
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, MID_FRMSIZE_REL_WIDTH
},
1213 { SW_PROP_NMID(UNO_NAME_SIZE_TYPE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_SIZE_TYPE
},
1214 { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_WIDTH_TYPE
},
1215 { SW_PROP_NMID(UNO_NAME_WRITING_MODE
), RES_FRAMEDIR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0 },
1218 aMapArr
[nPropertyId
] = aFramePropertyMap_Impl
;
1221 case PROPERTY_MAP_TEXT_GRAPHIC
:
1223 static SfxItemPropertyMap aGraphicPropertyMap_Impl
[] =
1225 COMMON_FRAME_PROPERTIES
1226 { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUR
},
1227 { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUROUTSIDE
},
1228 { SW_PROP_NMID(UNO_NAME_GRAPHIC_CROP
), RES_GRFATR_CROPGRF
, CPPU_E2T(CPPUTYPE_GRFCROP
), PROPERTY_NONE
, CONVERT_TWIPS
},
1229 { SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_EVEN_PAGES
), RES_GRFATR_MIRRORGRF
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_MIRROR_HORZ_EVEN_PAGES
},
1230 { SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_ODD_PAGES
), RES_GRFATR_MIRRORGRF
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_MIRROR_HORZ_ODD_PAGES
},
1231 { SW_PROP_NMID(UNO_NAME_VERT_MIRRORED
), RES_GRFATR_MIRRORGRF
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_MIRROR_VERT
},
1232 { SW_PROP_NMID(UNO_NAME_GRAPHIC_URL
), FN_UNO_GRAPHIC_U_R_L
, CPPU_E2T(CPPUTYPE_OUSTRING
), 0, 0 },
1233 { SW_PROP_NMID(UNO_NAME_GRAPHIC_FILTER
), FN_UNO_GRAPHIC_FILTER
, CPPU_E2T(CPPUTYPE_OUSTRING
), 0, 0 },
1234 { SW_PROP_NMID(UNO_NAME_GRAPHIC
), FN_UNO_GRAPHIC
, CPPU_E2T(CPPUTYPE_REFXGRAPHIC
), 0, 0 },
1235 { SW_PROP_NMID(UNO_NAME_ACTUAL_SIZE
), FN_UNO_ACTUAL_SIZE
, CPPU_E2T(CPPUTYPE_AWTSIZE
), PropertyAttribute::READONLY
, CONVERT_TWIPS
},
1236 { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT
), FN_UNO_ALTERNATIVE_TEXT
,CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
1237 { SW_PROP_NMID(UNO_NAME_CONTOUR_POLY_POLYGON
), FN_PARAM_COUNTOUR_PP
, CPPU_E2T(CPPUTYPE_PNTSEQSEQ
), PropertyAttribute::MAYBEVOID
, 0 },
1238 { SW_PROP_NMID(UNO_NAME_IS_PIXEL_CONTOUR
), FN_UNO_IS_PIXEL_CONTOUR
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0 },
1239 { SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_CONTOUR
), FN_UNO_IS_AUTOMATIC_CONTOUR
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0 },
1240 { SW_PROP_NMID(UNO_NAME_GRAPHIC_ROTATION
), RES_GRFATR_ROTATION
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1241 { SW_PROP_NMID(UNO_NAME_ADJUST_LUMINANCE
), RES_GRFATR_LUMINANCE
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1242 { SW_PROP_NMID(UNO_NAME_ADJUST_CONTRAST
), RES_GRFATR_CONTRAST
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1243 { SW_PROP_NMID(UNO_NAME_ADJUST_RED
), RES_GRFATR_CHANNELR
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1244 { SW_PROP_NMID(UNO_NAME_ADJUST_GREEN
), RES_GRFATR_CHANNELG
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1245 { SW_PROP_NMID(UNO_NAME_ADJUST_BLUE
), RES_GRFATR_CHANNELB
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1246 { SW_PROP_NMID(UNO_NAME_GAMMA
), RES_GRFATR_GAMMA
, CPPU_E2T(CPPUTYPE_DOUBLE
), 0, 0},
1247 { SW_PROP_NMID(UNO_NAME_GRAPHIC_IS_INVERTED
), RES_GRFATR_INVERT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), 0, 0},
1248 { SW_PROP_NMID(UNO_NAME_TRANSPARENCY
), RES_GRFATR_TRANSPARENCY
, CPPU_E2T(CPPUTYPE_INT16
), 0, 0},
1249 { SW_PROP_NMID(UNO_NAME_GRAPHIC_COLOR_MODE
), RES_GRFATR_DRAWMODE
, CPPU_E2T(CPPUTYPE_COLORMODE
), 0, 0},
1252 aMapArr
[nPropertyId
] = aGraphicPropertyMap_Impl
;
1255 case PROPERTY_MAP_EMBEDDED_OBJECT
:
1257 static SfxItemPropertyMap aEmbeddedPropertyMap_Impl
[] =
1259 COMMON_FRAME_PROPERTIES
1260 { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUR
},
1261 { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUROUTSIDE
},
1262 { SW_PROP_NMID(UNO_NAME_CONTOUR_POLY_POLYGON
), FN_PARAM_COUNTOUR_PP
, CPPU_E2T(CPPUTYPE_PNTSEQSEQ
), PropertyAttribute::MAYBEVOID
, 0 },
1263 { SW_PROP_NMID(UNO_NAME_IS_PIXEL_CONTOUR
), FN_UNO_IS_PIXEL_CONTOUR
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0 },
1264 { SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_CONTOUR
), FN_UNO_IS_AUTOMATIC_CONTOUR
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0 },
1265 { SW_PROP_NMID(UNO_NAME_CLSID
), FN_UNO_CLSID
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
1266 { SW_PROP_NMID(UNO_NAME_STREAM_NAME
), FN_UNO_STREAM_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
1267 { SW_PROP_NMID(UNO_NAME_MODEL
), FN_UNO_MODEL
, CPPU_E2T(CPPUTYPE_REFMODEL
), PropertyAttribute::READONLY
|PropertyAttribute::MAYBEVOID
, 0},
1268 { SW_PROP_NMID(UNO_NAME_GRAPHIC_URL
), FN_UNO_REPLACEMENT_GRAPHIC_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0 },
1269 { SW_PROP_NMID(UNO_NAME_GRAPHIC
), FN_UNO_REPLACEMENT_GRAPHIC
, CPPU_E2T(CPPUTYPE_REFXGRAPHIC
), PropertyAttribute::MAYBEVOID
, 0 },
1270 { SW_PROP_NMID(UNO_NAME_COMPONENT
),FN_UNO_COMPONENT
, CPPU_E2T(CPPUTYPE_REFCOMPONENT
), PropertyAttribute::READONLY
, 0},
1271 { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT
), FN_UNO_ALTERNATIVE_TEXT
,CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
1274 aMapArr
[nPropertyId
] = aEmbeddedPropertyMap_Impl
;
1277 case PROPERTY_MAP_TEXT_SHAPE
:
1279 static SfxItemPropertyMap aShapeMap_Impl
[] =
1281 { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO
), RES_ANCHOR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
, MID_ANCHOR_PAGENUM
},
1282 { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE
), RES_ANCHOR
, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
, MID_ANCHOR_ANCHORTYPE
},
1283 { SW_PROP_NMID(UNO_NAME_ANCHOR_FRAME
), RES_ANCHOR
, CPPU_E2T(CPPUTYPE_REFTEXTFRAME
), PropertyAttribute::MAYBEVOID
, MID_ANCHOR_ANCHORFRAME
},
1284 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
,MID_HORIORIENT_ORIENT
},
1285 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
,MID_HORIORIENT_POSITION
|CONVERT_TWIPS
},
1286 { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
,MID_HORIORIENT_RELATION
},
1287 { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
, MID_L_MARGIN
|CONVERT_TWIPS
},
1288 { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN
), RES_LR_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
, MID_R_MARGIN
|CONVERT_TWIPS
},
1289 { SW_PROP_NMID(UNO_NAME_SURROUND
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_WRAPTXTMODE
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
, MID_SURROUND_SURROUNDTYPE
},
1290 { SW_PROP_NMID(UNO_NAME_TEXT_WRAP
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_WRAPTXTMODE
), PROPERTY_NONE
, MID_SURROUND_SURROUNDTYPE
},
1291 { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
, MID_SURROUND_ANCHORONLY
},
1292 { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUR
},
1293 { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE
), RES_SURROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_SURROUND_CONTOUROUTSIDE
},
1294 { SW_PROP_NMID(UNO_NAME_TOP_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_UP_MARGIN
|CONVERT_TWIPS
},
1295 { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN
), RES_UL_SPACE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_LO_MARGIN
|CONVERT_TWIPS
},
1296 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
,MID_VERTORIENT_ORIENT
},
1297 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
,MID_VERTORIENT_POSITION
|CONVERT_TWIPS
},
1298 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
|PropertyAttribute::MAYBEVOID
,MID_VERTORIENT_RELATION
},
1299 { SW_PROP_NMID(UNO_NAME_TEXT_RANGE
), FN_TEXT_RANGE
, CPPU_E2T(CPPUTYPE_REFTXTRANGE
), PROPERTY_NONE
, 0},
1300 { SW_PROP_NMID(UNO_NAME_OPAQUE
), RES_OPAQUE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1301 { SW_PROP_NMID(UNO_NAME_ANCHOR_POSITION
), FN_ANCHOR_POSITION
, CPPU_E2T(CPPUTYPE_AWTPOINT
), PropertyAttribute::READONLY
, 0},
1302 // OD 2004-05-04 #i26791#
1303 { SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW
), RES_FOLLOW_TEXT_FLOW
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1304 // --> OD 2004-06-29 #i28701#
1305 { SW_PROP_NMID(UNO_NAME_WRAP_INFLUENCE_ON_POSITION
), RES_WRAP_INFLUENCE_ON_OBJPOS
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, MID_WRAP_INFLUENCE
},
1306 // --> OD 2004-08-06 #i28749#
1307 { SW_PROP_NMID( UNO_NAME_TRANSFORMATION_IN_HORI_L2R
),
1308 FN_SHAPE_TRANSFORMATION_IN_HORI_L2R
,
1309 CPPU_E2T(CPPUTYPE_TRANSFORMATIONINHORIL2R
),
1310 PropertyAttribute::READONLY
, 0},
1311 { SW_PROP_NMID( UNO_NAME_POSITION_LAYOUT_DIR
),
1312 FN_SHAPE_POSITION_LAYOUT_DIR
,
1313 CPPU_E2T(CPPUTYPE_INT16
),
1316 // --> OD 2004-10-28 #i36248#
1317 { SW_PROP_NMID( UNO_NAME_STARTPOSITION_IN_HORI_L2R
),
1318 FN_SHAPE_STARTPOSITION_IN_HORI_L2R
,
1319 CPPU_E2T(CPPUTYPE_AWTPOINT
),
1320 PropertyAttribute::READONLY
, 0},
1321 { SW_PROP_NMID( UNO_NAME_ENDPOSITION_IN_HORI_L2R
),
1322 FN_SHAPE_ENDPOSITION_IN_HORI_L2R
,
1323 CPPU_E2T(CPPUTYPE_AWTPOINT
),
1324 PropertyAttribute::READONLY
, 0},
1326 // --> OD 2006-11-09 #i71182#
1327 // missing map entry for property <PageToogle>
1328 { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE
), RES_HORI_ORIENT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_HORIORIENT_PAGETOGGLE
},
1332 aMapArr
[nPropertyId
] = aShapeMap_Impl
;
1335 case PROPERTY_MAP_INDEX_MARK
:
1337 static SfxItemPropertyMap aIdxMarkMap_Impl
[] =
1339 { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT
), WID_ALT_TEXT
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1340 { SW_PROP_NMID(UNO_NAME_PRIMARY_KEY
), WID_PRIMARY_KEY
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1341 { SW_PROP_NMID(UNO_NAME_SECONDARY_KEY
), WID_SECONDARY_KEY
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1342 { SW_PROP_NMID(UNO_NAME_TEXT_READING
), WID_TEXT_READING
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1343 { SW_PROP_NMID(UNO_NAME_PRIMARY_KEY_READING
), WID_PRIMARY_KEY_READING
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1344 { SW_PROP_NMID(UNO_NAME_SECONDARY_KEY_READING
), WID_SECONDARY_KEY_READING
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1345 { SW_PROP_NMID(UNO_NAME_IS_MAIN_ENTRY
), WID_MAIN_ENTRY
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1346 COMMON_TEXT_CONTENT_PROPERTIES
1349 aMapArr
[nPropertyId
] = aIdxMarkMap_Impl
;
1352 case PROPERTY_MAP_CNTIDX_MARK
:
1354 static SfxItemPropertyMap aCntntMarkMap_Impl
[] =
1356 { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT
), WID_ALT_TEXT
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1357 { SW_PROP_NMID(UNO_NAME_LEVEL
), WID_LEVEL
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1358 COMMON_TEXT_CONTENT_PROPERTIES
1361 aMapArr
[nPropertyId
] = aCntntMarkMap_Impl
;
1364 case PROPERTY_MAP_USER_MARK
:
1366 static SfxItemPropertyMap aUserMarkMap_Impl
[] =
1368 { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT
), WID_ALT_TEXT
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1369 { SW_PROP_NMID(UNO_NAME_LEVEL
), WID_LEVEL
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1370 { SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME
), WID_USER_IDX_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1371 COMMON_TEXT_CONTENT_PROPERTIES
1374 aMapArr
[nPropertyId
] = aUserMarkMap_Impl
;
1377 case PROPERTY_MAP_INDEX_IDX
:
1379 static SfxItemPropertyMap aTOXIndexMap_Impl
[] =
1381 _BASE_INDEX_PROPERTIES_
1382 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER
), WID_CREATE_FROM_CHAPTER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1383 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1384 { SW_PROP_NMID(UNO_NAME_USE_ALPHABETICAL_SEPARATORS
), WID_USE_ALPHABETICAL_SEPARATORS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1385 { SW_PROP_NMID(UNO_NAME_USE_KEY_AS_ENTRY
), WID_USE_KEY_AS_ENTRY
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1386 { SW_PROP_NMID(UNO_NAME_USE_COMBINED_ENTRIES
), WID_USE_COMBINED_ENTRIES
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1387 { SW_PROP_NMID(UNO_NAME_IS_CASE_SENSITIVE
), WID_IS_CASE_SENSITIVE
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1388 { SW_PROP_NMID(UNO_NAME_USE_P_P
), WID_USE_P_P
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1389 { SW_PROP_NMID(UNO_NAME_USE_DASH
), WID_USE_DASH
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1390 { SW_PROP_NMID(UNO_NAME_USE_UPPER_CASE
), WID_USE_UPPER_CASE
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1391 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
, 0},
1392 // { SW_PROP_NMID(UNO_NAME_??? ), WID_??? , &_getReflection , PROPERTY_NONE, 0},
1393 { SW_PROP_NMID(UNO_NAME_MAIN_ENTRY_CHARACTER_STYLE_NAME
), WID_MAIN_ENTRY_CHARACTER_STYLE_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1394 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1395 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1396 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1397 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1398 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1399 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1400 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1401 { SW_PROP_NMID(UNO_NAME_PARA_STYLESEPARATOR
), WID_PARA_SEP
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1402 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1403 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2
), WID_PARA_LEV2
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1404 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3
), WID_PARA_LEV3
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1405 { SW_PROP_NMID(UNO_NAME_IS_COMMA_SEPARATED
), WID_IS_COMMA_SEPARATED
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,0 },
1406 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS
), WID_INDEX_MARKS
, CPPU_E2T(CPPUTYPE_DOCIDXMRK
), PropertyAttribute::READONLY
,0 },
1407 { SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS
), WID_IS_RELATIVE_TABSTOPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1408 { SW_PROP_NMID(UNO_NAME_LOCALE
), WID_IDX_LOCALE
, CPPU_E2T(CPPUTYPE_LOCALE
), PROPERTY_NONE
, 0},\
1409 { SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM
), WID_IDX_SORT_ALGORITHM
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},\
1412 aMapArr
[nPropertyId
] = aTOXIndexMap_Impl
;
1415 case PROPERTY_MAP_INDEX_CNTNT
:
1417 static SfxItemPropertyMap aTOXContentMap_Impl
[] =
1419 _BASE_INDEX_PROPERTIES_
1420 { SW_PROP_NMID(UNO_NAME_LEVEL
), WID_LEVEL
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1421 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_MARKS
), WID_CREATE_FROM_MARKS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1422 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_OUTLINE
), WID_CREATE_FROM_OUTLINE
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1423 // { SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE, 0},
1424 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER
), WID_CREATE_FROM_CHAPTER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1425 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1426 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
, 0},
1427 { SW_PROP_NMID(UNO_NAME_LEVEL_PARAGRAPH_STYLES
), WID_LEVEL_PARAGRAPH_STYLES
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PropertyAttribute::READONLY
, 0},
1428 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES
), WID_CREATE_FROM_PARAGRAPH_STYLES
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1429 // { SW_PROP_NMID(UNO_NAME_RECALC_TAB_STOPS), WID_RECALC_TAB_STOPS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
1430 // { SW_PROP_NMID(UNO_NAME_??? ), WID_??? , &_getReflection , PROPERTY_NONE, 0},
1431 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1432 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1433 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1434 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1435 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1436 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1437 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1438 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1439 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2
), WID_PARA_LEV2
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1440 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3
), WID_PARA_LEV3
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1441 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4
), WID_PARA_LEV4
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1442 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5
), WID_PARA_LEV5
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1443 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6
), WID_PARA_LEV6
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1444 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7
), WID_PARA_LEV7
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1445 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8
), WID_PARA_LEV8
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1446 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9
), WID_PARA_LEV9
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1447 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10
), WID_PARA_LEV10
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1448 { SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS
), WID_IS_RELATIVE_TABSTOPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1449 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS
), WID_INDEX_MARKS
, CPPU_E2T(CPPUTYPE_DOCIDXMRK
), PropertyAttribute::READONLY
,0 },
1452 aMapArr
[nPropertyId
] = aTOXContentMap_Impl
;
1455 case PROPERTY_MAP_INDEX_USER
:
1457 static SfxItemPropertyMap aTOXUserMap_Impl
[] =
1459 _BASE_INDEX_PROPERTIES_
1460 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_MARKS
), WID_CREATE_FROM_MARKS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1461 // { SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE,0},
1462 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER
), WID_CREATE_FROM_CHAPTER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1463 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1464 { SW_PROP_NMID(UNO_NAME_USE_LEVEL_FROM_SOURCE
), WID_USE_LEVEL_FROM_SOURCE
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1465 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
,0},
1466 { SW_PROP_NMID(UNO_NAME_LEVEL_PARAGRAPH_STYLES
), WID_LEVEL_PARAGRAPH_STYLES
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PropertyAttribute::READONLY
,0},
1467 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES
), WID_CREATE_FROM_PARAGRAPH_STYLES
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1468 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_TABLES
), WID_CREATE_FROM_TABLES
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1469 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_TEXT_FRAMES
), WID_CREATE_FROM_TEXT_FRAMES
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1470 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS
), WID_CREATE_FROM_GRAPHIC_OBJECTS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1471 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS
), WID_CREATE_FROM_EMBEDDED_OBJECTS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1472 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1473 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1474 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1475 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1476 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1477 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1478 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1479 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1480 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2
), WID_PARA_LEV2
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1481 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3
), WID_PARA_LEV3
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1482 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4
), WID_PARA_LEV4
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1483 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5
), WID_PARA_LEV5
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1484 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6
), WID_PARA_LEV6
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1485 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7
), WID_PARA_LEV7
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1486 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8
), WID_PARA_LEV8
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1487 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9
), WID_PARA_LEV9
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1488 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10
), WID_PARA_LEV10
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1489 { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS
), WID_INDEX_MARKS
, CPPU_E2T(CPPUTYPE_DOCIDXMRK
), PropertyAttribute::READONLY
,0 },
1490 { SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS
), WID_IS_RELATIVE_TABSTOPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1491 { SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME
), WID_USER_IDX_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1494 aMapArr
[nPropertyId
] = aTOXUserMap_Impl
;
1497 case PROPERTY_MAP_INDEX_TABLES
:
1499 static SfxItemPropertyMap aTOXTablesMap_Impl
[] =
1501 _BASE_INDEX_PROPERTIES_
1502 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER
), WID_CREATE_FROM_CHAPTER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1503 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_LABELS
), WID_CREATE_FROM_LABELS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1504 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1505 { SW_PROP_NMID(UNO_NAME_LABEL_CATEGORY
), WID_LABEL_CATEGORY
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1506 { SW_PROP_NMID(UNO_NAME_LABEL_DISPLAY_TYPE
), WID_LABEL_DISPLAY_TYPE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1507 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
,0},
1508 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1509 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1510 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1511 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1512 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1513 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1514 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1515 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1516 { SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS
), WID_IS_RELATIVE_TABSTOPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1519 aMapArr
[nPropertyId
] = aTOXTablesMap_Impl
;
1522 case PROPERTY_MAP_INDEX_OBJECTS
:
1524 static SfxItemPropertyMap aTOXObjectsMap_Impl
[] =
1526 _BASE_INDEX_PROPERTIES_
1527 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER
), WID_CREATE_FROM_CHAPTER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1528 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1529 { SW_PROP_NMID(UNO_NAME_USE_ALPHABETICAL_SEPARATORS
), WID_USE_ALPHABETICAL_SEPARATORS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1530 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
,0},
1531 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_MATH
), WID_CREATE_FROM_STAR_MATH
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1532 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_CHART
), WID_CREATE_FROM_STAR_CHART
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1533 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_CALC
), WID_CREATE_FROM_STAR_CALC
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1534 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_DRAW
), WID_CREATE_FROM_STAR_DRAW
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1535 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS
), WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1536 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1537 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1538 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1539 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1540 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1541 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1542 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1543 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1544 { SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS
), WID_IS_RELATIVE_TABSTOPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1547 aMapArr
[nPropertyId
] = aTOXObjectsMap_Impl
;
1550 case PROPERTY_MAP_INDEX_ILLUSTRATIONS
:
1552 static SfxItemPropertyMap aTOXIllustrationsMap_Impl
[] =
1554 _BASE_INDEX_PROPERTIES_
1555 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER
), WID_CREATE_FROM_CHAPTER
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1556 { SW_PROP_NMID(UNO_NAME_CREATE_FROM_LABELS
), WID_CREATE_FROM_LABELS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1557 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1558 { SW_PROP_NMID(UNO_NAME_USE_ALPHABETICAL_SEPARATORS
), WID_USE_ALPHABETICAL_SEPARATORS
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1559 { SW_PROP_NMID(UNO_NAME_LABEL_CATEGORY
), WID_LABEL_CATEGORY
, CPPU_E2T(CPPUTYPE_OUSTRING
) , PROPERTY_NONE
, 0},
1560 { SW_PROP_NMID(UNO_NAME_LABEL_DISPLAY_TYPE
), WID_LABEL_DISPLAY_TYPE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, 0},
1561 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
,0},
1562 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1563 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1564 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1565 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1566 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1567 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1568 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1569 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1570 { SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS
), WID_IS_RELATIVE_TABSTOPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1573 aMapArr
[nPropertyId
] = aTOXIllustrationsMap_Impl
;
1576 case PROPERTY_MAP_TEXT_TABLE_ROW
:
1578 static SfxItemPropertyMap aTableRowPropertyMap_Impl
[] =
1580 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
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_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1585 { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS
), FN_UNO_TABLE_COLUMN_SEPARATORS
, CPPU_E2T(CPPUTYPE_TBLCOLSEP
), PropertyAttribute::MAYBEVOID
, 0 },
1586 { SW_PROP_NMID(UNO_NAME_HEIGHT
), FN_UNO_ROW_HEIGHT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,CONVERT_TWIPS
},
1587 { SW_PROP_NMID(UNO_NAME_IS_AUTO_HEIGHT
), FN_UNO_ROW_AUTO_HEIGHT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0 },
1588 { SW_PROP_NMID(UNO_NAME_SIZE_TYPE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_SIZE_TYPE
},
1589 { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE
), RES_FRM_SIZE
, CPPU_E2T(CPPUTYPE_INT16
) , PROPERTY_NONE
, MID_FRMSIZE_WIDTH_TYPE
},
1590 { SW_PROP_NMID(UNO_NAME_IS_SPLIT_ALLOWED
), RES_ROW_SPLIT
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PropertyAttribute::MAYBEVOID
, 0},
1591 // { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS },
1592 // { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
1596 aMapArr
[nPropertyId
] = (SfxItemPropertyMap
*)aTableRowPropertyMap_Impl
;
1599 case PROPERTY_MAP_TEXT_TABLE_CURSOR
:
1601 // das PropertySet entspricht dem Range ohne Chart-Properties
1602 static SfxItemPropertyMap aTableCursorPropertyMap_Impl
[] =
1604 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01
1607 // attributes from PROPERTY_MAP_TABLE_CELL:
1608 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_BACK_COLOR
},
1609 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1610 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1611 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1612 { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), RES_BOXATR_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::MAYBEVOID
,0 },
1613 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRAPHIC_TRANSPARENT
},
1614 // commented ones are already part of
1615 // COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN_01:
1616 // { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
1617 // { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
1618 // { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
1619 // { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
1620 // { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
1621 // { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
1622 // { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
1623 // { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
1624 // { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
1625 { SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES
), RES_UNKNOWNATR_CONTAINER
, CPPU_E2T(CPPUTYPE_REFNAMECNT
), PropertyAttribute::MAYBEVOID
, 0 },
1626 { SW_PROP_NMID(UNO_NAME_TEXT_SECTION
), FN_UNO_TEXT_SECTION
, CPPU_E2T(CPPUTYPE_REFTEXTSECTION
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 },
1627 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), RES_PROTECT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), 0, MID_PROTECT_CONTENT
},
1628 { SW_PROP_NMID(UNO_NAME_VERT_ORIENT
), RES_VERT_ORIENT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
,MID_VERTORIENT_ORIENT
},
1631 aMapArr
[nPropertyId
] = aTableCursorPropertyMap_Impl
;
1634 case PROPERTY_MAP_BOOKMARK
:
1636 static SfxItemPropertyMap aBookmarkPropertyMap_Impl
[] =
1638 { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME
), FN_PARAM_LINK_DISPLAY_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0xff},
1639 COMMON_TEXT_CONTENT_PROPERTIES
1642 aMapArr
[nPropertyId
] = aBookmarkPropertyMap_Impl
;
1645 case PROPERTY_MAP_PARAGRAPH_EXTENSIONS
:
1647 static SfxItemPropertyMap aParagraphExtensionsMap_Impl
[] =
1649 COMMON_TEXT_CONTENT_PROPERTIES
1653 aMapArr
[nPropertyId
] = aParagraphExtensionsMap_Impl
;
1656 case PROPERTY_MAP_BIBLIOGRAPHY
:
1658 static SfxItemPropertyMap aBibliographyMap_Impl
[] =
1660 _BASE_INDEX_PROPERTIES_
1661 { SW_PROP_NMID(UNO_NAME_IS_PROTECTED
), WID_PROTECTED
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
1662 { SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS
), RES_COL
, CPPU_E2T(CPPUTYPE_REFTEXTCOL
), PROPERTY_NONE
, MID_COLUMNS
},
1663 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_URL
},
1664 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
,MID_GRAPHIC_FILTER
},
1665 { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_GRAPHICLOC
), PROPERTY_NONE
,MID_GRAPHIC_POSITION
},
1666 { SW_PROP_NMID(UNO_NAME_BACK_COLOR
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
,MID_BACK_COLOR
},
1667 { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT
), RES_BACKGROUND
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
,MID_GRAPHIC_TRANSPARENT
},
1668 { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING
), WID_PARA_HEAD
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1669 { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1
), WID_PARA_LEV1
, CPPU_E2T(CPPUTYPE_OUSTRING
) , 0, 0},
1670 { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT
), WID_LEVEL_FORMAT
, CPPU_E2T(CPPUTYPE_REFIDXREPL
) , PROPERTY_NONE
,0},
1671 { SW_PROP_NMID(UNO_NAME_LOCALE
), WID_IDX_LOCALE
, CPPU_E2T(CPPUTYPE_LOCALE
), PROPERTY_NONE
, 0},\
1672 { SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM
), WID_IDX_SORT_ALGORITHM
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},\
1675 aMapArr
[nPropertyId
] = aBibliographyMap_Impl
;
1678 case PROPERTY_MAP_TEXT_DOCUMENT
:
1680 static SfxItemPropertyMap aDocMap_Impl
[] =
1682 { SW_PROP_NMID(UNO_NAME_BASIC_LIBRARIES
), WID_DOC_BASIC_LIBRARIES
, CPPU_E2T(CPPUTYPE_REFLIBCONTAINER
), PropertyAttribute::READONLY
, 0},
1683 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME
), RES_CHRATR_FONT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, MID_FONT_FAMILY_NAME
},
1684 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME
), RES_CHRATR_FONT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, MID_FONT_STYLE_NAME
},
1685 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY
), RES_CHRATR_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_FAMILY
},
1686 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET
), RES_CHRATR_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_CHAR_SET
},
1687 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH
), RES_CHRATR_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_PITCH
},
1688 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN
), RES_CHRATR_CJK_FONT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, MID_FONT_FAMILY_NAME
},
1689 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN
), RES_CHRATR_CJK_FONT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, MID_FONT_STYLE_NAME
},
1690 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN
), RES_CHRATR_CJK_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_FAMILY
},
1691 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN
), RES_CHRATR_CJK_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_CHAR_SET
},
1692 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN
), RES_CHRATR_CJK_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_PITCH
},
1693 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX
), RES_CHRATR_CTL_FONT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, MID_FONT_FAMILY_NAME
},
1694 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX
), RES_CHRATR_CTL_FONT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, MID_FONT_STYLE_NAME
},
1695 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX
), RES_CHRATR_CTL_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_FAMILY
},
1696 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX
), RES_CHRATR_CTL_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_CHAR_SET
},
1697 { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX
), RES_CHRATR_CTL_FONT
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
, MID_FONT_PITCH
},
1698 { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE
), RES_CHRATR_LANGUAGE
, CPPU_E2T(CPPUTYPE_LOCALE
), PropertyAttribute::MAYBEVOID
, MID_LANG_LOCALE
},
1699 { SW_PROP_NMID(UNO_NAME_CHARACTER_COUNT
), WID_DOC_CHAR_COUNT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::READONLY
, 0},
1700 { SW_PROP_NMID(UNO_NAME_DIALOG_LIBRARIES
), WID_DOC_DIALOG_LIBRARIES
, CPPU_E2T(CPPUTYPE_REFLIBCONTAINER
), PropertyAttribute::READONLY
, 0},
1701 { SW_PROP_NMID(UNO_NAME_VBA_DOCOBJ
), WID_DOC_VBA_DOCOBJ
, CPPU_E2T(CPPUTYPE_PROPERTYVALUE
), PropertyAttribute::READONLY
, 0},
1702 { SW_PROP_NMID(UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L
), WID_DOC_AUTO_MARK_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1703 { SW_PROP_NMID(UNO_NAME_PARAGRAPH_COUNT
), WID_DOC_PARA_COUNT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::READONLY
, 0},
1704 { SW_PROP_NMID(UNO_NAME_RECORD_CHANGES
), WID_DOC_CHANGES_RECORD
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1705 { SW_PROP_NMID(UNO_NAME_SHOW_CHANGES
), WID_DOC_CHANGES_SHOW
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1706 { SW_PROP_NMID(UNO_NAME_WORD_COUNT
), WID_DOC_WORD_COUNT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::READONLY
, 0},
1707 { SW_PROP_NMID(UNO_NAME_IS_TEMPLATE
), WID_DOC_ISTEMPLATEID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
1708 { SW_PROP_NMID(UNO_NAME_WORD_SEPARATOR
), WID_DOC_WORD_SEPARATOR
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1709 { SW_PROP_NMID(UNO_NAME_HIDE_FIELD_TIPS
), WID_DOC_HIDE_TIPS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1710 { SW_PROP_NMID(UNO_NAME_REDLINE_DISPLAY_TYPE
), WID_DOC_REDLINE_DISPLAY
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1711 { SW_PROP_NMID(UNO_NAME_REDLINE_PROTECTION_KEY
), WID_DOC_CHANGES_PASSWORD
, CPPU_E2T(CPPUTYPE_SEQINT8
), PROPERTY_NONE
, 0 },
1712 { SW_PROP_NMID(UNO_NAME_FORBIDDEN_CHARACTERS
), WID_DOC_FORBIDDEN_CHARS
, CPPU_E2T(CPPUTYPE_REFFORBCHARS
), PROPERTY_NONE
, 0},
1713 { SW_PROP_NMID(UNO_NAME_TWO_DIGIT_YEAR
), WID_DOC_TWO_DIGIT_YEAR
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1714 { SW_PROP_NMID(UNO_NAME_AUTOMATIC_CONTROL_FOCUS
), WID_DOC_AUTOMATIC_CONTROL_FOCUS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1715 { SW_PROP_NMID(UNO_NAME_APPLY_FORM_DESIGN_MODE
), WID_DOC_APPLY_FORM_DESIGN_MODE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1716 { SW_PROP_NMID(UNO_NAME_RUNTIME_UID
), WID_DOC_RUNTIME_UID
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
1717 { SW_PROP_NMID(UNO_NAME_LOCK_UPDATES
), WID_DOC_LOCK_UPDATES
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1718 { SW_PROP_NMID(UNO_NAME_HAS_VALID_SIGNATURES
), WID_DOC_HAS_VALID_SIGNATURES
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::READONLY
, 0},
1719 { SW_PROP_NMID(UNO_NAME_BUILDID
), WID_DOC_BUILDID
, CPPU_E2T(CPPUTYPE_OUSTRING
), 0, 0},
1720 // --> OD 2006-03-21 #b6375613#
1721 { SW_PROP_NMID(UNO_NAME_APPLY_WORKAROUND_FOR_B6375613
), WID_APPLY_WORKAROUND_FOR_B6375613
, CPPU_E2T(CPPUTYPE_BOOLEAN
), 0, 0},
1725 aMapArr
[nPropertyId
] = aDocMap_Impl
;
1728 case PROPERTY_MAP_LINK_TARGET
:
1730 static SfxItemPropertyMap aLinkTargetMap_Impl
[] =
1732 { SW_PROP_NMID(UNO_LINK_DISPLAY_BITMAP
), 0, CPPU_E2T(CPPUTYPE_REFBITMAP
), PropertyAttribute::READONLY
, 0xff},
1733 { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME
), 0, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0xff},
1736 aMapArr
[nPropertyId
] = aLinkTargetMap_Impl
;
1739 case PROPERTY_MAP_AUTO_TEXT_GROUP
:
1741 static SfxItemPropertyMap aAutoTextGroupMap_Impl
[] =
1743 { SW_PROP_NMID(UNO_NAME_FILE_PATH
), WID_GROUP_PATH
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, PropertyAttribute::READONLY
},
1744 { SW_PROP_NMID(UNO_NAME_TITLE
), WID_GROUP_TITLE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1747 aMapArr
[nPropertyId
] = aAutoTextGroupMap_Impl
;
1750 case PROPERTY_MAP_TEXTPORTION_EXTENSIONS
:
1752 static SfxItemPropertyMap aTextPortionExtensionMap_Impl
[] =
1754 COMPLETE_TEXT_CURSOR_MAP
1755 {SW_PROP_NMID(UNO_NAME_BOOKMARK
), FN_UNO_BOOKMARK
, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 },
1756 {SW_PROP_NMID(UNO_NAME_CONTROL_CHARACTER
), FN_UNO_CONTROL_CHARACTER
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, MID_HYPHEN_MIN_LEAD
},
1757 {SW_PROP_NMID(UNO_NAME_IS_COLLAPSED
), FN_UNO_IS_COLLAPSED
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0 },
1758 {SW_PROP_NMID(UNO_NAME_IS_START
), FN_UNO_IS_START
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0 },
1759 //_REDLINE_PROPERTIES
1760 {SW_PROP_NMID(UNO_NAME_TEXT_PORTION_TYPE
), FN_UNO_TEXT_PORTION_TYPE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
1763 aMapArr
[nPropertyId
] = aTextPortionExtensionMap_Impl
;
1766 case PROPERTY_MAP_FOOTNOTE
:
1768 static SfxItemPropertyMap aFootnoteMap_Impl
[] =
1770 {SW_PROP_NMID(UNO_NAME_REFERENCE_ID
), 0, CPPU_E2T(CPPUTYPE_INT16
),PropertyAttribute::READONLY
|PropertyAttribute::MAYBEVOID
, 0},
1771 COMMON_TEXT_CONTENT_PROPERTIES
1772 _REDLINE_NODE_PROPERTIES
1775 aMapArr
[nPropertyId
] = aFootnoteMap_Impl
;
1778 case PROPERTY_MAP_TEXT_COLUMS
:
1780 static SfxItemPropertyMap aTextColumns_Impl
[] =
1782 {SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC
), WID_TXTCOL_IS_AUTOMATIC
, CPPU_E2T(CPPUTYPE_BOOLEAN
),PropertyAttribute::READONLY
, 0},
1783 {SW_PROP_NMID(UNO_NAME_AUTOMATIC_DISTANCE
), WID_TXTCOL_AUTO_DISTANCE
, CPPU_E2T(CPPUTYPE_INT32
),PROPERTY_NONE
, 0},
1784 {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_WIDTH
), WID_TXTCOL_LINE_WIDTH
, CPPU_E2T(CPPUTYPE_INT32
),PROPERTY_NONE
, 0},
1785 {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_COLOR
), WID_TXTCOL_LINE_COLOR
, CPPU_E2T(CPPUTYPE_INT32
),PROPERTY_NONE
, 0},
1786 {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT
), WID_TXTCOL_LINE_REL_HGT
, CPPU_E2T(CPPUTYPE_INT32
),PROPERTY_NONE
, 0},
1787 {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT
), WID_TXTCOL_LINE_ALIGN
, CPPU_E2T(CPPUTYPE_VERTALIGN
),PROPERTY_NONE
, 0},
1788 {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_IS_ON
), WID_TXTCOL_LINE_IS_ON
, CPPU_E2T(CPPUTYPE_BOOLEAN
),PROPERTY_NONE
, 0},
1791 aMapArr
[nPropertyId
] = aTextColumns_Impl
;
1794 case PROPERTY_MAP_REDLINE
:
1796 static SfxItemPropertyMap aRedlineMap_Impl
[] =
1799 _REDLINE_NODE_PROPERTIES
1800 {SW_PROP_NMID(UNO_NAME_REDLINE_START
), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE
), PropertyAttribute::READONLY
, 0},
1801 {SW_PROP_NMID(UNO_NAME_REDLINE_END
), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0},
1804 aMapArr
[nPropertyId
] = aRedlineMap_Impl
;
1807 case PROPERTY_MAP_TEXT_DEFAULT
:
1809 static SfxItemPropertyMap aTextDefaultMap_Impl
[] =
1811 { SW_PROP_NMID(UNO_NAME_TAB_STOP_DISTANCE
), RES_PARATR_TABSTOP
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, MID_STD_TAB
| CONVERT_TWIPS
},
1812 COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
1813 COMMON_HYPERLINK_PROPERTIES
1814 { SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME
), RES_TXTATR_CHARFMT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0},
1815 { SW_PROP_NMID(UNO_NAME_IS_SPLIT_ALLOWED
), RES_ROW_SPLIT
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PropertyAttribute::MAYBEVOID
, 0},
1816 // --> collapsing borders DVO, FME 2005-05-27 #i29550#
1817 { SW_PROP_NMID(UNO_NAME_COLLAPSING_BORDERS
), RES_COLLAPSING_BORDERS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1820 //text grid enhancement for better CJK support. 2007-04-01
1821 //just export the default page mode property, other properties are not handled in this version
1822 { SW_PROP_NMID(UNO_NAME_GRID_STANDARD_PAGE_MODE
), RES_TEXTGRID
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, MID_GRID_STANDARD_MODE
},
1825 aMapArr
[nPropertyId
] = aTextDefaultMap_Impl
;
1826 for( SfxItemPropertyMap
* pMap
= aTextDefaultMap_Impl
;
1827 pMap
->pName
; ++pMap
)
1829 // UNO_NAME_PAGE_DESC_NAME should keep its MAYBEVOID flag
1830 if (!(RES_PAGEDESC
== pMap
->nWID
&& MID_PAGEDESC_PAGEDESCNAME
== pMap
->nMemberId
))
1831 pMap
->nFlags
&= ~PropertyAttribute::MAYBEVOID
;
1835 case PROPERTY_MAP_REDLINE_PORTION
:
1837 static SfxItemPropertyMap aRedlinePortionMap_Impl
[] =
1839 COMPLETE_TEXT_CURSOR_MAP
1840 {SW_PROP_NMID(UNO_NAME_BOOKMARK
), FN_UNO_BOOKMARK
, CPPU_E2T(CPPUTYPE_REFTEXTCNTNT
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
,0 },
1841 {SW_PROP_NMID(UNO_NAME_CONTROL_CHARACTER
), FN_UNO_CONTROL_CHARACTER
, CPPU_E2T(CPPUTYPE_INT16
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, MID_HYPHEN_MIN_LEAD
},
1842 {SW_PROP_NMID(UNO_NAME_IS_COLLAPSED
), FN_UNO_IS_COLLAPSED
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0 },
1843 {SW_PROP_NMID(UNO_NAME_IS_START
), FN_UNO_IS_START
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PropertyAttribute::MAYBEVOID
|PropertyAttribute::READONLY
, 0 },
1845 {SW_PROP_NMID(UNO_NAME_TEXT_PORTION_TYPE
), FN_UNO_TEXT_PORTION_TYPE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
1848 aMapArr
[nPropertyId
] = aRedlinePortionMap_Impl
;
1851 case PROPERTY_MAP_FLDTYP_DATETIME
:
1853 static SfxItemPropertyMap aDateTimeFieldPropMap
[] =
1855 {SW_PROP_NMID(UNO_NAME_ADJUST
), FIELD_PROP_SUBTYPE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
1856 {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE
), FIELD_PROP_DATE_TIME
, CPPU_E2T(CPPUTYPE_DATETIME
), PROPERTY_NONE
, 0},
1857 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
1858 {SW_PROP_NMID(UNO_NAME_IS_DATE
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
1859 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
1860 {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE
), FIELD_PROP_BOOL4
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1861 COMMON_FLDTYP_PROPERTIES
1864 aMapArr
[nPropertyId
] = aDateTimeFieldPropMap
;
1867 case PROPERTY_MAP_FLDTYP_USER
:
1869 static SfxItemPropertyMap aUserFieldPropMap
[] =
1871 {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1872 {SW_PROP_NMID(UNO_NAME_IS_VISIBLE
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1873 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
1874 {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE
), FIELD_PROP_BOOL4
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1875 COMMON_FLDTYP_PROPERTIES
1879 aMapArr
[nPropertyId
] = aUserFieldPropMap
;
1882 case PROPERTY_MAP_FLDTYP_SET_EXP
:
1884 static SfxItemPropertyMap aSetExpFieldPropMap
[] =
1886 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1887 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1888 {SW_PROP_NMID(UNO_NAME_HINT
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1889 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
1890 {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE
), FIELD_PROP_USHORT2
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1891 {SW_PROP_NMID(UNO_NAME_IS_INPUT
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1892 // #i69733# wrong name - UNO_NAME_IS_INPUT expanded to "Input" instead of "IsInput"
1893 {SW_PROP_NMID(UNO_NAME_INPUT
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1894 {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA
), FIELD_PROP_BOOL3
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1895 {SW_PROP_NMID(UNO_NAME_IS_VISIBLE
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1896 //TODO: UNO_NAME_VARIABLE_NAME gibt es das wirklich?
1897 {SW_PROP_NMID(UNO_NAME_SEQUENCE_VALUE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1898 {SW_PROP_NMID(UNO_NAME_SUB_TYPE
), FIELD_PROP_SUBTYPE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1899 {SW_PROP_NMID(UNO_NAME_VALUE
), FIELD_PROP_DOUBLE
, CPPU_E2T(CPPUTYPE_DOUBLE
), PROPERTY_NONE
, 0},
1900 {SW_PROP_NMID(UNO_NAME_VARIABLE_NAME
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
1901 {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE
), FIELD_PROP_BOOL4
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1902 COMMON_FLDTYP_PROPERTIES
1905 aMapArr
[nPropertyId
] = aSetExpFieldPropMap
;
1908 case PROPERTY_MAP_FLDTYP_GET_EXP
:
1910 static SfxItemPropertyMap aGetExpFieldPropMap
[] =
1912 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1913 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1914 {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1915 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
1916 {SW_PROP_NMID(UNO_NAME_SUB_TYPE
), FIELD_PROP_SUBTYPE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1917 {SW_PROP_NMID(UNO_NAME_VALUE
), FIELD_PROP_DOUBLE
, CPPU_E2T(CPPUTYPE_DOUBLE
), PropertyAttribute::READONLY
, 0},
1918 {SW_PROP_NMID(UNO_NAME_VARIABLE_SUBTYPE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1919 {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE
), FIELD_PROP_BOOL4
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1920 COMMON_FLDTYP_PROPERTIES
1923 aMapArr
[nPropertyId
] = aGetExpFieldPropMap
;
1926 case PROPERTY_MAP_FLDTYP_FILE_NAME
:
1928 static SfxItemPropertyMap aFileNameFieldPropMap
[] =
1930 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1931 {SW_PROP_NMID(UNO_NAME_FILE_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1932 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1933 COMMON_FLDTYP_PROPERTIES
1936 aMapArr
[nPropertyId
] = aFileNameFieldPropMap
;
1939 case PROPERTY_MAP_FLDTYP_PAGE_NUM
:
1941 static SfxItemPropertyMap aPageNumFieldPropMap
[] =
1943 {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1944 {SW_PROP_NMID(UNO_NAME_OFFSET
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1945 {SW_PROP_NMID(UNO_NAME_SUB_TYPE
), FIELD_PROP_SUBTYPE
, CPPU_E2T(CPPUTYPE_PAGENUMTYPE
), PROPERTY_NONE
, 0},
1946 {SW_PROP_NMID(UNO_NAME_USERTEXT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1947 COMMON_FLDTYP_PROPERTIES
1950 aMapArr
[nPropertyId
] = aPageNumFieldPropMap
;
1953 case PROPERTY_MAP_FLDTYP_AUTHOR
:
1955 static SfxItemPropertyMap aAuthorFieldPropMap
[] =
1957 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1958 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1959 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1960 {SW_PROP_NMID(UNO_NAME_FULL_NAME
),FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
1961 COMMON_FLDTYP_PROPERTIES
1964 aMapArr
[nPropertyId
] = aAuthorFieldPropMap
;
1967 case PROPERTY_MAP_FLDTYP_CHAPTER
:
1969 static SfxItemPropertyMap aChapterFieldPropMap
[] =
1971 {SW_PROP_NMID(UNO_NAME_CHAPTER_FORMAT
),FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1972 {SW_PROP_NMID(UNO_NAME_LEVEL
),FIELD_PROP_BYTE1
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, 0},
1973 COMMON_FLDTYP_PROPERTIES
1976 aMapArr
[nPropertyId
] = aChapterFieldPropMap
;
1979 case PROPERTY_MAP_FLDTYP_GET_REFERENCE
:
1981 static SfxItemPropertyMap aGetRefFieldPropMap
[] =
1983 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1984 {SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_PART
),FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1985 {SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_SOURCE
),FIELD_PROP_USHORT2
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1986 {SW_PROP_NMID(UNO_NAME_SEQUENCE_NUMBER
), FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
1987 {SW_PROP_NMID(UNO_NAME_SOURCE_NAME
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1988 COMMON_FLDTYP_PROPERTIES
1991 aMapArr
[nPropertyId
] = aGetRefFieldPropMap
;
1994 case PROPERTY_MAP_FLDTYP_CONDITIONED_TEXT
:
1996 static SfxItemPropertyMap aConditionedTxtFieldPropMap
[] =
1998 {SW_PROP_NMID(UNO_NAME_CONDITION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
1999 {SW_PROP_NMID(UNO_NAME_FALSE_CONTENT
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2000 {SW_PROP_NMID(UNO_NAME_IS_CONDITION_TRUE
) , FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2001 {SW_PROP_NMID(UNO_NAME_TRUE_CONTENT
) , FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2002 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2003 COMMON_FLDTYP_PROPERTIES
2006 aMapArr
[nPropertyId
] = aConditionedTxtFieldPropMap
;
2009 case PROPERTY_MAP_FLDTYP_HIDDEN_TEXT
:
2011 static SfxItemPropertyMap aHiddenTxtFieldPropMap
[] =
2013 {SW_PROP_NMID(UNO_NAME_CONDITION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2014 {SW_PROP_NMID(UNO_NAME_CONTENT
) , FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2015 {SW_PROP_NMID(UNO_NAME_IS_HIDDEN
) , FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2016 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2017 COMMON_FLDTYP_PROPERTIES
2020 aMapArr
[nPropertyId
] = aHiddenTxtFieldPropMap
;
2023 case PROPERTY_MAP_FLDTYP_ANNOTATION
:
2025 static SfxItemPropertyMap aAnnotationFieldPropMap
[] =
2027 {SW_PROP_NMID(UNO_NAME_AUTHOR
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2028 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2029 {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE
), FIELD_PROP_DATE_TIME
, CPPU_E2T(CPPUTYPE_DATETIME
), PROPERTY_NONE
, 0},
2030 {SW_PROP_NMID(UNO_NAME_DATE
), FIELD_PROP_DATE
, CPPU_E2T(CPPUTYPE_DATE
), PROPERTY_NONE
, 0},
2031 {SW_PROP_NMID(UNO_NAME_TEXT_RANGE
), FIELD_PROP_TEXT
, CPPU_E2T(CPPUTYPE_REFINTERFACE
), PropertyAttribute::READONLY
, 0},
2032 COMMON_FLDTYP_PROPERTIES
2035 aMapArr
[nPropertyId
] = aAnnotationFieldPropMap
;
2038 case PROPERTY_MAP_FLDTYP_INPUT
:
2040 static SfxItemPropertyMap aInputFieldPropMap
[] =
2042 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2043 {SW_PROP_NMID(UNO_NAME_HINT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2044 {SW_PROP_NMID(UNO_NAME_HELP
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2045 {SW_PROP_NMID(UNO_NAME_TOOLTIP
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2046 COMMON_FLDTYP_PROPERTIES
2049 aMapArr
[nPropertyId
] = aInputFieldPropMap
;
2052 case PROPERTY_MAP_FLDTYP_MACRO
:
2054 static SfxItemPropertyMap aMacroFieldPropMap
[] =
2056 {SW_PROP_NMID(UNO_NAME_HINT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2057 {SW_PROP_NMID(UNO_NAME_MACRO_NAME
),FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2058 {SW_PROP_NMID(UNO_NAME_MACRO_LIBRARY
),FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
),PROPERTY_NONE
, 0},
2059 {SW_PROP_NMID(UNO_NAME_SCRIPT_URL
),FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
),PROPERTY_NONE
, 0},
2060 COMMON_FLDTYP_PROPERTIES
2063 aMapArr
[nPropertyId
] = aMacroFieldPropMap
;
2066 case PROPERTY_MAP_FLDTYP_DDE
:
2068 static SfxItemPropertyMap aDDEFieldPropMap
[] =
2070 COMMON_FLDTYP_PROPERTIES
2073 aMapArr
[nPropertyId
] = aDDEFieldPropMap
;
2076 case PROPERTY_MAP_FLDTYP_DROPDOWN
:
2078 static SfxItemPropertyMap aDropDownMap
[] =
2080 {SW_PROP_NMID(UNO_NAME_ITEMS
), FIELD_PROP_STRINGS
, CPPU_E2T(CPPUTYPE_OUSTRINGS
), PROPERTY_NONE
, 0},
2081 {SW_PROP_NMID(UNO_NAME_SELITEM
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2082 {SW_PROP_NMID(UNO_NAME_NAME
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2083 {SW_PROP_NMID(UNO_NAME_HELP
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2084 {SW_PROP_NMID(UNO_NAME_TOOLTIP
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2085 COMMON_FLDTYP_PROPERTIES
2088 aMapArr
[nPropertyId
] = aDropDownMap
;
2091 case PROPERTY_MAP_FLDTYP_HIDDEN_PARA
:
2093 static SfxItemPropertyMap aHiddenParaFieldPropMap
[] =
2095 {SW_PROP_NMID(UNO_NAME_CONDITION
),FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2096 {SW_PROP_NMID(UNO_NAME_IS_HIDDEN
) , FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2097 COMMON_FLDTYP_PROPERTIES
2100 aMapArr
[nPropertyId
] = aHiddenParaFieldPropMap
;
2103 case PROPERTY_MAP_FLDTYP_DOC_INFO
:
2105 static SfxItemPropertyMap aDocInfoFieldPropMap
[] =
2107 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2108 {SW_PROP_NMID(UNO_NAME_INFO_FORMAT
), FIELD_PROP_USHORT2
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2109 {SW_PROP_NMID(UNO_NAME_INFO_TYPE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2110 COMMON_FLDTYP_PROPERTIES
2113 aMapArr
[nPropertyId
] = aDocInfoFieldPropMap
;
2116 case PROPERTY_MAP_FLDTYP_TEMPLATE_NAME
:
2118 static SfxItemPropertyMap aTmplNameFieldPropMap
[] =
2120 {SW_PROP_NMID(UNO_NAME_FILE_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2121 COMMON_FLDTYP_PROPERTIES
2124 aMapArr
[nPropertyId
] = aTmplNameFieldPropMap
;
2127 case PROPERTY_MAP_FLDTYP_USER_EXT
:
2129 static SfxItemPropertyMap aUsrExtFieldPropMap
[] =
2131 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2132 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2133 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2134 {SW_PROP_NMID(UNO_NAME_USER_DATA_TYPE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2135 COMMON_FLDTYP_PROPERTIES
2138 aMapArr
[nPropertyId
]= aUsrExtFieldPropMap
;
2141 case PROPERTY_MAP_FLDTYP_REF_PAGE_SET
:
2143 static SfxItemPropertyMap aRefPgSetFieldPropMap
[] =
2145 {SW_PROP_NMID(UNO_NAME_OFFSET
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2146 {SW_PROP_NMID(UNO_NAME_ON
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2147 COMMON_FLDTYP_PROPERTIES
2150 aMapArr
[nPropertyId
] = aRefPgSetFieldPropMap
;
2153 case PROPERTY_MAP_FLDTYP_REF_PAGE_GET
:
2155 static SfxItemPropertyMap aRefPgGetFieldPropMap
[] =
2157 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2158 {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2159 COMMON_FLDTYP_PROPERTIES
2162 aMapArr
[nPropertyId
] = aRefPgGetFieldPropMap
;
2165 case PROPERTY_MAP_FLDTYP_JUMP_EDIT
:
2167 static SfxItemPropertyMap aJumpEdtFieldPropMap
[] =
2169 {SW_PROP_NMID(UNO_NAME_HINT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2170 {SW_PROP_NMID(UNO_NAME_PLACEHOLDER
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2171 {SW_PROP_NMID(UNO_NAME_PLACEHOLDER_TYPE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2172 COMMON_FLDTYP_PROPERTIES
2175 aMapArr
[nPropertyId
] = aJumpEdtFieldPropMap
;
2178 case PROPERTY_MAP_FLDTYP_SCRIPT
:
2180 static SfxItemPropertyMap aScriptFieldPropMap
[] =
2182 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2183 {SW_PROP_NMID(UNO_NAME_SCRIPT_TYPE
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2184 {SW_PROP_NMID(UNO_NAME_URL_CONTENT
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2185 COMMON_FLDTYP_PROPERTIES
2188 aMapArr
[nPropertyId
] = aScriptFieldPropMap
;
2191 case PROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET
:
2193 static SfxItemPropertyMap aDBNextSetFieldPropMap
[] =
2195 // Note: DATA_BASE_NAME and DATA_BASE_URL
2196 // are mapped to the same nMId, because internally we only use
2197 // them as DataSource and it does not matter which one it is.
2199 {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2200 {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME
) , FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2201 {SW_PROP_NMID(UNO_NAME_CONDITION
) , FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2202 {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2203 {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE
), FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2204 COMMON_FLDTYP_PROPERTIES
2207 aMapArr
[nPropertyId
] = aDBNextSetFieldPropMap
;
2210 case PROPERTY_MAP_FLDTYP_DATABASE_NUM_SET
:
2212 static SfxItemPropertyMap aDBNumSetFieldPropMap
[] =
2214 // Note: DATA_BASE_NAME and DATA_BASE_URL
2215 // are mapped to the same nMId, because internally we only use
2216 // them as DataSource and it does not matter which one it is.
2218 {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2219 {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2220 {SW_PROP_NMID(UNO_NAME_CONDITION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2221 {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2222 {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE
), FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2223 {SW_PROP_NMID(UNO_NAME_SET_NUMBER
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2224 COMMON_FLDTYP_PROPERTIES
2227 aMapArr
[nPropertyId
] = aDBNumSetFieldPropMap
;
2230 case PROPERTY_MAP_FLDTYP_DATABASE_SET_NUM
:
2232 static SfxItemPropertyMap aDBSetNumFieldPropMap
[] =
2234 // Note: DATA_BASE_NAME and DATA_BASE_URL
2235 // are mapped to the same nMId, because internally we only use
2236 // them as DataSource and it does not matter which one it is.
2238 {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2239 {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME
) , FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2240 {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2241 {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE
), FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2242 {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2243 {SW_PROP_NMID(UNO_NAME_SET_NUMBER
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2244 {SW_PROP_NMID(UNO_NAME_IS_VISIBLE
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2245 COMMON_FLDTYP_PROPERTIES
2248 aMapArr
[nPropertyId
] = aDBSetNumFieldPropMap
;
2251 case PROPERTY_MAP_FLDTYP_DATABASE
:
2253 static SfxItemPropertyMap aDBFieldPropMap
[] =
2255 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2256 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2257 {SW_PROP_NMID(UNO_NAME_FIELD_CODE
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2258 {SW_PROP_NMID(UNO_NAME_IS_DATA_BASE_FORMAT
),FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
2259 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2260 {SW_PROP_NMID(UNO_NAME_IS_VISIBLE
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2261 COMMON_FLDTYP_PROPERTIES
2264 aMapArr
[nPropertyId
] = aDBFieldPropMap
;
2267 case PROPERTY_MAP_FLDTYP_DATABASE_NAME
:
2269 static SfxItemPropertyMap aDBNameFieldPropMap
[] =
2271 // Note: DATA_BASE_NAME and DATA_BASE_URL
2272 // are mapped to the same nMId, because internally we only use
2273 // them as DataSource and it does not matter which one it is.
2275 {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2276 {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME
) , FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2277 {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2278 {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE
), FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2279 {SW_PROP_NMID(UNO_NAME_IS_VISIBLE
), FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2280 COMMON_FLDTYP_PROPERTIES
2283 aMapArr
[nPropertyId
] = aDBNameFieldPropMap
;
2286 case PROPERTY_MAP_FLDTYP_DOCSTAT
:
2288 static SfxItemPropertyMap aDocstatFieldPropMap
[] =
2290 {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE
), FIELD_PROP_USHORT2
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2291 // {UNO_NAME_STATISTIC_TYPE_ID,FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
2292 COMMON_FLDTYP_PROPERTIES
2295 aMapArr
[nPropertyId
] = aDocstatFieldPropMap
;
2298 case PROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR
:
2300 static SfxItemPropertyMap aDocInfoAuthorPropMap
[] =
2302 {SW_PROP_NMID(UNO_NAME_AUTHOR
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2303 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2304 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
2305 COMMON_FLDTYP_PROPERTIES
2308 aMapArr
[nPropertyId
] = aDocInfoAuthorPropMap
;
2311 case PROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME
:
2313 static SfxItemPropertyMap aDocInfoDateTimePropMap
[] =
2315 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2316 {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE
), FIELD_PROP_DOUBLE
, CPPU_E2T(CPPUTYPE_DOUBLE
), PropertyAttribute::READONLY
, 0},
2317 {SW_PROP_NMID(UNO_NAME_IS_DATE
), FIELD_PROP_BOOL2
, 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 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
2320 {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE
), FIELD_PROP_BOOL4
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2323 aMapArr
[nPropertyId
] = aDocInfoDateTimePropMap
;
2326 case PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME
:
2328 static SfxItemPropertyMap aDocInfoEditTimePropMap
[] =
2330 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2331 {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE
), FIELD_PROP_DOUBLE
, CPPU_E2T(CPPUTYPE_DOUBLE
), PropertyAttribute::READONLY
, 0},
2332 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
),FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2333 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
, 0},
2334 {SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE
), FIELD_PROP_BOOL4
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2335 COMMON_FLDTYP_PROPERTIES
2338 aMapArr
[nPropertyId
] = aDocInfoEditTimePropMap
;
2341 case PROPERTY_MAP_FLDTYP_DOCINFO_MISC
:
2343 static SfxItemPropertyMap aDocInfoStringContentPropMap
[] =
2345 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2346 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2347 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
2348 COMMON_FLDTYP_PROPERTIES
2351 aMapArr
[nPropertyId
] = aDocInfoStringContentPropMap
;
2354 case PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM
:
2356 static SfxItemPropertyMap aDocInfoCustomPropMap
[] =
2358 {SW_PROP_NMID(UNO_NAME_NAME
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2359 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2360 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
2361 COMMON_FLDTYP_PROPERTIES
2364 aMapArr
[nPropertyId
] = aDocInfoCustomPropMap
;
2367 case PROPERTY_MAP_FLDTYP_DOCINFO_REVISION
:
2369 static SfxItemPropertyMap aDocInfoRevisionPropMap
[] =
2371 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2372 {SW_PROP_NMID(UNO_NAME_REVISION
), FIELD_PROP_USHORT1
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2373 {SW_PROP_NMID(UNO_NAME_IS_FIXED
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
) , PROPERTY_NONE
,0},
2374 COMMON_FLDTYP_PROPERTIES
2377 aMapArr
[nPropertyId
] = aDocInfoRevisionPropMap
;
2380 case PROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS
:
2382 static SfxItemPropertyMap aCombinedCharactersPropMap
[] =
2384 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2385 COMMON_FLDTYP_PROPERTIES
2388 aMapArr
[nPropertyId
] = aCombinedCharactersPropMap
;
2391 case PROPERTY_MAP_FLDTYP_TABLE_FORMULA
:
2393 static SfxItemPropertyMap aTableFormulaPropMap
[] =
2395 {SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2396 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2397 {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2398 {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT
), FIELD_PROP_FORMAT
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2399 COMMON_FLDTYP_PROPERTIES
2402 aMapArr
[nPropertyId
] = aTableFormulaPropMap
;
2405 case PROPERTY_MAP_FLDTYP_DUMMY_0
:
2407 static SfxItemPropertyMap aEmptyPropMap
[] =
2409 COMMON_FLDTYP_PROPERTIES
2412 aMapArr
[nPropertyId
] = aEmptyPropMap
;
2415 case PROPERTY_MAP_FLDMSTR_USER
:
2417 static SfxItemPropertyMap aUserFieldTypePropMap
[] =
2419 {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS
), FIELD_PROP_PROP_SEQ
, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD
), PropertyAttribute::READONLY
, 0},
2420 {SW_PROP_NMID(UNO_NAME_IS_EXPRESSION
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2421 {SW_PROP_NMID(UNO_NAME_NAME
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0},
2422 {SW_PROP_NMID(UNO_NAME_VALUE
), FIELD_PROP_DOUBLE
, CPPU_E2T(CPPUTYPE_DOUBLE
), PROPERTY_NONE
, 0},
2423 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2424 {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
2427 aMapArr
[nPropertyId
] = aUserFieldTypePropMap
;
2430 case PROPERTY_MAP_FLDMSTR_DDE
:
2432 static SfxItemPropertyMap aDDEFieldTypePropMap
[] =
2434 {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2435 {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2436 {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE
), FIELD_PROP_SUBTYPE
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2437 {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS
), FIELD_PROP_PROP_SEQ
, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD
), PropertyAttribute::READONLY
, 0},
2438 {SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE
), FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2439 {SW_PROP_NMID(UNO_NAME_NAME
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2440 {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
2441 {SW_PROP_NMID(UNO_NAME_CONTENT
), FIELD_PROP_PAR5
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2444 aMapArr
[nPropertyId
] = aDDEFieldTypePropMap
;
2447 case PROPERTY_MAP_FLDMSTR_SET_EXP
:
2449 static SfxItemPropertyMap aSetExpFieldTypePropMap
[] =
2451 {SW_PROP_NMID(UNO_NAME_CHAPTER_NUMBERING_LEVEL
),FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT8
), PROPERTY_NONE
, 0},
2452 {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS
), FIELD_PROP_PROP_SEQ
, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD
), PropertyAttribute::READONLY
, 0},
2453 {SW_PROP_NMID(UNO_NAME_NAME
), FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2454 {SW_PROP_NMID(UNO_NAME_NUMBERING_SEPARATOR
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2455 {SW_PROP_NMID(UNO_NAME_SUB_TYPE
), FIELD_PROP_SUBTYPE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2456 {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
2459 aMapArr
[nPropertyId
] = aSetExpFieldTypePropMap
;
2462 case PROPERTY_MAP_FLDMSTR_DATABASE
:
2464 static SfxItemPropertyMap aDBFieldTypePropMap
[] =
2466 // Note: DATA_BASE_NAME and DATA_BASE_URL
2467 // are mapped to the same nMId, because internally we only use
2468 // them as DataSource and it does not matter which one it is.
2470 {SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2471 {SW_PROP_NMID(UNO_NAME_NAME
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::MAYBEVOID
, 0},
2472 {SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME
), FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2473 {SW_PROP_NMID(UNO_NAME_DATA_COLUMN_NAME
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2474 {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
2475 {SW_PROP_NMID(UNO_NAME_DATA_BASE_URL
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2476 {SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE
), FIELD_PROP_SHORT1
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2477 {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS
), FIELD_PROP_PROP_SEQ
, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD
), PropertyAttribute::READONLY
, 0},
2480 aMapArr
[nPropertyId
] = aDBFieldTypePropMap
;
2483 case PROPERTY_MAP_FLDMSTR_DUMMY0
:
2485 static SfxItemPropertyMap aStandardFieldMasterMap
[] =
2487 {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS
), 0, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD
), PropertyAttribute::READONLY
, 0},
2488 {SW_PROP_NMID(UNO_NAME_NAME
), 0, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2489 {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME
), 0, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
2492 aMapArr
[nPropertyId
] = aStandardFieldMasterMap
;
2495 case PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY
:
2497 static SfxItemPropertyMap aBibliographyFieldMap
[] =
2499 {SW_PROP_NMID(UNO_NAME_FIELDS
) , FIELD_PROP_PROP_SEQ
, CPPU_E2T(CPPUTYPE_PROPERTYVALUE
),PROPERTY_NONE
, 0},
2500 COMMON_FLDTYP_PROPERTIES
2503 aMapArr
[nPropertyId
] = aBibliographyFieldMap
;
2506 case PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY
:
2508 static SfxItemPropertyMap aBibliographyFieldMasterMap
[] =
2510 {SW_PROP_NMID(UNO_NAME_BRACKET_BEFORE
) , FIELD_PROP_PAR1
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2511 {SW_PROP_NMID(UNO_NAME_BRACKET_AFTER
) , FIELD_PROP_PAR2
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2512 {SW_PROP_NMID(UNO_NAME_IS_NUMBER_ENTRIES
) , FIELD_PROP_BOOL1
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2513 {SW_PROP_NMID(UNO_NAME_IS_SORT_BY_POSITION
) , FIELD_PROP_BOOL2
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2514 {SW_PROP_NMID(UNO_NAME_LOCALE
), FIELD_PROP_LOCALE
, CPPU_E2T(CPPUTYPE_LOCALE
) , PROPERTY_NONE
, 0},
2515 {SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM
), FIELD_PROP_PAR3
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2516 {SW_PROP_NMID(UNO_NAME_SORT_KEYS
) , FIELD_PROP_PROP_SEQ
, CPPU_E2T(CPPUTYPE_PROPERTYVALUES
), PROPERTY_NONE
, 0},
2517 {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME
), FIELD_PROP_PAR4
, CPPU_E2T(CPPUTYPE_OUSTRING
), PropertyAttribute::READONLY
, 0},
2520 aMapArr
[nPropertyId
] = aBibliographyFieldMasterMap
;
2523 case PROPERTY_MAP_TEXT
:
2525 static SfxItemPropertyMap aTextMap
[] =
2527 _REDLINE_NODE_PROPERTIES
2530 aMapArr
[nPropertyId
] = aTextMap
;
2533 case PROPERTY_MAP_MAILMERGE
:
2535 static SfxItemPropertyMap aMailMergeMap
[] =
2537 { SW_PROP_NMID(UNO_NAME_SELECTION
), WID_SELECTION
, CPPU_E2T(CPPUTYPE_SEQANY
), PROPERTY_NONE
, 0},
2538 { SW_PROP_NMID(UNO_NAME_RESULT_SET
), WID_RESULT_SET
, CPPU_E2T(CPPUTYPE_REFRESULTSET
), PROPERTY_NONE
, 0},
2539 { SW_PROP_NMID(UNO_NAME_CONNECTION
), WID_CONNECTION
, CPPU_E2T(CPPUTYPE_REFCONNECTION
), PROPERTY_NONE
, 0},
2540 { SW_PROP_NMID(UNO_NAME_MODEL
), WID_MODEL
, CPPU_E2T(CPPUTYPE_REFMODEL
), PropertyAttribute::READONLY
, 0},
2541 { SW_PROP_NMID(UNO_NAME_DATA_SOURCE_NAME
), WID_DATA_SOURCE_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2542 { SW_PROP_NMID(UNO_NAME_DAD_COMMAND
), WID_DATA_COMMAND
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2543 { SW_PROP_NMID(UNO_NAME_FILTER
), WID_FILTER
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2544 { SW_PROP_NMID(UNO_NAME_DOCUMENT_URL
), WID_DOCUMENT_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2545 { SW_PROP_NMID(UNO_NAME_OUTPUT_URL
), WID_OUTPUT_URL
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2546 { SW_PROP_NMID(UNO_NAME_DAD_COMMAND_TYPE
), WID_DATA_COMMAND_TYPE
, CPPU_E2T(CPPUTYPE_INT32
), PROPERTY_NONE
, 0},
2547 { SW_PROP_NMID(UNO_NAME_OUTPUT_TYPE
), WID_OUTPUT_TYPE
, CPPU_E2T(CPPUTYPE_INT16
), PROPERTY_NONE
, 0},
2548 { SW_PROP_NMID(UNO_NAME_ESCAPE_PROCESSING
), WID_ESCAPE_PROCESSING
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2549 { SW_PROP_NMID(UNO_NAME_SINGLE_PRINT_JOBS
), WID_SINGLE_PRINT_JOBS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2550 { SW_PROP_NMID(UNO_NAME_FILE_NAME_FROM_COLUMN
), WID_FILE_NAME_FROM_COLUMN
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2551 { SW_PROP_NMID(UNO_NAME_FILE_NAME_PREFIX
), WID_FILE_NAME_PREFIX
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2552 { SW_PROP_NMID(UNO_NAME_SUBJECT
), WID_MAIL_SUBJECT
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2553 { SW_PROP_NMID(UNO_NAME_ADDRESS_FROM_COLUMN
), WID_ADDRESS_FROM_COLUMN
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2554 { SW_PROP_NMID(UNO_NAME_SEND_AS_HTML
), WID_SEND_AS_HTML
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2555 { SW_PROP_NMID(UNO_NAME_SEND_AS_ATTACHMENT
), WID_SEND_AS_ATTACHMENT
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2556 { SW_PROP_NMID(UNO_NAME_MAIL_BODY
), WID_MAIL_BODY
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2557 { SW_PROP_NMID(UNO_NAME_ATTACHMENT_NAME
), WID_ATTACHMENT_NAME
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2558 { SW_PROP_NMID(UNO_NAME_ATTACHMENT_FILTER
), WID_ATTACHMENT_FILTER
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2559 { SW_PROP_NMID(UNO_NAME_PRINT_OPTIONS
), WID_PRINT_OPTIONS
, CPPU_E2T(CPPUTYPE_PROPERTYVALUES
), PROPERTY_NONE
, 0},
2560 { SW_PROP_NMID(UNO_NAME_SAVE_AS_SINGLE_FILE
), WID_SAVE_AS_SINGLE_FILE
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2561 { SW_PROP_NMID(UNO_NAME_SAVE_FILTER
), WID_SAVE_FILTER
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2562 { SW_PROP_NMID(UNO_NAME_SAVE_FILTER_OPTIONS
), WID_SAVE_FILTER_OPTIONS
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2563 { SW_PROP_NMID(UNO_NAME_SAVE_FILTER_DATA
), WID_SAVE_FILTER_DATA
, CPPU_E2T(CPPUTYPE_PROPERTYVALUES
), PROPERTY_NONE
, 0},
2564 { SW_PROP_NMID(UNO_NAME_COPIES_TO
), WID_COPIES_TO
, CPPU_E2T(CPPUTYPE_OUSTRINGS
), PROPERTY_NONE
, 0},
2565 { SW_PROP_NMID(UNO_NAME_BLIND_COPIES_TO
), WID_BLIND_COPIES_TO
, CPPU_E2T(CPPUTYPE_OUSTRINGS
), PROPERTY_NONE
, 0},
2566 { SW_PROP_NMID(UNO_NAME_IN_SERVER_PASSWORD
), WID_IN_SERVER_PASSWORD
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2567 { SW_PROP_NMID(UNO_NAME_OUT_SERVER_PASSWORD
), WID_OUT_SERVER_PASSWORD
, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0},
2570 aMapArr
[nPropertyId
] = aMailMergeMap
;
2573 case PROPERTY_MAP_TEXT_VIEW
:
2575 static SfxItemPropertyMap pTextViewMap
[] =
2577 {SW_PROP_NMID(UNO_NAME_PAGE_COUNT
), WID_PAGE_COUNT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::READONLY
, 0},
2578 {SW_PROP_NMID(UNO_NAME_LINE_COUNT
), WID_LINE_COUNT
, CPPU_E2T(CPPUTYPE_INT32
), PropertyAttribute::READONLY
, 0},
2579 {SW_PROP_NMID(UNO_NAME_IS_CONSTANT_SPELLCHECK
), WID_IS_CONSTANT_SPELLCHECK
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0},
2580 {SW_PROP_NMID(UNO_NAME_IS_HIDE_SPELL_MARKS
), WID_IS_HIDE_SPELL_MARKS
, CPPU_E2T(CPPUTYPE_BOOLEAN
), PROPERTY_NONE
, 0}, // deprecated #i91949
2583 aMapArr
[nPropertyId
] = pTextViewMap
;
2586 case PROPERTY_MAP_CHART2_DATA_SEQUENCE
:
2588 static SfxItemPropertyMap aChart2DataSequenceMap
[] =
2590 {SW_PROP_NMID(UNO_NAME_ROLE
), 0, CPPU_E2T(CPPUTYPE_OUSTRING
), PROPERTY_NONE
, 0 },
2593 aMapArr
[nPropertyId
] = aChart2DataSequenceMap
;
2598 DBG_ERROR( "unexpected property map ID" );
2602 return aMapArr
[nPropertyId
];
2604 /* -----------------04.07.98 11:42-------------------
2606 * --------------------------------------------------*/
2607 sal_Bool
SwItemPropertySet::FillItem(SfxItemSet
& /*rSet*/, sal_uInt16
/*nWhich*/, sal_Bool
/*bGetProperty*/) const
2609 sal_Bool bRet
= sal_False
;
2610 /* if(nWhich == SID_ATTR_PAGE_PAPERBIN)
2612 rSet.Put(SvxPaperBinItem(SID_ATTR_PAGE_PAPERBIN, 0));