Nepomuk-Core
odfextractor.cpp
Go to the documentation of this file.
54 SimpleResourceGraph OdfExtractor::extract(const QUrl& resUri, const QUrl& fileUrl, const QString& mimeType)
86 QDomNode n = docElem.firstChild().firstChild(); // <office:document-meta> ... <office:meta> ... content
143 const KArchiveFile *contentsFile = static_cast<const KArchiveFile*>(directory->entry("content.xml"));
void setProperty(const QUrl &property, const QVariant &value)
Set a property overwriting existing values.
Definition: simpleresource.cpp:186
The ExtractorPlugin is the base class for all file metadata extractors.
Definition: extractorplugin.h:60
Represents a snapshot of one Nepomuk resource.
Definition: simpleresource.h:46
PropertyHash properties() const
Definition: simpleresource.cpp:155
void addProperty(const QUrl &property, const QVariant &value)
Add a property.
Definition: simpleresource.cpp:206
virtual QStringList mimetypes()
Provide a list of mimetypes which are supported by this plugin.
Definition: odfextractor.cpp:44
Definition: odfextractor.h:28
#define NEPOMUK_EXPORT_EXTRACTOR(classname, libname)
Export a Nepomuk file extractor.
Definition: extractorplugin.h:163
static int maxPlainTextSize()
Virtuoso does not support streaming operators, and does not accept queries above a certain size...
Definition: extractorplugin.cpp:124
static QDateTime dateTimeFromString(const QString &dateString)
Tries to extract a valid date time from the string provided.
Definition: extractorplugin.cpp:59
void addType(const QUrl &type)
A convenience method which adds a property of type rdf:type.
Definition: simpleresource.cpp:257
virtual SimpleResourceGraph extract(const QUrl &resUri, const QUrl &fileUrl, const QString &mimeType)
The main function of the plugin that is responsible for extracting the data from the file url and ret...
Definition: odfextractor.cpp:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.