| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFDOC_INCLUDE_CPVT_SECPROPS_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_SECPROPS_H_ |
| 8 #define CORE_FPDFDOC_INCLUDE_CPVT_SECPROPS_H_ | 8 #define CORE_FPDFDOC_CPVT_SECPROPS_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
| 11 | 11 |
| 12 struct CPVT_SecProps { | 12 struct CPVT_SecProps { |
| 13 CPVT_SecProps() : fLineLeading(0.0f), fLineIndent(0.0f), nAlignment(0) {} | 13 CPVT_SecProps() : fLineLeading(0.0f), fLineIndent(0.0f), nAlignment(0) {} |
| 14 | 14 |
| 15 CPVT_SecProps(FX_FLOAT lineLeading, FX_FLOAT lineIndent, int32_t alignment) | 15 CPVT_SecProps(FX_FLOAT lineLeading, FX_FLOAT lineIndent, int32_t alignment) |
| 16 : fLineLeading(lineLeading), | 16 : fLineLeading(lineLeading), |
| 17 fLineIndent(lineIndent), | 17 fLineIndent(lineIndent), |
| 18 nAlignment(alignment) {} | 18 nAlignment(alignment) {} |
| 19 | 19 |
| 20 CPVT_SecProps(const CPVT_SecProps& other) | 20 CPVT_SecProps(const CPVT_SecProps& other) |
| 21 : fLineLeading(other.fLineLeading), | 21 : fLineLeading(other.fLineLeading), |
| 22 fLineIndent(other.fLineIndent), | 22 fLineIndent(other.fLineIndent), |
| 23 nAlignment(other.nAlignment) {} | 23 nAlignment(other.nAlignment) {} |
| 24 | 24 |
| 25 FX_FLOAT fLineLeading; | 25 FX_FLOAT fLineLeading; |
| 26 FX_FLOAT fLineIndent; | 26 FX_FLOAT fLineIndent; |
| 27 int32_t nAlignment; | 27 int32_t nAlignment; |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 #endif // CORE_FPDFDOC_INCLUDE_CPVT_SECPROPS_H_ | 30 #endif // CORE_FPDFDOC_CPVT_SECPROPS_H_ |
| OLD | NEW |