summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unomap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unomap.cxx')
-rw-r--r--sw/source/core/unocore/unomap.cxx42
1 files changed, 20 insertions, 22 deletions
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index 3267c36ee728..64fa8b3cb104 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unomap.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: os $ $Date: 2000-10-25 12:59:42 $
+ * last change: $Author: os $ $Date: 2000-10-27 14:22:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -565,8 +565,8 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_HYPER_LINK_NAME ), RES_TXTATR_INETFMT, &::getCppuType((const OUString*)0), PROPERTY_NONE ,MID_URL_HYPERLINKNAME },
{ SW_PROP_NAME(UNO_NAME_UNVISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, &::getCppuType((const OUString*)0), PROPERTY_NONE ,MID_URL_VISITED_FMT },
{ SW_PROP_NAME(UNO_NAME_VISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, &::getCppuType((const OUString*)0), PROPERTY_NONE ,MID_URL_UNVISITED_FMT },
- { SW_PROP_NAME(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NAME(UNO_NAME_CHAR_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
+ { SW_PROP_NAME(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
+ { SW_PROP_NAME(UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
{ SW_PROP_NAME(UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL), FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL,&::getCppuType((const sal_Int8*)0), PropertyAttribute::READONLY, 0},
{ SW_PROP_NAME(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME), FN_UNO_PARA_CONDITIONAL_STYLE_NAME, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
{ SW_PROP_NAME(UNO_NAME_PARA_IS_NUMBERING_RESTART), FN_NUMBER_NEWSTART, &::getBooleanCppuType(), PropertyAttribute::MAYBEVOID, 0 },
@@ -612,7 +612,7 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_HYPER_LINK_NAME ), RES_TXTATR_INETFMT, &::getCppuType((const OUString*)0), PROPERTY_NONE ,MID_URL_HYPERLINKNAME },
{ SW_PROP_NAME(UNO_NAME_UNVISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, &::getCppuType((const OUString*)0), PROPERTY_NONE ,MID_URL_VISITED_FMT },
{ SW_PROP_NAME(UNO_NAME_VISITED_CHAR_STYLE_NAME), RES_TXTATR_INETFMT, &::getCppuType((const OUString*)0), PROPERTY_NONE ,MID_URL_UNVISITED_FMT },
- { SW_PROP_NAME(UNO_NAME_CHAR_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
+ { SW_PROP_NAME(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
{ SW_PROP_NAME(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, &::getBooleanCppuType(), PropertyAttribute::READONLY, 0},
{ SW_PROP_NAME(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
{0,0,0,0}
@@ -708,8 +708,7 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS), RES_PARATR_HYPHENZONE, &::getCppuType((const sal_Int16*)0), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MIN_TRAIL },
{ SW_PROP_NAME(UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS ), RES_PARATR_HYPHENZONE, &::getCppuType((const sal_Int16*)0), PropertyAttribute::MAYBEVOID, MID_HYPHEN_MAX_HYPHENS},
{ SW_PROP_NAME(UNO_NAME_NUMBERING_STYLE_NAME), RES_PARATR_NUMRULE, &::getCppuType((const OUString*)0), PropertyAttribute::MAYBEVOID, 0},
- { SW_PROP_NAME(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NAME(UNO_NAME_CHAR_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
+ { SW_PROP_NAME(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
{ SW_PROP_NAME(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, &::getBooleanCppuType(), PropertyAttribute::READONLY, 0},
{ SW_PROP_NAME(UNO_NAME_IS_AUTO_UPDATE), FN_UNO_IS_AUTO_UPDATE, &::getBooleanCppuType(), PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
@@ -823,10 +822,10 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_HEADER_TOP_BORDER), FN_UNO_HEADER_BOX, &::getCppuType((const table::BorderLine*)0), 0, TOP_BORDER |CONVERT_TWIPS },
{ SW_PROP_NAME(UNO_NAME_HEADER_BOTTOM_BORDER), FN_UNO_HEADER_BOX, &::getCppuType((const table::BorderLine*)0), 0, BOTTOM_BORDER|CONVERT_TWIPS },
{ SW_PROP_NAME(UNO_NAME_HEADER_BORDER_DISTANCE), FN_UNO_HEADER_BOX, &::getCppuType((const sal_Int32*)0), 0, BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_HEADER_LEFT_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_HEADER_TOP_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_HEADER_LEFT_BORDER_DISTANCE), FN_UNO_HEADER_BOX, &::getCppuType((const sal_Int32*)0), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE), FN_UNO_HEADER_BOX, &::getCppuType((const sal_Int32*)0), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_HEADER_TOP_BORDER_DISTANCE), FN_UNO_HEADER_BOX, &::getCppuType((const sal_Int32*)0), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE), FN_UNO_HEADER_BOX, &::getCppuType((const sal_Int32*)0), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
{ SW_PROP_NAME(UNO_NAME_HEADER_SHADOW_FORMAT), FN_UNO_HEADER_SHADOW, &::getCppuType((const table::ShadowFormat*)0), PROPERTY_NONE, CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_HEADER_BODY_DISTANCE), FN_UNO_HEADER_BODY_DISTANCE,&::getCppuType((const sal_Int32*)0), PROPERTY_NONE ,MID_LO_MARGIN|CONVERT_TWIPS },
{ SW_PROP_NAME(UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT), FN_UNO_HEADER_IS_DYNAMIC_DISTANCE,&::getBooleanCppuType(), PROPERTY_NONE ,0 },
@@ -842,15 +841,15 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_FOOTER_LEFT_MARGIN), FN_UNO_FOOTER_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_FOOTER_RIGHT_MARGIN), FN_UNO_FOOTER_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_FOOTER_BACK_TRANSPARENT ), FN_UNO_FOOTER_BACKGROUND, &::getBooleanCppuType(), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NAME(UNO_NAME_FOOTER_LEFT_BORDER), RES_BOX, &::getCppuType((const table::BorderLine*)0), 0, LEFT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_RIGHT_BORDER), RES_BOX, &::getCppuType((const table::BorderLine*)0), 0, RIGHT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_TOP_BORDER), RES_BOX, &::getCppuType((const table::BorderLine*)0), 0, TOP_BORDER |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_BOTTOM_BORDER), RES_BOX, &::getCppuType((const table::BorderLine*)0), 0, BOTTOM_BORDER|CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_TOP_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NAME(UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE), RES_BOX, &::getCppuType((const sal_Int32*)0), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_LEFT_BORDER), FN_UNO_FOOTER_BOX, &::getCppuType((const table::BorderLine*)0), 0, LEFT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_RIGHT_BORDER), FN_UNO_FOOTER_BOX, &::getCppuType((const table::BorderLine*)0), 0, RIGHT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_TOP_BORDER), FN_UNO_FOOTER_BOX, &::getCppuType((const table::BorderLine*)0), 0, TOP_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_BOTTOM_BORDER), FN_UNO_FOOTER_BOX, &::getCppuType((const table::BorderLine*)0), 0, BOTTOM_BORDER|CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, &::getCppuType((const sal_Int32*)0), 0, BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, &::getCppuType((const sal_Int32*)0), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, &::getCppuType((const sal_Int32*)0), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_TOP_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, &::getCppuType((const sal_Int32*)0), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NAME(UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, &::getCppuType((const sal_Int32*)0), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
{ SW_PROP_NAME(UNO_NAME_FOOTER_SHADOW_FORMAT), FN_UNO_FOOTER_SHADOW, &::getCppuType((const table::ShadowFormat*)0), PROPERTY_NONE, CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_FOOTER_BODY_DISTANCE), FN_UNO_FOOTER_BODY_DISTANCE,&::getCppuType((const sal_Int32*)0), PROPERTY_NONE ,MID_UP_MARGIN|CONVERT_TWIPS },
{ SW_PROP_NAME(UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT), FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE,&::getBooleanCppuType(), PROPERTY_NONE ,0 },
@@ -1600,8 +1599,7 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_BACK_TRANSPARENT ), FN_UNO_TABLE_CELL_BACKGROUND, &::getBooleanCppuType(), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_TRANSPARENT },
{ SW_PROP_NAME(UNO_NAME_WORD_MODE ), RES_CHRATR_WORDLINEMODE,&::getBooleanCppuType() , PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_PARA_STYLE_NAME), FN_UNO_PARA_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NAME(UNO_NAME_CHAR_USER_DEFINED_ATTRIBUTES), RES_TXTATR_UNKNOWN_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
+ { SW_PROP_NAME(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, &::getCppuType((uno::Reference<container::XNameContainer>*)0), PropertyAttribute::MAYBEVOID, 0 },
{0,0,0,0}
};
aMapArr[nPropertyId] = aTableCursorPropertyMap_Impl;