Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: core/fpdftext/include/ipdf_textpage.h

Issue 1811053002: Move core/include/fpdfapi/fpdf_pageobj.h into core/fpdfapi. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdftext/fpdf_text_int.cpp ('k') | core/include/fpdfapi/fpdf_pageobj.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_INCLUDE_IPDF_TEXTPAGE_H_ 7 #ifndef CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGE_H_
8 #define CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGE_H_ 8 #define CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGE_H_
9 9
10 #include "core/include/fpdfapi/fpdf_pageobj.h"
11 #include "core/include/fxcrt/fx_coordinates.h" 10 #include "core/include/fxcrt/fx_coordinates.h"
12 #include "core/include/fxcrt/fx_system.h" 11 #include "core/include/fxcrt/fx_system.h"
13 12
13 class CPDF_TextObject;
14 class CPDF_Page;
15
14 struct FPDF_CHAR_INFO { 16 struct FPDF_CHAR_INFO {
15 FX_WCHAR m_Unicode; 17 FX_WCHAR m_Unicode;
16 FX_WCHAR m_Charcode; 18 FX_WCHAR m_Charcode;
17 int32_t m_Flag; 19 int32_t m_Flag;
18 FX_FLOAT m_FontSize; 20 FX_FLOAT m_FontSize;
19 FX_FLOAT m_OriginX; 21 FX_FLOAT m_OriginX;
20 FX_FLOAT m_OriginY; 22 FX_FLOAT m_OriginY;
21 CFX_FloatRect m_CharBox; 23 CFX_FloatRect m_CharBox;
22 CPDF_TextObject* m_pTextObj; 24 CPDF_TextObject* m_pTextObj;
23 CFX_Matrix m_Matrix; 25 CFX_Matrix m_Matrix;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 FX_FLOAT top, 61 FX_FLOAT top,
60 FX_FLOAT right, 62 FX_FLOAT right,
61 FX_FLOAT bottom, 63 FX_FLOAT bottom,
62 FX_BOOL bContains = FALSE) = 0; 64 FX_BOOL bContains = FALSE) = 0;
63 virtual void GetBoundedSegment(int index, int& start, int& count) const = 0; 65 virtual void GetBoundedSegment(int index, int& start, int& count) const = 0;
64 virtual int GetWordBreak(int index, int direction) const = 0; 66 virtual int GetWordBreak(int index, int direction) const = 0;
65 virtual CFX_WideString GetPageText(int start = 0, int nCount = -1) const = 0; 67 virtual CFX_WideString GetPageText(int start = 0, int nCount = -1) const = 0;
66 }; 68 };
67 69
68 #endif // CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGE_H_ 70 #endif // CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGE_H_
OLDNEW
« no previous file with comments | « core/fpdftext/fpdf_text_int.cpp ('k') | core/include/fpdfapi/fpdf_pageobj.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698