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 XFA_FXFA_APP_XFA_TEXTLAYOUT_H_ | 7 #ifndef XFA_FXFA_APP_XFA_TEXTLAYOUT_H_ |
8 #define XFA_FXFA_APP_XFA_TEXTLAYOUT_H_ | 8 #define XFA_FXFA_APP_XFA_TEXTLAYOUT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "xfa/fde/css/fde_css.h" | 13 #include "xfa/fde/css/fde_css.h" |
14 #include "xfa/fde/fde_gedevice.h" | 14 #include "xfa/fde/fde_gedevice.h" |
15 #include "xfa/fgas/layout/fgas_rtfbreak.h" | 15 #include "xfa/fgas/layout/fgas_rtfbreak.h" |
16 #include "xfa/fxfa/include/xfa_ffdoc.h" | |
17 #include "xfa/fxfa/parser/xfa_object.h" | 16 #include "xfa/fxfa/parser/xfa_object.h" |
| 17 #include "xfa/fxfa/xfa_ffdoc.h" |
18 | 18 |
19 #define XFA_LOADERCNTXTFLG_FILTERSPACE 0x001 | 19 #define XFA_LOADERCNTXTFLG_FILTERSPACE 0x001 |
20 | 20 |
21 class CFDE_CSSStyleSelector; | 21 class CFDE_CSSStyleSelector; |
22 class CXFA_Para; | 22 class CXFA_Para; |
23 class CXFA_Font; | 23 class CXFA_Font; |
24 class CXFA_TextProvider; | 24 class CXFA_TextProvider; |
25 class CXFA_TextTabstopsContext; | 25 class CXFA_TextTabstopsContext; |
26 | 26 |
27 class CXFA_CSSTagProvider { | 27 class CXFA_CSSTagProvider { |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 std::unique_ptr<CXFA_LoaderContext> m_pLoader; | 345 std::unique_ptr<CXFA_LoaderContext> m_pLoader; |
346 int32_t m_iLines; | 346 int32_t m_iLines; |
347 FX_FLOAT m_fMaxWidth; | 347 FX_FLOAT m_fMaxWidth; |
348 CXFA_TextParser m_textParser; | 348 CXFA_TextParser m_textParser; |
349 CXFA_PieceLineArray m_pieceLines; | 349 CXFA_PieceLineArray m_pieceLines; |
350 std::unique_ptr<CXFA_TextTabstopsContext> m_pTabstopContext; | 350 std::unique_ptr<CXFA_TextTabstopsContext> m_pTabstopContext; |
351 FX_BOOL m_bBlockContinue; | 351 FX_BOOL m_bBlockContinue; |
352 }; | 352 }; |
353 | 353 |
354 #endif // XFA_FXFA_APP_XFA_TEXTLAYOUT_H_ | 354 #endif // XFA_FXFA_APP_XFA_TEXTLAYOUT_H_ |
OLD | NEW |