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 #include "xfa/fxfa/parser/xfa_basic_data.h" | 7 #include "xfa/fxfa/parser/xfa_basic_data.h" |
8 | 8 |
9 #include "xfa/fxfa/include/fxfa_basic.h" | 9 #include "xfa/fxfa/fxfa_basic.h" |
10 #include "xfa/fxfa/parser/cxfa_measurement.h" | 10 #include "xfa/fxfa/parser/cxfa_measurement.h" |
11 | 11 |
12 static const CXFA_Measurement g_XFAMeasurementData[] = { | 12 static const CXFA_Measurement g_XFAMeasurementData[] = { |
13 CXFA_Measurement(0, XFA_UNIT_In), | 13 CXFA_Measurement(0, XFA_UNIT_In), |
14 CXFA_Measurement(0, XFA_UNIT_Pt), | 14 CXFA_Measurement(0, XFA_UNIT_Pt), |
15 CXFA_Measurement(5, XFA_UNIT_Mm), | 15 CXFA_Measurement(5, XFA_UNIT_Mm), |
16 CXFA_Measurement(0.25, XFA_UNIT_Mm), | 16 CXFA_Measurement(0.25, XFA_UNIT_Mm), |
17 CXFA_Measurement(-1, XFA_UNIT_Unknown), | 17 CXFA_Measurement(-1, XFA_UNIT_Unknown), |
18 CXFA_Measurement(0, XFA_UNIT_Angle), | 18 CXFA_Measurement(0, XFA_UNIT_Angle), |
19 CXFA_Measurement(10, XFA_UNIT_Pt), | 19 CXFA_Measurement(10, XFA_UNIT_Pt), |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 (void*)XFA_ATTRIBUTEENUM_ToEdge}, | 777 (void*)XFA_ATTRIBUTEENUM_ToEdge}, |
778 {XFA_Element::LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, | 778 {XFA_Element::LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, |
779 (void*)XFA_ATTRIBUTEENUM_Optional}, | 779 (void*)XFA_ATTRIBUTEENUM_Optional}, |
780 {XFA_Element::Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, | 780 {XFA_Element::Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, |
781 (void*)1}, | 781 (void*)1}, |
782 {XFA_Element::NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, | 782 {XFA_Element::NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, |
783 (void*)XFA_ATTRIBUTEENUM_Decimal}, | 783 (void*)XFA_ATTRIBUTEENUM_Decimal}, |
784 }; | 784 }; |
785 const int32_t g_iXFANotsureCount = | 785 const int32_t g_iXFANotsureCount = |
786 sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE); | 786 sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE); |
OLD | NEW |