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

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

Issue 2132513003: Cleanup redundant method names. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 5 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
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"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 } 156 }
157 return GetCurrent(); 157 return GetCurrent();
158 } 158 }
159 159
160 protected: 160 protected:
161 NodeType* m_pRoot; 161 NodeType* m_pRoot;
162 CFX_StackTemplate<NodeType*> m_NodeStack; 162 CFX_StackTemplate<NodeType*> m_NodeStack;
163 }; 163 };
164 164
165 CXFA_Node* XFA_CreateUIChild(CXFA_Node* pNode, XFA_Element& eWidgetType);
166 CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData); 165 CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData);
167 FX_DOUBLE XFA_WideStringToDouble(const CFX_WideString& wsStringVal);
168 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal); 166 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal);
169 int32_t XFA_MapRotation(int32_t nRotation); 167 int32_t XFA_MapRotation(int32_t nRotation);
170 168
171 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode); 169 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode);
172 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode, 170 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode,
173 CFX_WideString& wsPlainText); 171 CFX_WideString& wsPlainText);
174 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); 172 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode);
175 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer); 173 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer);
176 FX_BOOL XFA_IsLayoutElement(XFA_Element eElement,
177 FX_BOOL bLayoutContainer = FALSE);
178 174
179 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); 175 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode);
180 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, 176 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode,
181 IFX_Stream* pStream, 177 IFX_Stream* pStream,
182 const FX_CHAR* pChecksum = nullptr, 178 const FX_CHAR* pChecksum = nullptr,
183 FX_BOOL bSaveXML = FALSE); 179 FX_BOOL bSaveXML = FALSE);
184 180
185 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ 181 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698