Poppler Qt6 24.04.0
Public Member Functions | List of all members
Poppler::FontIterator Class Reference

#include <poppler-qt6.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:

std::unique_ptr<Poppler::FontIterator> it = doc->newFontIterator();
while (it->hasNext()) {
QList<Poppler::FontInfo> fonts = it->next();
// do something with the fonts
}
// no need to free the iterator after doing the job

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