summaryrefslogtreecommitdiffstats
path: root/svx/source/accessibility/SvxShapeTypes.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-03-12 08:36:51 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-03-12 08:36:51 +0000
commitcd12231dd79a77e9dcff9b9faf6170798b00659b (patch)
tree3a4c1573d296b6437cfebd7a89f3ec3190989649 /svx/source/accessibility/SvxShapeTypes.cxx
parentINTEGRATION: CWS impresstables2 (1.23.136); FILE MERGED (diff)
downloadcore-cd12231dd79a77e9dcff9b9faf6170798b00659b.tar.gz
core-cd12231dd79a77e9dcff9b9faf6170798b00659b.zip
INTEGRATION: CWS impresstables2 (1.14.72); FILE MERGED
2007/12/12 10:55:46 cl 1.14.72.1: #i68103# added accessible api to tables
Diffstat (limited to 'svx/source/accessibility/SvxShapeTypes.cxx')
-rw-r--r--svx/source/accessibility/SvxShapeTypes.cxx17
1 files changed, 11 insertions, 6 deletions
diff --git a/svx/source/accessibility/SvxShapeTypes.cxx b/svx/source/accessibility/SvxShapeTypes.cxx
index 61cf1b5d525b..ef56d68e68df 100644
--- a/svx/source/accessibility/SvxShapeTypes.cxx
+++ b/svx/source/accessibility/SvxShapeTypes.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: SvxShapeTypes.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 16:42:05 $
+ * last change: $Author: rt $ $Date: 2008-03-12 09:36:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -50,6 +50,7 @@
#ifndef _SVX_ACCESSIBILITY_ACCESSIBLE_CONTROL_SHAPE_HXX
#include <svx/AccessibleControlShape.hxx>
#endif
+#include <svx/AccessibleTableShape.hxx>
namespace accessibility {
@@ -100,6 +101,9 @@ AccessibleShape* CreateSvxAccessibleShape (
case DRAWING_PLUGIN:
return new AccessibleOLEShape (rShapeInfo, rShapeTreeInfo);
+ case DRAWING_TABLE:
+ return new AccessibleTableShape( rShapeInfo, rShapeTreeInfo );
+
default:
return NULL;
}
@@ -192,12 +196,13 @@ ShapeTypeDescriptor aSvxShapeTypeList[] = {
ShapeTypeDescriptor ( DRAWING_3D_EXTRUDE,
::rtl::OUString::createFromAscii ("com.sun.star.drawing.Shape3DExtrudeObject"),
CreateSvxAccessibleShape ),
- // --> OD 2004-11-29 #i37790# - default accessiblility shape for
- // com::sun::star::drawing::CustomShape
ShapeTypeDescriptor ( DRAWING_CUSTOM,
::rtl::OUString::createFromAscii ("com.sun.star.drawing.CustomShape"),
- CreateSvxAccessibleShape )
- // <--
+ CreateSvxAccessibleShape ),
+ ShapeTypeDescriptor ( DRAWING_TABLE,
+ rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.TableShape" ) ),
+ CreateSvxAccessibleShape ),
+
};