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

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

Issue 1841173002: Rename GetElementValue() to GetDirectObject{By,At}(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Use "At" for arrays. Created 4 years, 8 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
OLDNEW
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/fxfa/parser/xfa_basic_data.h" 7 #include "xfa/fxfa/parser/xfa_basic_data.h"
8 8
9 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" 9 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h"
10 #include "xfa/fxfa/parser/xfa_basic_imp.h" 10 #include "xfa/fxfa/parser/xfa_basic_imp.h"
(...skipping 4064 matching lines...) Expand 10 before | Expand all | Expand 10 after
4075 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_GetAttribute}, 4075 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_GetAttribute},
4076 {0x5468e2a0, L"setAttribute", 4076 {0x5468e2a0, L"setAttribute",
4077 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SetAttribute}, 4077 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SetAttribute},
4078 {0x5ee00996, L"setElement", 4078 {0x5ee00996, L"setElement",
4079 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SetElement}, 4079 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SetElement},
4080 {0x92dada4f, L"saveFilteredXML", 4080 {0x92dada4f, L"saveFilteredXML",
4081 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SaveFilteredXML}, 4081 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SaveFilteredXML},
4082 {0x9c456500, L"saveXML", 4082 {0x9c456500, L"saveXML",
4083 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SaveXML}, 4083 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_SaveXML},
4084 {0xabd3200a, L"getElement", 4084 {0xabd3200a, L"getElement",
4085 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_GetElement}, 4085 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_GetObjectBy},
4086 {0xb269c60d, L"isPropertySpecified", 4086 {0xb269c60d, L"isPropertySpecified",
4087 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_IsPropertySpecified}, 4087 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_IsPropertySpecified},
4088 {0xb528be91, L"loadXML", 4088 {0xb528be91, L"loadXML",
4089 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_LoadXML}, 4089 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_LoadXML},
4090 {0xd9f46591, L"clone", 4090 {0xd9f46591, L"clone",
4091 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_Clone}, 4091 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_Clone},
4092 {0xe006a76b, L"assignNode", 4092 {0xe006a76b, L"assignNode",
4093 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_AssignNode}, 4093 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_NodeClass_AssignNode},
4094 {0x7303fcea, L"getDelta", 4094 {0x7303fcea, L"getDelta",
4095 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ContainerClass_GetDelta}, 4095 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ContainerClass_GetDelta},
(...skipping 3228 matching lines...) Expand 10 before | Expand all | Expand 10 after
7324 XFA_SCRIPT_Object}, 7324 XFA_SCRIPT_Object},
7325 {0xa52682bd, L"{default}", 7325 {0xa52682bd, L"{default}",
7326 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, 7326 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1,
7327 XFA_SCRIPT_Basic}, 7327 XFA_SCRIPT_Basic},
7328 {0xd6e27f1d, L"value", 7328 {0xd6e27f1d, L"value",
7329 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, 7329 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1,
7330 XFA_SCRIPT_Basic}, 7330 XFA_SCRIPT_Basic},
7331 }; 7331 };
7332 const int32_t g_iSomAttributeCount = 7332 const int32_t g_iSomAttributeCount =
7333 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); 7333 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698