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