Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: xfa/fxfa/parser/xfa_basic_data_attributes.cpp

Issue 2165993002: Move xfa_basic_imp to cxfa_widetextread. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_basic_data.h ('k') | xfa/fxfa/parser/xfa_basic_data_element_script.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/include/fxfa_basic.h"
10 #include "xfa/fxfa/parser/cxfa_measurement.h"
10 11
11 static const CXFA_Measurement g_XFAMeasurementData[] = { 12 static const CXFA_Measurement g_XFAMeasurementData[] = {
12 CXFA_Measurement(0, XFA_UNIT_In), 13 CXFA_Measurement(0, XFA_UNIT_In),
13 CXFA_Measurement(0, XFA_UNIT_Pt), 14 CXFA_Measurement(0, XFA_UNIT_Pt),
14 CXFA_Measurement(5, XFA_UNIT_Mm), 15 CXFA_Measurement(5, XFA_UNIT_Mm),
15 CXFA_Measurement(0.25, XFA_UNIT_Mm), 16 CXFA_Measurement(0.25, XFA_UNIT_Mm),
16 CXFA_Measurement(-1, XFA_UNIT_Unknown), 17 CXFA_Measurement(-1, XFA_UNIT_Unknown),
17 CXFA_Measurement(0, XFA_UNIT_Angle), 18 CXFA_Measurement(0, XFA_UNIT_Angle),
18 CXFA_Measurement(10, XFA_UNIT_Pt), 19 CXFA_Measurement(10, XFA_UNIT_Pt),
19 CXFA_Measurement(360, XFA_UNIT_Angle), 20 CXFA_Measurement(360, XFA_UNIT_Angle),
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 (void*)XFA_ATTRIBUTEENUM_ToEdge}, 777 (void*)XFA_ATTRIBUTEENUM_ToEdge},
777 {XFA_Element::LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, 778 {XFA_Element::LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
778 (void*)XFA_ATTRIBUTEENUM_Optional}, 779 (void*)XFA_ATTRIBUTEENUM_Optional},
779 {XFA_Element::Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, 780 {XFA_Element::Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer,
780 (void*)1}, 781 (void*)1},
781 {XFA_Element::NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, 782 {XFA_Element::NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
782 (void*)XFA_ATTRIBUTEENUM_Decimal}, 783 (void*)XFA_ATTRIBUTEENUM_Decimal},
783 }; 784 };
784 const int32_t g_iXFANotsureCount = 785 const int32_t g_iXFANotsureCount =
785 sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE); 786 sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE);
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_basic_data.h ('k') | xfa/fxfa/parser/xfa_basic_data_element_script.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698