summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-04-01 15:00:00 +0200
committerEike Rathke <erack@redhat.com>2019-04-02 14:57:44 +0200
commit823c77a98ffbc1c819a81687ca7e13d91277bca5 (patch)
treed01a4325311316bfbc8aaaa77f3001e695a51aa4 /offapi
parent68762b3364fed9f0f4df66d9fc65e9b1e1507228 (diff)
tdf#124329 Add API to make cell anchored graphic resize with cell
Change-Id: Ib2335b1eb26e55fcfcfb964d0f3fe3dd267bdd0d Reviewed-on: https://gerrit.libreoffice.org/70067 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/sheet/Shape.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/Shape.idl b/offapi/com/sun/star/sheet/Shape.idl
index d23a004b074e..9904a49ef163 100644
--- a/offapi/com/sun/star/sheet/Shape.idl
+++ b/offapi/com/sun/star/sheet/Shape.idl
@@ -35,6 +35,14 @@ service Shape
<p> Possible objects are XSpreadsheet and XCell.</p>
*/
[property] com::sun::star::uno::XInterface Anchor;
+
+ /** If set, the shape will resize with the cell.
+ Only works when shape is anchored to a cell.
+
+ @since LibreOffice 6.3
+ */
+ [optional, property] boolean ResizeWithCell;
+
/** contains the horizontal position of the object (1/100 mm).
<p> The position is relative to the anchor object.</p>
<p> If the underlying table layout direction is left to right