summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-09-20 05:53:14 +0000
committerArmin Le Grand <alg@apache.org>2012-09-20 05:53:14 +0000
commit6616a636dda8db85c1bed3b3ccf1881f6e2d3acf (patch)
tree05007defd64db5aefbea6a1b4c0fea088aeb76fb
parentce394fcf30920767a9a35caf5623b7ee6cad52cc (diff)
#120885# Added missing properties for table border to property set to process them
Initial Patch by: Ma BingBing Review by: alg
Notes
-rw-r--r--sd/source/core/stlsheet.cxx6
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}
};