25 #ifndef TBX_RES_RESPRINTDBOX_H
26 #define TBX_RES_RESPRINTDBOX_H
28 #include "resobject.h"
40 enum {CLASS_ID = 0x82b00 };
379 #endif // TBX_RES_RESPRINTDBOX_H
void generate_about_to_be_shown(bool value)
Set if the about to be shown event should be generated.
Definition: resprintdbox.h:137
void has_save(bool value)
Set if the dialogue has a save button.
Definition: resprintdbox.h:223
void has_copies(bool value)
Set if the number of copies can be specified.
Definition: resprintdbox.h:187
void has_orientation(bool value)
Set if the orientation can be specified.
Definition: resprintdbox.h:211
void init_string(int offset, const char *value)
Initialise a string in a constructor helper.
Definition: resbase.cc:1725
void to(int value)
Set to page number when dialogue is shown.
Definition: resprintdbox.h:308
const char * further_options() const
Get the name of the window that shows further options.
Definition: resprintdbox.h:339
void has_draft(bool value)
Set if the dialogue include a draft option.
Definition: resprintdbox.h:247
void draft_selected(bool value)
Set if draft is selected when dialogue is shown.
Definition: resprintdbox.h:283
bool generate_setup_about_to_be_shown() const
Check if an event should be generated when the printer setup dialogue is about to be shown...
Definition: resprintdbox.h:156
void has_from_to(bool value)
Set if from/to for page range is set.
Definition: resprintdbox.h:259
int scale() const
Get the scale set when the dialogue is shown.
Definition: resprintdbox.h:326
bool generate_about_to_be_shown() const
Check if the about to be shown event should be generated.
Definition: resprintdbox.h:131
ResPrintDbox(const ResPrintDbox &other)
Construct a print dialogue resource by copying another.
Definition: resprintdbox.h:58
bool has_from_to() const
Check if from/to for page range is set.
Definition: resprintdbox.h:253
void sideways_selected(bool value)
Set if sideways is selected when dialogue is shown.
Definition: resprintdbox.h:271
bool flag(int offset, int mask) const
Check if any of the bits in a mask are set.
Definition: resbase.h:352
bool has_page_range() const
Check if the dialogue will show a choice of page range.
Definition: resprintdbox.h:169
int from() const
Get from page number when dialogue is shown.
Definition: resprintdbox.h:290
void flags(int value)
Set all the flags.
Definition: resprintdbox.h:125
ResPrintDbox(const ResObject &other)
Construct a print dialogue resource from a ResObject.
Definition: resprintdbox.h:48
bool has_save() const
Check if the dialogue has a save button.
Definition: resprintdbox.h:217
bool has_setup() const
Check if the dialogue has a setup button.
Definition: resprintdbox.h:229
void further_options(const std::string &value)
Set the name of the window that shows further options.
Definition: resprintdbox.h:351
Class for PrintDbox object template.
Definition: resprintdbox.h:36
ResPrintDbox(std::string name)
Construct a print dialogue resource.
Definition: resprintdbox.h:95
void window(const char *value)
Set the name of the window template that provides the window for this object.
Definition: resprintdbox.h:365
const char * window() const
Get the name of the window template that provides the window for this object.
Definition: resprintdbox.h:358
const char * string(int offset) const
Return a string at the given offset.
Definition: resbase.cc:1555
void scale(int value)
Set the scale set when the dialogue is shown.
Definition: resprintdbox.h:332
void window(const std::string &value)
Set the name of the window template that provides the window for this object.
Definition: resprintdbox.h:372
void has_scale(bool value)
Set if the scale can be specified.
Definition: resprintdbox.h:199
void copies(int value)
Set the number of copies set when the dialogue is shown.
Definition: resprintdbox.h:320
void generate_dialogue_completed(bool value)
Set if the dialogue completed event should be generated.
Definition: resprintdbox.h:149
bool has_orientation() const
Check if the orientation can be specified.
Definition: resprintdbox.h:205
ResPrintDbox & operator=(const ResPrintDbox &other)
Assign from another print dialogue resource.
Definition: resprintdbox.h:82
bool generate_dialogue_completed() const
Check if the dialogue completed event should be generated.
Definition: resprintdbox.h:143
int to() const
Get to page number when dialogue is shown.
Definition: resprintdbox.h:302
ResBase & operator=(const ResBase &other)
Assignment.
Definition: resbase.cc:1534
int flags() const
Raw access to all the object flags.
Definition: resprintdbox.h:116
ResPrintDbox & operator=(const ResObject &other)
Assign from a ResObject.
Definition: resprintdbox.h:70
Base class for a resource object that can be edited.
Definition: resobject.h:52
int copies() const
Get the number of copies set when the dialogue is shown.
Definition: resprintdbox.h:314
bool has_draft() const
Check if the dialogue include a draft option.
Definition: resprintdbox.h:241
void from(int value)
Set from page number when dialogue is shown.
Definition: resprintdbox.h:296
void has_setup(bool value)
Set if the dialogue has a setup button.
Definition: resprintdbox.h:235
bool sideways_selected() const
Check if sideways is selected when dialogue is shown.
Definition: resprintdbox.h:265
bool has_scale() const
Check if the scale can be specified.
Definition: resprintdbox.h:193
void has_page_range(bool value)
Set if the dialogue will show a choice of page range.
Definition: resprintdbox.h:175
void generate_setup_about_to_be_shown(bool value)
Set if an event should be generated when the printer setup dialogue is about to be shown...
Definition: resprintdbox.h:163
bool has_copies() const
Check if the number of copies can be specified.
Definition: resprintdbox.h:181
int int_value(int offset) const
Get an integer value.
Definition: resbase.h:316
bool draft_selected() const
Check if draft is selected when dialogue is shown.
Definition: resprintdbox.h:277
const char * name() const
Return pointer to name of object.
Definition: resobject.h:79
void further_options(const char *value)
Set the name of the window that shows further options.
Definition: resprintdbox.h:345
void check_class_id(int class_id) const
Check if this objects class id is as specified.
Definition: resobject.cc:383