xmloff/source/draw/shapeexport.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit efaa03c3eeb60bc8b5d2e08d3e5ded2c003f2087 Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Tue Mar 14 18:24:30 2023 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Mar 18 20:06:22 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 <michael.st...@allotropia.de> (cherry picked from commit 9070c1b0404fb72d2553f6fa8f702e70c0abb269) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148960 Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 683e2e8f1dfd..8367214781c3 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -3235,6 +3235,7 @@ void XMLShapeExport::ImpExportFrameShape( SvXMLElementExport aOBJ(mrExport, XML_NAMESPACE_DRAW, XML_FLOATING_FRAME, true, true); } + ImpExportDescription(xShape); } void XMLShapeExport::ImpExportAppletShape( @@ -3290,6 +3291,7 @@ void XMLShapeExport::ImpExportAppletShape( } } + ImpExportDescription(xShape); } void XMLShapeExport::ImpExportPluginShape( @@ -3336,6 +3338,7 @@ void XMLShapeExport::ImpExportPluginShape( } } + ImpExportDescription(xShape); } static void lcl_CopyStream( @@ -3544,6 +3547,8 @@ void XMLShapeExport::ImpExportMediaShape( mrExport.AddAttribute(XML_NAMESPACE_XLINK, XML_ACTUATE, XML_ONLOAD); SvXMLElementExport aImageElem(GetExport(), XML_NAMESPACE_DRAW, XML_IMAGE, false, true); } + + ImpExportDescription(xShape); } void XMLShapeExport::ImpExport3DSceneShape( const uno::Reference< drawing::XShape >& xShape, XMLShapeExportFlags nFeatures, awt::Point* pRefPoint)