| 3060 | } |
| 3061 | |
| 3062 | bool 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 | |
| 3076 | ExportFormat::List Document::exportFormats() const |
| 3077 | { |
no test coverage detected