| 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 _FXFA_TEXTLAYOUT_H | 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_TEXTLAYOUT_H_ |
| 8 #define _FXFA_TEXTLAYOUT_H | 8 #define XFA_SRC_FXFA_SRC_APP_XFA_TEXTLAYOUT_H_ |
| 9 |
| 9 #define XFA_LOADERCNTXTFLG_FILTERSPACE 0x001 | 10 #define XFA_LOADERCNTXTFLG_FILTERSPACE 0x001 |
| 10 class CXFA_TextTabstopsContext; | 11 class CXFA_TextTabstopsContext; |
| 11 class IXFA_TextProvider { | 12 class IXFA_TextProvider { |
| 12 public: | 13 public: |
| 13 virtual ~IXFA_TextProvider() {} | 14 virtual ~IXFA_TextProvider() {} |
| 14 virtual CXFA_Node* GetTextNode(FX_BOOL& bRichText) = 0; | 15 virtual CXFA_Node* GetTextNode(FX_BOOL& bRichText) = 0; |
| 15 virtual CXFA_Para GetParaNode() = 0; | 16 virtual CXFA_Para GetParaNode() = 0; |
| 16 virtual CXFA_Font GetFontNode() = 0; | 17 virtual CXFA_Font GetFontNode() = 0; |
| 17 virtual FX_BOOL IsCheckButtonAndAutoWidth() = 0; | 18 virtual FX_BOOL IsCheckButtonAndAutoWidth() = 0; |
| 18 virtual CXFA_FFDoc* GetDocNode() = 0; | 19 virtual CXFA_FFDoc* GetDocNode() = 0; |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 IFX_MEMAllocator* m_pAllocator; | 397 IFX_MEMAllocator* m_pAllocator; |
| 397 IFX_RTFBreak* m_pBreak; | 398 IFX_RTFBreak* m_pBreak; |
| 398 CXFA_LoaderContext* m_pLoader; | 399 CXFA_LoaderContext* m_pLoader; |
| 399 int32_t m_iLines; | 400 int32_t m_iLines; |
| 400 FX_FLOAT m_fMaxWidth; | 401 FX_FLOAT m_fMaxWidth; |
| 401 CXFA_TextParser m_textParser; | 402 CXFA_TextParser m_textParser; |
| 402 CXFA_PieceLineArray m_pieceLines; | 403 CXFA_PieceLineArray m_pieceLines; |
| 403 CXFA_TextTabstopsContext* m_pTabstopContext; | 404 CXFA_TextTabstopsContext* m_pTabstopContext; |
| 404 FX_BOOL m_bBlockContinue; | 405 FX_BOOL m_bBlockContinue; |
| 405 }; | 406 }; |
| 406 #endif | 407 |
| 408 #endif // XFA_SRC_FXFA_SRC_APP_XFA_TEXTLAYOUT_H_ |
| OLD | NEW |