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

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

Issue 2165993002: Move xfa_basic_imp to cxfa_widetextread. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback 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
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_pagemgr_new.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"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 }; 163 };
164 164
165 CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData); 165 CXFA_LocaleValue XFA_GetLocaleValue(CXFA_WidgetData* pWidgetData);
166 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal); 166 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal);
167 int32_t XFA_MapRotation(int32_t nRotation); 167 int32_t XFA_MapRotation(int32_t nRotation);
168 168
169 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode); 169 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode);
170 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode, 170 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode,
171 CFX_WideString& wsPlainText); 171 CFX_WideString& wsPlainText);
172 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); 172 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode);
173 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer);
174 173
175 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); 174 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode);
176 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, 175 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode,
177 IFX_Stream* pStream, 176 IFX_Stream* pStream,
178 const FX_CHAR* pChecksum = nullptr, 177 const FX_CHAR* pChecksum = nullptr,
179 FX_BOOL bSaveXML = FALSE); 178 FX_BOOL bSaveXML = FALSE);
180 179
180 const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute(
181 XFA_Element eElement,
182 XFA_ATTRIBUTE eAttribute,
183 XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE);
184
185 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName(
186 XFA_Element eElement,
187 const CFX_WideStringC& wsAttributeName);
188
189 const XFA_PROPERTY* XFA_GetPropertyOfElement(XFA_Element eElement,
190 XFA_Element eProperty,
191 uint32_t dwPacket);
192 const XFA_PROPERTY* XFA_GetElementProperties(XFA_Element eElement,
193 int32_t& iCount);
194 const uint8_t* XFA_GetElementAttributes(XFA_Element eElement, int32_t& iCount);
195 const XFA_ELEMENTINFO* XFA_GetElementByID(XFA_Element eName);
196 XFA_Element XFA_GetElementTypeForName(const CFX_WideStringC& wsName);
197 CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_Element eElement,
198 XFA_ATTRIBUTE eAttribute,
199 uint32_t dwPacket);
200 FX_BOOL XFA_GetAttributeDefaultValue(void*& pValue,
201 XFA_Element eElement,
202 XFA_ATTRIBUTE eAttribute,
203 XFA_ATTRIBUTETYPE eType,
204 uint32_t dwPacket);
205 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName);
206 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName);
207 const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName(
208 const CFX_WideStringC& wsName);
209 const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PACKET ePacket);
210 const XFA_PACKETINFO* XFA_GetPacketByID(uint32_t dwPacket);
211
181 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ 212 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp ('k') | xfa/fxfa/parser/xfa_utils_imp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698