[Okular-devel] Annotations and Nepomuk

Pino Toscano pino at kde.org
Wed Jul 22 15:10:07 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20090722/1a05b6a1/attachment.sig 


More information about the Okular-devel mailing list