| 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 _PDF_TXTPROC_H_ | 7 #ifndef CORE_SRC_FPDFTEXT_TXTPROC_H_ |
| 8 #define _PDF_TXTPROC_H_ | 8 #define CORE_SRC_FPDFTEXT_TXTPROC_H_ |
| 9 |
| 9 class CTextColumn | 10 class CTextColumn |
| 10 { | 11 { |
| 11 public: | 12 public: |
| 12 FX_FLOAT m_AvgPos; | 13 FX_FLOAT m_AvgPos; |
| 13 int m_Count; | 14 int m_Count; |
| 14 int m_TextPos; | 15 int m_TextPos; |
| 15 }; | 16 }; |
| 16 class CTextBox | 17 class CTextBox |
| 17 { | 18 { |
| 18 public: | 19 public: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 FX_BOOL m_bKeepColumn; | 61 FX_BOOL m_bKeepColumn; |
| 61 FX_BOOL m_bBreakSpace; | 62 FX_BOOL m_bBreakSpace; |
| 62 FX_BOOL m_bOCR; | 63 FX_BOOL m_bOCR; |
| 63 private: | 64 private: |
| 64 CFX_PtrArray m_BaseLines; | 65 CFX_PtrArray m_BaseLines; |
| 65 CFX_PtrArray m_TextColumns; | 66 CFX_PtrArray m_TextColumns; |
| 66 void FindColumns(); | 67 void FindColumns(); |
| 67 CTextColumn* FindColumn(FX_FLOAT xpos); | 68 CTextColumn* FindColumn(FX_FLOAT xpos); |
| 68 void BreakSpace(CPDF_TextObject* pTextObj); | 69 void BreakSpace(CPDF_TextObject* pTextObj); |
| 69 }; | 70 }; |
| 70 #endif | 71 |
| 72 #endif // CORE_SRC_FPDFTEXT_TXTPROC_H_ |
| OLD | NEW |