mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Editor plugin: Make content stream
This commit is contained in:
@ -88,6 +88,11 @@ void PDFPageContentEditorEditedItemSettings::saveToElement(PDFPageContentElement
|
||||
imageElement->setImageObject(PDFObject());
|
||||
}
|
||||
|
||||
if (PDFEditedPageContentElementText* textElement = editedElement->getElement()->asText())
|
||||
{
|
||||
textElement->setItemsAsText(ui->plainTextEdit->toPlainText());
|
||||
}
|
||||
|
||||
PDFTransformationDecomposition decomposedTransformation;
|
||||
decomposedTransformation.rotationAngle = ui->rotationAngleEdit->value();
|
||||
decomposedTransformation.shearFactor = ui->shearFactorEdit->value();
|
||||
|
Reference in New Issue
Block a user