diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-04-17 20:34:38 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-17 20:34:38 +0000 |
commit | aed62531a9b08deb236cc423dc27dbe0810d6d1a (patch) | |
tree | 6a46e06d0fdf97341c2282a30852b0d394a405ff /public/fpdf_edit.h | |
parent | 884b33e78f8f12e143a0ebef725cb6a4b784ce43 (diff) | |
download | pdfium-aed62531a9b08deb236cc423dc27dbe0810d6d1a.tar.xz |
Create new FPDFPageObjMark_CountParams() API.
Bug: pdfium:1037
Change-Id: I1b7035eb199f9dd1d730b0b1112aa455f0fabcc2
Reviewed-on: https://pdfium-review.googlesource.com/30870
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'public/fpdf_edit.h')
-rw-r--r-- | public/fpdf_edit.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 7c37b83aa9..4968a7f003 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -315,6 +315,15 @@ FPDFPageObjMark_GetName(FPDF_PAGEOBJECTMARK mark, void* buffer, unsigned long buflen); +// Get number of key/value pair parameters in |mark|. +// +// mark - handle to a content mark. +// +// Returns the number of key/value pair parameters |mark|, or -1 in case of +// failure. +FPDF_EXPORT int FPDF_CALLCONV +FPDFPageObjMark_CountParams(FPDF_PAGEOBJECTMARK mark); + // Load an image from a JPEG image file and then set it into |image_object|. // // pages - pointer to the start of all loaded pages, may be NULL. |