diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-05-23 17:22:49 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-05-23 17:22:49 +0000 |
commit | 59c3a5c43a51b0705a450490210d743a87a87828 (patch) | |
tree | d1f674b375a7a11bea301d1c155476668d6f167e /sc/source/ui/unoobj/styleuno.cxx | |
parent | 9a076261aa2b597cfddd3372b36419d8a728e2bc (diff) |
#82635# NumberingRules
Diffstat (limited to 'sc/source/ui/unoobj/styleuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index 4ef009d2dbbf..3e84d02db844 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -2,9 +2,9 @@ * * $RCSfile: styleuno.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: nn $ $Date: 2001-05-23 17:27:00 $ + * last change: $Author: nn $ $Date: 2001-05-23 18:22:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,8 +68,10 @@ #include "scitems.hxx" #include <svx/algitem.hxx> #include <svx/langitem.hxx> +#include <svx/numitem.hxx> #include <svx/pageitem.hxx> #include <svx/unomid.hxx> +#include <svx/unonrule.hxx> #include <sfx2/bindings.hxx> #include <vcl/virdev.hxx> #include <svtools/itempool.hxx> @@ -161,6 +163,7 @@ const SfxItemPropertyMap* lcl_GetCellStyleMap() {MAP_CHAR_LEN(SC_UNONAME_WRAP), ATTR_LINEBREAK, &::getBooleanCppuType(), 0, 0 }, {MAP_CHAR_LEN(SC_UNONAME_LEFTBORDER),ATTR_BORDER, &::getCppuType((const table::BorderLine*)0), 0, LEFT_BORDER | CONVERT_TWIPS }, {MAP_CHAR_LEN(SC_UNONAME_NUMFMT), ATTR_VALUE_FORMAT, &::getCppuType((const sal_Int32*)0), 0, 0 }, +// {MAP_CHAR_LEN(SC_UNONAME_NUMRULES), SC_WID_UNO_NUMRULES,&getCppuType((const uno::Reference<container::XIndexReplace>*)0), 0, 0 }, {MAP_CHAR_LEN(SC_UNONAME_CELLORI), ATTR_ORIENTATION, &::getCppuType((const table::CellOrientation*)0), 0, 0 }, {MAP_CHAR_LEN(SC_UNONAME_PADJUST), ATTR_HOR_JUSTIFY, &::getCppuType((const sal_Int16*)0), 0, MID_HORJUST_ADJUST }, {MAP_CHAR_LEN(SC_UNONAME_PBMARGIN), ATTR_MARGIN, &::getCppuType((const sal_Int32*)0), 0, MID_MARGIN_LO_MARGIN | CONVERT_TWIPS }, @@ -1206,6 +1209,13 @@ void SAL_CALL ScStyleObj::setName( const rtl::OUString& aNewName ) } } +// static +uno::Reference<container::XIndexReplace> ScStyleObj::CreateEmptyNumberingRules() +{ + SvxNumRule aRule( 0, 0, TRUE ); // nothing supported + return SvxCreateNumRule( &aRule ); +} + // beans::XPropertyState const SfxItemSet* ScStyleObj::GetStyleItemSet_Impl( const String& rPropName, |