diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2025-01-12 15:08:44 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2025-01-12 16:15:38 +0100 |
commit | b86e078d791e337fed2e42fb79fa3c58ff413d83 (patch) | |
tree | 12004b21729663ebdab83811a91eec0e3d811dd9 /icon-themes/sifr_dark/svx | |
parent | 52a0fe737166a0abef534b377d4108d2b4167c1d (diff) |
The
XReetangle(rangename)
property returns a com.sun.star.awt.Rectangle
structure describing the coordinates (in pixels)
on the screen where the given range is
located.
This opens the door to effective interactivity
in calc sheets with the use of popup menus.
Example:
r = calc.XRectangle("B2")
menu = CreateScriptService("PopupMenu", , _
X := r.X + r.Width/2, Y := r.Y + r.Height/2)
initializes a popup menu centered on the given
cell.
The property exists in Basic and Python.
The SF_Calc help page should be updated
according to the actual patch.
Change-Id: I2a97c5c7b5bf84d36a2aab5e4b822e30c9d53d8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180140
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Diffstat (limited to 'icon-themes/sifr_dark/svx')
0 files changed, 0 insertions, 0 deletions