6#ifndef DOCUMENTREADER_H
7#define DOCUMENTREADER_H
52 bool initFile (
const QString& filename );
69 void setShiftFrom(std::shared_ptr<const ShiftFrom> shiftFrom);
DocumentReader(Lima::Common::XMLConfigurationFiles::ModuleConfigurationStructure &conf)
bool initFile(const QString &filename)
initialize the reader with a file containing documents in XML format
void setShiftFrom(std::shared_ptr< const ShiftFrom > shiftFrom)
void setLinguisticXMLDocHandler(StructuredXmlDocumentHandler *handler)
uint64_t getCurrentOffsetFromXmlReader()
Returns the reader's current character offset, starting with 0.
bool readXMLDocument()
read the next element in the current file (initFile must have been
bool initWithString(const QString &text)
Handler pour les elements de parsing de document structure.
#define DOCUMENTSREADER_EXPORT