MCPcopy Create free account
hub / github.com/KDE/okular / exportToText

Method exportToText

core/document.cpp:3062–3074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3060}
3061
3062bool Document::exportToText(const QString &fileName) const
3063{
3064 if (!d->m_generator) {
3065 return false;
3066 }
3067
3068 d->cacheExportFormats();
3069 if (d->m_exportToText.isNull()) {
3070 return false;
3071 }
3072
3073 return d->m_generator->exportTo(fileName, d->m_exportToText);
3074}
3075
3076ExportFormat::List Document::exportFormats() const
3077{

Callers 1

slotExportAsMethod · 0.80

Calls 3

cacheExportFormatsMethod · 0.80
isNullMethod · 0.45
exportToMethod · 0.45

Tested by

no test coverage detected