sd/source/ui/unoidl/unomodel.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit a2aa2f45bd4ae3523de88468af953eb7db7a1766
Author:     Henry Castro <[email protected]>
AuthorDate: Thu Sep 18 09:50:32 2025 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Wed Oct 22 17:51:33 2025 +0200

    sd: add title JSON property
    
    Add title string for screen reader announcements
    
    Change-Id: I8ad2c72f4dc87f85a9210a5a80dfdaeadf1f8a1e
    Signed-off-by: Henry Castro <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191127
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192848
    Tested-by: Jenkins

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 35877fc697d2..970942f22bee 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1404,6 +1404,11 @@ void AnimationsExporter::exportAnimate(const 
Reference<XAnimate>& xAnimate)
         {
             anim::convertTarget(sTmp, aTemp);
             mrWriter.put("targetElement", sTmp.makeStringAndClear());
+            SdrObject* pObject = getTargetObject(aTemp);
+            if (pObject)
+            {
+                mrWriter.put("title", pObject->GetTitle());
+            }
         }
         nTemp = xAnimate->getSubItem();
         if (nTemp)

Reply via email to