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;
|
||||
|
Reference in New Issue
Block a user