From f8ddaaf0f5e1fb61e0d4404ea28757bc652ae4be Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Wed, 21 Jul 2021 12:48:46 +0200 Subject: tdf#142915 PPTX import: support for presentation's timing attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See Slide Show->Slide Show Settings...->Change slides manually, which is disabled by default. Now is imported correctly, i.e. with enabled "Change slides manually". Note: it seems, com::sun::star::presentation::IsAutomatic UNO attribute has got a bad name and documentation: if it's value is TRUE, "Change slides manually" is enabled, and vice versa. Check with the following Basic code: ' show presentation-level automatic transition (IsAutomatic = False) print ThisComponent.getPresentation().IsAutomatic ' show slide-level automatic transition (Change = 1) Dim oDrawPages as Object, oDrawPage as Object oDrawPages = ThisComponent.getDrawPages() oDrawPage = oDrawPages.getByIndex(0) print oDrawPage.Change Change-Id: Ie4a687a29077cad89f11e77b856c28a1fe09376b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119321 Tested-by: László Németh Reviewed-by: László Németh --- include/oox/ppt/presPropsfragmenthandler.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/oox/ppt/presPropsfragmenthandler.hxx b/include/oox/ppt/presPropsfragmenthandler.hxx index 5125ee3357c7..18a2a97aa9cd 100644 --- a/include/oox/ppt/presPropsfragmenthandler.hxx +++ b/include/oox/ppt/presPropsfragmenthandler.hxx @@ -32,6 +32,7 @@ public: private: bool m_bLoop = false; + bool m_bTiming = true; OUString m_sId; OUString m_sSt; }; -- cgit