From c38de1116bbee807e4461fe8a08e4c152c0fce15 Mon Sep 17 00:00:00 2001 From: jaepark Date: Mon, 22 Aug 2016 17:54:56 -0700 Subject: Generate default AP stream for text annotation. This patch generates a default AP stream for text annotation. The AP stream only draws a symbol, which represents the presence of text annotation at the point. Also, roll DEPS for testing/corpus to afbac94 to test text annotations. BUG=62625 Review-Url: https://codereview.chromium.org/2270493002 --- core/fpdfdoc/cpdf_annot.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/fpdfdoc/cpdf_annot.cpp') diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp index 617ea0fdc3..df12e9a82e 100644 --- a/core/fpdfdoc/cpdf_annot.cpp +++ b/core/fpdfdoc/cpdf_annot.cpp @@ -34,6 +34,8 @@ CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument) CPVT_GenerateAP::GenerateSquigglyAP(m_pDocument, m_pAnnotDict); else if (m_sSubtype == "StrikeOut") CPVT_GenerateAP::GenerateStrikeOutAP(m_pDocument, m_pAnnotDict); + else if (m_sSubtype == "Text") + CPVT_GenerateAP::GenerateTextAP(m_pDocument, m_pAnnotDict); else if (m_sSubtype == "Underline") CPVT_GenerateAP::GenerateUnderlineAP(m_pDocument, m_pAnnotDict); } -- cgit v1.2.3