summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_generateap.h
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-07-29 19:53:40 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-29 19:53:40 -0700
commitab47acec5252d4a09da3cbde1a118b5255fe52ae (patch)
treea138249d262390c0058239552db53c070eca5b4f /core/fpdfdoc/cpvt_generateap.h
parentc54bb4340324fab9e860fd625b4b380b6135c385 (diff)
downloadpdfium-ab47acec5252d4a09da3cbde1a118b5255fe52ae.tar.xz
Generate default AP stream for highlight annotation.
This patch generates a default AP stream for highlight annotation so that highlight annotations without AP stream can be displayed. BUG=62625 Review-Url: https://codereview.chromium.org/2193983002
Diffstat (limited to 'core/fpdfdoc/cpvt_generateap.h')
-rw-r--r--core/fpdfdoc/cpvt_generateap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpvt_generateap.h b/core/fpdfdoc/cpvt_generateap.h
index 3a984199a9..4b4d7d093b 100644
--- a/core/fpdfdoc/cpvt_generateap.h
+++ b/core/fpdfdoc/cpvt_generateap.h
@@ -27,6 +27,8 @@ class CPVT_GenerateAP {
public:
static bool GenerateComboBoxAP(CPDF_Document* pDoc,
CPDF_Dictionary* pAnnotDict);
+ static bool GenerateHighlightAP(CPDF_Document* pDoc,
+ CPDF_Dictionary* pAnnotDict);
static bool GenerateListBoxAP(CPDF_Document* pDoc,
CPDF_Dictionary* pAnnotDict);
static bool GenerateTextFieldAP(CPDF_Document* pDoc,