mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Text annotation
This commit is contained in:
@ -1209,7 +1209,10 @@ void GeneratedPDFObject::generateSourceCodeImpl(QTextStream& stream, CodeGenerat
|
||||
if (pass == Pass::Enter)
|
||||
{
|
||||
stream << indent << "objectBuilder.beginArray();" << Qt::endl;
|
||||
stream << indent << writeTo << getValue().trimmed() << ";" << Qt::endl;
|
||||
for (const QString& arrayPart : getValue().trimmed().split(";"))
|
||||
{
|
||||
stream << indent << writeTo << arrayPart << ";" << Qt::endl;
|
||||
}
|
||||
stream << indent << "objectBuilder.endArray();" << Qt::endl;
|
||||
}
|
||||
break;
|
||||
|
@ -144,7 +144,8 @@ public:
|
||||
_QPointF,
|
||||
_QRectF,
|
||||
_QColor,
|
||||
_QVariant
|
||||
_QVariant,
|
||||
_TextAnnotationIcon
|
||||
};
|
||||
Q_ENUM(DataType)
|
||||
|
||||
|
Reference in New Issue
Block a user