(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.