summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_basic_data.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-23 12:40:16 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-23 12:40:16 -0700
commit85d1f2c2f9f1e746bedb1b6f03576613f54fbc27 (patch)
treeff5b393fb9b89f006327bee7bc8c955522defb67 /xfa/fxfa/parser/xfa_basic_data.cpp
parent6e12478cb298c3a8277493ee79ae0b73d6df8554 (diff)
downloadpdfium-85d1f2c2f9f1e746bedb1b6f03576613f54fbc27.tar.xz
Remove NULL in xfa/
This CL converts all NULL's to nullptr. All instances of comparison to nullptr have been removed. Review-Url: https://codereview.chromium.org/2095653002
Diffstat (limited to 'xfa/fxfa/parser/xfa_basic_data.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_basic_data.cpp191
1 files changed, 94 insertions, 97 deletions
diff --git a/xfa/fxfa/parser/xfa_basic_data.cpp b/xfa/fxfa/parser/xfa_basic_data.cpp
index 1a9ad1ade3..62972cb995 100644
--- a/xfa/fxfa/parser/xfa_basic_data.cpp
+++ b/xfa/fxfa/parser/xfa_basic_data.cpp
@@ -321,9 +321,9 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
{0x21aed, L"id", XFA_ATTRIBUTE_Id, XFA_ATTRIBUTETYPE_Cdata,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x25363, L"to", XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Config, (void*)NULL},
+ XFA_XDPPACKET_Config, nullptr},
{0xcb0ac9, L"lineThrough", XFA_ATTRIBUTE_LineThrough,
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
@@ -335,18 +335,18 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)L"Courier"},
{0x3106c3a, L"beforeTarget", XFA_ATTRIBUTE_BeforeTarget,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x31b19c1, L"name", XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_NOTSURE,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet |
XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets | XFA_XDPPACKET_Form |
XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x3848b3f, L"next", XFA_ATTRIBUTE_Next, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_None},
{0x43e349b, L"dataRowCount", XFA_ATTRIBUTE_DataRowCount,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x5518c25, L"break", XFA_ATTRIBUTE_Break, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Close},
@@ -369,21 +369,21 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_Square},
{0xb3543a6, L"max", XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_NOTSURE,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xb356ca4, L"min", XFA_ATTRIBUTE_Min, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
{0xbb8df5d, L"ref", XFA_ATTRIBUTE_Ref, XFA_ATTRIBUTETYPE_Cdata,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_Template |
XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xbb8f3df, L"rid", XFA_ATTRIBUTE_Rid, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xc080cd3, L"url", XFA_ATTRIBUTE_Url, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xc0811ed, L"use", XFA_ATTRIBUTE_Use, XFA_ATTRIBUTETYPE_Cdata,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xcfea02e, L"leftInset", XFA_ATTRIBUTE_LeftInset,
XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
@@ -396,7 +396,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)(g_XFAMeasurementData + 0)},
{0x13a08bdb, L"overflowTarget", XFA_ATTRIBUTE_OverflowTarget,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x1414d431, L"allowMacro", XFA_ATTRIBUTE_AllowMacro,
XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
@@ -405,31 +405,31 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_Any},
{0x1517dfa1, L"columnWidths", XFA_ATTRIBUTE_ColumnWidths,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x169134a1, L"overflowLeader", XFA_ATTRIBUTE_OverflowLeader,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x1b8dce3e, L"action", XFA_ATTRIBUTE_Action, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Include},
{0x1e459b8f, L"nonRepudiation", XFA_ATTRIBUTE_NonRepudiation,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x1ec8ab2c, L"rate", XFA_ATTRIBUTE_Rate, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)50},
{0x1ef3a64a, L"allowRichText", XFA_ATTRIBUTE_AllowRichText,
XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
{0x2038c9b2, L"role", XFA_ATTRIBUTE_Role, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x20914367, L"overflowTrailer", XFA_ATTRIBUTE_OverflowTrailer,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x226ca8f1, L"operation", XFA_ATTRIBUTE_Operation,
XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x24d85167, L"timeout", XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_NOTSURE,
- XFA_XDPPACKET_SourceSet, (void*)NULL},
+ XFA_XDPPACKET_SourceSet, nullptr},
{0x25764436, L"topInset", XFA_ATTRIBUTE_TopInset, XFA_ATTRIBUTETYPE_Measure,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
@@ -441,7 +441,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_Unknown},
{0x28dee6e9, L"format", XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_NOTSURE,
XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x28e17e91, L"dataPrep", XFA_ATTRIBUTE_DataPrep, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_None},
@@ -453,10 +453,10 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
{0x2b5df51e, L"dataDescription", XFA_ATTRIBUTE_DataDescription,
- XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_ConnectionSet, (void*)NULL},
+ XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_ConnectionSet, nullptr},
{0x2bb3f470, L"encipherOnly", XFA_ATTRIBUTE_EncipherOnly,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x2cd79033, L"kerningMode", XFA_ATTRIBUTE_KerningMode,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_None},
@@ -467,7 +467,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)7},
{0x2f16a382, L"type", XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_NOTSURE,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x34ae103c, L"reserve", XFA_ATTRIBUTE_Reserve, XFA_ATTRIBUTETYPE_Measure,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 4)},
@@ -490,11 +490,11 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_RefOnly},
{0x4156ee3f, L"delimiter", XFA_ATTRIBUTE_Delimiter, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x42fed1fd, L"contentType", XFA_ATTRIBUTE_ContentType,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
XFA_XDPPACKET_Datasets | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x453eaf38, L"startNew", XFA_ATTRIBUTE_StartNew, XFA_ATTRIBUTETYPE_Boolean,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
{0x45a6daf8, L"eofAction", XFA_ATTRIBUTE_EofAction, XFA_ATTRIBUTETYPE_Enum,
@@ -504,7 +504,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)0},
{0x47d03490, L"connection", XFA_ATTRIBUTE_Connection,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x4873c601, L"baselineShift", XFA_ATTRIBUTE_BaselineShift,
XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
@@ -518,7 +518,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Portrait},
{0x4fdc3454, L"timeStamp", XFA_ATTRIBUTE_TimeStamp, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_XDP, (void*)NULL},
+ XFA_XDPPACKET_XDP, nullptr},
{0x52666f1c, L"printCheckDigit", XFA_ATTRIBUTE_PrintCheckDigit,
XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
@@ -534,7 +534,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
{0x54fa722c, L"transferEncoding", XFA_ATTRIBUTE_TransferEncoding,
XFA_ATTRIBUTETYPE_NOTSURE,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x552d9ad5, L"usage", XFA_ATTRIBUTE_Usage, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_ExportAndImport},
@@ -545,16 +545,16 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
{0x577682ac, L"preserve", XFA_ATTRIBUTE_Preserve, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x58be2870, L"aliasNode", XFA_ATTRIBUTE_AliasNode,
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0},
{0x5a32e493, L"multiLine", XFA_ATTRIBUTE_MultiLine,
XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
{0x5a50e9e6, L"version", XFA_ATTRIBUTE_Version, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x5ab23b6c, L"startChar", XFA_ATTRIBUTE_StartChar, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x5b707a35, L"scriptTest", XFA_ATTRIBUTE_ScriptTest,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Error},
@@ -566,14 +566,14 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_ForwardOnly},
{0x5f760b50, L"digitalSignature", XFA_ATTRIBUTE_DigitalSignature,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x60a61edd, L"codeType", XFA_ATTRIBUTE_CodeType, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x60d4c8b1, L"output", XFA_ATTRIBUTE_Output, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_ConnectionSet, (void*)NULL},
+ XFA_XDPPACKET_ConnectionSet, nullptr},
{0x64110ab5, L"bookendTrailer", XFA_ATTRIBUTE_BookendTrailer,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x65e30c67, L"imagingBBox", XFA_ATTRIBUTE_ImagingBBox,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)L"none"},
@@ -581,9 +581,9 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
{0x66642f8f, L"force", XFA_ATTRIBUTE_Force, XFA_ATTRIBUTETYPE_Boolean,
- XFA_XDPPACKET_Config, (void*)NULL},
+ XFA_XDPPACKET_Config, nullptr},
{0x69aa2292, L"crlSign", XFA_ATTRIBUTE_CrlSign, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x6a3405dd, L"previous", XFA_ATTRIBUTE_Previous, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_None},
@@ -607,7 +607,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)0},
{0x79543055, L"letterSpacing", XFA_ATTRIBUTE_LetterSpacing,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x79975f2b, L"lockType", XFA_ATTRIBUTE_LockType, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_ReadOnly},
{0x7a0cc471, L"passwordChar", XFA_ATTRIBUTE_PasswordChar,
@@ -645,14 +645,14 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Position},
{0x7f6fd3d7, L"server", XFA_ATTRIBUTE_Server, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x824f21b7, L"embedPDF", XFA_ATTRIBUTE_EmbedPDF, XFA_ATTRIBUTETYPE_Boolean,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
{0x8340ea66, L"oddOrEven", XFA_ATTRIBUTE_OddOrEven, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Any},
{0x836d4d7c, L"tabDefault", XFA_ATTRIBUTE_TabDefault,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x8855805f, L"contains", XFA_ATTRIBUTE_Contains, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Datasets, (void*)XFA_ATTRIBUTEENUM_Data},
{0x8a692521, L"rightInset", XFA_ATTRIBUTE_RightInset,
@@ -664,12 +664,12 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_UserControl},
{0x8c99377e, L"relation", XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_NOTSURE,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x8d181d61, L"wideNarrowRatio", XFA_ATTRIBUTE_WideNarrowRatio,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)L"3:1"},
{0x8e1c2921, L"relevant", XFA_ATTRIBUTE_Relevant, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x8e29d794, L"signatureType", XFA_ATTRIBUTE_SignatureType,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Filter},
@@ -680,7 +680,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Square},
{0x8fa01790, L"tabStops", XFA_ATTRIBUTE_TabStops, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0x8fc36c0a, L"outputBelow", XFA_ATTRIBUTE_OutputBelow,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
(void*)XFA_ATTRIBUTEENUM_Warn},
@@ -701,10 +701,10 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)3},
{0x98fd4d81, L"keyAgreement", XFA_ATTRIBUTE_KeyAgreement,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x99800d7a, L"errorCorrectionLevel", XFA_ATTRIBUTE_ErrorCorrectionLevel,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0x9a63da3d, L"upsMode", XFA_ATTRIBUTE_UpsMode, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_UsCarrier},
@@ -714,11 +714,11 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
{0x9d833d75, L"circular", XFA_ATTRIBUTE_Circular, XFA_ATTRIBUTETYPE_Boolean,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
{0x9d8ee204, L"psName", XFA_ATTRIBUTE_PsName, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Config, (void*)NULL},
+ XFA_XDPPACKET_Config, nullptr},
{0x9dcc3ab3, L"trailer", XFA_ATTRIBUTE_Trailer, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xa0933954, L"unicodeRange", XFA_ATTRIBUTE_UnicodeRange,
- XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config, (void*)NULL},
+ XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config, nullptr},
{0xa1b0d2f5, L"executeType", XFA_ATTRIBUTE_ExecuteType,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Import},
@@ -739,7 +739,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_Auto},
{0xa66404cb, L"keyEncipherment", XFA_ATTRIBUTE_KeyEncipherment,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xa6710262, L"credentialServerPolicy",
XFA_ATTRIBUTE_CredentialServerPolicy, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
@@ -758,22 +758,21 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
{0xac06e2b0, L"colSpan", XFA_ATTRIBUTE_ColSpan, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
{0xadc4c77b, L"binding", XFA_ATTRIBUTE_Binding, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xaf754613, L"checksum", XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_NOTSURE,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form | XFA_XDPPACKET_Form,
- (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form | XFA_XDPPACKET_Form, nullptr},
{0xb045fbc5, L"charEncoding", XFA_ATTRIBUTE_CharEncoding,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)L"UTF-8"},
{0xb0e5485d, L"bind", XFA_ATTRIBUTE_Bind, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_SourceSet, (void*)NULL},
+ XFA_XDPPACKET_SourceSet, nullptr},
{0xb12128b7, L"textEntry", XFA_ATTRIBUTE_TextEntry,
XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)0},
{0xb373a862, L"archive", XFA_ATTRIBUTE_Archive, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xb598a1f7, L"uuid", XFA_ATTRIBUTE_Uuid, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_XDP, (void*)NULL},
+ XFA_XDPPACKET_XDP, nullptr},
{0xb5e49bf2, L"posture", XFA_ATTRIBUTE_Posture, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Normal},
@@ -783,13 +782,13 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
{0xb716467b, L"orphans", XFA_ATTRIBUTE_Orphans, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
{0xbc0c4695, L"qualifiedName", XFA_ATTRIBUTE_QualifiedName,
- XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_UNKNOWN, (void*)NULL},
+ XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_UNKNOWN, nullptr},
{0xbc254332, L"usehref", XFA_ATTRIBUTE_Usehref, XFA_ATTRIBUTETYPE_Cdata,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xbc8fa350, L"locale", XFA_ATTRIBUTE_Locale, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xbd6e1d88, L"weight", XFA_ATTRIBUTE_Weight, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Normal},
@@ -800,49 +799,49 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Link},
{0xbe52dfbf, L"desc", XFA_ATTRIBUTE_Desc, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet, (void*)NULL},
+ XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet, nullptr},
{0xbe9ba472, L"numbered", XFA_ATTRIBUTE_Numbered, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
{0xc035c6b1, L"dataColumnCount", XFA_ATTRIBUTE_DataColumnCount,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xc0ec9fa4, L"overline", XFA_ATTRIBUTE_Overline, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
{0xc2ba0923, L"urlPolicy", XFA_ATTRIBUTE_UrlPolicy, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xc2bd40fd, L"anchorType", XFA_ATTRIBUTE_AnchorType,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_TopLeft},
{0xc39a88bd, L"labelRef", XFA_ATTRIBUTE_LabelRef, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xc3c1442f, L"bookendLeader", XFA_ATTRIBUTE_BookendLeader,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xc4547a08, L"maxLength", XFA_ATTRIBUTE_MaxLength,
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*) - 1},
+ (void*)-1},
{0xc4fed09b, L"accessKey", XFA_ATTRIBUTE_AccessKey, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xc5762157, L"cursorLocation", XFA_ATTRIBUTE_CursorLocation,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet,
(void*)XFA_ATTRIBUTEENUM_Client},
{0xc860f30a, L"delayedOpen", XFA_ATTRIBUTE_DelayedOpen,
- XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet, (void*)NULL},
+ XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet, nullptr},
{0xc8da4da7, L"target", XFA_ATTRIBUTE_Target, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xca5dc27c, L"dataEncipherment", XFA_ATTRIBUTE_DataEncipherment,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xcb150479, L"afterTarget", XFA_ATTRIBUTE_AfterTarget,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xcbcaf66d, L"leader", XFA_ATTRIBUTE_Leader, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xcca7897e, L"picker", XFA_ATTRIBUTE_Picker, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Host},
{0xcd7f7b54, L"from", XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config, (void*)NULL},
+ XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config, nullptr},
{0xcea5e62c, L"baseProfile", XFA_ATTRIBUTE_BaseProfile,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Full},
@@ -850,7 +849,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Fit},
{0xd3c84d25, L"rowColumnRatio", XFA_ATTRIBUTE_RowColumnRatio,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xd4b01921, L"lineHeight", XFA_ATTRIBUTE_LineHeight,
XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 1)},
@@ -858,28 +857,28 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Inverted},
{0xd50f903a, L"valueRef", XFA_ATTRIBUTE_ValueRef, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xd52482e0, L"maxEntries", XFA_ATTRIBUTE_MaxEntries,
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Config, (void*)5},
{0xd57c513c, L"dataLength", XFA_ATTRIBUTE_DataLength,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xd6128d8d, L"activity", XFA_ATTRIBUTE_Activity, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Click},
{0xd6a39990, L"input", XFA_ATTRIBUTE_Input, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_ConnectionSet, (void*)NULL},
+ XFA_XDPPACKET_ConnectionSet, nullptr},
{0xd6e27f1d, L"value", XFA_ATTRIBUTE_Value, XFA_ATTRIBUTETYPE_Cdata,
XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet |
XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets |
XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xd70798c2, L"blankOrNotBlank", XFA_ATTRIBUTE_BlankOrNotBlank,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Any},
{0xd861f8af, L"addRevocationInfo", XFA_ATTRIBUTE_AddRevocationInfo,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xd8f982bf, L"genericFamily", XFA_ATTRIBUTE_GenericFamily,
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
(void*)XFA_ATTRIBUTEENUM_Serif},
@@ -887,13 +886,13 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Even},
{0xdb55fec5, L"href", XFA_ATTRIBUTE_Href, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xdc75676c, L"textEncoding", XFA_ATTRIBUTE_TextEncoding,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xde7f92ba, L"leadDigits", XFA_ATTRIBUTE_LeadDigits,
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*) - 1},
+ (void*)-1},
{0xe11a2cbc, L"permissions", XFA_ATTRIBUTE_Permissions,
XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)2},
@@ -901,9 +900,9 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
{0xe1a26b56, L"codeBase", XFA_ATTRIBUTE_CodeBase, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xe349d044, L"stock", XFA_ATTRIBUTE_Stock, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xe372ae97, L"isNull", XFA_ATTRIBUTE_IsNull, XFA_ATTRIBUTETYPE_Boolean,
XFA_XDPPACKET_Datasets, (void*)0},
{0xe4c3a5e5, L"restoreState", XFA_ATTRIBUTE_RestoreState,
@@ -923,7 +922,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_Square},
{0xe8f118a8, L"keyCertSign", XFA_ATTRIBUTE_KeyCertSign,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xe948b9a8, L"radius", XFA_ATTRIBUTE_Radius, XFA_ATTRIBUTETYPE_Measure,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)(g_XFAMeasurementData + 0)},
@@ -931,14 +930,14 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
(void*)XFA_ATTRIBUTEENUM_Warn},
{0xea7090a0, L"override", XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_NOTSURE,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xeb091003, L"classId", XFA_ATTRIBUTE_ClassId, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xeb511b54, L"disable", XFA_ATTRIBUTE_Disable, XFA_ATTRIBUTETYPE_Boolean,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
{0xeda9017a, L"scope", XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_NOTSURE,
XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xf197844d, L"match", XFA_ATTRIBUTE_Match, XFA_ATTRIBUTETYPE_Enum,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
(void*)XFA_ATTRIBUTEENUM_Once},
@@ -952,7 +951,7 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
(void*)XFA_ATTRIBUTEENUM_Asterisk},
{0xf575ca75, L"endChar", XFA_ATTRIBUTE_EndChar, XFA_ATTRIBUTETYPE_Cdata,
- XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)NULL},
+ XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
{0xf6b47749, L"lock", XFA_ATTRIBUTE_Lock, XFA_ATTRIBUTETYPE_Integer,
XFA_XDPPACKET_Config, (void*)0},
{0xf6b4afb0, L"long", XFA_ATTRIBUTE_Long, XFA_ATTRIBUTETYPE_Measure,
@@ -963,10 +962,10 @@ const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
(void*)XFA_ATTRIBUTEENUM_None},
{0xf889e747, L"xdpContent", XFA_ATTRIBUTE_XdpContent,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
{0xfea53ec6, L"decipherOnly", XFA_ATTRIBUTE_DecipherOnly,
XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
- (void*)NULL},
+ nullptr},
};
const int32_t g_iXFAAttributeCount =
sizeof(g_XFAAttributeData) / sizeof(XFA_ATTRIBUTEINFO);
@@ -983,7 +982,7 @@ const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = {
{XFA_Element::CalendarSymbols, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_Gregorian},
{XFA_Element::Barcode, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Cdata,
- (void*)NULL},
+ nullptr},
{XFA_Element::Barcode, XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_None},
{XFA_Element::TimePattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
@@ -1016,10 +1015,8 @@ const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = {
(void*)XFA_ATTRIBUTEENUM_Optional},
{XFA_Element::PageSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_OrderedOccurrence},
- {XFA_Element::Equate, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata,
- (void*)NULL},
- {XFA_Element::Equate, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata,
- (void*)NULL},
+ {XFA_Element::Equate, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata, nullptr},
+ {XFA_Element::Equate, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata, nullptr},
{XFA_Element::Traverse, XFA_ATTRIBUTE_Operation, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_Next},
{XFA_Element::Encodings, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
@@ -1037,9 +1034,9 @@ const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = {
{XFA_Element::CurrencySymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_Symbol},
{XFA_Element::EquateRange, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata,
- (void*)NULL},
+ nullptr},
{XFA_Element::EquateRange, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata,
- (void*)NULL},
+ nullptr},
{XFA_Element::SignData, XFA_ATTRIBUTE_Operation, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_Sign},
{XFA_Element::DatePattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
@@ -1051,7 +1048,7 @@ const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = {
{XFA_Element::AppearanceFilter, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
(void*)XFA_ATTRIBUTEENUM_Optional},
{XFA_Element::Form, XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_Cdata,
- (void*)NULL},
+ nullptr},
{XFA_Element::Value, XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_Boolean,
(void*)0},
{XFA_Element::Calculate, XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_Enum,
@@ -3393,7 +3390,7 @@ const uint8_t g_XFAElementAttributeData[] = {
};
const XFA_PACKETINFO g_XFAPacketData[] = {
- {0x0, NULL, XFA_XDPPACKET_USER, NULL,
+ {0x0, nullptr, XFA_XDPPACKET_USER, nullptr,
XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTMANY},
{0x811929d, L"sourceSet", XFA_XDPPACKET_SourceSet,
L"http://www.xfa.org/schema/xfa-source-set/",