GDocSaveDialog
Description
In BBj 11.0 and higher, the GDocSaveDialog class is one of the BBj CustomObjects that comprises the GApps utility. This class can used in a BBj application to enable end users to select or specify a Google document via a dialog that can be subsequently saved.
Creation
The GDocSaveDialog class is found in <bbj install>/utils/gapps/gapps.bbj.
GDocSaveDialog()
Parameters
None.
Methods of GDocSaveDialog
Return Value |
Method |
void |
addType(string typeName, string type) |
string |
|
string |
|
string |
|
string |
|
string |
|
void |
|
void |
removeType(string typeName) |
void |
selectType(string typeName) |
void |
setWarnOnOverwrite(boolean warn) |
Methods of GDocSaveDialog inherited from GSelectionDialog
Return Value |
Method |
---|---|
void |
addFilter(string filterName, BBjVector filter) |
int |
doModal() |
string |
|
string |
|
string |
|
boolean |
|
string |
getTitle() |
void |
|
void |
removeFilter(string filterName) |
void |
selectFilter(string filterName) |
void |
setDefaultDocument(string document) |
void |
setDefaultFolder(string folder) |
void |
setDefaultType(string type) |
void |
setMultipleSelection(boolean multipleSelection) |
void |
setTitle(string title) |
Remarks
Requires a GUI client.
Constants
Name |
Value |
DOCUMENT_TYPE_NAME |
DOCUMENT |
DRAWING_TYPE_NAME |
DRAWING |
FILE_TYPE_NAME |
FILE |
FORM_TYPE__NAME |
FORM |
PDF_TYPE_NAME |
|
PRESENTATION_TYPE_NAME |
PRESENTATION |
SPREADSHEET_TYPE_NAME |
SPREADSHEET |
See GSelectionDialog.for more |
|
Example
|