| 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" |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 bool XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode); | 169 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 bool XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); | 172 bool XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); |
| 173 | 173 |
| 174 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); | 174 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); |
| 175 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, | 175 void XFA_DataExporter_RegenerateFormFile( |
| 176 IFGAS_Stream* pStream, | 176 CXFA_Node* pNode, |
| 177 const FX_CHAR* pChecksum = nullptr, | 177 const CFX_RetainPtr<IFGAS_Stream>& pStream, |
| 178 bool bSaveXML = false); | 178 const FX_CHAR* pChecksum = nullptr, |
| 179 bool bSaveXML = false); |
| 179 | 180 |
| 180 const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute( | 181 const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute( |
| 181 XFA_Element eElement, | 182 XFA_Element eElement, |
| 182 XFA_ATTRIBUTE eAttribute, | 183 XFA_ATTRIBUTE eAttribute, |
| 183 XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE); | 184 XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE); |
| 184 | 185 |
| 185 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( | 186 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( |
| 186 XFA_Element eElement, | 187 XFA_Element eElement, |
| 187 const CFX_WideStringC& wsAttributeName); | 188 const CFX_WideStringC& wsAttributeName); |
| 188 | 189 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 203 XFA_ATTRIBUTETYPE eType, | 204 XFA_ATTRIBUTETYPE eType, |
| 204 uint32_t dwPacket); | 205 uint32_t dwPacket); |
| 205 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName); | 206 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName); |
| 206 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName); | 207 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName); |
| 207 const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName( | 208 const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName( |
| 208 const CFX_WideStringC& wsName); | 209 const CFX_WideStringC& wsName); |
| 209 const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PACKET ePacket); | 210 const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PACKET ePacket); |
| 210 const XFA_PACKETINFO* XFA_GetPacketByID(uint32_t dwPacket); | 211 const XFA_PACKETINFO* XFA_GetPacketByID(uint32_t dwPacket); |
| 211 | 212 |
| 212 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ | 213 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ |
| OLD | NEW |