<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div> I need to call PDFDoc::displayPage inside a call of displayPage, something like<br><br>/////////////////////////////////////////////<br></div><div>class MyOutputDev1{<br>
</div><div>public:<br>void startPage(){<br></div><div> MyOutputDev2 * dev;<br></div><div> doc->displayPage(dev, ...);<br></div><div>}<br></div><div>};<br></div><div><br></div><div>MyOutputDev1 * dev;<br></div>doc->displayPage(dev, ...);<br>
/////////////////////////////////////////////<br><br></div> 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.<br><br></div> Can any one please help?<br>
<br><br></div> Thanks a lot!<br><br><br></div> regards,<br></div> - Lu Wang<br><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div>