diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-02-06 17:48:51 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-02-08 16:42:14 +0100 |
commit | 38774ce79b4b24628c3a73f387489bf2498363f1 (patch) | |
tree | d305c9445581abe73fbb917dc010c8ffc88ba191 /offapi/com/sun | |
parent | c83d2ac99dc3da4ef85b193543a93e02e3858844 (diff) |
tdf#86739 Option to set image anchor type in image insert dialog
This adds the selectbox to (hopefully) all filepickers:
- LO native
- GTK/GTK3
- KDE4
- KDE5
- Windows
- macOS
Change-Id: I01bd42b1ca18e0f691b879647a6cb1b62177d3ce
Reviewed-on: https://gerrit.libreoffice.org/49311
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'offapi/com/sun')
-rw-r--r-- | offapi/com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.idl | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/ui/dialogs/TemplateDescription.idl | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/offapi/com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.idl b/offapi/com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.idl index 3464eb3872ae..b0f516e6efd5 100644 --- a/offapi/com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.idl +++ b/offapi/com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.idl @@ -50,6 +50,8 @@ published constants ExtendedFilePickerElementIds const short LISTBOX_IMAGE_TEMPLATE_LABEL = 209; const short LISTBOX_FILTER_SELECTOR = 210; const short CHECKBOX_GPGENCRYPTION = 211; + const short LISTBOX_IMAGE_ANCHOR = 212; + const short LISTBOX_IMAGE_ANCHOR_LABEL = 213; }; diff --git a/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl b/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl index bbb670a844fa..2879f72a7a92 100644 --- a/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl +++ b/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl @@ -133,6 +133,18 @@ published constants TemplateDescription @since LibreOffice 5.3 */ const short FILEOPEN_LINK_PLAY = 12; + + /** A FileOpen dialog with additional controls. + <ul> + <li>A checkbox "Insert as link" + <li>A checkbox "Show Preview" + <li>A listbox "Image Anchor" for choosing how to anchor the image in Calc.</li> + <li>A window for displaying a file preview</li> + </ul> + + @since LibreOffice 6.1 + */ + const short FILEOPEN_LINK_PREVIEW_IMAGE_ANCHOR = 13; }; |