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:
@ -20,6 +20,7 @@
|
||||
|
||||
#include "pdfglobal.h"
|
||||
#include "pdfdocument.h"
|
||||
#include "pdfexception.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@ -37,6 +38,16 @@ public:
|
||||
|
||||
void setDocument(const PDFModifiedDocument& document, PDFForm* form);
|
||||
|
||||
/// Draws XFA form
|
||||
/// \param pagePointToDevicePointMatrix Page point to device point matrix
|
||||
/// \param page Page
|
||||
/// \param errors Error list (for reporting rendering errors)
|
||||
/// \param painter Painter
|
||||
void draw(const QMatrix& pagePointToDevicePointMatrix,
|
||||
const PDFPage* page,
|
||||
QList<PDFRenderError>& errors,
|
||||
QPainter* painter);
|
||||
|
||||
private:
|
||||
std::unique_ptr<PDFXFAEngineImpl> m_impl;
|
||||
};
|
||||
|
Reference in New Issue
Block a user