| 3563 | } |
| 3564 | |
| 3565 | bool DocumentPrivate::canAddAnnotationsNatively() const |
| 3566 | { |
| 3567 | Okular::SaveInterface *iface = qobject_cast<Okular::SaveInterface *>(m_generator); |
| 3568 | |
| 3569 | if (iface && iface->supportsOption(Okular::SaveInterface::SaveChanges) && iface->annotationProxy() && iface->annotationProxy()->supports(AnnotationProxy::Addition)) { |
| 3570 | return true; |
| 3571 | } |
| 3572 | |
| 3573 | return false; |
| 3574 | } |
| 3575 | |
| 3576 | bool DocumentPrivate::canModifyExternalAnnotations() const |
| 3577 | { |
no test coverage detected