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

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

Issue 1836353002: Remove IFDE_XML* classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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.cpp ('k') | xfa/fxfa/parser/xfa_utils_imp.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_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/include/fxfa/fxfa_basic.h"
12 12
13 class CFDE_XMLElement;
14 class CFDE_XMLNode;
13 class CXFA_LocaleValue; 15 class CXFA_LocaleValue;
14 16
15 FX_BOOL XFA_FDEExtension_ResolveNamespaceQualifier( 17 FX_BOOL XFA_FDEExtension_ResolveNamespaceQualifier(
16 IFDE_XMLElement* pNode, 18 CFDE_XMLElement* pNode,
17 const CFX_WideStringC& wsQualifier, 19 const CFX_WideStringC& wsQualifier,
18 CFX_WideString& wsNamespaceURI); 20 CFX_WideString& wsNamespaceURI);
19 template <class NodeType, class TraverseStrategy> 21 template <class NodeType, class TraverseStrategy>
20 class CXFA_NodeIteratorTemplate { 22 class CXFA_NodeIteratorTemplate {
21 public: 23 public:
22 CXFA_NodeIteratorTemplate(NodeType* pRootNode = NULL) : m_pRoot(pRootNode) { 24 CXFA_NodeIteratorTemplate(NodeType* pRootNode = NULL) : m_pRoot(pRootNode) {
23 if (pRootNode) { 25 if (pRootNode) {
24 m_NodeStack.Push(pRootNode); 26 m_NodeStack.Push(pRootNode);
25 } 27 }
26 } 28 }
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 195
194 CXFA_Node* XFA_CreateUIChild(CXFA_Node* pNode, XFA_ELEMENT& eWidgetType); 196 CXFA_Node* XFA_CreateUIChild(CXFA_Node* pNode, XFA_ELEMENT& eWidgetType);
195 CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData); 197 CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData);
196 CFX_WideString XFA_NumericLimit(const CFX_WideString& wsValue, 198 CFX_WideString XFA_NumericLimit(const CFX_WideString& wsValue,
197 int32_t iLead, 199 int32_t iLead,
198 int32_t iTread); 200 int32_t iTread);
199 FX_DOUBLE XFA_WideStringToDouble(const CFX_WideString& wsStringVal); 201 FX_DOUBLE XFA_WideStringToDouble(const CFX_WideString& wsStringVal);
200 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal); 202 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal);
201 int32_t XFA_MapRotation(int32_t nRotation); 203 int32_t XFA_MapRotation(int32_t nRotation);
202 204
203 FX_BOOL XFA_RecognizeRichText(IFDE_XMLElement* pRichTextXMLNode); 205 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode);
204 void XFA_GetPlainTextFromRichText(IFDE_XMLNode* pXMLNode, 206 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode,
205 CFX_WideString& wsPlainText); 207 CFX_WideString& wsPlainText);
206 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); 208 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode);
207 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer); 209 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer);
208 FX_BOOL XFA_IsLayoutElement(XFA_ELEMENT eElement, 210 FX_BOOL XFA_IsLayoutElement(XFA_ELEMENT eElement,
209 FX_BOOL bLayoutContainer = FALSE); 211 FX_BOOL bLayoutContainer = FALSE);
210 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence); 212 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence);
211 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout); 213 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout);
212 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout); 214 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout);
213 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); 215 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode);
214 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, 216 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode,
215 IFX_Stream* pStream, 217 IFX_Stream* pStream,
216 const FX_CHAR* pChecksum = NULL, 218 const FX_CHAR* pChecksum = NULL,
217 FX_BOOL bSaveXML = FALSE); 219 FX_BOOL bSaveXML = FALSE);
218 220
219 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ 221 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_parser_imp.cpp ('k') | xfa/fxfa/parser/xfa_utils_imp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698