[Okular-devel] Understanding the annotations API
Albert Astals Cid
aacid at kde.org
Thu Dec 17 00:26:06 CET 2009
A Dimarts 15 Desembre 2009 02:24:40, Fabio Andrés Correa Durán va escriure:
> 2009/12/14 Albert Astals Cid <aacid at kde.org>
>
> > I think that would be more a hack than a real fix. I mean, if the user
> > opened the file from outside your program with okular he'd see the
> > annotations that your program added. Is that what you want?
>
> Hi, thanks for your interest. The program does not intend to save the
> annotations but the numerical data from graphs. So the current plan is to
> erase the program-generated annotations on document close, trying our best
> to keep the other annotations as they were.
>
Hmmm, this seems a bit ugly to me, i mean add annotations just to draw things
and then remove them because we don't really want annotations, just draw
something on top, maybe we can come up with a single API to add "drawings"
over a given page, would you interested in working on it?
Albert
More information about the Okular-devel
mailing list