mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.Report: Margins with single parameter
git-svn-id: svn://ultimatepp.org/upp/trunk@9235 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
212a918db5
commit
21f5726783
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ public:
|
||||||
Report& SetPageSize(int cx, int cy) { return SetPageSize(Size(cx, cy)); }
|
Report& SetPageSize(int cx, int cy) { return SetPageSize(Size(cx, cy)); }
|
||||||
Report& Landscape();
|
Report& Landscape();
|
||||||
Report& Margins(int top, int left) { mg.y = top; mg.x = left; return *this; }
|
Report& Margins(int top, int left) { mg.y = top; mg.x = left; return *this; }
|
||||||
|
Report& Margins(int m) { return Margins(m, m); }
|
||||||
Report& Header(const char *qtf, int spc = 150);
|
Report& Header(const char *qtf, int spc = 150);
|
||||||
Report& Footer(const char *qtf, int spc = 150);
|
Report& Footer(const char *qtf, int spc = 150);
|
||||||
Report& OnPage(Callback whenpage);
|
Report& OnPage(Callback whenpage);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue