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::StyleCollection Class Reference

#include <Document.h>

Public Member Functions

 StyleCollection (void *node)
 
Font getDefaultFont ()
 Retrieves the global document default font settings (w:docDefaults/w:rPrDefault). Modifying this affects all text in the document lacking an explicit style.
 
ParagraphFormat getDefaultParagraphFormat ()
 Retrieves the global document default paragraph format settings (w:docDefaults/w:pPrDefault).
 
Style get (const std::string &styleId)
 
Style add (const std::string &styleId, const std::string &type="paragraph")
 

Constructor & Destructor Documentation

◆ StyleCollection()

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

Member Function Documentation

◆ add()

Style openword::StyleCollection::add ( const std::string &  styleId,
const std::string &  type = "paragraph" 
)

◆ get()

Style openword::StyleCollection::get ( const std::string &  styleId)

◆ getDefaultFont()

Font openword::StyleCollection::getDefaultFont ( )

Retrieves the global document default font settings (w:docDefaults/w:rPrDefault). Modifying this affects all text in the document lacking an explicit style.

◆ getDefaultParagraphFormat()

ParagraphFormat openword::StyleCollection::getDefaultParagraphFormat ( )

Retrieves the global document default paragraph format settings (w:docDefaults/w:pPrDefault).


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