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

New commits:
commit a905cf724f2fcfe8d342fab71f04ff4131105609
Author:     Mohit Marathe <[email protected]>
AuthorDate: Thu Oct 16 12:06:59 2025 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Mon Jan 12 12:19:25 2026 +0100

    lok: send slide sizes in presentation info
    
    so that it can be used to calculate canvas size for slideshow rendering
    
    Signed-off-by: Mohit Marathe <[email protected]>
    Change-Id: I519ae6fe6ad4e4d5ba55b9a8a9cc888adad945f8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192467
    Reviewed-by: Michael Stahl <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196690

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index bbe2a6e2edfd..6d602e8b689f 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -4700,6 +4700,10 @@ OString SdXImpressDocument::getPresentationInfo(bool 
bAllyState) const
                 auto aName = 
SdDrawPage::getPageApiNameFromUiName(pPage->GetName());
                 aJsonWriter.put("name", aName);
 
+                const Size aSlizeSize = 
const_cast<SdXImpressDocument*>(this)->getPartSize(i);
+                aJsonWriter.put("slideWidth", aSlizeSize.getWidth());
+                aJsonWriter.put("slideHeight", aSlizeSize.getHeight());
+
                 if (bAllyState)
                 {
                     OUStringBuffer aHtml;

Reply via email to