mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Editor Plugin: Save modified document
This commit is contained in:
@ -778,6 +778,11 @@ void PDFEditedPageContentElementText::setItemsAsText(const QString& newItemsAsTe
|
||||
m_itemsAsText = newItemsAsText;
|
||||
}
|
||||
|
||||
PDFPageContentEditorContentStreamBuilder::PDFPageContentEditorContentStreamBuilder()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void PDFPageContentEditorContentStreamBuilder::writeStateDifference(QTextStream& stream, const PDFPageContentProcessorState& state)
|
||||
{
|
||||
m_currentState.setState(state);
|
||||
@ -1065,6 +1070,11 @@ void PDFPageContentEditorContentStreamBuilder::writeElement(const PDFEditedPageC
|
||||
stream << Qt::endl;
|
||||
}
|
||||
|
||||
const QByteArray& PDFPageContentEditorContentStreamBuilder::getOutputContent() const
|
||||
{
|
||||
return m_outputContent;
|
||||
}
|
||||
|
||||
void PDFPageContentEditorContentStreamBuilder::writePainterPath(QTextStream& stream,
|
||||
const QPainterPath& path,
|
||||
bool isStroking,
|
||||
@ -1455,4 +1465,9 @@ void PDFPageContentEditorContentStreamBuilder::addError(const QString& error)
|
||||
m_errors << error;
|
||||
}
|
||||
|
||||
void PDFPageContentEditorContentStreamBuilder::setFontDictionary(const PDFDictionary& newFontDictionary)
|
||||
{
|
||||
m_fontDictionary = newFontDictionary;
|
||||
}
|
||||
|
||||
} // namespace pdf
|
||||
|
Reference in New Issue
Block a user