diff options
Diffstat (limited to 'src/lib/ABWContentCollector.h')
-rw-r--r-- | src/lib/ABWContentCollector.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/ABWContentCollector.h b/src/lib/ABWContentCollector.h index 9c31f34..faee248 100644 --- a/src/lib/ABWContentCollector.h +++ b/src/lib/ABWContentCollector.h @@ -26,7 +26,10 @@ enum ABWContext { ABW_SECTION, ABW_HEADER, - ABW_FOOTER + ABW_FOOTER, + ABW_FRAME_IMAGE, + ABW_FRAME_TEXTBOX, + ABW_FRAME_UNKNOWN }; struct ABWStyle @@ -70,6 +73,8 @@ struct ABWContentParsingState bool m_isHeaderOpened; bool m_isFooterOpened; + bool m_isPageFrame; + bool m_isSpanOpened; bool m_isParagraphOpened; bool m_isListElementOpened; @@ -157,7 +162,8 @@ public: void closeCell(); void openFrame(const char *props, const char *imageId, const char *title, const char *alt); - void closeFrame(); + void closeFrame(ABWOutputElements *(&elements), bool &pageFrame); + void addFrameElements(ABWOutputElements &elements, bool pageFrame); void addMetadataEntry(const char *name, const char *value); |