summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_generateap.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-04 15:24:20 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-04 15:24:20 -0700
commited9c4386713084f37548b46ab36f618021f716f5 (patch)
treec5d3bca40a87d9beb9fea03c680f13cc8eb2400c /core/fpdfdoc/cpvt_generateap.h
parentc220e59f36a1a5664fc795c801968083adda1722 (diff)
downloadpdfium-ed9c4386713084f37548b46ab36f618021f716f5.tar.xz
Make IPDF_VariableText_{Provider,Iterator} inner classes.
This CL moves the IPDF_VariableText_Provider and IPDF_VariableText_Iterator classes to be nested sub-classes of IPDF_VariableText. BUG=pdfium:455 Review URL: https://codereview.chromium.org/1855403002
Diffstat (limited to 'core/fpdfdoc/cpvt_generateap.h')
-rw-r--r--core/fpdfdoc/cpvt_generateap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpvt_generateap.h b/core/fpdfdoc/cpvt_generateap.h
index b97b38ad6b..79062cbfc3 100644
--- a/core/fpdfdoc/cpvt_generateap.h
+++ b/core/fpdfdoc/cpvt_generateap.h
@@ -12,6 +12,7 @@
#include "core/fxcrt/include/fx_coordinates.h"
#include "core/fxcrt/include/fx_string.h"
#include "core/fxcrt/include/fx_system.h"
+#include "core/include/fpdfdoc/fpdf_vt.h"
// border style
#define PBS_SOLID 0
@@ -23,8 +24,8 @@
class CPDF_Dictionary;
class CPDF_Document;
-class IPDF_VariableText_Iterator;
class IPVT_FontMap;
+
struct CPVT_WordRange;
FX_BOOL FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
@@ -38,7 +39,7 @@ class CPVT_GenerateAP {
static FX_BOOL GenerateListBoxAP(CPDF_Document* pDoc,
CPDF_Dictionary* pAnnotDict);
static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap,
- IPDF_VariableText_Iterator* pIterator,
+ IPDF_VariableText::Iterator* pIterator,
const CFX_FloatPoint& ptOffset,
FX_BOOL bContinuous,
uint16_t SubWord = 0,