Redact bugfixing

This commit is contained in:
Jakub Melka
2020-12-30 15:45:24 +01:00
parent 59721d7de8
commit 6f0b72ba3b
8 changed files with 161 additions and 5 deletions

View File

@ -118,6 +118,7 @@ public:
PDFObjectFactory& operator<<(Stamp stamp);
PDFObjectFactory& operator<<(FileAttachmentIcon icon);
PDFObjectFactory& operator<<(const PDFDestination& destination);
PDFObjectFactory& operator<<(PageRotation pageRotation);
/// Treat containers - write them as array
template<typename Container, typename ValueType = decltype(*std::begin(std::declval<Container>()))>
@ -1421,6 +1422,13 @@ public:
QRectF box);
/// Set page's rotation.
/// \param page Page
/// \param rotation Rotation
void setPageRotation(PDFObjectReference page,
PageRotation rotation);
/// Sets trim box to the page. Trim box is physical region, of the printed page after trimming.
/// \param page Page
/// \param box Box