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/include/fxfa/fxfa_basic.h" | 11 #include "xfa/fxfa/include/fxfa_basic.h" |
12 | 12 |
13 class CFDE_XMLElement; | 13 class CFDE_XMLElement; |
14 class CFDE_XMLNode; | 14 class CFDE_XMLNode; |
15 class CXFA_LocaleValue; | 15 class CXFA_LocaleValue; |
16 | 16 |
17 inline FX_BOOL XFA_IsSpace(FX_WCHAR c) { | 17 inline FX_BOOL XFA_IsSpace(FX_WCHAR c) { |
18 return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09); | 18 return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09); |
19 } | 19 } |
20 inline FX_BOOL XFA_IsDigit(FX_WCHAR c) { | 20 inline FX_BOOL XFA_IsDigit(FX_WCHAR c) { |
21 return c >= '0' && c <= '9'; | 21 return c >= '0' && c <= '9'; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence); | 216 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence); |
217 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout); | 217 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout); |
218 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout); | 218 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout); |
219 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); | 219 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); |
220 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, | 220 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, |
221 IFX_Stream* pStream, | 221 IFX_Stream* pStream, |
222 const FX_CHAR* pChecksum = NULL, | 222 const FX_CHAR* pChecksum = NULL, |
223 FX_BOOL bSaveXML = FALSE); | 223 FX_BOOL bSaveXML = FALSE); |
224 | 224 |
225 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ | 225 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ |
OLD | NEW |