summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_generateap.h
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-08-02 16:22:52 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-02 16:22:52 -0700
commit33e9b26ba3c191262d0abb945fda1efb3cdb3051 (patch)
treed57ffe115ab83b837a3d77b473c08885136c04c7 /core/fpdfdoc/cpvt_generateap.h
parent27053d81ca80a2f9433abf3e9c393d2914c91ad8 (diff)
downloadpdfium-33e9b26ba3c191262d0abb945fda1efb3cdb3051.tar.xz
Generate default AP stream for underline annotation.
This patch generates a default AP stream for underline annotation so that underline annotations without AP stream can be displayed. Also, roll DEPS for testing/corpus to cae29d1 to test underline annotations. BUG=62625 Review-Url: https://codereview.chromium.org/2205543002
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 6cd9dcea67..233a6f39fe 100644
--- a/core/fpdfdoc/cpvt_generateap.h
+++ b/core/fpdfdoc/cpvt_generateap.h
@@ -33,6 +33,8 @@ class CPVT_GenerateAP {
CPDF_Dictionary* pAnnotDict);
static bool GenerateTextFieldAP(CPDF_Document* pDoc,
CPDF_Dictionary* pAnnotDict);
+ static bool GenerateUnderlineAP(CPDF_Document* pDoc,
+ CPDF_Dictionary* pAnnotDict);
static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap,
CPDF_VariableText::Iterator* pIterator,
const CFX_FloatPoint& ptOffset,