OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |