sd/source/ui/unoidl/unomodel.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit da8d1b4092e818d5dd3b56f022da0041d0be8a72 Author: Mohit Marathe <[email protected]> AuthorDate: Thu Oct 16 12:06:59 2025 +0530 Commit: Michael Stahl <[email protected]> CommitDate: Thu Oct 16 16:33:14 2025 +0200 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]> diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index a5ec6e19c064..efb3a0bd52a6 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -4709,6 +4709,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;
