/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; #define COMMON_FLDTYP_PROPERTIES \ { OUString(UNO_NAME_IS_FIELD_USED), FIELD_PROP_IS_FIELD_USED, cppu::UnoType::get(), PropertyAttribute::READONLY, 0},\ { OUString(UNO_NAME_IS_FIELD_DISPLAYED), FIELD_PROP_IS_FIELD_DISPLAYED, cppu::UnoType::get(), PropertyAttribute::READONLY, 0},\ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(sal_uInt16 nPropertyId) { OSL_ENSURE(nPropertyId < PROPERTY_MAP_END, "Id ?" ); if( !m_aMapEntriesArr[ nPropertyId ] ) { switch(nPropertyId) { case PROPERTY_MAP_TEXT_CURSOR: { m_aMapEntriesArr[nPropertyId] = GetTextCursorPropertyMap(); } break; case PROPERTY_MAP_ACCESSIBILITY_TEXT_ATTRIBUTE: { m_aMapEntriesArr[nPropertyId] = GetAccessibilityTextAttrPropertyMap(); } break; case PROPERTY_MAP_PARAGRAPH: { m_aMapEntriesArr[nPropertyId] = GetParagraphPropertyMap(); } break; case PROPERTY_MAP_PARA_AUTO_STYLE : { m_aMapEntriesArr[nPropertyId] = GetAutoParaStylePropertyMap(); } break; case PROPERTY_MAP_CHAR_STYLE : { m_aMapEntriesArr[nPropertyId] = GetCharStylePropertyMap(); } break; case PROPERTY_MAP_CHAR_AUTO_STYLE : { m_aMapEntriesArr[nPropertyId] = GetAutoCharStylePropertyMap(); } break; case PROPERTY_MAP_RUBY_AUTO_STYLE : { static SfxItemPropertyMapEntry const aAutoRubyStyleMap [] = { { OUString(UNO_NAME_RUBY_ADJUST), RES_TXTATR_CJK_RUBY, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_RUBY_ADJUST }, { OUString(UNO_NAME_RUBY_IS_ABOVE), RES_TXTATR_CJK_RUBY, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_RUBY_ABOVE }, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aAutoRubyStyleMap; } break; case PROPERTY_MAP_PARA_STYLE : { m_aMapEntriesArr[nPropertyId] = GetParaStylePropertyMap(); } break; case PROPERTY_MAP_CONDITIONAL_PARA_STYLE : { m_aMapEntriesArr[nPropertyId] = GetConditionalParaStylePropertyMap(); } break; case PROPERTY_MAP_FRAME_STYLE: { m_aMapEntriesArr[nPropertyId] = GetFrameStylePropertyMap(); } break; case PROPERTY_MAP_PAGE_STYLE : { m_aMapEntriesArr[nPropertyId] = GetPageStylePropertyMap(); } break; case PROPERTY_MAP_NUM_STYLE : { static SfxItemPropertyMapEntry const aNumStyleMap [] = { { OUString(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES, cppu::UnoType::get(), PROPERTY_NONE, CONVERT_TWIPS}, { OUString(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_HIDDEN), FN_UNO_HIDDEN, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_STYLE_INTEROP_GRAB_BAG), FN_UNO_STYLE_INTEROP_GRAB_BAG, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aNumStyleMap; } break; case PROPERTY_MAP_TEXT_TABLE : { m_aMapEntriesArr[nPropertyId] = GetTablePropertyMap(); } break; case PROPERTY_MAP_TABLE_CELL : { static SfxItemPropertyMapEntry const aCellMap_Impl[] = { { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE , MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE , MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_NUMBER_FORMAT), RES_BOXATR_FORMAT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID ,0 }, { OUString(UNO_NAME_LEFT_BORDER), RES_BOX, cppu::UnoType::get(), 0, LEFT_BORDER |CONVERT_TWIPS }, { OUString(UNO_NAME_RIGHT_BORDER), RES_BOX, cppu::UnoType::get(), 0, RIGHT_BORDER |CONVERT_TWIPS }, { OUString(UNO_NAME_TOP_BORDER), RES_BOX, cppu::UnoType::get(), 0, TOP_BORDER |CONVERT_TWIPS }, { OUString(UNO_NAME_BOTTOM_BORDER), RES_BOX, cppu::UnoType::get(), 0, BOTTOM_BORDER|CONVERT_TWIPS }, { OUString(UNO_NAME_BORDER_DISTANCE), RES_BOX, cppu::UnoType::get(), 0, BORDER_DISTANCE|CONVERT_TWIPS }, { OUString(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, cppu::UnoType::get(), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS }, { OUString(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, cppu::UnoType::get(), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS }, { OUString(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, cppu::UnoType::get(), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS }, { OUString(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, cppu::UnoType::get(), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS }, { OUString(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, 0 }, { OUString(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, { OUString(UNO_NAME_IS_PROTECTED), RES_PROTECT, cppu::UnoType::get(), 0, MID_PROTECT_CONTENT}, { OUString(UNO_NAME_CELL_NAME), FN_UNO_CELL_NAME, cppu::UnoType::get(), PropertyAttribute::READONLY,0}, { OUString(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, cppu::UnoType::get(), PROPERTY_NONE ,MID_VERTORIENT_ORIENT }, { OUString(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, cppu::UnoType::get(), PROPERTY_NONE, 0 }, { OUString(UNO_NAME_ROW_SPAN), FN_UNO_CELL_ROW_SPAN, cppu::UnoType::get(), 0, 0 }, { OUString(UNO_NAME_CELL_INTEROP_GRAB_BAG), RES_FRMATR_GRABBAG, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0 }, _REDLINE_NODE_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aCellMap_Impl; } break; case PROPERTY_MAP_TABLE_RANGE: { m_aMapEntriesArr[nPropertyId] = GetRangePropertyMap(); } break; case PROPERTY_MAP_SECTION: { m_aMapEntriesArr[nPropertyId] = GetSectionPropertyMap(); } break; case PROPERTY_MAP_TEXT_SEARCH: { static SfxItemPropertyMapEntry const aSearchPropertyMap_Impl[] = { { OUString(UNO_NAME_SEARCH_ALL), WID_SEARCH_ALL, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_BACKWARDS), WID_BACKWARDS, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_CASE_SENSITIVE), WID_CASE_SENSITIVE, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_REGULAR_EXPRESSION), WID_REGULAR_EXPRESSION, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_SIMILARITY), WID_SIMILARITY, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_SIMILARITY_ADD), WID_SIMILARITY_ADD, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_SIMILARITY_EXCHANGE), WID_SIMILARITY_EXCHANGE,cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_SIMILARITY_RELAX), WID_SIMILARITY_RELAX, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_SIMILARITY_REMOVE), WID_SIMILARITY_REMOVE, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_STYLES), WID_STYLES, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEARCH_WORDS), WID_WORDS, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aSearchPropertyMap_Impl; } break; case PROPERTY_MAP_TEXT_FRAME: { m_aMapEntriesArr[nPropertyId] = GetFramePropertyMap(); } break; case PROPERTY_MAP_TEXT_GRAPHIC: { m_aMapEntriesArr[nPropertyId] = GetGraphicPropertyMap(); } break; case PROPERTY_MAP_EMBEDDED_OBJECT: { m_aMapEntriesArr[nPropertyId] = GetEmbeddedPropertyMap(); } break; case PROPERTY_MAP_TEXT_SHAPE: { static SfxItemPropertyMapEntry const aShapeMap_Impl[] = { { OUString(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_PAGENUM }, { OUString(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORTYPE}, { OUString(UNO_NAME_ANCHOR_FRAME), RES_ANCHOR, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORFRAME}, { OUString(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_ORIENT }, { OUString(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_POSITION|CONVERT_TWIPS }, { OUString(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_RELATION }, { OUString(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS}, { OUString(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS}, { OUString(UNO_NAME_SURROUND), RES_SURROUND, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_SURROUNDTYPE }, { OUString(UNO_NAME_TEXT_WRAP), RES_SURROUND, cppu::UnoType::get(), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE }, { OUString(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_ANCHORONLY }, { OUString(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, cppu::UnoType::get(), PROPERTY_NONE, MID_SURROUND_CONTOUR }, { OUString(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, cppu::UnoType::get(), PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE }, { OUString(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, cppu::UnoType::get(), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS}, { OUString(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, cppu::UnoType::get(), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS}, { OUString(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_ORIENT }, { OUString(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_POSITION|CONVERT_TWIPS }, { OUString(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT, cppu::UnoType::get(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_RELATION }, { OUString(UNO_NAME_TEXT_RANGE), FN_TEXT_RANGE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_OPAQUE), RES_OPAQUE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_ANCHOR_POSITION), FN_ANCHOR_POSITION, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, // #i26791# { OUString(UNO_NAME_IS_FOLLOWING_TEXT_FLOW), RES_FOLLOW_TEXT_FLOW, cppu::UnoType::get(), PROPERTY_NONE, 0}, // #i28701# { OUString(UNO_NAME_WRAP_INFLUENCE_ON_POSITION), RES_WRAP_INFLUENCE_ON_OBJPOS, cppu::UnoType::get(), PROPERTY_NONE, MID_WRAP_INFLUENCE}, // #i28749# { OUString(UNO_NAME_TRANSFORMATION_IN_HORI_L2R), FN_SHAPE_TRANSFORMATION_IN_HORI_L2R, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_POSITION_LAYOUT_DIR), FN_SHAPE_POSITION_LAYOUT_DIR, cppu::UnoType::get(), PROPERTY_NONE, 0}, // #i36248# { OUString(UNO_NAME_STARTPOSITION_IN_HORI_L2R), FN_SHAPE_STARTPOSITION_IN_HORI_L2R, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_ENDPOSITION_IN_HORI_L2R), FN_SHAPE_ENDPOSITION_IN_HORI_L2R, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, // #i71182# // missing map entry for property { OUString(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT, cppu::UnoType::get(), PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE }, { OUString(UNO_NAME_RELATIVE_HEIGHT), RES_FRM_SIZE, cppu::UnoType::get() , PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT }, { OUString(UNO_NAME_RELATIVE_HEIGHT_RELATION), RES_FRM_SIZE, cppu::UnoType::get(), PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT_RELATION }, { OUString(UNO_NAME_RELATIVE_WIDTH), RES_FRM_SIZE, cppu::UnoType::get() , PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH }, { OUString(UNO_NAME_RELATIVE_WIDTH_RELATION), RES_FRM_SIZE, cppu::UnoType::get(), PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH_RELATION }, { OUString(UNO_NAME_TEXT_BOX), FN_TEXT_BOX, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_CHAIN_NEXT_NAME), RES_CHAIN, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID ,MID_CHAIN_NEXTNAME}, { OUString(UNO_NAME_CHAIN_PREV_NAME), RES_CHAIN, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID ,MID_CHAIN_PREVNAME}, { OUString(UNO_NAME_CHAIN_NAME), RES_CHAIN, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID ,MID_CHAIN_NAME }, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aShapeMap_Impl; } break; case PROPERTY_MAP_INDEX_MARK: { m_aMapEntriesArr[nPropertyId] = GetIndexMarkPropertyMap(); } break; case PROPERTY_MAP_CNTIDX_MARK: { m_aMapEntriesArr[nPropertyId] = GetContentMarkPropertyMap(); } break; case PROPERTY_MAP_USER_MARK: { m_aMapEntriesArr[nPropertyId] = GetUserMarkPropertyMap(); } break; case PROPERTY_MAP_INDEX_IDX: { static SfxItemPropertyMapEntry const aTOXIndexMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_ALPHABETICAL_SEPARATORS), WID_USE_ALPHABETICAL_SEPARATORS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_KEY_AS_ENTRY), WID_USE_KEY_AS_ENTRY , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_COMBINED_ENTRIES), WID_USE_COMBINED_ENTRIES , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_CASE_SENSITIVE), WID_IS_CASE_SENSITIVE , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_P_P), WID_USE_P_P , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_DASH), WID_USE_DASH , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_UPPER_CASE), WID_USE_UPPER_CASE , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_MAIN_ENTRY_CHARACTER_STYLE_NAME), WID_MAIN_ENTRY_CHARACTER_STYLE_NAME , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLESEPARATOR), WID_PARA_SEP, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_IS_COMMA_SEPARATED), WID_IS_COMMA_SEPARATED, cppu::UnoType::get(), PROPERTY_NONE ,0 }, { OUString(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY ,0 }, { OUString(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_LOCALE), WID_IDX_LOCALE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SORT_ALGORITHM), WID_IDX_SORT_ALGORITHM, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_INDEX_ENTRY_TYPE), WID_INDEX_ENTRY_TYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTOXIndexMap_Impl; } break; case PROPERTY_MAP_INDEX_CNTNT: { static SfxItemPropertyMapEntry const aTOXContentMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_LEVEL), WID_LEVEL , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_MARKS), WID_CREATE_FROM_MARKS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_HIDE_TAB_LEADER_AND_PAGE_NUMBERS), WID_HIDE_TABLEADER_PAGENUMBERS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_TAB_IN_TOC), WID_TAB_IN_TOC, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TOC_BOOKMARK), WID_TOC_BOOKMARK, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TOC_NEWLINE), WID_TOC_NEWLINE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TOC_PARAGRAPH_OUTLINE_LEVEL), WID_TOC_PARAGRAPH_OUTLINE_LEVEL, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_OUTLINE), WID_CREATE_FROM_OUTLINE , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_PARAGRAPH_STYLES), WID_LEVEL_PARAGRAPH_STYLES , cppu::UnoType::get() , PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES), WID_CREATE_FROM_PARAGRAPH_STYLES, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL4), WID_PARA_LEV4, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL5), WID_PARA_LEV5, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL6), WID_PARA_LEV6, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL7), WID_PARA_LEV7, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL8), WID_PARA_LEV8, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL9), WID_PARA_LEV9, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL10), WID_PARA_LEV10, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY ,0 }, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTOXContentMap_Impl; } break; case PROPERTY_MAP_INDEX_USER: { static SfxItemPropertyMapEntry const aTOXUserMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_CREATE_FROM_MARKS), WID_CREATE_FROM_MARKS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_HIDE_TAB_LEADER_AND_PAGE_NUMBERS), WID_HIDE_TABLEADER_PAGENUMBERS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_TAB_IN_TOC), WID_TAB_IN_TOC, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TOC_BOOKMARK), WID_TOC_BOOKMARK, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TOC_NEWLINE), WID_TOC_NEWLINE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TOC_PARAGRAPH_OUTLINE_LEVEL), WID_TOC_PARAGRAPH_OUTLINE_LEVEL, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_LEVEL_FROM_SOURCE), WID_USE_LEVEL_FROM_SOURCE , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE,0}, { OUString(UNO_NAME_LEVEL_PARAGRAPH_STYLES), WID_LEVEL_PARAGRAPH_STYLES , cppu::UnoType::get() , PropertyAttribute::READONLY,0}, { OUString(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES), WID_CREATE_FROM_PARAGRAPH_STYLES, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_TABLES), WID_CREATE_FROM_TABLES , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_TEXT_FRAMES), WID_CREATE_FROM_TEXT_FRAMES , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS), WID_CREATE_FROM_GRAPHIC_OBJECTS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS), WID_CREATE_FROM_EMBEDDED_OBJECTS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL4), WID_PARA_LEV4, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL5), WID_PARA_LEV5, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL6), WID_PARA_LEV6, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL7), WID_PARA_LEV7, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL8), WID_PARA_LEV8, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL9), WID_PARA_LEV9, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL10), WID_PARA_LEV10, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY ,0 }, { OUString(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_USER_INDEX_NAME), WID_USER_IDX_NAME, cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTOXUserMap_Impl; } break; case PROPERTY_MAP_INDEX_TABLES: { static SfxItemPropertyMapEntry const aTOXTablesMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_LABELS), WID_CREATE_FROM_LABELS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LABEL_CATEGORY), WID_LABEL_CATEGORY , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LABEL_DISPLAY_TYPE), WID_LABEL_DISPLAY_TYPE , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE,0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTOXTablesMap_Impl; } break; case PROPERTY_MAP_INDEX_OBJECTS: { static SfxItemPropertyMapEntry const aTOXObjectsMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_ALPHABETICAL_SEPARATORS), WID_USE_ALPHABETICAL_SEPARATORS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE,0}, { OUString(UNO_NAME_CREATE_FROM_STAR_MATH), WID_CREATE_FROM_STAR_MATH , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_STAR_CHART), WID_CREATE_FROM_STAR_CHART , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_STAR_CALC), WID_CREATE_FROM_STAR_CALC , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_STAR_DRAW), WID_CREATE_FROM_STAR_DRAW , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS), WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTOXObjectsMap_Impl; } break; case PROPERTY_MAP_INDEX_ILLUSTRATIONS: { static SfxItemPropertyMapEntry const aTOXIllustrationsMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_CREATE_FROM_LABELS), WID_CREATE_FROM_LABELS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_USE_ALPHABETICAL_SEPARATORS), WID_USE_ALPHABETICAL_SEPARATORS , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LABEL_CATEGORY), WID_LABEL_CATEGORY , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LABEL_DISPLAY_TYPE), WID_LABEL_DISPLAY_TYPE , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE,0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTOXIllustrationsMap_Impl; } break; case PROPERTY_MAP_TEXT_TABLE_ROW: { static SfxItemPropertyMapEntry const aTableRowPropertyMap_Impl[] = { { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_TABLE_COLUMN_SEPARATORS), FN_UNO_TABLE_COLUMN_SEPARATORS, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::MAYBEVOID, 0 }, { OUString(UNO_NAME_HEIGHT), FN_UNO_ROW_HEIGHT, cppu::UnoType::get(), PROPERTY_NONE ,CONVERT_TWIPS }, { OUString(UNO_NAME_IS_AUTO_HEIGHT), FN_UNO_ROW_AUTO_HEIGHT, cppu::UnoType::get(), PROPERTY_NONE , 0 }, { OUString(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, cppu::UnoType::get() , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE }, { OUString(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, cppu::UnoType::get() , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE }, { OUString(UNO_NAME_IS_SPLIT_ALLOWED), RES_ROW_SPLIT, cppu::UnoType::get() , PropertyAttribute::MAYBEVOID, 0}, { OUString(UNO_NAME_ROW_INTEROP_GRAB_BAG), RES_FRMATR_GRABBAG, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0 }, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTableRowPropertyMap_Impl; } break; case PROPERTY_MAP_TEXT_TABLE_CURSOR: { m_aMapEntriesArr[nPropertyId] = GetTextTableCursorPropertyMap(); } break; case PROPERTY_MAP_BOOKMARK: { m_aMapEntriesArr[nPropertyId] = GetBookmarkPropertyMap(); } break; case PROPERTY_MAP_PARAGRAPH_EXTENSIONS: { m_aMapEntriesArr[nPropertyId] = GetParagraphExtensionsPropertyMap(); } break; case PROPERTY_MAP_BIBLIOGRAPHY : { static SfxItemPropertyMapEntry const aBibliographyMap_Impl[] = { _BASE_INDEX_PROPERTIES_ { OUString(UNO_NAME_IS_PROTECTED), WID_PROTECTED , cppu::UnoType::get() , PROPERTY_NONE, 0}, { OUString(UNO_NAME_TEXT_COLUMNS), RES_COL, cppu::UnoType::get(), PROPERTY_NONE, MID_COLUMNS}, { OUString(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_URL }, { OUString(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, { OUString(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, { OUString(UNO_NAME_BACK_COLOR), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_BACK_COLOR }, { OUString(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, cppu::UnoType::get(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, { OUString(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, cppu::UnoType::get() , 0, 0}, { OUString(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , cppu::UnoType::get() , PROPERTY_NONE,0}, { OUString(UNO_NAME_LOCALE), WID_IDX_LOCALE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SORT_ALGORITHM), WID_IDX_SORT_ALGORITHM, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aBibliographyMap_Impl; } break; case PROPERTY_MAP_TEXT_DOCUMENT: { static SfxItemPropertyMapEntry const aDocMap_Impl[] = { { OUString(UNO_NAME_BASIC_LIBRARIES), WID_DOC_BASIC_LIBRARIES, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, { OUString(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, { OUString(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, { OUString(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, { OUString(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, { OUString(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, { OUString(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, { OUString(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, { OUString(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, { OUString(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, { OUString(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, { OUString(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, { OUString(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, { OUString(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, { OUString(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, { OUString(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE , cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE }, { OUString(UNO_NAME_CHARACTER_COUNT), WID_DOC_CHAR_COUNT, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_DIALOG_LIBRARIES), WID_DOC_DIALOG_LIBRARIES, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_VBA_DOCOBJ), WID_DOC_VBA_DOCOBJ, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L), WID_DOC_AUTO_MARK_URL, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_PARAGRAPH_COUNT), WID_DOC_PARA_COUNT, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_RECORD_CHANGES), WID_DOC_CHANGES_RECORD, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SHOW_CHANGES), WID_DOC_CHANGES_SHOW, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_WORD_COUNT), WID_DOC_WORD_COUNT, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_IS_TEMPLATE), WID_DOC_ISTEMPLATEID, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_WORD_SEPARATOR), WID_DOC_WORD_SEPARATOR, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_HIDE_FIELD_TIPS), WID_DOC_HIDE_TIPS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_REDLINE_DISPLAY_TYPE), WID_DOC_REDLINE_DISPLAY, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_REDLINE_PROTECTION_KEY), WID_DOC_CHANGES_PASSWORD, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0 }, { OUString(UNO_NAME_FORBIDDEN_CHARACTERS), WID_DOC_FORBIDDEN_CHARS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_TWO_DIGIT_YEAR), WID_DOC_TWO_DIGIT_YEAR, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_AUTOMATIC_CONTROL_FOCUS), WID_DOC_AUTOMATIC_CONTROL_FOCUS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_APPLY_FORM_DESIGN_MODE), WID_DOC_APPLY_FORM_DESIGN_MODE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_RUNTIME_UID), WID_DOC_RUNTIME_UID, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_LOCK_UPDATES), WID_DOC_LOCK_UPDATES, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_HAS_VALID_SIGNATURES), WID_DOC_HAS_VALID_SIGNATURES, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_BUILDID), WID_DOC_BUILDID, cppu::UnoType::get(), 0, 0}, { OUString(UNO_NAME_DOC_INTEROP_GRAB_BAG), WID_DOC_INTEROP_GRAB_BAG, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0 }, { OUString(UNO_NAME_DEFAULT_PAGE_MODE), WID_DOC_DEFAULT_PAGE_MODE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocMap_Impl; } break; case PROPERTY_MAP_LINK_TARGET: { static SfxItemPropertyMapEntry const aLinkTargetMap_Impl[] = { { OUString(UNO_LINK_DISPLAY_BITMAP), 0, cppu::UnoType::get(), PropertyAttribute::READONLY, 0xff}, { OUString(UNO_LINK_DISPLAY_NAME), 0, cppu::UnoType::get(), PropertyAttribute::READONLY, 0xff}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aLinkTargetMap_Impl; } break; case PROPERTY_MAP_AUTO_TEXT_GROUP : { static SfxItemPropertyMapEntry const aAutoTextGroupMap_Impl[] = { { OUString(UNO_NAME_FILE_PATH), WID_GROUP_PATH, cppu::UnoType::get(), PROPERTY_NONE, PropertyAttribute::READONLY}, { OUString(UNO_NAME_TITLE), WID_GROUP_TITLE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aAutoTextGroupMap_Impl; } break; case PROPERTY_MAP_TEXTPORTION_EXTENSIONS: { m_aMapEntriesArr[nPropertyId] = GetTextPortionExtensionPropertyMap(); } break; case PROPERTY_MAP_FOOTNOTE: { m_aMapEntriesArr[nPropertyId] = GetFootnotePropertyMap(); } break; case PROPERTY_MAP_TEXT_COLUMS : { static SfxItemPropertyMapEntry const aTextColumns_Impl[] = { {OUString(UNO_NAME_IS_AUTOMATIC), WID_TXTCOL_IS_AUTOMATIC, cppu::UnoType::get(),PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_AUTOMATIC_DISTANCE), WID_TXTCOL_AUTO_DISTANCE, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEPARATOR_LINE_WIDTH), WID_TXTCOL_LINE_WIDTH, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEPARATOR_LINE_COLOR), WID_TXTCOL_LINE_COLOR, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT), WID_TXTCOL_LINE_REL_HGT, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT), WID_TXTCOL_LINE_ALIGN, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEPARATOR_LINE_IS_ON), WID_TXTCOL_LINE_IS_ON, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEPARATOR_LINE_STYLE), WID_TXTCOL_LINE_STYLE, cppu::UnoType::get(),PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTextColumns_Impl; } break; case PROPERTY_MAP_REDLINE : { m_aMapEntriesArr[nPropertyId] = GetRedlinePropertyMap(); } break; case PROPERTY_MAP_TEXT_DEFAULT : { SfxItemPropertyMapEntry* aTextDefaultMap_Impl = GetTextDefaultPropertyMap(); m_aMapEntriesArr[nPropertyId] = aTextDefaultMap_Impl; for( SfxItemPropertyMapEntry * pMap = aTextDefaultMap_Impl; !pMap->aName.isEmpty(); ++pMap ) { // OUString(UNO_NAME_PAGE_DESC_NAME) should keep its MAYBEVOID flag if (!(RES_PAGEDESC == pMap->nWID && MID_PAGEDESC_PAGEDESCNAME == pMap->nMemberId)) pMap->nFlags &= ~PropertyAttribute::MAYBEVOID; } } break; case PROPERTY_MAP_REDLINE_PORTION : { m_aMapEntriesArr[nPropertyId] = GetRedlinePortionPropertyMap(); } break; case PROPERTY_MAP_FLDTYP_DATETIME: { static SfxItemPropertyMapEntry const aDateTimeFieldPropMap[] = { {OUString(UNO_NAME_ADJUST), FIELD_PROP_SUBTYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE,0}, {OUString(UNO_NAME_IS_DATE), FIELD_PROP_BOOL2, cppu::UnoType::get() , PROPERTY_NONE,0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDateTimeFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_USER : { static SfxItemPropertyMapEntry const aUserFieldPropMap[] = { {OUString(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aUserFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_SET_EXP : { static SfxItemPropertyMapEntry const aSetExpFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_HINT), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_INPUT), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, // #i69733# wrong name - OUString(UNO_NAME_IS_INPUT) expanded to "Input" instead of "IsInput" {OUString(UNO_NAME_INPUT), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEQUENCE_VALUE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_VARIABLE_NAME), FIELD_PROP_PAR1, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aSetExpFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_GET_EXP : { static SfxItemPropertyMapEntry const aGetExpFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_VARIABLE_SUBTYPE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aGetExpFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_FILE_NAME: { static SfxItemPropertyMapEntry const aFileNameFieldPropMap [] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aFileNameFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_PAGE_NUM : { static SfxItemPropertyMapEntry const aPageNumFieldPropMap [] = { {OUString(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_OFFSET), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_USERTEXT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aPageNumFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_AUTHOR : { static SfxItemPropertyMapEntry const aAuthorFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_FULL_NAME),FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aAuthorFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_CHAPTER : { static SfxItemPropertyMapEntry const aChapterFieldPropMap [] = { {OUString(UNO_NAME_CHAPTER_FORMAT),FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_LEVEL),FIELD_PROP_BYTE1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aChapterFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_GET_REFERENCE : { static SfxItemPropertyMapEntry const aGetRefFieldPropMap [] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_REFERENCE_FIELD_PART),FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_REFERENCE_FIELD_SOURCE),FIELD_PROP_USHORT2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SEQUENCE_NUMBER), FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SOURCE_NAME), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aGetRefFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_CONDITIONED_TEXT : { static SfxItemPropertyMapEntry const aConditionedTextFieldPropMap [] = { {OUString(UNO_NAME_CONDITION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_FALSE_CONTENT), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_CONDITION_TRUE) , FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_TRUE_CONTENT) , FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aConditionedTextFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_HIDDEN_TEXT : { static SfxItemPropertyMapEntry const aHiddenTextFieldPropMap [] = { {OUString(UNO_NAME_CONDITION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CONTENT) , FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_HIDDEN) , FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aHiddenTextFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_ANNOTATION : { static SfxItemPropertyMapEntry const aAnnotationFieldPropMap [] = { {OUString(UNO_NAME_AUTHOR), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INITIALS), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NAME), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATE), FIELD_PROP_DATE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_TEXT_RANGE), FIELD_PROP_TEXT, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aAnnotationFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_INPUT: { static SfxItemPropertyMapEntry const aInputFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_HINT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_HELP), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_TOOLTIP), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aInputFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_MACRO : { static SfxItemPropertyMapEntry const aMacroFieldPropMap [] = { {OUString(UNO_NAME_HINT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_MACRO_NAME),FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_MACRO_LIBRARY),FIELD_PROP_PAR3, cppu::UnoType::get(),PROPERTY_NONE, 0}, {OUString(UNO_NAME_SCRIPT_URL),FIELD_PROP_PAR4, cppu::UnoType::get(),PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aMacroFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DDE : { static SfxItemPropertyMapEntry const aDDEFieldPropMap [] = { COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDDEFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DROPDOWN : { static SfxItemPropertyMapEntry const aDropDownMap [] = { {OUString(UNO_NAME_ITEMS), FIELD_PROP_STRINGS, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SELITEM), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NAME), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_HELP), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_TOOLTIP), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDropDownMap; } break; case PROPERTY_MAP_FLDTYP_HIDDEN_PARA : { static SfxItemPropertyMapEntry const aHiddenParaFieldPropMap [] = { {OUString(UNO_NAME_CONDITION),FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_HIDDEN) , FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aHiddenParaFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DOC_INFO : { static SfxItemPropertyMapEntry const aDocInfoFieldPropMap [] = { {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INFO_FORMAT), FIELD_PROP_USHORT2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INFO_TYPE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_TEMPLATE_NAME : { static SfxItemPropertyMapEntry const aTmplNameFieldPropMap [] = { {OUString(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTmplNameFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_USER_EXT : { static SfxItemPropertyMapEntry const aUsrExtFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_USER_DATA_TYPE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId]= aUsrExtFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_REF_PAGE_SET : { static SfxItemPropertyMapEntry const aRefPgSetFieldPropMap [] = { {OUString(UNO_NAME_OFFSET), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_ON), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aRefPgSetFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_REF_PAGE_GET : { static SfxItemPropertyMapEntry const aRefPgGetFieldPropMap [] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aRefPgGetFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_JUMP_EDIT : { static SfxItemPropertyMapEntry const aJumpEdtFieldPropMap [] = { {OUString(UNO_NAME_HINT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_PLACEHOLDER), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_PLACEHOLDER_TYPE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aJumpEdtFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_SCRIPT : { static SfxItemPropertyMapEntry const aScriptFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SCRIPT_TYPE), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_URL_CONTENT), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aScriptFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET : { static SfxItemPropertyMapEntry const aDBNextSetFieldPropMap [] = { // Note: DATA_BASE_NAME and DATA_BASE_URL // are mapped to the same nMId, because internally we only use // them as DataSource and it does not matter which one it is. {OUString(UNO_NAME_DATA_BASE_NAME) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CONDITION) , FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_BASE_URL) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDBNextSetFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DATABASE_NUM_SET : { static SfxItemPropertyMapEntry const aDBNumSetFieldPropMap [] = { // Note: DATA_BASE_NAME and DATA_BASE_URL // are mapped to the same nMId, because internally we only use // them as DataSource and it does not matter which one it is. {OUString(UNO_NAME_DATA_BASE_NAME) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_TABLE_NAME), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CONDITION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_BASE_URL) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SET_NUMBER), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDBNumSetFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DATABASE_SET_NUM : { static SfxItemPropertyMapEntry const aDBSetNumFieldPropMap [] = { // Note: DATA_BASE_NAME and DATA_BASE_URL // are mapped to the same nMId, because internally we only use // them as DataSource and it does not matter which one it is. {OUString(UNO_NAME_DATA_BASE_NAME) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_BASE_URL) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SET_NUMBER), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDBSetNumFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DATABASE : { static SfxItemPropertyMapEntry const aDBFieldPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_FIELD_CODE), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_DATA_BASE_FORMAT),FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE,0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDBFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DATABASE_NAME : { static SfxItemPropertyMapEntry const aDBNameFieldPropMap [] = { // Note: DATA_BASE_NAME and DATA_BASE_URL // are mapped to the same nMId, because internally we only use // them as DataSource and it does not matter which one it is. {OUString(UNO_NAME_DATA_BASE_NAME) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_BASE_URL) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDBNameFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DOCSTAT: { static SfxItemPropertyMapEntry const aDocstatFieldPropMap [] = { {OUString(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT2, cppu::UnoType::get(), PROPERTY_NONE, 0}, // {OUString(UNO_NAME_STATISTIC_TYPE_ID),FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocstatFieldPropMap; } break; case PROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR: { static SfxItemPropertyMapEntry const aDocInfoAuthorPropMap [] = { {OUString(UNO_NAME_AUTHOR), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE,0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoAuthorPropMap; } break; case PROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME: { static SfxItemPropertyMapEntry const aDocInfoDateTimePropMap [] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DOUBLE, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_IS_DATE), FIELD_PROP_BOOL2, cppu::UnoType::get() , PROPERTY_NONE,0}, {OUString(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoDateTimePropMap; } break; case PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME : { static SfxItemPropertyMapEntry const aDocInfoEditTimePropMap [] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DOUBLE, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoEditTimePropMap; } break; case PROPERTY_MAP_FLDTYP_DOCINFO_MISC: { static SfxItemPropertyMapEntry const aDocInfoStringContentPropMap [] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE,0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoStringContentPropMap; } break; case PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM: { static SfxItemPropertyMapEntry const aDocInfoCustomPropMap [] = { {OUString(UNO_NAME_NAME), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE,0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoCustomPropMap; } break; case PROPERTY_MAP_FLDTYP_DOCINFO_REVISION : { static SfxItemPropertyMapEntry const aDocInfoRevisionPropMap [] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_REVISION), FIELD_PROP_USHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, cppu::UnoType::get() , PROPERTY_NONE,0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDocInfoRevisionPropMap; } break; case PROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS: { static SfxItemPropertyMapEntry const aCombinedCharactersPropMap[] = { {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aCombinedCharactersPropMap; } break; case PROPERTY_MAP_FLDTYP_TABLE_FORMULA: { static SfxItemPropertyMapEntry const aTableFormulaPropMap[] = { {OUString(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, cppu::UnoType::get(), PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTableFormulaPropMap; } break; case PROPERTY_MAP_FLDTYP_DUMMY_0: { static SfxItemPropertyMapEntry const aEmptyPropMap [] = { COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aEmptyPropMap; } break; case PROPERTY_MAP_FLDMSTR_USER : { static SfxItemPropertyMapEntry const aUserFieldTypePropMap[] = { {OUString(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_IS_EXPRESSION), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NAME), FIELD_PROP_PAR1, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, 0}, {OUString(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aUserFieldTypePropMap; } break; case PROPERTY_MAP_FLDMSTR_DDE : { static SfxItemPropertyMapEntry const aDDEFieldTypePropMap[] = { {OUString(UNO_NAME_DDE_COMMAND_ELEMENT), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DDE_COMMAND_FILE), FIELD_PROP_PAR4, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DDE_COMMAND_TYPE), FIELD_PROP_SUBTYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_IS_AUTOMATIC_UPDATE), FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NAME), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_CONTENT), FIELD_PROP_PAR5, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDDEFieldTypePropMap; } break; case PROPERTY_MAP_FLDMSTR_SET_EXP : { static SfxItemPropertyMapEntry const aSetExpFieldTypePropMap[] = { {OUString(UNO_NAME_CHAPTER_NUMBERING_LEVEL),FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_NAME), FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NUMBERING_SEPARATOR), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aSetExpFieldTypePropMap; } break; case PROPERTY_MAP_FLDMSTR_DATABASE : { static SfxItemPropertyMapEntry const aDBFieldTypePropMap [] = { // Note: DATA_BASE_NAME and DATA_BASE_URL // are mapped to the same nMId, because internally we only use // them as DataSource and it does not matter which one it is. {OUString(UNO_NAME_DATA_BASE_NAME) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_NAME), FIELD_PROP_PAR3, cppu::UnoType::get(), PropertyAttribute::MAYBEVOID, 0}, {OUString(UNO_NAME_DATA_TABLE_NAME), FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_COLUMN_NAME), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR4, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_DATA_BASE_URL) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aDBFieldTypePropMap; } break; case PROPERTY_MAP_FLDMSTR_DUMMY0 : { static SfxItemPropertyMapEntry const aStandardFieldMasterMap[] = { {OUString(UNO_NAME_DEPENDENT_TEXT_FIELDS), 0, cppu::UnoType< cppu::UnoSequenceType >::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_NAME), 0, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INSTANCE_NAME), 0, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aStandardFieldMasterMap; } break; case PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY: { static SfxItemPropertyMapEntry const aBibliographyFieldMap[] = { {OUString(UNO_NAME_FIELDS) , FIELD_PROP_PROP_SEQ, cppu::UnoType< cppu::UnoSequenceType >::get(),PROPERTY_NONE, 0}, COMMON_FLDTYP_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aBibliographyFieldMap; } break; case PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY: { static SfxItemPropertyMapEntry const aBibliographyFieldMasterMap[] = { {OUString(UNO_NAME_BRACKET_BEFORE) , FIELD_PROP_PAR1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_BRACKET_AFTER) , FIELD_PROP_PAR2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_NUMBER_ENTRIES) , FIELD_PROP_BOOL1, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_SORT_BY_POSITION) , FIELD_PROP_BOOL2, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_LOCALE), FIELD_PROP_LOCALE, cppu::UnoType::get() , PROPERTY_NONE, 0}, {OUString(UNO_NAME_SORT_ALGORITHM), FIELD_PROP_PAR3, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_SORT_KEYS) , FIELD_PROP_PROP_SEQ, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR4, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aBibliographyFieldMasterMap; } break; case PROPERTY_MAP_TEXT : { static SfxItemPropertyMapEntry const aTextMap[] = { _REDLINE_NODE_PROPERTIES { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aTextMap; } break; case PROPERTY_MAP_MAILMERGE : { static SfxItemPropertyMapEntry const aMailMergeMap[] = { { OUString(UNO_NAME_SELECTION), WID_SELECTION, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_RESULT_SET), WID_RESULT_SET, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_CONNECTION), WID_CONNECTION, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_MODEL), WID_MODEL, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, { OUString(UNO_NAME_DATA_SOURCE_NAME), WID_DATA_SOURCE_NAME, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_DAD_COMMAND), WID_DATA_COMMAND, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_FILTER), WID_FILTER, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_DOCUMENT_URL), WID_DOCUMENT_URL, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_OUTPUT_URL), WID_OUTPUT_URL, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_DAD_COMMAND_TYPE), WID_DATA_COMMAND_TYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_OUTPUT_TYPE), WID_OUTPUT_TYPE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_ESCAPE_PROCESSING), WID_ESCAPE_PROCESSING, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SINGLE_PRINT_JOBS), WID_SINGLE_PRINT_JOBS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_FILE_NAME_FROM_COLUMN), WID_FILE_NAME_FROM_COLUMN, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_FILE_NAME_PREFIX), WID_FILE_NAME_PREFIX, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SUBJECT), WID_MAIL_SUBJECT, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_ADDRESS_FROM_COLUMN), WID_ADDRESS_FROM_COLUMN, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEND_AS_HTML), WID_SEND_AS_HTML, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SEND_AS_ATTACHMENT), WID_SEND_AS_ATTACHMENT, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_MAIL_BODY), WID_MAIL_BODY, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_ATTACHMENT_NAME), WID_ATTACHMENT_NAME, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_ATTACHMENT_FILTER), WID_ATTACHMENT_FILTER, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_PRINT_OPTIONS), WID_PRINT_OPTIONS, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SAVE_AS_SINGLE_FILE), WID_SAVE_AS_SINGLE_FILE, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SAVE_FILTER), WID_SAVE_FILTER, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SAVE_FILTER_OPTIONS), WID_SAVE_FILTER_OPTIONS, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_SAVE_FILTER_DATA), WID_SAVE_FILTER_DATA, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_COPIES_TO), WID_COPIES_TO, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_BLIND_COPIES_TO), WID_BLIND_COPIES_TO, cppu::UnoType< cppu::UnoSequenceType >::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_IN_SERVER_PASSWORD), WID_IN_SERVER_PASSWORD, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(UNO_NAME_OUT_SERVER_PASSWORD), WID_OUT_SERVER_PASSWORD, cppu::UnoType::get(), PROPERTY_NONE, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aMailMergeMap; } break; case PROPERTY_MAP_TEXT_VIEW : { static SfxItemPropertyMapEntry pTextViewMap[] = { {OUString(UNO_NAME_PAGE_COUNT), WID_PAGE_COUNT, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_LINE_COUNT), WID_LINE_COUNT, cppu::UnoType::get(), PropertyAttribute::READONLY, 0}, {OUString(UNO_NAME_IS_CONSTANT_SPELLCHECK), WID_IS_CONSTANT_SPELLCHECK, cppu::UnoType::get(), PROPERTY_NONE, 0}, {OUString(UNO_NAME_IS_HIDE_SPELL_MARKS), WID_IS_HIDE_SPELL_MARKS, cppu::UnoType::get(), PROPERTY_NONE, 0}, // deprecated #i91949 { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = pTextViewMap; } break; case PROPERTY_MAP_CHART2_DATA_SEQUENCE : { static SfxItemPropertyMapEntry const aChart2DataSequenceMap[] = { {OUString(UNO_NAME_ROLE), 0, cppu::UnoType::get(), PROPERTY_NONE, 0 }, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aChart2DataSequenceMap; } break; case PROPERTY_MAP_METAFIELD: { static SfxItemPropertyMapEntry const aMetaFieldMap[] = { { OUString(UNO_NAME_NUMBER_FORMAT), 0, cppu::UnoType::get(), PROPERTY_NONE, 0 }, { OUString(UNO_NAME_IS_FIXED_LANGUAGE), 0, cppu::UnoType::get(), PROPERTY_NONE, 0 }, { OUString(), 0, css::uno::Type(), 0, 0 } }; m_aMapEntriesArr[nPropertyId] = aMetaFieldMap; } break; default: OSL_FAIL( "unexpected property map ID" ); } } return m_aMapEntriesArr[nPropertyId]; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */