[poppler] A question about PDFDoc::displayPage

Lu Wang coolwanglu at gmail.com
Mon Sep 16 00:41:24 PDT 2013

Hi all,

   I need to call PDFDoc::displayPage inside a call of displayPage,
something like

class MyOutputDev1{
void startPage(){
    MyOutputDev2 * dev;
    doc->displayPage(dev, ...);

MyOutputDev1 * dev;
doc->displayPage(dev, ...);

   Since PDFDoc::displayPage is not a `const` function, I'm not sure if
there will be a problem to do like this, althought I guess so.

   Can any one please help?

   Thanks a lot!

   - Lu Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130916/a87e6a00/attachment.html>

More information about the poppler mailing list