| 3585 | } |
| 3586 | |
| 3587 | bool DocumentPrivate::canRemoveExternalAnnotations() const |
| 3588 | { |
| 3589 | Okular::SaveInterface *iface = qobject_cast<Okular::SaveInterface *>(m_generator); |
| 3590 | |
| 3591 | if (iface && iface->supportsOption(Okular::SaveInterface::SaveChanges) && iface->annotationProxy() && iface->annotationProxy()->supports(AnnotationProxy::Removal)) { |
| 3592 | return true; |
| 3593 | } |
| 3594 | |
| 3595 | return false; |
| 3596 | } |
| 3597 | |
| 3598 | void Document::setPageTextSelection(int page, std::unique_ptr<RegularAreaRect> &&rect, const QColor &color) |
| 3599 | { |
no test coverage detected