.Report: Margins with single parameter

git-svn-id: svn://ultimatepp.org/upp/trunk@9235 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-11-25 14:36:54 +00:00
parent 212a918db5
commit 21f5726783

View file

@ -67,6 +67,7 @@ public:
Report& SetPageSize(int cx, int cy) { return SetPageSize(Size(cx, cy)); }
Report& Landscape();
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& Footer(const char *qtf, int spc = 150);
Report& OnPage(Callback whenpage);