mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Checkbox and radio form fields
This commit is contained in:
@ -165,6 +165,23 @@ PDFObject PDFAppeareanceStreams::getAppearance(Appearance appearance, const QByt
|
||||
return PDFObject();
|
||||
}
|
||||
|
||||
QByteArrayList PDFAppeareanceStreams::getAppearanceStates(Appearance appearance)
|
||||
{
|
||||
QByteArrayList result;
|
||||
|
||||
for (const auto& item : m_appearanceStreams)
|
||||
{
|
||||
if (item.first.first != appearance)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
result << item.first.second;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
PDFAnnotation::PDFAnnotation() :
|
||||
m_flags(),
|
||||
m_structParent(0)
|
||||
|
Reference in New Issue
Block a user