Nepomuk-Core
officeextractor.cpp
Go to the documentation of this file.
41 void Nepomuk2::OfficeExtractor::findExe(const QString &mimeType, const QString &name, QString &fullPath)
63 args << QLatin1String("-s") << QLatin1String("cp1252"); // FIXME: Store somewhere a map between the user's language and the encoding of the Windows files it may use ?
103 QString Nepomuk2::OfficeExtractor::textFromFile(const QUrl &fileUrl, const QString &command, QStringList &arguments)
virtual QStringList mimetypes()
Provide a list of mimetypes which are supported by this plugin.
Definition: officeextractor.cpp:50
The ExtractorPlugin is the base class for all file metadata extractors.
Definition: extractorplugin.h:60
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: officeextractor.cpp:55
Represents a snapshot of one Nepomuk resource.
Definition: simpleresource.h:46
void addProperty(const QUrl &property, const QVariant &value)
Add a property.
Definition: simpleresource.cpp:206
OfficeExtractor(QObject *parent, const QVariantList &)
Definition: officeextractor.cpp:31
#define NEPOMUK_EXPORT_EXTRACTOR(classname, libname)
Export a Nepomuk file extractor.
Definition: extractorplugin.h:163
void addType(const QUrl &type)
A convenience method which adds a property of type rdf:type.
Definition: simpleresource.cpp:257
Definition: officeextractor.h:28
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.