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_WIDGETDATA_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |
8 #define XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ | 8 #define XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void GetEventList(CXFA_NodeArray& events); | 54 void GetEventList(CXFA_NodeArray& events); |
55 int32_t GetEventByActivity(int32_t iActivity, | 55 int32_t GetEventByActivity(int32_t iActivity, |
56 CXFA_NodeArray& events, | 56 CXFA_NodeArray& events, |
57 FX_BOOL bIsFormReady = FALSE); | 57 FX_BOOL bIsFormReady = FALSE); |
58 CXFA_Value GetDefaultValue(FX_BOOL bModified = FALSE); | 58 CXFA_Value GetDefaultValue(FX_BOOL bModified = FALSE); |
59 CXFA_Value GetFormValue(FX_BOOL bModified = FALSE); | 59 CXFA_Value GetFormValue(FX_BOOL bModified = FALSE); |
60 CXFA_Calculate GetCalculate(FX_BOOL bModified = FALSE); | 60 CXFA_Calculate GetCalculate(FX_BOOL bModified = FALSE); |
61 CXFA_Validate GetValidate(FX_BOOL bModified = FALSE); | 61 CXFA_Validate GetValidate(FX_BOOL bModified = FALSE); |
62 CXFA_Bind GetBind(FX_BOOL bModified = FALSE); | 62 CXFA_Bind GetBind(FX_BOOL bModified = FALSE); |
63 CXFA_Assist GetAssist(FX_BOOL bModified = FALSE); | 63 CXFA_Assist GetAssist(FX_BOOL bModified = FALSE); |
64 uint32_t GetRelevantStatus(); | |
65 FX_BOOL GetWidth(FX_FLOAT& fWidth); | 64 FX_BOOL GetWidth(FX_FLOAT& fWidth); |
66 FX_BOOL GetHeight(FX_FLOAT& fHeight); | 65 FX_BOOL GetHeight(FX_FLOAT& fHeight); |
67 FX_BOOL GetMinWidth(FX_FLOAT& fMinWidth); | 66 FX_BOOL GetMinWidth(FX_FLOAT& fMinWidth); |
68 FX_BOOL GetMinHeight(FX_FLOAT& fMinHeight); | 67 FX_BOOL GetMinHeight(FX_FLOAT& fMinHeight); |
69 FX_BOOL GetMaxWidth(FX_FLOAT& fMaxWidth); | 68 FX_BOOL GetMaxWidth(FX_FLOAT& fMaxWidth); |
70 FX_BOOL GetMaxHeight(FX_FLOAT& fMaxHeight); | 69 FX_BOOL GetMaxHeight(FX_FLOAT& fMaxHeight); |
71 CXFA_Border GetUIBorder(FX_BOOL bModified = FALSE); | 70 CXFA_Border GetUIBorder(FX_BOOL bModified = FALSE); |
72 CXFA_Margin GetUIMargin(FX_BOOL bModified = FALSE); | 71 CXFA_Margin GetUIMargin(FX_BOOL bModified = FALSE); |
73 void GetUIMargin(CFX_RectF& rtUIMargin); | 72 void GetUIMargin(CFX_RectF& rtUIMargin); |
74 int32_t GetButtonHighlight(); | 73 int32_t GetButtonHighlight(); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 int32_t nIndex = -1); | 170 int32_t nIndex = -1); |
172 void FormatNumStr(const CFX_WideString& wsValue, | 171 void FormatNumStr(const CFX_WideString& wsValue, |
173 IFX_Locale* pLocale, | 172 IFX_Locale* pLocale, |
174 CFX_WideString& wsOutput); | 173 CFX_WideString& wsOutput); |
175 | 174 |
176 CXFA_Node* m_pUiChildNode; | 175 CXFA_Node* m_pUiChildNode; |
177 XFA_ELEMENT m_eUIType; | 176 XFA_ELEMENT m_eUIType; |
178 }; | 177 }; |
179 | 178 |
180 #endif // XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ | 179 #endif // XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |
OLD | NEW |