1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: PropertyIds.cxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include <PropertyIds.hxx>
31 #include <rtl/ustring.hxx>
34 namespace writerfilter
{
37 typedef ::std::map
< PropertyIds
, ::rtl::OUString
> PropertyNameMap_t
;
39 struct PropertyNameSupplier_Impl
41 PropertyNameMap_t aNameMap
;
44 /*-- 14.06.2006 11:01:31---------------------------------------------------
46 -----------------------------------------------------------------------*/
47 PropertyNameSupplier::PropertyNameSupplier() :
48 m_pImpl(new PropertyNameSupplier_Impl
)
51 /*-- 14.06.2006 11:01:32---------------------------------------------------
53 -----------------------------------------------------------------------*/
54 PropertyNameSupplier::~PropertyNameSupplier()
58 /*-- 14.06.2006 11:01:32---------------------------------------------------
60 -----------------------------------------------------------------------*/
61 const rtl::OUString
& PropertyNameSupplier::GetName( PropertyIds eId
) const
63 PropertyNameMap_t::iterator aIt
= m_pImpl
->aNameMap
.find(eId
);
64 if(aIt
== m_pImpl
->aNameMap
.end())
66 ::rtl::OUString sName
;
69 case PROP_CHAR_WEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharWeight")); break;
70 case PROP_CHAR_POSTURE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharPosture")); break;
71 case PROP_CHAR_STRIKEOUT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharStrikeout")); break;
72 case PROP_CHAR_CONTOURED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharContoured")); break;
73 case PROP_CHAR_SHADOWED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharShadowed")); break;
74 case PROP_CHAR_CASE_MAP
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharCaseMap")); break;
75 case PROP_CHAR_COLOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharColor")); break;
76 case PROP_CHAR_RELIEF
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharRelief")); break;
77 case PROP_CHAR_UNDERLINE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharUnderline")); break;
78 case PROP_CHAR_UNDERLINE_COLOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharUnderlineColor")); break;
79 case PROP_CHAR_UNDERLINE_HAS_COLOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharUnderlineHasColor")); break;
80 case PROP_CHAR_WORD_MODE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharWordMode")); break;
81 case PROP_CHAR_ESCAPEMENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharEscapement")); break;
82 case PROP_CHAR_ESCAPEMENT_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharEscapementHeight")); break;
83 case PROP_CHAR_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharHeight")); break;
84 case PROP_CHAR_HEIGHT_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharHeightComplex")); break;
85 case PROP_CHAR_LOCALE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharLocale")); break;
86 case PROP_CHAR_LOCALE_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharLocaleAsian")); break;
87 case PROP_CHAR_LOCALE_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharLocaleComplex")); break;
88 case PROP_CHAR_WEIGHT_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharWeightComplex")); break;
89 case PROP_CHAR_POSTURE_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharPostureComplex")); break;
90 case PROP_CHAR_CHAR_KERNING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharKerning")); break;
91 case PROP_CHAR_AUTO_KERNING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharAutoKerning")); break;
92 case PROP_CHAR_SCALE_WIDTH
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharScaleWidth")); break;
93 case PROP_CHAR_STYLE_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharStyleName")); break;
94 case PROP_CHAR_FONT_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontName")); break;
95 case PROP_CHAR_FONT_STYLE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontStyle")); break;
96 case PROP_CHAR_FONT_FAMILY
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontFamily")); break;
97 case PROP_CHAR_FONT_CHAR_SET
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontCharSet")); break;
98 case PROP_CHAR_FONT_PITCH
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontPitch")); break;
99 case PROP_CHAR_FONT_NAME_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontNameAsian")); break;
100 case PROP_CHAR_HEIGHT_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharHeightAsian")); break;
101 case PROP_CHAR_FONT_STYLE_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontStyleAsian")); break;
102 case PROP_CHAR_FONT_FAMILY_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontFamilyAsian")); break;
103 case PROP_CHAR_FONT_CHAR_SET_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontCharSetAsian")); break;
104 case PROP_CHAR_FONT_PITCH_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontPitchAsian")); break;
105 case PROP_CHAR_FONT_NAME_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontNameComplex")); break;
106 case PROP_CHAR_FONT_STYLE_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontStyleComplex")); break;
107 case PROP_CHAR_FONT_FAMILY_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontFamilyComplex")); break;
108 case PROP_CHAR_FONT_CHAR_SET_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontCharSetComplex")); break;
109 case PROP_CHAR_FONT_PITCH_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFontPitchComplex")); break;
110 case PROP_CHAR_HIDDEN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharHidden")); break;
111 case PROP_CHAR_WEIGHT_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharWeightAsian")); break;
112 case PROP_CHAR_POSTURE_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharPostureAsian")); break;
113 case PROP_CHAR_BACK_COLOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharBackColor")); break;
114 case PROP_CHAR_EMPHASIS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharEmphasis")); break;
115 case PROP_CHAR_COMBINE_IS_ON
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharCombineIsOn")); break;
116 case PROP_CHAR_COMBINE_PREFIX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharCombinePrefix")); break;
117 case PROP_CHAR_COMBINE_SUFFIX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharCombineSuffix")); break;
118 case PROP_CHAR_ROTATION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharRotation")); break;
119 case PROP_CHAR_ROTATION_IS_FIT_TO_LINE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharRotationIsFitToLine")); break;
120 case PROP_CHAR_FLASH
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharFlash")); break;
121 // case PROP_CHAR_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Char")); break;
122 // case PROP_CHAR_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Char")); break;
123 // case PROP_CHAR_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Char")); break;
125 case PROP_PARA_STYLE_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaStyleName")); break;
126 case PROP_PARA_ADJUST
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaAdjust")); break;
127 case PROP_PARA_LAST_LINE_ADJUST
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaLastLineAdjust")); break;
128 case PROP_PARA_RIGHT_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaRightMargin")); break;
129 case PROP_PARA_LEFT_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaLeftMargin")); break;
130 case PROP_PARA_FIRST_LINE_INDENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaFirstLineIndent")); break;
131 case PROP_PARA_KEEP_TOGETHER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaKeepTogether")); break;
132 case PROP_PARA_TOP_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaTopMargin")); break;
133 case PROP_PARA_BOTTOM_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaBottomMargin")); break;
134 case PROP_PARA_IS_HYPHENATION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaIsHyphenation")); break;
135 case PROP_PARA_LINE_NUMBER_COUNT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaLineNumberCount")); break;
136 case PROP_PARA_IS_HANGING_PUNCTUATION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaIsHangingPunctuation")); break;
137 case PROP_PARA_LINE_SPACING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaLineSpacing")); break;
138 case PROP_PARA_TAB_STOPS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaTabStops")); break;
139 case PROP_PARA_WIDOWS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaWidows")); break;
140 case PROP_PARA_ORPHANS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaOrphans")); break;
141 case PROP_PARA_LINE_NUMBER_START_VALUE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaLineNumberStartValue")); break;
142 // case PROP_PARA_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Para")); break;
143 // case PROP_PARA_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Para")); break;
144 // case PROP_PARA_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Para")); break;
145 // case PROP_PARA_: sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Para")); break;
146 case PROP_NUMBERING_LEVEL
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberingLevel")); break;
147 case PROP_NUMBERING_RULES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberingRules")); break;
148 case PROP_NUMBERING_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberingType")); break;
149 case PROP_START_WITH
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StartWith")); break;
150 case PROP_ADJUST
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Adjust")); break;
151 case PROP_PARENT_NUMBERING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParentNumbering")); break;
152 case PROP_RIGHT_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RightMargin")); break;
153 case PROP_LEFT_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LeftMargin")); break;
154 case PROP_TOP_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TopMargin")); break;
155 case PROP_BOTTOM_MARGIN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BottomMargin")); break;
156 case PROP_FIRST_LINE_OFFSET
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FirstLineOffset")); break;
157 case PROP_LEFT_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LeftBorder"));break;
158 case PROP_RIGHT_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RightBorder"));break;
159 case PROP_TOP_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TopBorder"));break;
160 case PROP_BOTTOM_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BottomBorder"));break;
161 case PROP_TABLE_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TableBorder"));break;
162 case PROP_LEFT_BORDER_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LeftBorderDistance")); break;
163 case PROP_RIGHT_BORDER_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RightBorderDistance")); break;
164 case PROP_TOP_BORDER_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TopBorderDistance"));break;
165 case PROP_BOTTOM_BORDER_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BottomBorderDistance")); break;
166 case PROP_CURRENT_PRESENTATION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CurrentPresentation")); break;
167 case PROP_IS_FIXED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsFixed")); break;
168 case PROP_SUB_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SubType")); break;
169 case PROP_FILE_FORMAT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FileFormat")); break;
170 case PROP_HYPER_LINK_U_R_L
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HyperLinkURL")); break;
171 case PROP_NUMBER_FORMAT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberFormat")); break;
172 case PROP_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Name")); break;
173 case PROP_IS_INPUT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsInput")); break;
174 case PROP_HINT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Hint")); break;
175 case PROP_FULL_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FullName")); break;
176 case PROP_KEYWORDS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Keywords")); break;
177 case PROP_DESCRIPTION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Description")); break;
178 case PROP_MACRO_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MacroName")); break;
179 case PROP_SUBJECT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Subject")); break;
180 case PROP_USER_DATA_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("UserDataType")); break;
181 case PROP_TITLE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Title")); break;
182 case PROP_CONTENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Content")); break;
183 case PROP_DATA_COLUMN_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DataColumnName")); break;
184 case PROP_INPUT_STREAM
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("InputStream")); break;
185 case PROP_GRAPHIC
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Graphic")); break;
186 case PROP_ANCHOR_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AnchorType")); break;
187 case PROP_SIZE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Size")); break;
188 case PROP_HORI_ORIENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HoriOrient")); break;
189 case PROP_HORI_ORIENT_POSITION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HoriOrientPosition")); break;
190 case PROP_HORI_ORIENT_RELATION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HoriOrientRelation")); break;
191 case PROP_VERT_ORIENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VertOrient")); break;
192 case PROP_VERT_ORIENT_POSITION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VertOrientPosition")); break;
193 case PROP_VERT_ORIENT_RELATION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VertOrientRelation")); break;
194 case PROP_GRAPHIC_CROP
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GraphicCrop")); break;
195 case PROP_SIZE100th_M_M
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Size100thMM")); break;
196 case PROP_SIZE_PIXEL
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SizePixel")); break;
197 case PROP_SURROUND
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Surround")); break;
198 case PROP_SURROUND_CONTOUR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SurroundContour")); break;
199 case PROP_ADJUST_CONTRAST
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AdjustContrast")); break;
200 case PROP_ADJUST_LUMINANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AdjustLuminance")); break;
201 case PROP_GRAPHIC_COLOR_MODE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GraphicColorMode")); break;
202 case PROP_GAMMA
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Gamma")); break;
203 case PROP_HORI_MIRRORED_ON_EVEN_PAGES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HoriMirroredOnEvenPages")); break;
204 case PROP_HORI_MIRRORED_ON_ODD_PAGES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HoriMirroredOnOddPages")); break;
205 case PROP_VERT_MIRRORED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VertMirrored")); break;
206 case PROP_CONTOUR_OUTSIDE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ContourOutside")); break;
207 case PROP_CONTOUR_POLY_POLYGON
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ContourPolyPolygon")); break;
208 case PROP_PAGE_TOGGLE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PageToggle")); break;
209 case PROP_BACK_COLOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BackColor")); break;
210 case PROP_ALTERNATIVE_TEXT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AlternativeText")); break;
211 case PROP_HEADER_TEXT_LEFT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderTextLeft")); break;
212 case PROP_HEADER_TEXT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderText")); break;
213 case PROP_HEADER_IS_SHARED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderIsShared")); break;
214 case PROP_HEADER_IS_ON
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderIsOn")); break;
215 case PROP_FOOTER_TEXT_LEFT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterTextLeft")); break;
216 case PROP_FOOTER_TEXT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterText")); break;
217 case PROP_FOOTER_IS_SHARED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterIsShared")); break;
218 case PROP_FOOTER_IS_ON
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterIsOn")); break;
219 case PROP_WIDTH
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Width")); break;
220 case PROP_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Height")); break;
221 case PROP_SEPARATOR_LINE_IS_ON
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SeparatorLineIsOn")); break;
222 case PROP_TEXT_COLUMNS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TextColumns")); break;
223 case PROP_AUTOMATIC_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AutomaticDistance")); break;
224 case PROP_IS_LANDSCAPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsLandscape")); break;
225 case PROP_PRINTER_PAPER_TRAY_INDEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PrinterPaperTrayIndex")); break;
226 case PROP_FIRST_PAGE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("First Page")); break;
227 case PROP_DEFAULT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Default")); break;
228 case PROP_PAGE_DESC_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PageDescName")); break;
229 case PROP_PAGE_NUMBER_OFFSET
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PageNumberOffset")); break;
230 case PROP_BREAK_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BreakType")); break;
231 case PROP_FOOTER_IS_DYNAMIC_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterIsDynamicHeight")); break;
232 case PROP_FOOTER_DYNAMIC_SPACING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterDynamicSpacing")); break;
233 case PROP_FOOTER_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterHeight")); break;
234 case PROP_FOOTER_BODY_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FooterBodyDistance")); break;
235 case PROP_HEADER_IS_DYNAMIC_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderIsDynamicHeight")); break;
236 case PROP_HEADER_DYNAMIC_SPACING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderDynamicSpacing")); break;
237 case PROP_HEADER_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderHeight")); break;
238 case PROP_HEADER_BODY_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderBodyDistance")); break;
239 case PROP_WRITING_MODE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("WritingMode")); break;
240 case PROP_GRID_MODE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GridMode")); break;
241 case PROP_GRID_DISPLAY
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GridDisplay")); break;
242 case PROP_GRID_PRINT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GridPrint")); break;
243 case PROP_ADD_EXTERNAL_LEADING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AddExternalLeading")); break;
244 case PROP_GRID_LINES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GridLines")); break;
245 case PROP_GRID_BASE_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GridBaseHeight")); break;
246 case PROP_GRID_RUBY_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("GridRubyHeight")); break;
247 case PROP_IS_ON
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsOn")); break;
248 case PROP_RESTART_AT_EACH_PAGE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RestartAtEachPage")); break;
249 case PROP_COUNT_EMPTY_LINES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CountEmptyLines")); break;
250 case PROP_COUNT_LINES_IN_FRAMES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CountLinesInFrames")); break;
251 case PROP_INTERVAL
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Interval")); break;
252 case PROP_DISTANCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Distance")); break;
253 case PROP_NUMBER_POSITION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberPosition")); break;
254 case PROP_LEVEL
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Level")); break;
255 case PROP_LEVEL_PARAGRAPH_STYLES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LevelParagraphStyles")); break;
256 case PROP_LEVEL_FORMAT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LevelFormat")); break;
257 case PROP_TOKEN_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TokenType")); break;
258 case PROP_TOKEN_HYPERLINK_START
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TokenHyperlinkStart")); break;
259 case PROP_TOKEN_HYPERLINK_END
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TokenHyperlinkEnd")); break;
260 case PROP_TOKEN_CHAPTER_INFO
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TokenChapterInfo")); break;
261 case PROP_CHAPTER_FORMAT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ChapterFormat")); break;
262 case PROP_TOKEN_TEXT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TokenText")); break;
263 case PROP_TEXT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Text")); break;
264 case PROP_CREATE_FROM_OUTLINE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateFromOutline")); break;
265 case PROP_CREATE_FROM_MARKS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateFromMarks")); break;
266 case PROP_STANDARD
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Standard")); break;
267 case PROP_IS_SPLIT_ALLOWED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsSplitAllowed")); break;
268 case META_PROP_VERTICAL_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VerticalBorder")); break;
269 case META_PROP_HORIZONTAL_BORDER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HorizontalBorder")); break;
270 case PROP_HEADER_ROW_COUNT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeaderRowCount")); break;
271 case PROP_IS_AUTO_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsAutoHeight")); break;
272 case PROP_SIZE_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SizeType")); break;
273 case PROP_TABLE_COLUMN_SEPARATORS
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TableColumnSeparators")); break;
274 case META_PROP_TABLE_STYLE_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TableStyleName")); break;
275 case PROP_REDLINE_AUTHOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RedlineAuthor")); break;
276 case PROP_REDLINE_DATE_TIME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RedlineDateTime")); break;
277 case PROP_REDLINE_COMMENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RedlineComment")); break;
278 case PROP_REDLINE_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RedlineType")); break;
279 case PROP_REDLINE_SUCCESSOR_DATA
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RedlineSuccessorData")); break;
280 case PROP_REDLINE_IDENTIFIER
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RedlineIdentifier")); break;
281 case PROP_SIZE_PROTECTED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SizeProtected")); break;
282 case PROP_POSITION_PROTECTED
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PositionProtected")); break;
283 case PROP_OPAQUE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Opaque")); break;
284 case PROP_VERTICAL_MERGE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VerticalMerge")); break;
285 case PROP_BULLET_CHAR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BulletChar")); break;
286 case PROP_BULLET_FONT_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BulletFontName")); break;
287 case PROP_PARA_BACK_COLOR
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaBackColor")); break;
288 case PROP_TABS_RELATIVE_TO_INDENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TabsRelativeToIndent")); break;
289 case PROP_PREFIX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Prefix")); break;
290 case PROP_SUFFIX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Suffix")); break;
291 case PROP_CREATE_FROM_LEVEL_PARAGRAPH_STYLES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateFromLevelParagraphStyles")); break;
292 case PROP_DROP_CAP_FORMAT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DropCapFormat")); break;
293 case PROP_REFERENCE_FIELD_PART
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ReferenceFieldPart")); break;
294 case PROP_SOURCE_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SourceName")); break;
295 case PROP_REFERENCE_FIELD_SOURCE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ReferenceFieldSource")); break;
296 case PROP_WIDTH_TYPE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("WidthType")); break;
297 case PROP_TEXT_RANGE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TextRange")); break;
298 case PROP_SERVICE_CHAR_STYLE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.style.CharacterStyle")); break;
299 case PROP_SERVICE_PARA_STYLE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.style.ParagraphStyle")); break;
300 case PROP_CHARACTER_STYLES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharacterStyles")); break;
301 case PROP_PARAGRAPH_STYLES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParagraphStyles")); break;
302 case PROP_TABLE_BORDER_DISTANCES
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TableBorderDistances")); break;
303 case META_PROP_CELL_MAR_TOP
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MetaPropCellMarTop")); break;
304 case META_PROP_CELL_MAR_BOTTOM
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MetaPropCellMarBottom")); break;
305 case META_PROP_CELL_MAR_LEFT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MetaPropCellMarLeft")); break;
306 case META_PROP_CELL_MAR_RIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MetaPropCellMarRight")); break;
307 case PROP_START_AT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StartAt")); break;
308 case PROP_ADD_PARA_TABLE_SPACING
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AddParaTableSpacing")); break;
309 case PROP_CHAR_PROP_HEIGHT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharPropHeight")); break;
310 case PROP_CHAR_PROP_HEIGHT_ASIAN
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharPropHeightAsian")); break;
311 case PROP_CHAR_PROP_HEIGHT_COMPLEX
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharPropHeightComplex")); break;
312 case PROP_FORMAT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Format")); break;
313 case PROP_INSERT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Insert")); break;
314 case PROP_DELETE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Delete")); break;
315 case PROP_STREAM_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StreamName")); break;
316 case PROP_BITMAP
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Bitmap")); break;
317 case PROP_IS_DATE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsDate")); break;
318 case PROP_CNF_STYLE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CnfStyle")); break;
319 case PROP_INDENT_AT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IndentAt")); break;
320 case PROP_FIRST_LINE_INDENT
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FirstLineIndent")); break;
321 case PROP_NUMBERING_STYLE_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberingStyleName")); break;
322 case PROP_OUTLINE_LEVEL
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OutlineLevel")); break;
323 case PROP_LISTTAB_STOP_POSITION
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ListtabStopPosition")); break;
324 case PROP_POSITION_AND_SPACE_MODE
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PositionAndSpaceMode")); break;
325 case PROP_HEADING_STYLE_NAME
: sName
= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HeadingStyleName")); break;
326 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
327 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
328 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
329 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
330 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
331 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
332 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
333 // case : sName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("")); break;
335 ::std::pair
<PropertyNameMap_t::iterator
,bool> aInsertIt
=
336 m_pImpl
->aNameMap
.insert( PropertyNameMap_t::value_type( eId
, sName
));
338 aIt
= aInsertIt
.first
;
342 PropertyNameSupplier
& PropertyNameSupplier::GetPropertyNameSupplier()
344 static PropertyNameSupplier aNameSupplier
;
345 return aNameSupplier
;
348 } //namespace dmapper
349 } //namespace writerfilter