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
This commit is contained in:
committed by
Caolán McNamara
parent
33a4d7624f
commit
5eab53585c
@@ -54,11 +54,13 @@
|
|||||||
#include "helpids.h"
|
#include "helpids.h"
|
||||||
#include "../ui/inc/DrawViewShell.hxx"
|
#include "../ui/inc/DrawViewShell.hxx"
|
||||||
#include "../ui/inc/ViewShellBase.hxx"
|
#include "../ui/inc/ViewShellBase.hxx"
|
||||||
|
#include <editeng/boxitem.hxx>
|
||||||
|
|
||||||
|
|
||||||
using ::osl::MutexGuard;
|
using ::osl::MutexGuard;
|
||||||
using ::osl::ClearableMutexGuard;
|
using ::osl::ClearableMutexGuard;
|
||||||
using ::cppu::OInterfaceContainerHelper;
|
using ::cppu::OInterfaceContainerHelper;
|
||||||
|
using ::com::sun::star::table::BorderLine;
|
||||||
using namespace ::com::sun::star::uno;
|
using namespace ::com::sun::star::uno;
|
||||||
using namespace ::com::sun::star::util;
|
using namespace ::com::sun::star::util;
|
||||||
using namespace ::com::sun::star::lang;
|
using namespace ::com::sun::star::lang;
|
||||||
@@ -89,6 +91,10 @@ static SvxItemPropertySet& GetStylePropertySet()
|
|||||||
TEXT_PROPERTIES_DEFAULTS
|
TEXT_PROPERTIES_DEFAULTS
|
||||||
CONNECTOR_PROPERTIES
|
CONNECTOR_PROPERTIES
|
||||||
SPECIAL_DIMENSIONING_PROPERTIES_DEFAULTS
|
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}
|
{0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user