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 #include "xfa/fgas/layout/fgas_rtfbreak.h" | 7 #include "xfa/fgas/layout/fgas_rtfbreak.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "core/fxcrt/include/fx_arabic.h" | 11 #include "core/fxcrt/fx_arabic.h" |
12 #include "core/fxcrt/include/fx_arb.h" | 12 #include "core/fxcrt/fx_arb.h" |
13 #include "xfa/fgas/font/fgas_gefont.h" | 13 #include "xfa/fgas/font/fgas_gefont.h" |
14 #include "xfa/fgas/layout/fgas_linebreak.h" | 14 #include "xfa/fgas/layout/fgas_linebreak.h" |
15 #include "xfa/fgas/layout/fgas_unicode.h" | 15 #include "xfa/fgas/layout/fgas_unicode.h" |
16 | 16 |
17 CFX_RTFBreak::CFX_RTFBreak(uint32_t dwPolicies) | 17 CFX_RTFBreak::CFX_RTFBreak(uint32_t dwPolicies) |
18 : m_dwPolicies(dwPolicies), | 18 : m_dwPolicies(dwPolicies), |
19 m_iBoundaryStart(0), | 19 m_iBoundaryStart(0), |
20 m_iBoundaryEnd(2000000), | 20 m_iBoundaryEnd(2000000), |
21 m_dwLayoutStyles(0), | 21 m_dwLayoutStyles(0), |
22 m_bPagination(false), | 22 m_bPagination(false), |
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1558 iLength(0), | 1558 iLength(0), |
1559 pFont(nullptr), | 1559 pFont(nullptr), |
1560 fFontSize(12.0f), | 1560 fFontSize(12.0f), |
1561 dwLayoutStyles(0), | 1561 dwLayoutStyles(0), |
1562 iCharRotation(0), | 1562 iCharRotation(0), |
1563 iBidiLevel(0), | 1563 iBidiLevel(0), |
1564 pRect(nullptr), | 1564 pRect(nullptr), |
1565 wLineBreakChar(L'\n'), | 1565 wLineBreakChar(L'\n'), |
1566 iHorizontalScale(100), | 1566 iHorizontalScale(100), |
1567 iVerticalScale(100) {} | 1567 iVerticalScale(100) {} |
OLD | NEW |