A dictionary of all referenceable entities in the presentation. More...
#include <KEY1Dictionary.h>
Classes | |
| struct | StyleContext |
| struct | StylesContext |
Public Member Functions | |
| KEY1Dictionary () | |
| void | pushStylesContext () |
| void | collectStylesContext (const std::string &contextName) |
| void | linkStylesContext (const boost::optional< std::string > &master) |
| void | popStylesContext () |
| void | storeImageStyle (IWORKStylePtr_t style, bool definition) |
| void | storeLineStyle (IWORKStylePtr_t style, bool definition) |
| void | storeShapeStyle (IWORKStylePtr_t style, bool definition) |
| void | storeTextboxStyle (IWORKStylePtr_t style, bool definition) |
| KEYPlaceholderPtr_t | getBodyPlaceholder () |
| KEYPlaceholderPtr_t | getPageNumberPlaceholder () |
| KEYPlaceholderPtr_t | getTitlePlaceholder () |
| void | storeBodyPlaceholder (KEYPlaceholderPtr_t placeHolder) |
| void | storePageNumberPlaceholder (KEYPlaceholderPtr_t placeHolder) |
| void | storeTitlePlaceholder (KEYPlaceholderPtr_t placeHolder) |
Public Member Functions inherited from libetonyek::IWORKDictionary | |
| IWORKDictionary () | |
Protected Types | |
| typedef std::unordered_map< ID_t, StylesContext > | StylesContextMap_t |
Protected Member Functions | |
| StylesContext & | getCurrentStylesContext () |
Protected Attributes | |
| std::deque< StylesContext > | m_styleContexts |
| StylesContextMap_t | m_styleContextsMap |
A dictionary of all referenceable entities in the presentation.
In other words, all entities that might be included through a -ref element in the format. This is purely a file format concept; all that matters when an entity is inserted by a reference is that there has been an entity of the same type and with the same content inserted previously (or at least that is how I understand it. I might be wrong about it). That means we need to know all entities in the whole presentation to resolve references.
|
protected |
| libetonyek::KEY1Dictionary::KEY1Dictionary | ( | ) |
| void libetonyek::KEY1Dictionary::collectStylesContext | ( | const std::string & | contextName | ) |
| KEYPlaceholderPtr_t libetonyek::KEY1Dictionary::getBodyPlaceholder | ( | ) |
Referenced by libetonyek::KEY1ParserState::storeCurrentPlaceholder().
|
protected |
| KEYPlaceholderPtr_t libetonyek::KEY1Dictionary::getPageNumberPlaceholder | ( | ) |
| KEYPlaceholderPtr_t libetonyek::KEY1Dictionary::getTitlePlaceholder | ( | ) |
Referenced by libetonyek::KEY1ParserState::storeCurrentPlaceholder().
| void libetonyek::KEY1Dictionary::linkStylesContext | ( | const boost::optional< std::string > & | master | ) |
| void libetonyek::KEY1Dictionary::popStylesContext | ( | ) |
| void libetonyek::KEY1Dictionary::pushStylesContext | ( | ) |
| void libetonyek::KEY1Dictionary::storeBodyPlaceholder | ( | KEYPlaceholderPtr_t | placeHolder | ) |
| void libetonyek::KEY1Dictionary::storeImageStyle | ( | IWORKStylePtr_t | style, |
| bool | definition | ||
| ) |
| void libetonyek::KEY1Dictionary::storeLineStyle | ( | IWORKStylePtr_t | style, |
| bool | definition | ||
| ) |
| void libetonyek::KEY1Dictionary::storePageNumberPlaceholder | ( | KEYPlaceholderPtr_t | placeHolder | ) |
| void libetonyek::KEY1Dictionary::storeShapeStyle | ( | IWORKStylePtr_t | style, |
| bool | definition | ||
| ) |
| void libetonyek::KEY1Dictionary::storeTextboxStyle | ( | IWORKStylePtr_t | style, |
| bool | definition | ||
| ) |
| void libetonyek::KEY1Dictionary::storeTitlePlaceholder | ( | KEYPlaceholderPtr_t | placeHolder | ) |
| KEYSlideMap_t libetonyek::KEY1Dictionary::m_masterSlides |
| std::deque<KEYSlidePtr_t> libetonyek::KEY1Dictionary::m_slides |
|
protected |
|
protected |
Referenced by collectStylesContext(), and linkStylesContext().