diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-03 16:09:12 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-03 16:09:12 -0700 |
commit | 80b597d3f32ef2509627c7561abb84a6f5ac09bf (patch) | |
tree | fd13d7c464df96ae4d3b5a60ba802af04cc86163 /core/include/fpdftext/fpdf_text.h | |
parent | 7bb4d8dc9e825f484e180205254aee1488cc34dc (diff) | |
download | pdfium-80b597d3f32ef2509627c7561abb84a6f5ac09bf.tar.xz |
Kill unused IPDF_ classes.
Some are simply never defined. Some are never instantiated. Some have
paths that are never reached.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1168503003
Diffstat (limited to 'core/include/fpdftext/fpdf_text.h')
-rw-r--r-- | core/include/fpdftext/fpdf_text.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/include/fpdftext/fpdf_text.h b/core/include/fpdftext/fpdf_text.h index 936e0f1722..d18a7692c6 100644 --- a/core/include/fpdftext/fpdf_text.h +++ b/core/include/fpdftext/fpdf_text.h @@ -12,6 +12,11 @@ #include "../fpdfapi/fpdf_parser.h" class CPDF_PageObjects; +class IPDF_LinkExtract; +class IPDF_ReflowedPage; +class IPDF_TextPage; +class IPDF_TextPageFind; + #define PDF2TXT_AUTO_ROTATE 1 #define PDF2TXT_AUTO_WIDTH 2 #define PDF2TXT_KEEP_COLUMN 4 @@ -24,9 +29,6 @@ void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CP void PDF_GetTextStream_Unicode(CFX_WideTextBuf& buffer, CPDF_Document* pDoc, CPDF_Dictionary* pPage, FX_DWORD flags); CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc, CPDF_Dictionary* pPage); -class IPDF_TextPage; -class IPDF_LinkExtract; -class IPDF_TextPageFind; #define CHAR_ERROR -1 #define CHAR_NORMAL 0 #define CHAR_GENERATED 1 @@ -50,7 +52,6 @@ typedef CFX_ArrayTemplate<CFX_FloatRect> CFX_RectArray; #define FPDFTEXT_RIGHT 1 #define FPDFTEXT_UP -2 #define FPDFTEXT_DOWN 2 -class IPDF_ReflowedPage; #define FPDFTEXT_WRITINGMODE_UNKNOW 0 #define FPDFTEXT_WRITINGMODE_LRTB 1 #define FPDFTEXT_WRITINGMODE_RLTB 2 |