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

Side by Side Diff: xfa/fxfa/include/xfa_ffwidgethandler.h

Issue 2089443002: Convert XFA_ELEMENT to an enum class (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: More unknown checks Created 4 years, 6 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/include/xfa_ffwidget.h ('k') | xfa/fxfa/parser/cxfa_assist.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 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 #ifndef XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_
8 #define XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ 8 #define XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 CXFA_Node* CreateRadioButton(CXFA_Node* pParent, CXFA_Node* pBefore) const; 86 CXFA_Node* CreateRadioButton(CXFA_Node* pParent, CXFA_Node* pBefore) const;
87 CXFA_Node* CreateDatetimeEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const; 87 CXFA_Node* CreateDatetimeEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const;
88 CXFA_Node* CreateDecimalField(CXFA_Node* pParent, CXFA_Node* pBefore) const; 88 CXFA_Node* CreateDecimalField(CXFA_Node* pParent, CXFA_Node* pBefore) const;
89 CXFA_Node* CreateNumericField(CXFA_Node* pParent, CXFA_Node* pBefore) const; 89 CXFA_Node* CreateNumericField(CXFA_Node* pParent, CXFA_Node* pBefore) const;
90 CXFA_Node* CreateSignature(CXFA_Node* pParent, CXFA_Node* pBefore) const; 90 CXFA_Node* CreateSignature(CXFA_Node* pParent, CXFA_Node* pBefore) const;
91 CXFA_Node* CreateTextEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const; 91 CXFA_Node* CreateTextEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const;
92 CXFA_Node* CreateDropdownList(CXFA_Node* pParent, CXFA_Node* pBefore) const; 92 CXFA_Node* CreateDropdownList(CXFA_Node* pParent, CXFA_Node* pBefore) const;
93 CXFA_Node* CreateListBox(CXFA_Node* pParent, CXFA_Node* pBefore) const; 93 CXFA_Node* CreateListBox(CXFA_Node* pParent, CXFA_Node* pBefore) const;
94 CXFA_Node* CreateImageField(CXFA_Node* pParent, CXFA_Node* pBefore) const; 94 CXFA_Node* CreateImageField(CXFA_Node* pParent, CXFA_Node* pBefore) const;
95 CXFA_Node* CreatePasswordEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const; 95 CXFA_Node* CreatePasswordEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const;
96 CXFA_Node* CreateField(XFA_ELEMENT eElement, 96 CXFA_Node* CreateField(XFA_Element eElement,
97 CXFA_Node* pParent, 97 CXFA_Node* pParent,
98 CXFA_Node* pBefore) const; 98 CXFA_Node* pBefore) const;
99 CXFA_Node* CreateArc(CXFA_Node* pParent, CXFA_Node* pBefore) const; 99 CXFA_Node* CreateArc(CXFA_Node* pParent, CXFA_Node* pBefore) const;
100 CXFA_Node* CreateRectangle(CXFA_Node* pParent, CXFA_Node* pBefore) const; 100 CXFA_Node* CreateRectangle(CXFA_Node* pParent, CXFA_Node* pBefore) const;
101 CXFA_Node* CreateImage(CXFA_Node* pParent, CXFA_Node* pBefore) const; 101 CXFA_Node* CreateImage(CXFA_Node* pParent, CXFA_Node* pBefore) const;
102 CXFA_Node* CreateLine(CXFA_Node* pParent, CXFA_Node* pBefore) const; 102 CXFA_Node* CreateLine(CXFA_Node* pParent, CXFA_Node* pBefore) const;
103 CXFA_Node* CreateText(CXFA_Node* pParent, CXFA_Node* pBefore) const; 103 CXFA_Node* CreateText(CXFA_Node* pParent, CXFA_Node* pBefore) const;
104 CXFA_Node* CreateDraw(XFA_ELEMENT eElement, 104 CXFA_Node* CreateDraw(XFA_Element eElement,
105 CXFA_Node* pParent, 105 CXFA_Node* pParent,
106 CXFA_Node* pBefore) const; 106 CXFA_Node* pBefore) const;
107 107
108 CXFA_Node* CreateSubform(CXFA_Node* pParent, CXFA_Node* pBefore) const; 108 CXFA_Node* CreateSubform(CXFA_Node* pParent, CXFA_Node* pBefore) const;
109 CXFA_Node* CreateFormItem(XFA_ELEMENT eElement, 109 CXFA_Node* CreateFormItem(XFA_Element eElement,
110 CXFA_Node* pParent, 110 CXFA_Node* pParent,
111 CXFA_Node* pBefore) const; 111 CXFA_Node* pBefore) const;
112 CXFA_Node* CreateCopyNode(XFA_ELEMENT eElement, 112 CXFA_Node* CreateCopyNode(XFA_Element eElement,
113 CXFA_Node* pParent, 113 CXFA_Node* pParent,
114 CXFA_Node* pBefore = NULL) const; 114 CXFA_Node* pBefore = NULL) const;
115 CXFA_Node* CreateTemplateNode(XFA_ELEMENT eElement, 115 CXFA_Node* CreateTemplateNode(XFA_Element eElement,
116 CXFA_Node* pParent, 116 CXFA_Node* pParent,
117 CXFA_Node* pBefore) const; 117 CXFA_Node* pBefore) const;
118 CXFA_Node* CreateFontNode(CXFA_Node* pParent) const; 118 CXFA_Node* CreateFontNode(CXFA_Node* pParent) const;
119 CXFA_Node* CreateMarginNode(CXFA_Node* pParent, 119 CXFA_Node* CreateMarginNode(CXFA_Node* pParent,
120 uint32_t dwFlags, 120 uint32_t dwFlags,
121 FX_FLOAT fInsets[4]) const; 121 FX_FLOAT fInsets[4]) const;
122 CXFA_Node* CreateValueNode(XFA_ELEMENT eValue, CXFA_Node* pParent) const; 122 CXFA_Node* CreateValueNode(XFA_Element eValue, CXFA_Node* pParent) const;
123 CXFA_Document* GetObjFactory() const; 123 CXFA_Document* GetObjFactory() const;
124 CXFA_Document* GetXFADoc() const; 124 CXFA_Document* GetXFADoc() const;
125 125
126 CXFA_FFDocView* m_pDocView; 126 CXFA_FFDocView* m_pDocView;
127 }; 127 };
128 128
129 #endif // XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ 129 #endif // XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/include/xfa_ffwidget.h ('k') | xfa/fxfa/parser/cxfa_assist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698