Hi,

> In order to store annotations in the Nepomuk repository I need to know
> to what document is linked an annotation, and it seems not possible :
> AnnotationPrivate has a pointer to its PagePrivate, but I don't find a
> link from the Page to the Document.
>
> I tried to add this link, but the Page constructor seems to be called
> in some places where the Document object is not defined.

What are trying to do, exactly?
You could do your job directly in Document/DocumentPrivate, which is what 
knows about everything for a document.

If you would like to post the work so far, I could give you better advice 
about where the various steps could be done.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Okular-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to