[Libreoffice-commits] core.git: sd/source

Armin Le Grand alg at apache.org
Wed Jun 5 07:10:40 PDT 2013


 sd/source/core/stlsheet.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 5eab53585c4ec52fe82f9b45273ca2f35a1fc1ca
Author: Armin Le Grand <alg at apache.org>
Date:   Thu Sep 20 05:53:14 2012 +0000

    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

diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index fcb7896..48d85e3 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}
     };
 


More information about the Libreoffice-commits mailing list