summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdpropls.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-03-12 09:34:00 +0000
committerRüdiger Timm <rt@openoffice.org>2008-03-12 09:34:00 +0000
commitb7c623ca1f969b1b8ac236936848738ddbc2dc3a (patch)
tree3e798c5a3c316d01d481035130345d654dcf36a8 /xmloff/source/draw/sdpropls.cxx
parentca35f57541549ac0edfbbe79c79887fd5ea8ddba (diff)
INTEGRATION: CWS impresstables2 (1.95.12); FILE MERGED
2007/11/29 18:50:28 cl 1.95.12.3: #i68103# working on table templates 2007/08/01 14:11:39 cl 1.95.12.2: RESYNC: (1.95-1.96); FILE MERGED 2007/07/27 09:09:51 cl 1.95.12.1: fixed build issues due to pch and namespace ::rtl
Diffstat (limited to 'xmloff/source/draw/sdpropls.cxx')
-rw-r--r--xmloff/source/draw/sdpropls.cxx22
1 files changed, 19 insertions, 3 deletions
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index bb8428be71de..6c221951cf55 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sdpropls.cxx,v $
*
- * $Revision: 1.96 $
+ * $Revision: 1.97 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 15:04:32 $
+ * last change: $Author: rt $ $Date: 2008-03-12 10:34:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -209,7 +209,9 @@
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Reference;
-using namespace ::rtl;
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
+
using namespace ::com::sun::star;
using namespace ::xmloff::token;
@@ -482,6 +484,20 @@ const XMLPropertyMapEntry aXMLSDPresPageProps_onlyHeadersFooter[] =
{ 0L, 0, 0, XML_EMPTY, 0, 0 }
};
+/** contains the attribute to property mapping for a drawing layer table
+ WARNING: if attributes are added, SdXMLTableShapeContext::processAttribute needs to be updated!
+*/
+const XMLPropertyMapEntry aXMLTableShapeAttributes[] =
+{
+ _MAP( "UseFirstRowStyle", XML_NAMESPACE_TABLE, XML_USE_FIRST_ROW_STYLES, XML_TYPE_BOOL, 0 ),
+ _MAP( "UseLastRowStyle", XML_NAMESPACE_TABLE, XML_USE_LAST_ROW_STYLES, XML_TYPE_BOOL, 0 ),
+ _MAP( "UseFirstColumnStyle", XML_NAMESPACE_TABLE, XML_USE_FIRST_COLUMN_STYLES, XML_TYPE_BOOL, 0 ),
+ _MAP( "UseLastColumnStyle", XML_NAMESPACE_TABLE, XML_USE_LAST_COLUMN_STYLES, XML_TYPE_BOOL, 0 ),
+ _MAP( "UseBandingRowStyle", XML_NAMESPACE_TABLE, XML_USE_BANDING_ROWS_STYLES, XML_TYPE_BOOL, 0 ),
+ _MAP( "UseBandingColumnStyle", XML_NAMESPACE_TABLE, XML_USE_BANDING_COLUMNS_STYLES, XML_TYPE_BOOL, 0 ),
+ { 0L, 0, 0, XML_EMPTY, 0, 0 }
+};
+
//////////////////////////////////////////////////////////////////////////////
// implementation of factory for own graphic properties