Editor plugin: Encoding content - text encoding

This commit is contained in:
Jakub Melka
2024-05-08 17:27:27 +02:00
parent eeadf328b2
commit 70b7c2464f
4 changed files with 220 additions and 0 deletions

View File

@ -225,12 +225,15 @@ private:
bool isFilling);
void writeText(QTextStream& stream, const QString& text);
QByteArray selectFont(const QByteArray& font);
void addError(const QString& error);
PDFDocument* m_document = nullptr;
PDFDictionary m_fontDictionary;
PDFDictionary m_xobjectDictionary;
QByteArray m_outputContent;
PDFPageContentProcessorState m_currentState;
PDFFontPointer m_textFont;
};
class PDF4QTLIBCORESHARED_EXPORT PDFPageContentEditorProcessor : public PDFPageContentProcessor