Kaydet (Commit) 6616a636 authored tarafından Armin Le Grand's avatar Armin Le Grand

#120885# Added missing properties for table border to property set to process them

Initial Patch by: Ma BingBing
Review by: alg
üst ce394fcf
...@@ -60,11 +60,13 @@ ...@@ -60,11 +60,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 ::rtl::OUString; using ::rtl::OUString;
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 ::vos; using namespace ::vos;
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util; using namespace ::com::sun::star::util;
...@@ -94,6 +96,10 @@ static SvxItemPropertySet& GetStylePropertySet() ...@@ -94,6 +96,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}
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment