This class holds information related to the visual characteristics of PrintDialog. It contains a PrintData object with underlying printing settings.
PrintDialog, PrintDialog Overview
PrintDialogData.new(PrintDialogData dialogData)
Copy constructor.
PrintDialogData.new(PrintData printData)
Construct an object from a print dialog data object.
destructor()
Destructor.
enable_help(Boolean flag)
Enables or disables the `Help’ button.
enable_page_numbers(Boolean flag)
Enables or disables the `Page numbers’ controls.
enable_print_to_file(Boolean flag)
Enables or disables the `Print to file’ checkbox.
enable_selection(Boolean flag)
Enables or disables the `Selection’ radio button.
Boolean get_all_pages()
Returns true if the user requested that all pages be printed.
Boolean get_collate()
Returns true if the user requested that the document(s) be collated.
Integer get_from_page()
Returns the from page number, as entered by the user.
Integer get_max_page()
Returns the maximum page number.
Integer get_min_page()
Returns the minimum page number.
Integer get_no_copies()
Returns the number of copies requested by the user.
PrintData get_print_data()
Returns a reference to the internal PrintData object.
Boolean get_print_to_file()
Returns true if the user has selected printing to a file.
Boolean get_selection()
Returns true if the user requested that the selection be printed (where ‘selection’ is a concept specific to the application).
Integer get_to_page()
Returns the to page number, as entered by the user.
Boolean ok()
Returns true if the print data is valid for using in print dialogs. This can return false on Windows if the current printer is not set, for example. On all other platforms, it returns true.
set_collate(Boolean flag)
Sets the ‘Collate’ checkbox to true or false.
set_from_page(Integer page)
Sets the from page number.
set_max_page(Integer page)
Sets the maximum page number.
set_min_page(Integer page)
Sets the minimum page number.
set_no_copies(Integer n)
Sets the default number of copies the user has requested to be printed out.
set_print_data(PrintData printData)
Sets the internal PrintData.
set_print_to_file(Boolean flag)
Sets the ‘Print to file’ checkbox to true or false.
set_selection(Boolean flag)
Selects the ‘Selection’ radio button. The effect of printing the selection depends on how the application implements this command, if at all.
set_setup_dialog(Boolean flag)
Determines whether the dialog to be shown will be the Print dialog (pass false) or Print Setup dialog (pass true).
This function has been deprecated since version 2.5.4.
set_to_page(Integer page)
Sets the to page number.
operator $=$(PrintData data)
Assigns print data to this object.
operator $=$(PrintDialogData data)
Assigns another print dialog data object to this object.
[This page automatically generated from the Textile source at Thu May 01 00:50:42 +0100 2008]