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

Side by Side Diff: xfa/fxfa/parser/xfa_utils.h

Issue 2067253002: Cleanup XML parser code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback 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/parser/xfa_parser_imp.h ('k') | no next file » | 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_PARSER_XFA_UTILS_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_UTILS_H_
8 #define XFA_FXFA_PARSER_XFA_UTILS_H_ 8 #define XFA_FXFA_PARSER_XFA_UTILS_H_
9 9
10 #include "xfa/fde/xml/fde_xml.h" 10 #include "xfa/fde/xml/fde_xml.h"
11 #include "xfa/fgas/crt/fgas_stream.h"
12 #include "xfa/fgas/crt/fgas_utils.h"
11 #include "xfa/fxfa/include/fxfa_basic.h" 13 #include "xfa/fxfa/include/fxfa_basic.h"
12 14
13 class CFDE_XMLElement; 15 class CFDE_XMLElement;
14 class CFDE_XMLNode; 16 class CFDE_XMLNode;
15 class CXFA_LocaleValue; 17 class CXFA_LocaleValue;
16 class CXFA_Node; 18 class CXFA_Node;
17 class CXFA_WidgetData; 19 class CXFA_WidgetData;
18 20
19 inline FX_BOOL XFA_IsSpace(FX_WCHAR c) { 21 inline FX_BOOL XFA_IsSpace(FX_WCHAR c) {
20 return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09); 22 return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 FX_BOOL XFA_IsLayoutElement(XFA_ELEMENT eElement, 181 FX_BOOL XFA_IsLayoutElement(XFA_ELEMENT eElement,
180 FX_BOOL bLayoutContainer = FALSE); 182 FX_BOOL bLayoutContainer = FALSE);
181 183
182 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); 184 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode);
183 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, 185 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode,
184 IFX_Stream* pStream, 186 IFX_Stream* pStream,
185 const FX_CHAR* pChecksum = NULL, 187 const FX_CHAR* pChecksum = NULL,
186 FX_BOOL bSaveXML = FALSE); 188 FX_BOOL bSaveXML = FALSE);
187 189
188 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ 190 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_parser_imp.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698