From e9891e5dd8e9c83a1bf0483aa314e743a1c02e50 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 30 Jun 2016 11:19:43 +0200 Subject: Add new open dialog type: Preview only (without link) This is needed e.g. for the "Insert Photo Album" dialog where we don't want the "Insert Link" option in the file open dialog (tdf#65356) Change-Id: I01aecaaf8194a8123931b0482b4a37155654dfc2 Reviewed-on: https://gerrit.libreoffice.org/26796 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- offapi/com/sun/star/ui/dialogs/TemplateDescription.idl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'offapi/com') diff --git a/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl b/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl index 76aaec12abc2..503d4f899745 100644 --- a/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl +++ b/offapi/com/sun/star/ui/dialogs/TemplateDescription.idl @@ -114,6 +114,15 @@ published constants TemplateDescription */ const short FILESAVE_AUTOEXTENSION = 10; + /** A FileOpen dialog with additional controls. +
    +
  • A checkbox "Show Preview"
  • +
  • A window for displaying a file preview
  • +
+ + @since LibreOffice 5.3 + */ + const short FILEOPEN_PREVIEW = 11; }; -- cgit v1.2.3