diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-03-14 18:24:30 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-03-16 09:10:39 +0000 |
commit | 9070c1b0404fb72d2553f6fa8f702e70c0abb269 (patch) | |
tree | 3101e8ea2ee7acf3011411a970572022bd705652 | |
parent | 529afed0ba3ca5e659cea661816e9164846630e8 (diff) |
xmloff: ODF export: produce alt text and description for MediaShape
... and others where it was inexplicably missing (PluginShape,
AppletShape, FrameShape).
Change-Id: Idf1c44488370a81bc90fb316ab6056994d782a1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148917
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index f972c389a396..da9fe7f0e438 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -3237,6 +3237,7 @@ void XMLShapeExport::ImpExportFrameShape( SvXMLElementExport aOBJ(mrExport, XML_NAMESPACE_DRAW, XML_FLOATING_FRAME, true, true); } + ImpExportDescription(xShape); } void XMLShapeExport::ImpExportAppletShape( @@ -3292,6 +3293,7 @@ void XMLShapeExport::ImpExportAppletShape( } } + ImpExportDescription(xShape); } void XMLShapeExport::ImpExportPluginShape( @@ -3338,6 +3340,7 @@ void XMLShapeExport::ImpExportPluginShape( } } + ImpExportDescription(xShape); } static void lcl_CopyStream( @@ -3581,6 +3584,8 @@ void XMLShapeExport::ImpExportMediaShape( // The media has a preview, export it. ExportGraphicPreview(xGraphic, mrExport, u"MediaPreview", u".png", "image/png"); } + + ImpExportDescription(xShape); } void XMLShapeExport::ImpExport3DSceneShape( const uno::Reference< drawing::XShape >& xShape, XMLShapeExportFlags nFeatures, awt::Point* pRefPoint) |