xmloff/source/draw/shapeexport.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit d505d6b5c60aae0109130e731fd8298a1905b501 Author: Michael Stahl <[email protected]> AuthorDate: Tue Mar 14 18:24:30 2023 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Sat Mar 18 20:06:07 2023 +0000 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 <[email protected]> (cherry picked from commit 9070c1b0404fb72d2553f6fa8f702e70c0abb269) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148959 Reviewed-by: Caolán McNamara <[email protected]> diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index c8d513d4e724..0f5b711a021a 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)
