diff --git a/uppsrc/Report/Report.h b/uppsrc/Report/Report.h index bcd59fa11..e59b3811d 100644 --- a/uppsrc/Report/Report.h +++ b/uppsrc/Report/Report.h @@ -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);