Go to the documentation of this file.
10 #ifndef PAG5PARSER_H_INCLUDED
11 #define PAG5PARSER_H_INCLUDED
void endDocument()
Definition: IWORKCollector.cpp:566
static boost::optional< unsigned > readRef(const IWAMessage &msg, unsigned field)
Definition: IWAParser.cpp:229
bool parseText(unsigned id, const std::function< void(unsigned, IWORKStylePtr_t)> &openPageSpan=nullptr)
Definition: IWAParser.cpp:483
Definition: IWORKBezierElement.cpp:21
void startDocument()
Definition: IWORKCollector.cpp:561
void startLevel()
Definition: IWORKCollector.cpp:635
@ pos
Definition: IWORKToken.h:592
Definition: IWAParser.h:49
boost::optional< double > m_marginBottom
Definition: IWORKTypes.h:414
@ style
Definition: IWORKToken.h:414
PAG5Parser(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package, PAGCollector &collector)
Definition: PAG5Parser.cpp:26
boost::optional< int > m_orientation
Definition: IWORKTypes.h:413
Definition: PAGCollector.h:24
void collectTextBody()
Definition: PAGCollector.cpp:133
#define ETONYEK_DEBUG_MSG(M)
Definition: libetonyek_utils.h:54
boost::optional< double > m_marginRight
Definition: IWORKTypes.h:416
void endLevel()
Definition: IWORKCollector.cpp:656
boost::optional< double > m_headerHeight
Definition: IWORKTypes.h:419
@ _1
Definition: IWORKToken.h:641
void setPageDimensions(const IWORKPrintInfo &dimensions)
Definition: PAGCollector.cpp:145
boost::optional< double > m_marginTop
Definition: IWORKTypes.h:417
void openPageGroup(const boost::optional< int > &page)
Definition: PAGCollector.cpp:199
bool dispatchShape(unsigned id)
Definition: PAG5Parser.cpp:32
boost::optional< double > m_width
Definition: IWORKTypes.h:412
virtual std::shared_ptr< IWORKText > createText(const IWORKLanguageManager &langManager, bool discardEmptyContent=false, bool allowListInsertion=true) const
Definition: IWORKCollector.cpp:630
PAGCollector & m_collector
Definition: PAG5Parser.h:31
boost::optional< double > m_footerHeight
Definition: IWORKTypes.h:418
IWORKLanguageManager m_langManager
Definition: IWAParser.h:120
void openSection(const std::string &style)
Definition: PAGCollector.cpp:150
Definition: PAG5Parser.h:21
@ PageGroup
Definition: PAG5ObjectType.h:22
@ Document
Definition: PAG5ObjectType.h:21
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:21
bool parseDocument() override
Definition: PAG5Parser.cpp:74
boost::optional< double > m_marginLeft
Definition: IWORKTypes.h:415
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
Definition: IWORKTypes.h:408
void closePageGroup()
Definition: PAGCollector.cpp:208
bool parseGroupRef(unsigned id)
Definition: PAG5Parser.cpp:40
Definition: IWAParser.h:63
const ValueT & get(const detail::IWAFieldImpl< TagV, ValueT, Reader > &field)
Definition: IWAField.h:190
bool dispatchShape(unsigned id)
Definition: IWAParser.cpp:453
void collectText(const std::shared_ptr< IWORKText > &text)
Definition: IWORKCollector.cpp:549
boost::optional< double > m_height
Definition: IWORKTypes.h:411
void closeSection()
Definition: PAGCollector.cpp:175
std::shared_ptr< IWORKText > m_currentText
Definition: IWAParser.h:121
IWORKCollector & m_collector
Definition: IWORKRecorder.cpp:340
Generated for libetonyek by
doxygen 1.8.20