From 823c77a98ffbc1c819a81687ca7e13d91277bca5 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 1 Apr 2019 15:00:00 +0200 Subject: 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 --- offapi/com/sun/star/sheet/Shape.idl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'offapi') 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

Possible objects are XSpreadsheet and XCell.

*/ [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).

The position is relative to the anchor object.

If the underlying table layout direction is left to right -- cgit