diff options
author | Armin Le Grand <alg@apache.org> | 2012-09-20 05:53:14 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-09-20 05:53:14 +0000 |
commit | 6616a636dda8db85c1bed3b3ccf1881f6e2d3acf (patch) | |
tree | 05007defd64db5aefbea6a1b4c0fea088aeb76fb | |
parent | ce394fcf30920767a9a35caf5623b7ee6cad52cc (diff) |
#120885# Added missing properties for table border to property set to process them
Initial Patch by: Ma BingBing
Review by: alg
Notes
merged as: 5eab53585c4ec52fe82f9b45273ca2f35a1fc1ca
-rw-r--r-- | sd/source/core/stlsheet.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 6cf8697cf726..da6972abd9a6 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -60,11 +60,13 @@ #include "helpids.h" #include "../ui/inc/DrawViewShell.hxx" #include "../ui/inc/ViewShellBase.hxx" +#include <editeng/boxitem.hxx> using ::rtl::OUString; using ::osl::MutexGuard; using ::osl::ClearableMutexGuard; using ::cppu::OInterfaceContainerHelper; +using ::com::sun::star::table::BorderLine; using namespace ::vos; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; @@ -94,6 +96,10 @@ static SvxItemPropertySet& GetStylePropertySet() TEXT_PROPERTIES_DEFAULTS CONNECTOR_PROPERTIES SPECIAL_DIMENSIONING_PROPERTIES_DEFAULTS + { MAP_CHAR_LEN("TopBorder"), SDRATTR_TABLE_BORDER, &::getCppuType((const BorderLine*)0), 0, TOP_BORDER }, \ + { MAP_CHAR_LEN("BottomBorder"), SDRATTR_TABLE_BORDER, &::getCppuType((const BorderLine*)0), 0, BOTTOM_BORDER }, \ + { MAP_CHAR_LEN("LeftBorder"), SDRATTR_TABLE_BORDER, &::getCppuType((const BorderLine*)0), 0, LEFT_BORDER }, \ + { MAP_CHAR_LEN("RightBorder"), SDRATTR_TABLE_BORDER, &::getCppuType((const BorderLine*)0), 0, RIGHT_BORDER }, \ {0,0,0,0,0,0} }; |