mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
XFA: rendering of rectangle elements and borders
This commit is contained in:
@ -1657,6 +1657,17 @@ const std::optional<QCursor>& PDFFormManager::getCursor() const
|
||||
return m_mouseCursor;
|
||||
}
|
||||
|
||||
void PDFFormManager::drawXFAForm(const QMatrix& pagePointToDevicePointMatrix,
|
||||
const PDFPage* page,
|
||||
QList<PDFRenderError>& errors,
|
||||
QPainter* painter)
|
||||
{
|
||||
if (hasXFAForm())
|
||||
{
|
||||
m_xfaEngine.draw(pagePointToDevicePointMatrix, page, errors, painter);
|
||||
}
|
||||
}
|
||||
|
||||
void PDFFormManager::clearEditors()
|
||||
{
|
||||
qDeleteAll(m_widgetEditors);
|
||||
|
Reference in New Issue
Block a user