OpenWord 1.0.0
Modern C++17 library for parsing, manipulating, and saving DOCX files.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
openword::Section Class Reference

#include <Document.h>

Public Member Functions

 Section (void *node)
 
SectionsetPageSize (uint32_t w_twips, uint32_t h_twips, Orientation orient=Orientation::Portrait)
 
SectionsetMargins (const Margins &margins)
 
Header addHeader (HeaderFooterType type=HeaderFooterType::Default)
 
Footer addFooter (HeaderFooterType type=HeaderFooterType::Default)
 
SectionremoveHeader (HeaderFooterType type=HeaderFooterType::Default)
 Removes the header of the specified type from this section and blocks inheritance from previous sections.
 
SectionremoveFooter (HeaderFooterType type=HeaderFooterType::Default)
 Removes the footer of the specified type from this section and blocks inheritance.
 
SectionsetColumns (int count, int spaceTwips=720)
 

Constructor & Destructor Documentation

◆ Section()

openword::Section::Section ( void *  node)
explicit

Member Function Documentation

◆ addFooter()

Footer openword::Section::addFooter ( HeaderFooterType  type = HeaderFooterType::Default)

◆ addHeader()

Header openword::Section::addHeader ( HeaderFooterType  type = HeaderFooterType::Default)

◆ removeFooter()

Section & openword::Section::removeFooter ( HeaderFooterType  type = HeaderFooterType::Default)

Removes the footer of the specified type from this section and blocks inheritance.

◆ removeHeader()

Section & openword::Section::removeHeader ( HeaderFooterType  type = HeaderFooterType::Default)

Removes the header of the specified type from this section and blocks inheritance from previous sections.

◆ setColumns()

Section & openword::Section::setColumns ( int  count,
int  spaceTwips = 720 
)

◆ setMargins()

Section & openword::Section::setMargins ( const Margins margins)

◆ setPageSize()

Section & openword::Section::setPageSize ( uint32_t  w_twips,
uint32_t  h_twips,
Orientation  orient = Orientation::Portrait 
)

The documentation for this class was generated from the following file: