| 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_FPDFTEXT_TXTPROC_H_ | 7 #ifndef CORE_SRC_FPDFTEXT_TXTPROC_H_ |
| 8 #define CORE_SRC_FPDFTEXT_TXTPROC_H_ | 8 #define CORE_SRC_FPDFTEXT_TXTPROC_H_ |
| 9 | 9 |
| 10 class CTextColumn | 10 class CTextColumn |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 CTextPage(); | 53 CTextPage(); |
| 54 ~CTextPage(); | 54 ~CTextPage(); |
| 55 void ProcessObject(CPDF_PageObject* pObj); | 55 void ProcessObject(CPDF_PageObject* pObj); |
| 56 CTextBaseLine* InsertTextBox(CTextBaseLine* pBaseLine, FX_FLOAT basey, FX_FL
OAT leftx, | 56 CTextBaseLine* InsertTextBox(CTextBaseLine* pBaseLine, FX_FLOAT basey, FX_FL
OAT leftx, |
| 57 FX_FLOAT rightx, FX_FLOAT topy, FX_FLOAT bottom
y, FX_FLOAT spacew, FX_FLOAT fontsize_v, | 57 FX_FLOAT rightx, FX_FLOAT topy, FX_FLOAT bottom
y, FX_FLOAT spacew, FX_FLOAT fontsize_v, |
| 58 CFX_ByteString& str, CPDF_Font* pFont); | 58 CFX_ByteString& str, CPDF_Font* pFont); |
| 59 void WriteOutput(CFX_WideStringArray& lines, int iMinWidth); | 59 void WriteOutput(CFX_WideStringArray& lines, int iMinWidth); |
| 60 FX_BOOL m_bAutoWidth; | 60 FX_BOOL m_bAutoWidth; |
| 61 FX_BOOL m_bKeepColumn; | 61 FX_BOOL m_bKeepColumn; |
| 62 FX_BOOL m_bBreakSpace; | 62 FX_BOOL m_bBreakSpace; |
| 63 FX_BOOL» m_bOCR; | 63 |
| 64 private: | 64 private: |
| 65 CFX_PtrArray m_BaseLines; | 65 CFX_PtrArray m_BaseLines; |
| 66 CFX_PtrArray m_TextColumns; | 66 CFX_PtrArray m_TextColumns; |
| 67 void FindColumns(); | 67 void FindColumns(); |
| 68 CTextColumn* FindColumn(FX_FLOAT xpos); | 68 CTextColumn* FindColumn(FX_FLOAT xpos); |
| 69 void BreakSpace(CPDF_TextObject* pTextObj); | 69 void BreakSpace(CPDF_TextObject* pTextObj); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 #endif // CORE_SRC_FPDFTEXT_TXTPROC_H_ | 72 #endif // CORE_SRC_FPDFTEXT_TXTPROC_H_ |
| OLD | NEW |