OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CPDF_TEXTPAGE_H_ | 7 #ifndef CORE_FPDFTEXT_CPDF_TEXTPAGE_H_ |
8 #define CORE_FPDFTEXT_CPDF_TEXTPAGE_H_ | 8 #define CORE_FPDFTEXT_CPDF_TEXTPAGE_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/fxcrt/include/fx_basic.h" | 14 #include "core/fxcrt/fx_basic.h" |
15 #include "core/fxcrt/include/fx_coordinates.h" | 15 #include "core/fxcrt/fx_coordinates.h" |
16 #include "core/fxcrt/include/fx_string.h" | 16 #include "core/fxcrt/fx_string.h" |
17 | 17 |
18 class CPDF_Font; | 18 class CPDF_Font; |
19 class CPDF_FormObject; | 19 class CPDF_FormObject; |
20 class CPDF_Page; | 20 class CPDF_Page; |
21 class CPDF_TextObject; | 21 class CPDF_TextObject; |
22 | 22 |
23 #define FPDFTEXT_MATCHCASE 0x00000001 | 23 #define FPDFTEXT_MATCHCASE 0x00000001 |
24 #define FPDFTEXT_MATCHWHOLEWORD 0x00000002 | 24 #define FPDFTEXT_MATCHWHOLEWORD 0x00000002 |
25 #define FPDFTEXT_CONSECUTIVE 0x00000004 | 25 #define FPDFTEXT_CONSECUTIVE 0x00000004 |
26 | 26 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 bool m_bIsParsed; | 172 bool m_bIsParsed; |
173 CFX_Matrix m_DisplayMatrix; | 173 CFX_Matrix m_DisplayMatrix; |
174 CFX_ArrayTemplate<FPDF_SEGMENT> m_Segments; | 174 CFX_ArrayTemplate<FPDF_SEGMENT> m_Segments; |
175 std::vector<CFX_FloatRect> m_SelRects; | 175 std::vector<CFX_FloatRect> m_SelRects; |
176 CFX_ArrayTemplate<PDFTEXT_Obj> m_LineObj; | 176 CFX_ArrayTemplate<PDFTEXT_Obj> m_LineObj; |
177 TextOrientation m_TextlineDir; | 177 TextOrientation m_TextlineDir; |
178 CFX_FloatRect m_CurlineRect; | 178 CFX_FloatRect m_CurlineRect; |
179 }; | 179 }; |
180 | 180 |
181 #endif // CORE_FPDFTEXT_CPDF_TEXTPAGE_H_ | 181 #endif // CORE_FPDFTEXT_CPDF_TEXTPAGE_H_ |
OLD | NEW |