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_SRC_FXFA_SRC_COMMON_XFA_UTILS_H_ | 7 #ifndef XFA_SRC_FXFA_SRC_COMMON_XFA_UTILS_H_ |
8 #define XFA_SRC_FXFA_SRC_COMMON_XFA_UTILS_H_ | 8 #define XFA_SRC_FXFA_SRC_COMMON_XFA_UTILS_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/src/common/fxfa_localevalue.h" | 10 #include "xfa/include/fxfa/fxfa_basic.h" |
| 11 |
| 12 class CXFA_LocaleValue; |
11 | 13 |
12 FX_BOOL XFA_FDEExtension_ResolveNamespaceQualifier( | 14 FX_BOOL XFA_FDEExtension_ResolveNamespaceQualifier( |
13 IFDE_XMLElement* pNode, | 15 IFDE_XMLElement* pNode, |
14 const CFX_WideStringC& wsQualifier, | 16 const CFX_WideStringC& wsQualifier, |
15 CFX_WideString& wsNamespaceURI); | 17 CFX_WideString& wsNamespaceURI); |
16 template <class NodeType, class TraverseStrategy> | 18 template <class NodeType, class TraverseStrategy> |
17 class CXFA_NodeIteratorTemplate { | 19 class CXFA_NodeIteratorTemplate { |
18 public: | 20 public: |
19 CXFA_NodeIteratorTemplate(NodeType* pRootNode = NULL) : m_pRoot(pRootNode) { | 21 CXFA_NodeIteratorTemplate(NodeType* pRootNode = NULL) : m_pRoot(pRootNode) { |
20 if (pRootNode) { | 22 if (pRootNode) { |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence); | 211 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence); |
210 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout); | 212 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout); |
211 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout); | 213 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout); |
212 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); | 214 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); |
213 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, | 215 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, |
214 IFX_Stream* pStream, | 216 IFX_Stream* pStream, |
215 const FX_CHAR* pChecksum = NULL, | 217 const FX_CHAR* pChecksum = NULL, |
216 FX_BOOL bSaveXML = FALSE); | 218 FX_BOOL bSaveXML = FALSE); |
217 | 219 |
218 #endif // XFA_SRC_FXFA_SRC_COMMON_XFA_UTILS_H_ | 220 #endif // XFA_SRC_FXFA_SRC_COMMON_XFA_UTILS_H_ |
OLD | NEW |