From 9521036052646f60dc5c1ccd4821108eac4bca55 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 16 Oct 2017 14:06:12 -0400 Subject: More more CPVT_GenerateAP methods to anonymous namespace The Edit, Border and Color generation methods are only used in the CPVT_GenerateAP file. This CL moves them to the anonymous namespace. Change-Id: I2a5805edddd1ffb5616608054111e08e0b3f8e6f Reviewed-on: https://pdfium-review.googlesource.com/16110 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- core/fpdfdoc/cpvt_generateap.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'core/fpdfdoc/cpvt_generateap.h') diff --git a/core/fpdfdoc/cpvt_generateap.h b/core/fpdfdoc/cpvt_generateap.h index 42ff33981c..828e8596f1 100644 --- a/core/fpdfdoc/cpvt_generateap.h +++ b/core/fpdfdoc/cpvt_generateap.h @@ -19,7 +19,6 @@ class CPDF_Dictionary; class CPDF_Document; struct CPVT_Dash; -class IPVT_FontMap; class CPVT_GenerateAP { public: @@ -44,20 +43,7 @@ class CPVT_GenerateAP { CPDF_Dictionary* pAnnotDict); static bool GenerateUnderlineAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); - static ByteString GenerateEditAP(IPVT_FontMap* pFontMap, - CPDF_VariableText::Iterator* pIterator, - const CFX_PointF& ptOffset, - bool bContinuous, - uint16_t SubWord); - static ByteString GenerateBorderAP(const CFX_FloatRect& rect, - float fWidth, - const CFX_Color& color, - const CFX_Color& crLeftTop, - const CFX_Color& crRightBottom, - BorderStyle nStyle, - const CPVT_Dash& dash); - static ByteString GenerateColorAP(const CFX_Color& color, - PaintOperation nOperation); + static std::unique_ptr GenerateExtGStateDict( const CPDF_Dictionary& pAnnotDict, const ByteString& sExtGSDictName, -- cgit v1.2.3