| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(CXFA_Node* pNode, |
| 176 IFX_Stream* pStream, | 176 IFGAS_Stream* pStream, |
| 177 const FX_CHAR* pChecksum = nullptr, | 177 const FX_CHAR* pChecksum = nullptr, |
| 178 bool bSaveXML = false); | 178 bool bSaveXML = false); |
| 179 | 179 |
| 180 const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute( | 180 const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute( |
| 181 XFA_Element eElement, | 181 XFA_Element eElement, |
| 182 XFA_ATTRIBUTE eAttribute, | 182 XFA_ATTRIBUTE eAttribute, |
| 183 XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE); | 183 XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE); |
| 184 | 184 |
| 185 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( | 185 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( |
| 186 XFA_Element eElement, | 186 XFA_Element eElement, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 203 XFA_ATTRIBUTETYPE eType, | 203 XFA_ATTRIBUTETYPE eType, |
| 204 uint32_t dwPacket); | 204 uint32_t dwPacket); |
| 205 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName); | 205 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName); |
| 206 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName); | 206 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName); |
| 207 const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName( | 207 const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName( |
| 208 const CFX_WideStringC& wsName); | 208 const CFX_WideStringC& wsName); |
| 209 const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PACKET ePacket); | 209 const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PACKET ePacket); |
| 210 const XFA_PACKETINFO* XFA_GetPacketByID(uint32_t dwPacket); | 210 const XFA_PACKETINFO* XFA_GetPacketByID(uint32_t dwPacket); |
| 211 | 211 |
| 212 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ | 212 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ |
| OLD | NEW |