OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FPDFTEXT_FPDF_TEXT_INT_H_ | 7 #ifndef CORE_FPDFTEXT_FPDF_TEXT_INT_H_ |
8 #define CORE_FPDFTEXT_FPDF_TEXT_INT_H_ | 8 #define CORE_FPDFTEXT_FPDF_TEXT_INT_H_ |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h" | 13 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h" |
14 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" | 14 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" |
15 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" | 15 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" |
16 #include "core/fpdftext/include/ipdf_linkextract.h" | 16 #include "core/fpdftext/include/ipdf_linkextract.h" |
17 #include "core/fpdftext/include/ipdf_textpage.h" | 17 #include "core/fpdftext/include/ipdf_textpage.h" |
18 #include "core/fpdftext/include/ipdf_textpagefind.h" | 18 #include "core/fpdftext/include/ipdf_textpagefind.h" |
19 #include "core/include/fxcrt/fx_basic.h" | 19 #include "core/fxcrt/include/fx_basic.h" |
20 | 20 |
21 class CFX_BidiChar; | 21 class CFX_BidiChar; |
22 class CPDF_FormObject; | 22 class CPDF_FormObject; |
23 class CPDF_LinkExtract; | 23 class CPDF_LinkExtract; |
24 class CPDF_TextPageFind; | 24 class CPDF_TextPageFind; |
25 class CPDF_Font; | 25 class CPDF_Font; |
26 | 26 |
27 #define FPDFTEXT_CHAR_ERROR -1 | 27 #define FPDFTEXT_CHAR_ERROR -1 |
28 #define FPDFTEXT_CHAR_NORMAL 0 | 28 #define FPDFTEXT_CHAR_NORMAL 0 |
29 #define FPDFTEXT_CHAR_GENERATED 1 | 29 #define FPDFTEXT_CHAR_GENERATED 1 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 void AppendToLinkList(int start, int count, const CFX_WideString& strUrl); | 238 void AppendToLinkList(int start, int count, const CFX_WideString& strUrl); |
239 | 239 |
240 private: | 240 private: |
241 LINK_InfoArray m_LinkList; | 241 LINK_InfoArray m_LinkList; |
242 const CPDF_TextPage* m_pTextPage; | 242 const CPDF_TextPage* m_pTextPage; |
243 CFX_WideString m_strPageText; | 243 CFX_WideString m_strPageText; |
244 bool m_bIsParsed; | 244 bool m_bIsParsed; |
245 }; | 245 }; |
246 | 246 |
247 #endif // CORE_FPDFTEXT_FPDF_TEXT_INT_H_ | 247 #endif // CORE_FPDFTEXT_FPDF_TEXT_INT_H_ |
OLD | NEW |