Skip to content

Commit

Permalink
custom funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Sep 14, 2024
1 parent 8771a6b commit 8ae94f8
Show file tree
Hide file tree
Showing 3 changed files with 906 additions and 15 deletions.
2 changes: 1 addition & 1 deletion libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ curl_dep = dependency('libcurl')
fontconfig_dep = dependency('fontconfig')
freetype_dep = dependency('freetype2')
png_dep = dependency('libpng')
podofo_dep = dependency('libpodofo')
podofo_dep = dependency('libpodofo-0')
libxml2_dep = dependency('libxml-2.0', required: false)
xml2_dep = dependency('xml2', required: false)
zlib_dep = dependency('zlib')
Expand Down
11 changes: 11 additions & 0 deletions libs/sign-sdk/include/PdfSignatureGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ class PdfSignatureGenerator {

static bool IsSignatureField(const PdfMemDocument* pDoc,
const PdfObject* const pObj);

void SetAppearance(PdfSignatureField* m_pSignatureField,
const char* szImagePath, const char* szDescription,
const bool showData);
void SetGraphometricData(PdfSignatureField* m_pSignatureField,
const PdfString& rsGraphometricData,
const PdfString& rsVersion);
void SetSignatureName(PdfSignatureField* m_pSignatureField,
const PdfString& rsText);
void SetSignatureSize(PdfSignatureField* m_pSignatureField,
const size_t size);
};

#endif // _PDFSIGNATUREGENERATOR_H_
Loading

0 comments on commit 8ae94f8

Please sign in to comment.