20#ifndef INCLUDED_SHELL_INC_INTERNAL_CONTENTREADER_HXX
21#define INCLUDED_SHELL_INC_INTERNAL_CONTENTREADER_HXX
virtual void end_element(const string_t &raw_name, const string_t &local_name) override
end_element occurs when a tag is closed
std::stack< ITag * > m_TagBuilderStack
ChunkBuffer_t m_ChunkBuffer
virtual ~CContentReader() override
destructor.
virtual void start_element(const string_t &raw_name, const string_t &local_name, const xml_tag_attribute_container_t &attributes) override
start_element occurs when a tag is start.
void addChunk(LocaleSet_t const &Locale, Content_t const &Content)
add chunk into Chunk Buffer.
StyleLocaleMap_t const & getStyleMap() const
Get the list of style locale pair.
StyleLocaleMap_t m_StyleMap
CContentReader(const Filepath_t &DocumentName, LocaleSet_t const &DocumentLocale)
constructor.
ChunkBuffer_t const & getChunkBuffer() const
Get the chunkbuffer.
LocaleSet_t const & getLocale(const StyleName_t &Style)
get a style's locale field.
ITag * chooseTagReader(const std::wstring &tag_name, const XmlTagAttributes_t &XmlAttributes)
choose an appropriate tag reader to handle the tag.
LocaleSet_t m_DefaultLocale
::std::wstring getCurrentContentStyle()
get style of the current content.
virtual void characters(const string_t &character) override
characters occurs when receiving characters
Interface for a xml tag character builder.
Reference< XOutputStream > stream
std::map< string_t, string_t > xml_tag_attribute_container_t
::std::vector< Chunk_t > ChunkBuffer_t
::std::map< StyleName_t, LocaleSet_t > StyleLocaleMap_t
::std::wstring StyleName_t
::std::pair< Language_t, Country_t > LocaleSet_t
std::map< std::wstring, std::wstring > XmlTagAttributes_t