summaryrefslogtreecommitdiff
path: root/sd/source/core
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-09-20 05:53:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-05 15:10:19 +0100
commit5eab53585c4ec52fe82f9b45273ca2f35a1fc1ca (patch)
treec4e736704f33c5c3ec956a912c1888ec639b68ad /sd/source/core
parent33a4d7624fd30454306e659d24665fa251fc9eff (diff)
Resolves: #i120885# Added missing properties for table border...
to property set to process them Initial Patch by: Ma BingBing Review by: alg (cherry picked from commit 6616a636dda8db85c1bed3b3ccf1881f6e2d3acf) Conflicts: sd/source/core/stlsheet.cxx Change-Id: Ife4dc2e2224d478e0d726f7b2e0d337a6de43262
Diffstat (limited to 'sd/source/core')
-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 fcb7896f7368..48d85e312c3c 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -54,11 +54,13 @@
#include "helpids.h"
#include "../ui/inc/DrawViewShell.hxx"
#include "../ui/inc/ViewShellBase.hxx"
+#include <editeng/boxitem.hxx>
using ::osl::MutexGuard;
using ::osl::ClearableMutexGuard;
using ::cppu::OInterfaceContainerHelper;
+using ::com::sun::star::table::BorderLine;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::lang;
@@ -89,6 +91,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}
};