incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1387874 - /incubator/ooo/trunk/main/sd/source/core/stlsheet.cxx
Date Thu, 20 Sep 2012 06:53:14 GMT
Author: alg
Date: Thu Sep 20 06:53:14 2012
New Revision: 1387874

URL: http://svn.apache.org/viewvc?rev=1387874&view=rev
Log:
#120885# Added missing properties for table border to property set to process them
Initial Patch by: Ma BingBing
Review by: alg

Modified:
    incubator/ooo/trunk/main/sd/source/core/stlsheet.cxx

Modified: incubator/ooo/trunk/main/sd/source/core/stlsheet.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/source/core/stlsheet.cxx?rev=1387874&r1=1387873&r2=1387874&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sd/source/core/stlsheet.cxx (original)
+++ incubator/ooo/trunk/main/sd/source/core/stlsheet.cxx Thu Sep 20 06:53:14 2012
@@ -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& GetStylePrope
 		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}
 	};
 



Mime
View raw message