|
OpenWord 1.0.0
Modern C++17 library for parsing, manipulating, and saving DOCX files.
|
#include <Document.h>
Public Member Functions | |
| Section (void *node) | |
| Section & | setPageSize (uint32_t w_twips, uint32_t h_twips, Orientation orient=Orientation::Portrait) |
| Section & | setMargins (const Margins &margins) |
| Header | addHeader (HeaderFooterType type=HeaderFooterType::Default) |
| Footer | addFooter (HeaderFooterType type=HeaderFooterType::Default) |
| Section & | removeHeader (HeaderFooterType type=HeaderFooterType::Default) |
| Removes the header of the specified type from this section and blocks inheritance from previous sections. | |
| Section & | removeFooter (HeaderFooterType type=HeaderFooterType::Default) |
| Removes the footer of the specified type from this section and blocks inheritance. | |
| Section & | setColumns (int count, int spaceTwips=720) |
|
explicit |
| Footer openword::Section::addFooter | ( | HeaderFooterType | type = HeaderFooterType::Default | ) |
| Header openword::Section::addHeader | ( | HeaderFooterType | type = HeaderFooterType::Default | ) |
| Section & openword::Section::removeFooter | ( | HeaderFooterType | type = HeaderFooterType::Default | ) |
Removes the footer of the specified type from this section and blocks inheritance.
| Section & openword::Section::removeHeader | ( | HeaderFooterType | type = HeaderFooterType::Default | ) |
Removes the header of the specified type from this section and blocks inheritance from previous sections.
| Section & openword::Section::setColumns | ( | int | count, |
| int | spaceTwips = 720 |
||
| ) |
| Section & openword::Section::setPageSize | ( | uint32_t | w_twips, |
| uint32_t | h_twips, | ||
| Orientation | orient = Orientation::Portrait |
||
| ) |