Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: ui :: dialogs ::

constants group TemplateDescription
Description
The implementation of a FilePicker service may support the usage of different templates. The following constants define the currently specified templates.
See also
FilePicker

Constants
FILEOPEN_SIMPLE A FileOpen dialog without any additional controls.  
FILESAVE_SIMPLE A FileSave dialog without any additional controls.  
FILESAVE_AUTOEXTENSION_PASSWORD A FileSave dialog with additional controls.  
FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS A FileSave dialog with additional controls.  
FILESAVE_AUTOEXTENSION_SELECTION A FileSave dialog with additional controls.  
FILESAVE_AUTOEXTENSION_TEMPLATE A FileSave dialog with additional controls.  
FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE A FileOpen dialog with additional controls.  
FILEOPEN_PLAY A FileOpen dialog with additional controls.  
FILEOPEN_READONLY_VERSION A FileOpen dialog with additional controls.  
FILEOPEN_LINK_PREVIEW A FileOpen dialog with additional controls.  
FILESAVE_AUTOEXTENSION A FileSave dialog with additional controls.  
Constants' Details
FILEOPEN_SIMPLE
const short FILEOPEN_SIMPLE = 0;
Description
A FileOpen dialog without any additional controls.
FILESAVE_SIMPLE
const short FILESAVE_SIMPLE = 1;
Description
A FileSave dialog without any additional controls.
FILESAVE_AUTOEXTENSION_PASSWORD
const short FILESAVE_AUTOEXTENSION_PASSWORD = 2;
Description
A FileSave dialog with additional controls.
  • A checkbox "Auto Extension"
  • A checkbox "Password"
FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS
const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS = 3;
Description
A FileSave dialog with additional controls.
  • A checkbox "Auto Extension"
  • A checkbox "Password"
  • A checkbox "Filter Options"
FILESAVE_AUTOEXTENSION_SELECTION
const short FILESAVE_AUTOEXTENSION_SELECTION = 4;
Description
A FileSave dialog with additional controls.
  • A checkbox "Auto Extension"
  • A checkbox "Selection"
FILESAVE_AUTOEXTENSION_TEMPLATE
const short FILESAVE_AUTOEXTENSION_TEMPLATE = 5;
Description
A FileSave dialog with additional controls.
  • A checkbox "Auto Extension"
  • A listbox "Template" for selecting different templates
FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE
const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE = 6;
Description
A FileOpen dialog with additional controls.
  • A checkbox "Insert as link"
  • A checkbox "Show Preview"
  • A listbox "Image Template" for inserting an image with different styles.
  • A window for displaying a file preview
FILEOPEN_PLAY
const short FILEOPEN_PLAY = 7;
Description
A FileOpen dialog with additional controls.
  • A push button "Play"
FILEOPEN_READONLY_VERSION
const short FILEOPEN_READONLY_VERSION = 8;
Description
A FileOpen dialog with additional controls.
  • A checkbox "Read only"
  • A listbox "Version" for selecting a document version
FILEOPEN_LINK_PREVIEW
const short FILEOPEN_LINK_PREVIEW = 9;
Description
A FileOpen dialog with additional controls.
  • A checkbox "Insert as link"
  • A checkbox "Show Preview"
  • A window for displaying a file preview
FILESAVE_AUTOEXTENSION
const short FILESAVE_AUTOEXTENSION = 10;
Description
A FileSave dialog with additional controls.
  • A checkbox "Auto Extension"
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.