summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-04-17 13:13:40 +0000
committerOliver Specht <os@openoffice.org>2001-04-17 13:13:40 +0000
commit6b8a9f669fefd45c7af05d532ae74985ce8bbe2b (patch)
tree437c548b085256907bc6960a2a6e8475e301a1ff /sw
parent767103e33b85d2f69589152f16bc300322ecd301 (diff)
#85534# property added: ParaIsAutoFirstLineIndent
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unoprnms.hxx5
-rw-r--r--sw/source/core/unocore/unomap.cxx10
-rw-r--r--sw/source/core/unocore/unoprnms.cxx5
3 files changed, 13 insertions, 7 deletions
diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx
index 67c157b260c3..f3618d07f5f1 100644
--- a/sw/inc/unoprnms.hxx
+++ b/sw/inc/unoprnms.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoprnms.hxx,v $
*
- * $Revision: 1.54 $
+ * $Revision: 1.55 $
*
- * last change: $Author: ama $ $Date: 2001-04-10 14:12:03 $
+ * last change: $Author: os $ $Date: 2001-04-17 14:13:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -112,6 +112,7 @@ extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_LEFT_MARGIN
extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_RIGHT_MARGIN ;
extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_LEFT_MARGIN_RELATIVE ;
extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE ;
+extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT ;
extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_FIRST_LINE_INDENT ;
extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_FIRST_LINE_INDENT_RELATIVE ;
extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_HYPHENATION ;
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index adb51e17361b..440b768c7647 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.81 $
+ * $Revision: 1.82 $
*
- * last change: $Author: os $ $Date: 2001-04-16 15:23:56 $
+ * last change: $Author: os $ $Date: 2001-04-17 14:11:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -554,7 +554,8 @@ void SwUnoPropertyMapProvider::Sort(sal_uInt16 nId)
{ SW_PROP_NAME(UNO_NAME_PARA_GRAPHIC_LOCATION), RES_BACKGROUND, &::getCppuType((const style::GraphicLocation*)0), PropertyAttribute::MAYBEVOID ,MID_GRAPHIC_POSITION}, \
{ SW_PROP_NAME(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PropertyAttribute::MAYBEVOID, MID_TXT_LMARGIN|CONVERT_TWIPS}, \
{ SW_PROP_NAME(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS}, \
- { SW_PROP_NAME(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PropertyAttribute::MAYBEVOID, MID_FIRST_LINE_INDENT|CONVERT_TWIPS}, \
+ { SW_PROP_NAME(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE, &::getBooleanCppuType(), PropertyAttribute::MAYBEVOID, MID_FIRST_AUTO}, \
+ { SW_PROP_NAME(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PropertyAttribute::MAYBEVOID, MID_FIRST_LINE_INDENT|CONVERT_TWIPS}, \
_STANDARD_FONT_PROPERTIES \
_CJK_FONT_PROPERTIES \
_CTL_FONT_PROPERTIES \
@@ -841,6 +842,7 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_PARA_LEFT_MARGIN_RELATIVE), RES_LR_SPACE, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, MID_L_REL_MARGIN},
{ SW_PROP_NAME(UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE), RES_LR_SPACE, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, MID_R_REL_MARGIN},
+ { SW_PROP_NAME(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE, &::getBooleanCppuType(), PROPERTY_NONE, MID_FIRST_AUTO},
{ SW_PROP_NAME(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_PARA_FIRST_LINE_INDENT_RELATIVE), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_FIRST_LINE_REL_INDENT|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_CHAR_KERNING ), RES_CHRATR_KERNING , &::getCppuType((const sal_Int16*)0) , PROPERTY_NONE, CONVERT_TWIPS},
@@ -1189,6 +1191,7 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE , &::getBooleanCppuType(), PROPERTY_NONE, MID_UL_HASCOLOR},
{ SW_PROP_NAME(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_TXT_LMARGIN|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NAME(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE, &::getBooleanCppuType(), PROPERTY_NONE, MID_FIRST_AUTO},
{ SW_PROP_NAME(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_CHAR_KERNING ), RES_CHRATR_KERNING , &::getCppuType((const sal_Int16*)0) , PROPERTY_NONE, CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_CHAR_NO_HYPHENATION ), RES_CHRATR_NOHYPHEN , &::getBooleanCppuType() , PROPERTY_NONE, 0},
@@ -1691,6 +1694,7 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16
{ SW_PROP_NAME(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE , &::getBooleanCppuType(), PROPERTY_NONE, MID_UL_HASCOLOR},
{ SW_PROP_NAME(UNO_NAME_PARA_LEFT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_TXT_LMARGIN|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_PARA_RIGHT_MARGIN), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NAME(UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT), RES_LR_SPACE, &::getBooleanCppuType(), PROPERTY_NONE, MID_FIRST_AUTO},
{ SW_PROP_NAME(UNO_NAME_PARA_FIRST_LINE_INDENT), RES_LR_SPACE, &::getCppuType((const sal_Int32*)0), PROPERTY_NONE, MID_FIRST_LINE_INDENT|CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_CHAR_KERNING ), RES_CHRATR_KERNING , &::getCppuType((const sal_Int16*)0) , PROPERTY_NONE, CONVERT_TWIPS},
{ SW_PROP_NAME(UNO_NAME_CHAR_NO_HYPHENATION ), RES_CHRATR_NOHYPHEN , &::getBooleanCppuType() , PROPERTY_NONE, 0},
diff --git a/sw/source/core/unocore/unoprnms.cxx b/sw/source/core/unocore/unoprnms.cxx
index 5fdc66843c52..fc6c55f8f977 100644
--- a/sw/source/core/unocore/unoprnms.cxx
+++ b/sw/source/core/unocore/unoprnms.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoprnms.cxx,v $
*
- * $Revision: 1.56 $
+ * $Revision: 1.57 $
*
- * last change: $Author: ama $ $Date: 2001-04-10 14:26:59 $
+ * last change: $Author: os $ $Date: 2001-04-17 14:11:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,6 +108,7 @@ const SwPropNameLen __FAR_DATA UNO_NAME_PARA_LEFT_MARGIN
const SwPropNameLen __FAR_DATA UNO_NAME_PARA_RIGHT_MARGIN (MAP_CHAR_LEN("ParaRightMargin"));
const SwPropNameLen __FAR_DATA UNO_NAME_PARA_LEFT_MARGIN_RELATIVE (MAP_CHAR_LEN("ParaLeftMarginRelative"));
const SwPropNameLen __FAR_DATA UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE (MAP_CHAR_LEN("ParaRightMarginRelative"));
+const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT (MAP_CHAR_LEN("ParaIsAutoFirstLineIndent"));
const SwPropNameLen __FAR_DATA UNO_NAME_PARA_FIRST_LINE_INDENT (MAP_CHAR_LEN("ParaFirstLineIndent"));
const SwPropNameLen __FAR_DATA UNO_NAME_PARA_FIRST_LINE_INDENT_RELATIVE (MAP_CHAR_LEN("ParaFirstLineIndentRelative"));
const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_HYPHENATION (MAP_CHAR_LEN("ParaIsHyphenation"));