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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal); | 206 FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal); |
207 int32_t XFA_MapRotation(int32_t nRotation); | 207 int32_t XFA_MapRotation(int32_t nRotation); |
208 | 208 |
209 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode); | 209 FX_BOOL XFA_RecognizeRichText(CFDE_XMLElement* pRichTextXMLNode); |
210 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode, | 210 void XFA_GetPlainTextFromRichText(CFDE_XMLNode* pXMLNode, |
211 CFX_WideString& wsPlainText); | 211 CFX_WideString& wsPlainText); |
212 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); | 212 FX_BOOL XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode); |
213 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer); | 213 IFX_Stream* XFA_CreateWideTextRead(const CFX_WideString& wsBuffer); |
214 FX_BOOL XFA_IsLayoutElement(XFA_ELEMENT eElement, | 214 FX_BOOL XFA_IsLayoutElement(XFA_ELEMENT eElement, |
215 FX_BOOL bLayoutContainer = FALSE); | 215 FX_BOOL bLayoutContainer = FALSE); |
216 FX_BOOL XFA_IsTakingupSpace(XFA_ATTRIBUTEENUM ePresence); | 216 |
217 FX_BOOL XFA_IsFlowingLayout(XFA_ATTRIBUTEENUM eLayout); | |
218 FX_BOOL XFA_IsHorizontalFlow(XFA_ATTRIBUTEENUM eLayout); | |
219 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); | 217 void XFA_DataExporter_DealWithDataGroupNode(CXFA_Node* pDataNode); |
220 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, | 218 void XFA_DataExporter_RegenerateFormFile(CXFA_Node* pNode, |
221 IFX_Stream* pStream, | 219 IFX_Stream* pStream, |
222 const FX_CHAR* pChecksum = NULL, | 220 const FX_CHAR* pChecksum = NULL, |
223 FX_BOOL bSaveXML = FALSE); | 221 FX_BOOL bSaveXML = FALSE); |
224 | 222 |
225 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ | 223 #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ |
OLD | NEW |