diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/AccessibleShape.cxx | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index 832852576472..5eb3bbfd5698 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -1069,70 +1069,6 @@ OUString AccessibleShape::GetFullAccessibleName (AccessibleShape *shape) return sName; } -OUString - AccessibleShape::CreateAccessibleDescription() -{ - DescriptionGenerator aDG (mxShape); - aDG.Initialize (CreateAccessibleBaseName()); - switch (ShapeTypeHandler::Instance().GetTypeId (mxShape)) - { - case DRAWING_3D_CUBE: - case DRAWING_3D_EXTRUDE: - case DRAWING_3D_LATHE: - case DRAWING_3D_SPHERE: - aDG.Add3DProperties (); - break; - - case DRAWING_3D_SCENE: - case DRAWING_GROUP: - case DRAWING_PAGE: - // No further information is appended. - break; - - case DRAWING_CAPTION: - case DRAWING_CLOSED_BEZIER: - case DRAWING_CLOSED_FREEHAND: - case DRAWING_ELLIPSE: - case DRAWING_POLY_POLYGON: - case DRAWING_POLY_POLYGON_PATH: - case DRAWING_RECTANGLE: - aDG.AddLineProperties (); - aDG.AddFillProperties (); - break; - - case DRAWING_CONNECTOR: - case DRAWING_LINE: - case DRAWING_MEASURE: - case DRAWING_OPEN_BEZIER: - case DRAWING_OPEN_FREEHAND: - case DRAWING_POLY_LINE: - case DRAWING_POLY_LINE_PATH: - aDG.AddLineProperties (); - break; - - case DRAWING_CONTROL: - aDG.AddProperty ("ControlBackground", DescriptionGenerator::PropertyType::Color, ""); - aDG.AddProperty ("ControlBorder", DescriptionGenerator::PropertyType::Integer, ""); - break; - - case DRAWING_TEXT: - aDG.AddTextProperties (); - break; - - default: - aDG.Initialize ("Unknown accessible shape"); - uno::Reference<drawing::XShapeDescriptor> xDescriptor (mxShape, uno::UNO_QUERY); - if (xDescriptor.is()) - { - aDG.AppendString ("service name="); - aDG.AppendString (xDescriptor->getShapeType()); - } - } - - return aDG(); -} - - // protected void AccessibleShape::disposing() { |