BPrintJob: PrintableRect(), PaperRect() and GetResolution() now call
_LoadDefaultSettings() if no settings were loaded already, in order to return valid values. Renamed private methods to fit our guidelines. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23204 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -84,19 +84,19 @@ virtual void _ReservedPrintJob4();
|
||||
BPrintJob(const BPrintJob &);
|
||||
BPrintJob &operator=(const BPrintJob &);
|
||||
|
||||
void RecurseView(BView *v, BPoint origin, BPicture *p, BRect r);
|
||||
void MangleName(char *filename);
|
||||
void HandlePageSetup(BMessage *setup);
|
||||
bool HandlePrintSetup(BMessage *setup);
|
||||
void _RecurseView(BView *view, BPoint origin, BPicture *p, BRect r);
|
||||
void _GetMangledName(char *buffer, size_t bufferSize) const;
|
||||
void _HandlePageSetup(BMessage *setup);
|
||||
bool _HandlePrintSetup(BMessage *setup);
|
||||
|
||||
void NewPage();
|
||||
void EndLastPage();
|
||||
void _NewPage();
|
||||
void _EndLastPage();
|
||||
|
||||
void AddSetupSpec();
|
||||
void AddPicture(BPicture *picture, BRect *rect, BPoint where);
|
||||
void _AddSetupSpec();
|
||||
void _AddPicture(BPicture &picture, BRect &rect, BPoint &where);
|
||||
|
||||
char* GetCurrentPrinterName() const;
|
||||
void LoadDefaultSettings();
|
||||
char* _GetCurrentPrinterName() const;
|
||||
void _LoadDefaultSettings();
|
||||
|
||||
char * fPrintJobName;
|
||||
int32 fPageNumber;
|
||||
|
||||
Reference in New Issue
Block a user