diff options
Diffstat (limited to 'examples/pdf-attach-file.cc')
-rw-r--r-- | examples/pdf-attach-file.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pdf-attach-file.cc b/examples/pdf-attach-file.cc index eb12a002..0d15122f 100644 --- a/examples/pdf-attach-file.cc +++ b/examples/pdf-attach-file.cc @@ -106,10 +106,10 @@ process( // apdict.replaceKey("/Type", QPDFObjectHandle::newName("/XObject")); // apdict.replaceKey("/Subtype", QPDFObjectHandle::newName("/Form")); // apdict.replaceKey("/BBox", QPDFObjectHandle::parse("[ 0 0 20 20 ]")); - apdict.replaceKey("/Resources", "<< >>"_qpdf); - apdict.replaceKey("/Type", "/XObject"_qpdf); - apdict.replaceKey("/Subtype", "/Form"_qpdf); - apdict.replaceKey("/BBox", "[ 0 0 20 20 ]"_qpdf); + apdict.replaceKey("/Resources", "<< >>"_qpdf) + .replaceKey("/Type", "/XObject"_qpdf) + .replaceKey("/Subtype", "/Form"_qpdf) + .replaceKey("/BBox", "[ 0 0 20 20 ]"_qpdf); auto annot = q.makeIndirectObject(QPDFObjectHandle::parse( &q, ("<<" |