Currently the API support setting annotation appearance only from PdfXObject.
This is arbitrarily limiting the API: the appearance can be set from
a generic PdfObject. Also there's no accessibility method for the current
set appearance. The patch series add overloads accepting a PdfObject.
I recommend in the future to deprecate methods signatures accepting PdfXObject,
which are cluttering the API unnecessarily.

Francesco Pretto (3):
  PdfAnnotation: Allow set appearance from PdfObject
  PdfSignatureField::SetAppearanceStream: Removed use of unuseful
    SetAppearanceStreamForObject method
  PdfAnnotation: Added GetAppearanceStream method

 src/doc/PdfAnnotation.cpp     | 61 +++++++++++++++++++++++++++++++++++++------
 src/doc/PdfAnnotation.h       | 21 +++++++++++++--
 src/doc/PdfField.cpp          | 18 ++++++++++---
 src/doc/PdfField.h            | 18 +++++++++++--
 src/doc/PdfSignatureField.cpp |  9 +++++--
 src/doc/PdfSignatureField.h   |  8 ++++++
 6 files changed, 117 insertions(+), 18 deletions(-)


Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Podofo-users mailing list

Reply via email to