fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / writerfilter / source / dmapper / PropertyIds.cxx
blobf305c0318433e27e658177c460b49186ff0d894f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #include <rtl/instance.hxx>
20 #include <rtl/ustring.hxx>
21 #include "PropertyIds.hxx"
22 #include <map>
24 namespace writerfilter {
25 namespace dmapper{
27 typedef ::std::map< PropertyIds, OUString> PropertyNameMap_t;
29 struct PropertyNameSupplier_Impl
31 PropertyNameMap_t aNameMap;
36 PropertyNameSupplier::PropertyNameSupplier() :
37 m_pImpl(new PropertyNameSupplier_Impl)
42 PropertyNameSupplier::~PropertyNameSupplier()
44 delete m_pImpl;
48 const OUString& PropertyNameSupplier::GetName( PropertyIds eId ) const
50 PropertyNameMap_t::iterator aIt = m_pImpl->aNameMap.find(eId);
51 if(aIt == m_pImpl->aNameMap.end())
53 OUString sName;
54 switch(eId)
56 case PROP_CHAR_WEIGHT: sName = "CharWeight"; break;
57 case PROP_CHAR_POSTURE: sName = "CharPosture"; break;
58 case PROP_CHAR_STRIKEOUT: sName = "CharStrikeout"; break;
59 case PROP_CHAR_CONTOURED: sName = "CharContoured"; break;
60 case PROP_CHAR_SHADOWED: sName = "CharShadowed"; break;
61 case PROP_CHAR_CASE_MAP: sName = "CharCaseMap"; break;
62 case PROP_CHAR_COLOR: sName = "CharColor"; break;
63 case PROP_CHAR_RELIEF: sName = "CharRelief"; break;
64 case PROP_CHAR_UNDERLINE: sName = "CharUnderline"; break;
65 case PROP_CHAR_UNDERLINE_COLOR: sName = "CharUnderlineColor"; break;
66 case PROP_CHAR_UNDERLINE_HAS_COLOR: sName = "CharUnderlineHasColor"; break;
67 case PROP_CHAR_WORD_MODE: sName = "CharWordMode"; break;
68 case PROP_CHAR_ESCAPEMENT : sName = "CharEscapement"; break;
69 case PROP_CHAR_ESCAPEMENT_HEIGHT: sName = "CharEscapementHeight"; break;
70 case PROP_CHAR_HEIGHT: sName = "CharHeight"; break;
71 case PROP_CHAR_HEIGHT_COMPLEX: sName = "CharHeightComplex"; break;
72 case PROP_CHAR_LOCALE: sName = "CharLocale"; break;
73 case PROP_CHAR_LOCALE_ASIAN: sName = "CharLocaleAsian"; break;
74 case PROP_CHAR_LOCALE_COMPLEX: sName = "CharLocaleComplex"; break;
75 case PROP_CHAR_WEIGHT_COMPLEX : sName = "CharWeightComplex"; break;
76 case PROP_CHAR_POSTURE_COMPLEX: sName = "CharPostureComplex"; break;
77 case PROP_CHAR_CHAR_KERNING: sName = "CharKerning"; break;
78 case PROP_CHAR_AUTO_KERNING: sName = "CharAutoKerning"; break;
79 case PROP_CHAR_SCALE_WIDTH: sName = "CharScaleWidth"; break;
80 case PROP_CHAR_STYLE_NAME: sName = "CharStyleName"; break;
81 case PROP_CHAR_FONT_NAME: sName = "CharFontName"; break;
82 case PROP_CHAR_FONT_STYLE: sName = "CharFontStyle"; break;
83 case PROP_CHAR_FONT_FAMILY: sName = "CharFontFamily"; break;
84 case PROP_CHAR_FONT_CHAR_SET: sName = "CharFontCharSet"; break;
85 case PROP_CHAR_FONT_PITCH: sName = "CharFontPitch"; break;
86 case PROP_CHAR_FONT_NAME_ASIAN : sName = "CharFontNameAsian"; break;
87 case PROP_CHAR_HEIGHT_ASIAN : sName = "CharHeightAsian"; break;
88 case PROP_CHAR_FONT_STYLE_ASIAN : sName = "CharFontStyleAsian"; break;
89 case PROP_CHAR_FONT_FAMILY_ASIAN : sName = "CharFontFamilyAsian"; break;
90 case PROP_CHAR_FONT_CHAR_SET_ASIAN : sName = "CharFontCharSetAsian"; break;
91 case PROP_CHAR_FONT_PITCH_ASIAN : sName = "CharFontPitchAsian"; break;
92 case PROP_CHAR_FONT_NAME_COMPLEX : sName = "CharFontNameComplex"; break;
93 case PROP_CHAR_FONT_STYLE_COMPLEX : sName = "CharFontStyleComplex"; break;
94 case PROP_CHAR_FONT_FAMILY_COMPLEX: sName = "CharFontFamilyComplex"; break;
95 case PROP_CHAR_FONT_CHAR_SET_COMPLEX: sName = "CharFontCharSetComplex"; break;
96 case PROP_CHAR_FONT_PITCH_COMPLEX: sName = "CharFontPitchComplex"; break;
97 case PROP_CHAR_HIDDEN : sName = "CharHidden"; break;
98 case PROP_CHAR_WEIGHT_ASIAN : sName = "CharWeightAsian"; break;
99 case PROP_CHAR_POSTURE_ASIAN : sName = "CharPostureAsian"; break;
100 case PROP_CHAR_BACK_COLOR: sName = "CharBackColor"; break;
101 case PROP_CHAR_EMPHASIS: sName = "CharEmphasis"; break;
102 case PROP_CHAR_COMBINE_IS_ON: sName = "CharCombineIsOn"; break;
103 case PROP_CHAR_COMBINE_PREFIX: sName = "CharCombinePrefix"; break;
104 case PROP_CHAR_COMBINE_SUFFIX: sName = "CharCombineSuffix"; break;
105 case PROP_CHAR_ROTATION: sName = "CharRotation"; break;
106 case PROP_CHAR_ROTATION_IS_FIT_TO_LINE: sName = "CharRotationIsFitToLine"; break;
107 case PROP_CHAR_FLASH: sName = "CharFlash"; break;
109 case PROP_PARA_STYLE_NAME: sName = "ParaStyleName"; break;
110 case PROP_PARA_ADJUST: sName = "ParaAdjust"; break;
111 case PROP_PARA_VERT_ALIGNMENT: sName = "ParaVertAlignment"; break;
112 case PROP_PARA_LAST_LINE_ADJUST: sName = "ParaLastLineAdjust"; break;
113 case PROP_PARA_RIGHT_MARGIN : sName = "ParaRightMargin"; break;
114 case PROP_PARA_LEFT_MARGIN : sName = "ParaLeftMargin"; break;
115 case PROP_PARA_FIRST_LINE_INDENT: sName = "ParaFirstLineIndent"; break;
116 case PROP_PARA_KEEP_TOGETHER: sName = "ParaKeepTogether"; break;
117 case PROP_PARA_TOP_MARGIN: sName = "ParaTopMargin"; break;
118 case PROP_PARA_CONTEXT_MARGIN: sName = "ParaContextMargin"; break;
119 case PROP_PARA_BOTTOM_MARGIN: sName = "ParaBottomMargin"; break;
120 case PROP_PARA_IS_HYPHENATION: sName = "ParaIsHyphenation"; break;
121 case PROP_PARA_LINE_NUMBER_COUNT: sName = "ParaLineNumberCount"; break;
122 case PROP_PARA_IS_HANGING_PUNCTUATION: sName = "ParaIsHangingPunctuation"; break;
123 case PROP_PARA_LINE_SPACING: sName = "ParaLineSpacing"; break;
124 case PROP_PARA_TAB_STOPS: sName = "ParaTabStops"; break;
125 case PROP_PARA_WIDOWS: sName = "ParaWidows"; break;
126 case PROP_PARA_ORPHANS: sName = "ParaOrphans"; break;
127 case PROP_PARA_LINE_NUMBER_START_VALUE: sName = "ParaLineNumberStartValue"; break;
128 case PROP_NUMBERING_LEVEL: sName = "NumberingLevel"; break;
129 case PROP_NUMBERING_RULES: sName = "NumberingRules"; break;
130 case PROP_NUMBERING_TYPE: sName = "NumberingType"; break;
131 case PROP_START_WITH: sName = "StartWith"; break;
132 case PROP_ADJUST: sName = "Adjust"; break;
133 case PROP_PARENT_NUMBERING: sName = "ParentNumbering"; break;
134 case PROP_RIGHT_MARGIN : sName = "RightMargin"; break;
135 case PROP_LEFT_MARGIN : sName = "LeftMargin"; break;
136 case PROP_TOP_MARGIN : sName = "TopMargin"; break;
137 case PROP_BOTTOM_MARGIN : sName = "BottomMargin"; break;
138 case PROP_FIRST_LINE_OFFSET: sName = "FirstLineOffset"; break;
139 case PROP_LEFT_BORDER : sName = "LeftBorder";break;
140 case PROP_RIGHT_BORDER : sName = "RightBorder";break;
141 case PROP_TOP_BORDER : sName = "TopBorder";break;
142 case PROP_BOTTOM_BORDER : sName = "BottomBorder";break;
143 case PROP_TABLE_BORDER : sName = "TableBorder";break;
144 case PROP_LEFT_BORDER_DISTANCE : sName = "LeftBorderDistance"; break;
145 case PROP_RIGHT_BORDER_DISTANCE : sName = "RightBorderDistance"; break;
146 case PROP_TOP_BORDER_DISTANCE : sName = "TopBorderDistance";break;
147 case PROP_BOTTOM_BORDER_DISTANCE: sName = "BottomBorderDistance"; break;
148 case PROP_CURRENT_PRESENTATION : sName = "CurrentPresentation"; break;
149 case PROP_IS_FIXED : sName = "IsFixed"; break;
150 case PROP_SUB_TYPE : sName = "SubType"; break;
151 case PROP_FILE_FORMAT : sName = "FileFormat"; break;
152 case PROP_HYPER_LINK_U_R_L : sName = "HyperLinkURL"; break;
153 case PROP_NUMBER_FORMAT : sName = "NumberFormat"; break;
154 case PROP_NAME : sName = "Name"; break;
155 case PROP_IS_INPUT : sName = "IsInput"; break;
156 case PROP_HINT : sName = "Hint"; break;
157 case PROP_FULL_NAME : sName = "FullName"; break;
158 case PROP_KEYWORDS : sName = "Keywords"; break;
159 case PROP_DESCRIPTION : sName = "Description"; break;
160 case PROP_MACRO_NAME : sName = "MacroName"; break;
161 case PROP_SUBJECT : sName = "Subject"; break;
162 case PROP_USER_DATA_TYPE : sName = "UserDataType"; break;
163 case PROP_TITLE : sName = "Title"; break;
164 case PROP_CONTENT : sName = "Content"; break;
165 case PROP_DATA_COLUMN_NAME : sName = "DataColumnName"; break;
166 case PROP_INPUT_STREAM : sName = "InputStream"; break;
167 case PROP_GRAPHIC : sName = "Graphic"; break;
168 case PROP_ANCHOR_TYPE : sName = "AnchorType"; break;
169 case PROP_SIZE : sName = "Size"; break;
170 case PROP_HORI_ORIENT : sName = "HoriOrient"; break;
171 case PROP_HORI_ORIENT_POSITION : sName = "HoriOrientPosition"; break;
172 case PROP_HORI_ORIENT_RELATION : sName = "HoriOrientRelation"; break;
173 case PROP_VERT_ORIENT : sName = "VertOrient"; break;
174 case PROP_VERT_ORIENT_POSITION : sName = "VertOrientPosition"; break;
175 case PROP_VERT_ORIENT_RELATION : sName = "VertOrientRelation"; break;
176 case PROP_GRAPHIC_CROP : sName = "GraphicCrop"; break;
177 case PROP_SIZE100th_M_M : sName = "Size100thMM"; break;
178 case PROP_SIZE_PIXEL : sName = "SizePixel"; break;
179 case PROP_SURROUND : sName = "Surround"; break;
180 case PROP_SURROUND_CONTOUR : sName = "SurroundContour"; break;
181 case PROP_ADJUST_CONTRAST : sName = "AdjustContrast"; break;
182 case PROP_ADJUST_LUMINANCE : sName = "AdjustLuminance"; break;
183 case PROP_GRAPHIC_COLOR_MODE : sName = "GraphicColorMode"; break;
184 case PROP_GAMMA : sName = "Gamma"; break;
185 case PROP_HORI_MIRRORED_ON_EVEN_PAGES: sName = "HoriMirroredOnEvenPages"; break;
186 case PROP_HORI_MIRRORED_ON_ODD_PAGES : sName = "HoriMirroredOnOddPages"; break;
187 case PROP_VERT_MIRRORED : sName = "VertMirrored"; break;
188 case PROP_CONTOUR_OUTSIDE : sName = "ContourOutside"; break;
189 case PROP_CONTOUR_POLY_POLYGON : sName = "ContourPolyPolygon"; break;
190 case PROP_PAGE_TOGGLE : sName = "PageToggle"; break;
191 case PROP_BACK_COLOR : sName = "BackColor"; break;
192 case PROP_BACK_COLOR_TRANSPARENCY: sName = "BackColorTransparency"; break;
193 case PROP_ALTERNATIVE_TEXT : sName = "AlternativeText"; break;
194 case PROP_HEADER_TEXT_LEFT : sName = "HeaderTextLeft"; break;
195 case PROP_HEADER_TEXT : sName = "HeaderText"; break;
196 case PROP_HEADER_IS_SHARED : sName = "HeaderIsShared"; break;
197 case PROP_HEADER_IS_ON : sName = "HeaderIsOn"; break;
198 case PROP_FOOTER_TEXT_LEFT : sName = "FooterTextLeft"; break;
199 case PROP_FOOTER_TEXT : sName = "FooterText"; break;
200 case PROP_FOOTER_IS_SHARED : sName = "FooterIsShared"; break;
201 case PROP_FOOTER_IS_ON : sName = "FooterIsOn"; break;
202 case PROP_FOOTNOTE_COUNTING : sName = "FootnoteCounting"; break;
203 case PROP_WIDTH : sName = "Width"; break;
204 case PROP_HEIGHT : sName = "Height"; break;
205 case PROP_SEPARATOR_LINE_IS_ON : sName = "SeparatorLineIsOn"; break;
206 case PROP_TEXT_COLUMNS : sName = "TextColumns"; break;
207 case PROP_AUTOMATIC_DISTANCE : sName = "AutomaticDistance"; break;
208 case PROP_IS_LANDSCAPE : sName = "IsLandscape"; break;
209 case PROP_PRINTER_PAPER_TRAY_INDEX: sName = "PrinterPaperTrayIndex"; break;
210 case PROP_FIRST_PAGE : sName = "First Page"; break;
211 case PROP_DEFAULT : sName = "Default"; break;
212 case PROP_PAGE_DESC_NAME : sName = "PageDescName"; break;
213 case PROP_PAGE_NUMBER_OFFSET: sName = "PageNumberOffset"; break;
214 case PROP_BREAK_TYPE : sName = "BreakType"; break;
215 case PROP_FOOTER_IS_DYNAMIC_HEIGHT: sName = "FooterIsDynamicHeight"; break;
216 case PROP_FOOTER_DYNAMIC_SPACING: sName = "FooterDynamicSpacing"; break;
217 case PROP_FOOTER_HEIGHT : sName = "FooterHeight"; break;
218 case PROP_FOOTER_BODY_DISTANCE : sName = "FooterBodyDistance"; break;
219 case PROP_HEADER_IS_DYNAMIC_HEIGHT: sName = "HeaderIsDynamicHeight"; break;
220 case PROP_HEADER_DYNAMIC_SPACING: sName = "HeaderDynamicSpacing"; break;
221 case PROP_HEADER_HEIGHT : sName = "HeaderHeight"; break;
222 case PROP_HEADER_BODY_DISTANCE : sName = "HeaderBodyDistance"; break;
223 case PROP_WRITING_MODE : sName = "WritingMode"; break;
224 case PROP_GRID_MODE : sName = "GridMode"; break;
225 case PROP_GRID_DISPLAY : sName = "GridDisplay"; break;
226 case PROP_GRID_PRINT : sName = "GridPrint"; break;
227 case PROP_ADD_EXTERNAL_LEADING : sName = "AddExternalLeading"; break;
228 case PROP_GRID_LINES : sName = "GridLines"; break;
229 case PROP_GRID_BASE_HEIGHT : sName = "GridBaseHeight"; break;
230 case PROP_GRID_RUBY_HEIGHT : sName = "GridRubyHeight"; break;
231 case PROP_IS_ON : sName = "IsOn"; break;
232 case PROP_RESTART_AT_EACH_PAGE : sName = "RestartAtEachPage"; break;
233 case PROP_COUNT_EMPTY_LINES : sName = "CountEmptyLines"; break;
234 case PROP_COUNT_LINES_IN_FRAMES : sName = "CountLinesInFrames"; break;
235 case PROP_INTERVAL : sName = "Interval"; break;
236 case PROP_DISTANCE : sName = "Distance"; break;
237 case PROP_NUMBER_POSITION : sName = "NumberPosition"; break;
238 case PROP_LEVEL : sName = "Level"; break;
239 case PROP_LEVEL_FOLLOW : sName = "LabelFollowedBy"; break;
240 case PROP_LEVEL_PARAGRAPH_STYLES : sName = "LevelParagraphStyles"; break;
241 case PROP_LEVEL_FORMAT : sName = "LevelFormat"; break;
242 case PROP_TOKEN_TYPE : sName = "TokenType"; break;
243 case PROP_TOKEN_HYPERLINK_START : sName = "TokenHyperlinkStart"; break;
244 case PROP_TOKEN_HYPERLINK_END : sName = "TokenHyperlinkEnd"; break;
245 case PROP_TOKEN_CHAPTER_INFO : sName = "TokenChapterInfo"; break;
246 case PROP_CHAPTER_FORMAT : sName = "ChapterFormat"; break;
247 case PROP_TOKEN_TEXT : sName = "TokenText"; break;
248 case PROP_TEXT : sName = "Text"; break;
249 case PROP_CREATE_FROM_OUTLINE : sName = "CreateFromOutline"; break;
250 case PROP_CREATE_FROM_MARKS : sName = "CreateFromMarks"; break;
251 case PROP_STANDARD : sName = "Standard"; break;
252 case PROP_IS_SPLIT_ALLOWED : sName = "IsSplitAllowed"; break;
253 case META_PROP_VERTICAL_BORDER : sName = "VerticalBorder"; break;
254 case META_PROP_HORIZONTAL_BORDER : sName = "HorizontalBorder"; break;
255 case PROP_HEADER_ROW_COUNT : sName = "HeaderRowCount"; break;
256 case PROP_IS_AUTO_HEIGHT : sName = "IsAutoHeight"; break;
257 case PROP_SIZE_TYPE : sName = "SizeType"; break;
258 case PROP_TABLE_COLUMN_SEPARATORS: sName = "TableColumnSeparators"; break;
259 case META_PROP_TABLE_STYLE_NAME : sName = "TableStyleName"; break;
260 case PROP_REDLINE_AUTHOR : sName = "RedlineAuthor"; break;
261 case PROP_REDLINE_DATE_TIME : sName = "RedlineDateTime"; break;
262 case PROP_REDLINE_COMMENT : sName = "RedlineComment"; break;
263 case PROP_REDLINE_TYPE : sName = "RedlineType"; break;
264 case PROP_REDLINE_SUCCESSOR_DATA: sName = "RedlineSuccessorData"; break;
265 case PROP_REDLINE_IDENTIFIER : sName = "RedlineIdentifier"; break;
266 case PROP_SIZE_PROTECTED : sName = "SizeProtected"; break;
267 case PROP_POSITION_PROTECTED : sName = "PositionProtected"; break;
268 case PROP_OPAQUE : sName = "Opaque"; break;
269 case PROP_VERTICAL_MERGE : sName = "VerticalMerge"; break;
270 case PROP_BULLET_CHAR : sName = "BulletChar"; break;
271 case PROP_BULLET_FONT_NAME : sName = "BulletFontName"; break;
272 case PROP_PARA_BACK_COLOR : sName = "ParaBackColor"; break;
273 case PROP_TABS_RELATIVE_TO_INDENT: sName = "TabsRelativeToIndent"; break;
274 case PROP_PREFIX : sName = "Prefix"; break;
275 case PROP_SUFFIX : sName = "Suffix"; break;
276 case PROP_CREATE_FROM_LEVEL_PARAGRAPH_STYLES: sName = "CreateFromLevelParagraphStyles"; break;
277 case PROP_DROP_CAP_FORMAT : sName = "DropCapFormat"; break;
278 case PROP_REFERENCE_FIELD_PART : sName = "ReferenceFieldPart"; break;
279 case PROP_SOURCE_NAME: sName = "SourceName"; break;
280 case PROP_REFERENCE_FIELD_SOURCE : sName = "ReferenceFieldSource"; break;
281 case PROP_WIDTH_TYPE : sName = "WidthType"; break;
282 case PROP_TBL_LOOK : sName = "TblLook"; break;
283 case PROP_TEXT_RANGE: sName = "TextRange"; break;
284 case PROP_SERVICE_CHAR_STYLE : sName = "com.sun.star.style.CharacterStyle"; break;
285 case PROP_SERVICE_PARA_STYLE : sName = "com.sun.star.style.ParagraphStyle"; break;
286 case PROP_CHARACTER_STYLES : sName = "CharacterStyles"; break;
287 case PROP_PARAGRAPH_STYLES : sName = "ParagraphStyles"; break;
288 case PROP_PARAGRAPH_STYLE_NAME : sName = "ParagraphStyleName"; break;
289 case PROP_TABLE_BORDER_DISTANCES: sName = "TableBorderDistances"; break;
290 case META_PROP_CELL_MAR_TOP : sName = "MetaPropCellMarTop"; break;
291 case META_PROP_CELL_MAR_BOTTOM : sName = "MetaPropCellMarBottom"; break;
292 case META_PROP_CELL_MAR_LEFT : sName = "MetaPropCellMarLeft"; break;
293 case META_PROP_CELL_MAR_RIGHT : sName = "MetaPropCellMarRight"; break;
294 case PROP_START_AT : sName = "StartAt"; break;
295 case PROP_ADD_PARA_TABLE_SPACING : sName = "AddParaTableSpacing"; break;
296 case PROP_CHAR_PROP_HEIGHT : sName = "CharPropHeight"; break;
297 case PROP_CHAR_PROP_HEIGHT_ASIAN : sName = "CharPropHeightAsian"; break;
298 case PROP_CHAR_PROP_HEIGHT_COMPLEX: sName = "CharPropHeightComplex"; break;
299 case PROP_FORMAT : sName = "Format"; break;
300 case PROP_INSERT : sName = "Insert"; break;
301 case PROP_DELETE : sName = "Delete"; break;
302 case PROP_STREAM_NAME: sName = "StreamName"; break;
303 case PROP_BITMAP : sName = "Bitmap"; break;
304 case PROP_IS_DATE : sName = "IsDate"; break;
305 case PROP_TAB_STOP_DISTANCE : sName = "TabStopDistance"; break;
306 case PROP_INDENT_AT : sName = "IndentAt"; break;
307 case PROP_FIRST_LINE_INDENT : sName = "FirstLineIndent"; break;
308 case PROP_NUMBERING_STYLE_NAME : sName = "NumberingStyleName"; break;
309 case PROP_OUTLINE_LEVEL : sName = "OutlineLevel"; break;
310 case PROP_LISTTAB_STOP_POSITION : sName = "ListtabStopPosition"; break;
311 case PROP_POSITION_AND_SPACE_MODE : sName = "PositionAndSpaceMode"; break;
312 case PROP_PARA_SPLIT: sName = "ParaSplit"; break;
313 case PROP_HELP: sName = "Help"; break;
314 case PROP_HEADING_STYLE_NAME: sName = "HeadingStyleName"; break;
315 case PROP_FRM_DIRECTION: sName = "FRMDirection"; break;
316 case PROP_EMBEDDED_OBJECT : sName = "EmbeddedObject"; break;
317 case PROP_IS_VISIBLE: sName = "IsVisible"; break;
318 case PROP_PAGE_STYLE_LAYOUT: sName = "PageStyleLayout"; break;
319 case PROP_Z_ORDER: sName = "ZOrder"; break;
320 case PROP_EMBED_FONTS: sName = "EmbedFonts"; break;
321 case PROP_EMBED_SYSTEM_FONTS: sName = "EmbedSystemFonts"; break;
322 case PROP_SHADOW_FORMAT: sName = "ShadowFormat"; break;
323 case PROP_RELATIVE_WIDTH: sName = "RelativeWidth"; break;
324 case PROP_IS_WIDTH_RELATIVE: sName = "IsWidthRelative"; break;
325 case PROP_GRAPHIC_URL: sName = "GraphicURL"; break;
326 case PROP_GRAPHIC_BITMAP: sName = "GraphicBitmap"; break;
327 case PROP_LABEL_CATEGORY: sName = "LabelCategory"; break;
328 case PROP_HORIZONTAL_MERGE: sName = "HorizontalMerge"; break;
330 ::std::pair<PropertyNameMap_t::iterator,bool> aInsertIt =
331 m_pImpl->aNameMap.insert( PropertyNameMap_t::value_type( eId, sName ));
332 if(aInsertIt.second)
333 aIt = aInsertIt.first;
335 return aIt->second;
338 namespace
340 class thePropertyNameSupplier : public rtl::Static<PropertyNameSupplier, PropertyNameSupplier> {};
343 PropertyNameSupplier& PropertyNameSupplier::GetPropertyNameSupplier()
345 return thePropertyNameSupplier::get();
348 } //namespace dmapper
349 } //namespace writerfilter
351 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */