OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CXFA_VALIDATE_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_VALIDATE_H_ |
8 #define XFA_FXFA_PARSER_CXFA_VALIDATE_H_ | 8 #define XFA_FXFA_PARSER_CXFA_VALIDATE_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 void SetFormatMessageText(CFX_WideString wsMessage); | 26 void SetFormatMessageText(CFX_WideString wsMessage); |
27 void GetNullMessageText(CFX_WideString& wsMessage); | 27 void GetNullMessageText(CFX_WideString& wsMessage); |
28 void SetNullMessageText(CFX_WideString wsMessage); | 28 void SetNullMessageText(CFX_WideString wsMessage); |
29 void GetScriptMessageText(CFX_WideString& wsMessage); | 29 void GetScriptMessageText(CFX_WideString& wsMessage); |
30 void SetScriptMessageText(CFX_WideString wsMessage); | 30 void SetScriptMessageText(CFX_WideString wsMessage); |
31 void GetPicture(CFX_WideString& wsPicture); | 31 void GetPicture(CFX_WideString& wsPicture); |
32 CXFA_Script GetScript(); | 32 CXFA_Script GetScript(); |
33 | 33 |
34 protected: | 34 protected: |
35 void GetMessageText(CFX_WideString& wsMessage, | 35 void GetMessageText(CFX_WideString& wsMessage, |
36 const CFX_WideStringC& wsMessageType); | 36 const CFX_WideString& wsMessageType); |
37 void SetMessageText(CFX_WideString& wsMessage, | 37 void SetMessageText(CFX_WideString& wsMessage, |
38 const CFX_WideStringC& wsMessageType); | 38 const CFX_WideString& wsMessageType); |
39 FX_BOOL SetTestValue(int32_t iType, | 39 FX_BOOL SetTestValue(int32_t iType, |
40 CFX_WideString& wsValue, | 40 CFX_WideString& wsValue, |
41 XFA_ATTRIBUTEENUM eName); | 41 XFA_ATTRIBUTEENUM eName); |
42 }; | 42 }; |
43 | 43 |
44 #endif // XFA_FXFA_PARSER_CXFA_VALIDATE_H_ | 44 #endif // XFA_FXFA_PARSER_CXFA_VALIDATE_H_ |
OLD | NEW |