[poppler] (no subject)
Carlos Garcia Campos
carlosgc at gnome.org
Tue May 12 03:06:57 PDT 2009
El mar, 12-05-2009 a las 10:53 +0200, Pino Toscano escribió:
> Hi,
>
> > I haven't found any code example on the web about the annotations classes.
> > The okular source code would be a great example unfortunatly I can't
> > download it easily because I'm working on Windows.
>
> http://websvn.kde.org/trunk/KDE/kdegraphics/okular
> go in the generators/poppler dubdirectory for the poppler backend.
>
> > The thing is I create the annotations well (I think) but after that I don't
> > success to store it in a xml file because the store fonction need a
> > QDocument and a QNode and it's not very clear in my head.
>
> You most don't need to look at the functions to retrieve/store annotations
> from/to XML.
> What is your exact use case, ie what are you trying to do?
>
> > Moreover, when I have created the annotation I don't know how to do to view
> > it.
>
> Current poppler support for annotations is read-only, ie you can only get the
> annotations of a document's page, but you cannot change them, nor add new
> ones.
> The current *Annotation classes are not wrapper to internal objects, but
> just "data objects". Changing the values on instance of those objects will do
> nothing on the document they belong to.
now it's possible to change the annot contents with
Annot::setContents().
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
--
Carlos Garcia Campos
elkalmail at yahoo.es
carlosgc at gnome.org
http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : http://lists.freedesktop.org/archives/poppler/attachments/20090512/bde2ba5d/attachment.pgp
More information about the poppler
mailing list