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_SRC_REFLOW_REFLOWEDTEXTPAGE_H_ | 7 #ifndef CORE_SRC_REFLOW_REFLOWEDTEXTPAGE_H_ |
8 #define CORE_SRC_REFLOW_REFLOWEDTEXTPAGE_H_ | 8 #define CORE_SRC_REFLOW_REFLOWEDTEXTPAGE_H_ |
9 | 9 |
10 #include "../../include/reflow/reflowengine.h" | 10 #include "../../include/reflow/reflowengine.h" |
11 #include "../../src/reflow/reflowedpage.h" | 11 #include "../../src/reflow/reflowedpage.h" |
12 | 12 |
13 typedef CFX_SegmentedArray<CRF_CharData*> CRF_CharDataPtrArray; | 13 typedef CFX_SegmentedArray<CRF_CharData*> CRF_CharDataPtrArray; |
14 typedef CFX_SegmentedArray<FX_INT32> CFX_CountBSINT32Array; | 14 typedef CFX_SegmentedArray<int32_t> CFX_CountBSINT32Array; |
15 class CRF_TextPage : public IPDF_TextPage | 15 class CRF_TextPage : public IPDF_TextPage |
16 { | 16 { |
17 public: | 17 public: |
18 CRF_TextPage(IPDF_ReflowedPage* pRefPage); | 18 CRF_TextPage(IPDF_ReflowedPage* pRefPage); |
19 | 19 |
20 virtual ~CRF_TextPage() ; | 20 virtual ~CRF_TextPage() ; |
21 FX_BOOL ParseTextPage(); | 21 FX_BOOL ParseTextPage(); |
22 void NormalizeObjects(FX_BOOL bNormalize) | 22 void NormalizeObjects(FX_BOOL bNormalize) |
23 { | 23 { |
24 return; | 24 return; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 CFX_WideString GetPageText(int start, int nCount = -1 ) const; | 66 CFX_WideString GetPageText(int start, int nCount = -1 ) const; |
67 private: | 67 private: |
68 CPDF_ReflowedPage* m_pRefPage; | 68 CPDF_ReflowedPage* m_pRefPage; |
69 CRF_CharDataPtrArray* m_pDataList; | 69 CRF_CharDataPtrArray* m_pDataList; |
70 CFX_RectArray m_rectArray; | 70 CFX_RectArray m_rectArray; |
71 CFX_CountBSINT32Array* m_CountBSArray; | 71 CFX_CountBSINT32Array* m_CountBSArray; |
72 }; | 72 }; |
73 | 73 |
74 #endif // CORE_SRC_REFLOW_REFLOWEDTEXTPAGE_H_ | 74 #endif // CORE_SRC_REFLOW_REFLOWEDTEXTPAGE_H_ |
OLD | NEW |