Iterator for reading the fonts in a document. More...
#include <poppler-qt4.h>
Public Member Functions | |
| int | currentPage () const |
| bool | hasNext () const |
| QList< FontInfo > | next () |
| ~FontIterator () | |
Iterator for reading the fonts in a document.
FontIterator provides a Java-style iterator for reading the fonts in a document.
You can use it in the following way:
Poppler::FontIterator* it = doc->newFontIterator(); while (it->hasNext()) { QList<Poppler::FontInfo> fonts = it->next(); // do something with the fonts } // after doing the job, the iterator must be freed delete it;
1.6.1