|
xlnt - community edition
|
Describes the margins around a worksheet for printing. More...
#include <page_margins.hpp>
Public Member Functions | |
| page_margins () | |
| Constructs a page margins objects with Excel-default margins. More... | |
| double | top () const |
| Returns the top margin More... | |
| void | top (double top) |
| Sets the top margin to top More... | |
| double | left () const |
| Returns the left margin More... | |
| void | left (double left) |
| Sets the left margin to left More... | |
| double | bottom () const |
| Returns the bottom margin More... | |
| void | bottom (double bottom) |
| Sets the bottom margin to bottom More... | |
| double | right () const |
| Returns the right margin More... | |
| void | right (double right) |
| Sets the right margin to right More... | |
| double | header () const |
| Returns the header margin More... | |
| void | header (double header) |
| Sets the header margin to header More... | |
| double | footer () const |
| Returns the footer margin More... | |
| void | footer (double footer) |
| Sets the footer margin to footer More... | |
| bool | operator== (const page_margins &rhs) const |
| bool | operator!= (const page_margins &rhs) const |
Describes the margins around a worksheet for printing.
| xlnt::page_margins::page_margins | ( | ) |
Constructs a page margins objects with Excel-default margins.
| double xlnt::page_margins::bottom | ( | ) | const |
Returns the bottom margin
| void xlnt::page_margins::bottom | ( | double | bottom | ) |
Sets the bottom margin to bottom
| double xlnt::page_margins::footer | ( | ) | const |
Returns the footer margin
| void xlnt::page_margins::footer | ( | double | footer | ) |
Sets the footer margin to footer
| double xlnt::page_margins::header | ( | ) | const |
Returns the header margin
| void xlnt::page_margins::header | ( | double | header | ) |
Sets the header margin to header
| double xlnt::page_margins::left | ( | ) | const |
Returns the left margin
| void xlnt::page_margins::left | ( | double | left | ) |
Sets the left margin to left
| double xlnt::page_margins::right | ( | ) | const |
Returns the right margin
| void xlnt::page_margins::right | ( | double | right | ) |
Sets the right margin to right
| double xlnt::page_margins::top | ( | ) | const |
Returns the top margin
| void xlnt::page_margins::top | ( | double | top | ) |
Sets the top margin to top
1.8.13