diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-03-31 14:27:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-03-31 15:59:46 +0200 |
commit | 9caf6e4a3ac05a9d2e9d695e59d4ae048bf078b2 (patch) | |
tree | de039fdd89d7a250a269825269fee82c74ac3c55 /offapi | |
parent | bfb6c4c65781a610d21409d974227d73f264f41a (diff) |
sw fly frames: add Tooltip uno property
This is somewhat similar to commit
1acf8e3cfaf1ef92008e39514a32ace0d036e552 (sw fields: add Title uno
property, 2022-03-24), except that this is for images, and images
already had a Title, which is persisted to ODT.
So add a new Tooltip property which has priority over the tooltip
generated for URLs, in case the tooltip is non-empty. This helps in case
the URL is long / non-readable / confusing and a more helpful
popup text can be provided instead.
Change-Id: Ife34dab5e4490eb1682c55fb7c01f7509d0057fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132361
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/text/BaseFrameProperties.idl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/BaseFrameProperties.idl b/offapi/com/sun/star/text/BaseFrameProperties.idl index bffa5ddf4770..3741f0af2710 100644 --- a/offapi/com/sun/star/text/BaseFrameProperties.idl +++ b/offapi/com/sun/star/text/BaseFrameProperties.idl @@ -372,6 +372,12 @@ published service BaseFrameProperties @since LibreOffice 6.4 */ [optional, property] boolean AllowOverlap; + + /** Contains popup text for the frame, used to for tooltip purposes if it's non-empty. + + @since LibreOffice 7.4 + */ + [optional, property] string Tooltip; }; |