<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<BR> <BR>
> From: aacid@kde.org<BR>> To: poppler@lists.freedesktop.org<BR>> Date: Mon, 11 May 2009 23:17:45 +0200<BR>> Subject: Re: [poppler] (no subject)<BR>> <BR>> A Dilluns, 11 de maig de 2009, toto titi va escriure:<BR>> > Hi<BR>> ><BR>> ><BR>> ><BR>> > I'm currently using poppler library with qt for a standaloneMarkingTool<BR>> > Application.<BR>> ><BR>> > I have already make a kinf of pdf viewer using the library but now I'm<BR>> > trying to use the annotations classes.<BR>> ><BR>> > Here is my problem :<BR>> ><BR>> > I don't success to use annotation with poppler just using the<BR>> > documentation.<BR>> ><BR>> > I haven't found any code example on the web about the annotations classes.<BR>> > The okular source code would be a great example unfortunatly I can't<BR>> > download it easily because I'm working on Windows.<BR>> ><BR>> > So if someone could give me some example or advice I would be gratfull.<BR>> ><BR>> > The thing is I create the annotations well (I think) but after that I don't<BR>> > success to store it in a xml file because the store fonction need a<BR>> > QDocument and a QNode and it's not very clear in my head.<BR>> <BR>> QDomDocument and QDomNode are standard QtXml classes, look at Qt doc for more <BR>> info.<BR>> <BR>> Albert<BR>
<BR>
Actually the documentation doesn't help me to understand but the graphical class hierarchy (<A href="http://doc.trolltech.com/extras/qt43-class-chart.pdf">http://doc.trolltech.com/extras/qt43-class-chart.pdf</A>) of Qt do. <BR>
I had a bad idea of the QDom structure and with that I success to create and store the annotations in a xml file.<BR>
The thing is I don.t success to view it on my pdf page, it's possible to get back all the annotations of the page with annotations()<BR>
but I don't know how to view it : would the annotations be added directly in the page when you create them (that would mens that I don't create them well) <BR>
or is there any function I don't see on the poppler documentation to put up annotations ?<BR>
Thanks<BR>
<BR>
Romaina<BR>
<BR>> <BR>> ><BR>> > Moreover, when I have created the annotation I don't know how to do to view<BR>> > it.<BR>> ><BR>> ><BR>> ><BR>> > I hope my questions will haves answers.<BR>> ><BR>> ><BR>> ><BR>> > Thanks in advance.<BR>> ><BR>> ><BR>> ><BR>> > Romain<BR>> ><BR>> > _________________________________________________________________<BR>> > Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?<BR>> > Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx<BR>> <BR>> <BR>> _______________________________________________<BR>> poppler mailing list<BR>> poppler@lists.freedesktop.org<BR>> http://lists.freedesktop.org/mailman/listinfo/poppler<BR><BR><br /><hr />Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Lancez-vous !</a></body>
</html>