From ab825c665c1ee509769bdaf0ae95fc111a357fc6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 19 Sep 2019 10:58:59 +0200 Subject: Related: tdf#124600 sw anchored object allow overlap: add UNO API And fix the pool item's operator==() that forgot to take allow-overlap into account. Change-Id: I34ec29eed95d821cfccebbb15675e0f576b6454d Reviewed-on: https://gerrit.libreoffice.org/79115 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- offapi/com/sun/star/text/BaseFrameProperties.idl | 5 +++++ offapi/com/sun/star/text/Shape.idl | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/text/BaseFrameProperties.idl b/offapi/com/sun/star/text/BaseFrameProperties.idl index 4f62845fe6ba..bffa5ddf4770 100644 --- a/offapi/com/sun/star/text/BaseFrameProperties.idl +++ b/offapi/com/sun/star/text/BaseFrameProperties.idl @@ -367,6 +367,11 @@ published service BaseFrameProperties @since LibreOffice 6.1 */ [optional, property] com::sun::star::graphic::XGraphic BackGraphic; + + /** This defines if the frame is allowed to overlap with other anchored objects. + @since LibreOffice 6.4 + */ + [optional, property] boolean AllowOverlap; }; diff --git a/offapi/com/sun/star/text/Shape.idl b/offapi/com/sun/star/text/Shape.idl index 9315b01751de..7e8ba75a23fc 100644 --- a/offapi/com/sun/star/text/Shape.idl +++ b/offapi/com/sun/star/text/Shape.idl @@ -187,6 +187,11 @@ published service Shape @since OOo 2.0 */ [optional, readonly, property] com::sun::star::awt::Point EndPositionInHoriL2R; + + /** This defines if the shape is allowed to overlap with other anchored objects. + @since LibreOffice 6.4 + */ + [optional, property] boolean AllowOverlap; }; -- cgit