| 5414 | } |
| 5415 | |
| 5416 | bool Document::extractArchivedFile(const QString &destFileName) |
| 5417 | { |
| 5418 | if (!d->m_archiveData) { |
| 5419 | return false; |
| 5420 | } |
| 5421 | |
| 5422 | // Remove existing file, if present (QFile::copy doesn't overwrite by itself) |
| 5423 | QFile::remove(destFileName); |
| 5424 | |
| 5425 | return d->m_archiveData->document.copy(destFileName); |
| 5426 | } |
| 5427 | |
| 5428 | QPageLayout::Orientation Document::orientation() const |
| 5429 | { |