Poppler Qt5  0.80.0
Public Member Functions | List of all members
Poppler::FontIterator Class Reference

#include <poppler-qt5.h>

Public Member Functions

int currentPage () const
 
bool hasNext () const
 
QList< FontInfonext ()
 
 ~FontIterator ()
 

Detailed Description

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;
Since
0.12

The documentation for this class was generated from the following file: