KFileMetaData
office2007extractor.cpp
67 const KArchiveDirectory* docPropDirectory = dynamic_cast<const KArchiveDirectory*>(docPropEntry);
145 if (mimeType == QLatin1String("application/vnd.openxmlformats-officedocument.wordprocessingml.document")) {
259 void Office2007Extractor::extractTextFromFiles(const KArchiveDirectory* archiveDir, ExtractionResult* result)
281 void Office2007Extractor::extractTextWithTag(QIODevice* device, const QString& tag, ExtractionResult* result)
virtual void addType(Type::Type type)=0
This function is called by the plugins.
QString text() const const
ReadOnly
The ExtractionResult class is where all the data extracted by the indexer is saved....
Definition: extractionresult.h:34
const KArchiveFile * file(const QString &name) const
bool isNull() const const
bool contains(const QString &str, Qt::CaseSensitivity cs) const const
bool isNull() const const
KCALUTILS_EXPORT QString mimeType()
virtual QIODevice * createDevice() const
QString inputUrl() const
The input url which the plugins will use to locate the file.
Definition: extractionresult.cpp:35
IncludeChildElements
Flags inputFlags() const
The flags which the extraction plugin should considering following when extracting metadata from the ...
Definition: extractionresult.cpp:45
bool isEmpty() const const
QStringList entries() const
int toInt(bool *ok, int base) const const
virtual bool isFile() const
QDomElement firstChildElement(const QString &tagName) const const
KGuiItem ok()
virtual void append(const QString &text)=0
This function is called by plugins when they wish for some plain text to be indexed without any prope...
virtual void add(Property::Property property, const QVariant &value)=0
This function is called by the plugins when they wish to add a key value pair which should be indexed...
The ExtractorPlugin is the base class for all file metadata extractors. It is responsible for extract...
Definition: extractorplugin.h:33
virtual QByteArray data() const
virtual bool isDirectory() const
const KArchiveEntry * entry(const QString &name) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 03:47:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 03:47:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.