summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArmin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>2024-03-28 12:22:12 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-03-29 01:55:38 +0100
commitaef28c23adc87b8e26eacb56c7dbcf652e907fb9 (patch)
treec0db14318c17aacb439061457b604e616ec47252 /include
parent3027850e18eb2983e26d2535c33ff79eaa756af9 (diff)
IASS: Update NextSlide in PresenterConsole
Change-Id: I6060e95aabfdb5956bf2f4a71d047bdf5c97a723 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165458 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/unoapi.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx
index 3107a483579d..6ee2d2cb27c4 100644
--- a/include/svx/unoapi.hxx
+++ b/include/svx/unoapi.hxx
@@ -53,6 +53,12 @@ SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageFor
/** Returns the SdrPage from the given StarOffice API wrapper */
SVXCORE_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage ) noexcept ;
+// helper that returns true if the given XShape is member of the given
+// XDrawPage or it's MasterPage (aka associated)
+SVXCORE_DLLPUBLIC bool IsXShapeAssociatedWithXDrawPage(
+ const css::uno::Reference<css::drawing::XShape>& rxShape,
+ const css::uno::Reference< css::drawing::XDrawPage >& rxDrawPage) noexcept;
+
/**
* Maps the vcl MapUnit enum to an API constant MeasureUnit.
* Returns false if conversion is not supported.