LibreOffice Module oox (master) 1
|
#include <recordparser.hxx>
Public Member Functions | |
RecordParser () | |
~RecordParser () | |
void | setFragmentHandler (const ::rtl::Reference< FragmentHandler > &rxHandler) |
void | parseStream (const RecordInputSource &rInputSource) |
const RecordInputSource & | getInputSource () const |
Private Types | |
typedef ::std::map< sal_Int32, RecordInfo > | RecordInfoMap |
Private Member Functions | |
const RecordInfo * | getStartRecordInfo (sal_Int32 nRecId) const |
Returns a RecordInfo struct that contains the passed record identifier as context start identifier. More... | |
const RecordInfo * | getEndRecordInfo (sal_Int32 nRecId) const |
Returns a RecordInfo struct that contains the passed record identifier as context end identifier. More... | |
Private Attributes | |
RecordInputSource | maSource |
::rtl::Reference< FragmentHandler > | mxHandler |
::rtl::Reference< prv::Locator > | mxLocator |
::std::unique_ptr< prv::ContextStack > | mxStack |
RecordInfoMap | maStartMap |
RecordInfoMap | maEndMap |
Definition at line 48 of file recordparser.hxx.
|
private |
Definition at line 72 of file recordparser.hxx.
oox::core::RecordParser::RecordParser | ( | ) |
Definition at line 207 of file recordparser.cxx.
References mxLocator.
oox::core::RecordParser::~RecordParser | ( | ) |
Definition at line 212 of file recordparser.cxx.
References mxLocator.
|
private |
Returns a RecordInfo struct that contains the passed record identifier as context end identifier.
Definition at line 319 of file recordparser.cxx.
References maEndMap.
Referenced by parseStream().
|
inline |
Definition at line 61 of file recordparser.hxx.
References maSource.
Referenced by oox::core::prv::Locator::getSystemId().
|
private |
Returns a RecordInfo struct that contains the passed record identifier as context start identifier.
Definition at line 313 of file recordparser.cxx.
References maStartMap.
Referenced by parseStream().
void oox::core::RecordParser::parseStream | ( | const RecordInputSource & | rInputSource | ) |
css::xml::sax::SAXException | |
css::io::IOException | |
css::uno::RuntimeException |
Definition at line 235 of file recordparser.cxx.
References getEndRecordInfo(), getStartRecordInfo(), maSource, mxHandler, oox::core::RecordInputSource::mxInStream, mxLocator, mxStack, and oox::BinaryStreamBase::seekToStart().
Referenced by oox::core::XmlFilterBase::importFragment().
void oox::core::RecordParser::setFragmentHandler | ( | const ::rtl::Reference< FragmentHandler > & | rxHandler | ) |
Definition at line 218 of file recordparser.cxx.
References maEndMap, maStartMap, oox::core::RecordInfo::mnEndRecId, oox::core::RecordInfo::mnStartRecId, and mxHandler.
Referenced by oox::core::XmlFilterBase::importFragment().
|
private |
Definition at line 79 of file recordparser.hxx.
Referenced by getEndRecordInfo(), and setFragmentHandler().
|
private |
Definition at line 74 of file recordparser.hxx.
Referenced by getInputSource(), and parseStream().
|
private |
Definition at line 78 of file recordparser.hxx.
Referenced by getStartRecordInfo(), and setFragmentHandler().
|
private |
Definition at line 75 of file recordparser.hxx.
Referenced by parseStream(), and setFragmentHandler().
|
private |
Definition at line 76 of file recordparser.hxx.
Referenced by parseStream(), RecordParser(), and ~RecordParser().
|
private |
Definition at line 77 of file recordparser.hxx.
Referenced by parseStream().