Public Member Functions | |
tmozIScanFormat | getByID (in long id) |
Return profile with given ID. | |
tmozIScanFormat | add () |
Add profile. | |
tmozIScanEditableFormat | edit (in tmozIScanFormat format) |
Prepare format for edit. | |
void | remove (in tmozIScanFormat format) |
Remove format. | |
Public Attributes | |
readonly attribute nsISimpleEnumerator | formats |
Return list of formats. |
Manage scanning formats (tmozIScanFormat)
tmozIScanFormat add | ( | ) |
Add profile.
Function will display dialog to edit new profile
tmozIScanEditableFormat edit | ( | in tmozIScanFormat | format | ) |
Prepare format for edit.
Any changes in the format have to be commited or rolled back.
format | Format to edit |
tmozIScanFormat getByID | ( | in long | id | ) |
Return profile with given ID.
void remove | ( | in tmozIScanFormat | format | ) |
Remove format.
format | Format to remove |
readonly attribute nsISimpleEnumerator formats |
Return list of formats.
Each enumerated format is type of tmozIScanFormat.