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" |
| 14 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" |
| 15 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" |
13 #include "core/fpdftext/include/ipdf_linkextract.h" | 16 #include "core/fpdftext/include/ipdf_linkextract.h" |
14 #include "core/fpdftext/include/ipdf_textpage.h" | 17 #include "core/fpdftext/include/ipdf_textpage.h" |
15 #include "core/fpdftext/include/ipdf_textpagefind.h" | 18 #include "core/fpdftext/include/ipdf_textpagefind.h" |
16 #include "core/include/fpdfapi/fpdf_page.h" | |
17 #include "core/include/fxcrt/fx_basic.h" | 19 #include "core/include/fxcrt/fx_basic.h" |
18 | 20 |
19 class CFX_BidiChar; | 21 class CFX_BidiChar; |
20 class CPDF_FormObject; | 22 class CPDF_FormObject; |
21 class CPDF_LinkExtract; | 23 class CPDF_LinkExtract; |
22 class CPDF_TextPageFind; | 24 class CPDF_TextPageFind; |
23 | 25 |
24 #define FPDFTEXT_CHAR_ERROR -1 | 26 #define FPDFTEXT_CHAR_ERROR -1 |
25 #define FPDFTEXT_CHAR_NORMAL 0 | 27 #define FPDFTEXT_CHAR_NORMAL 0 |
26 #define FPDFTEXT_CHAR_GENERATED 1 | 28 #define FPDFTEXT_CHAR_GENERATED 1 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 void AppendToLinkList(int start, int count, const CFX_WideString& strUrl); | 237 void AppendToLinkList(int start, int count, const CFX_WideString& strUrl); |
236 | 238 |
237 private: | 239 private: |
238 LINK_InfoArray m_LinkList; | 240 LINK_InfoArray m_LinkList; |
239 const CPDF_TextPage* m_pTextPage; | 241 const CPDF_TextPage* m_pTextPage; |
240 CFX_WideString m_strPageText; | 242 CFX_WideString m_strPageText; |
241 bool m_bIsParsed; | 243 bool m_bIsParsed; |
242 }; | 244 }; |
243 | 245 |
244 #endif // CORE_FPDFTEXT_FPDF_TEXT_INT_H_ | 246 #endif // CORE_FPDFTEXT_FPDF_TEXT_INT_H_ |
OLD | NEW |