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_INCLUDE_FXFA_H_ | 7 #ifndef XFA_FXFA_INCLUDE_FXFA_H_ |
8 #define XFA_FXFA_INCLUDE_FXFA_H_ | 8 #define XFA_FXFA_INCLUDE_FXFA_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 #define XFA_EVENTERROR_NotExist 0 | 170 #define XFA_EVENTERROR_NotExist 0 |
171 #define XFA_EVENTERROR_Disabled 2 | 171 #define XFA_EVENTERROR_Disabled 2 |
172 | 172 |
173 #define XFA_RENDERSTATUS_Ready 1 | 173 #define XFA_RENDERSTATUS_Ready 1 |
174 #define XFA_RENDERSTATUS_ToBeContinued 2 | 174 #define XFA_RENDERSTATUS_ToBeContinued 2 |
175 #define XFA_RENDERSTATUS_Done 3 | 175 #define XFA_RENDERSTATUS_Done 3 |
176 #define XFA_RENDERSTATUS_Failed -1 | 176 #define XFA_RENDERSTATUS_Failed -1 |
177 | 177 |
178 #define XFA_TRAVERSEWAY_Tranvalse 0x0001 | 178 #define XFA_TRAVERSEWAY_Tranvalse 0x0001 |
179 #define XFA_TRAVERSEWAY_Form 0x0002 | 179 #define XFA_TRAVERSEWAY_Form 0x0002 |
180 #define XFA_WIDGETFILTER_Visible 0x0001 | |
181 #define XFA_WIDGETFILTER_Viewable 0x0010 | |
182 #define XFA_WIDGETFILTER_Printable 0x0020 | |
183 #define XFA_WIDGETFILTER_Field 0x0100 | |
184 #define XFA_WIDGETFILTER_AllType 0x0F00 | |
185 | 180 |
186 #define XFA_WIDGETSTATUS_Visible 0x00000001 | 181 enum XFA_WidgetStatus { |
187 #define XFA_WIDGETSTATUS_Invisible 0x00000002 | 182 XFA_WidgetStatus_None = 0, |
188 #define XFA_WIDGETSTATUS_Hidden 0x00000004 | 183 |
189 #define XFA_WIDGETSTATUS_Viewable 0x00000010 | 184 XFA_WidgetStatus_Access = 1 << 0, |
190 #define XFA_WIDGETSTATUS_Printable 0x00000020 | 185 XFA_WidgetStatus_ButtonDown = 1 << 1, |
191 #define XFA_WIDGETSTATUS_Focused 0x00000100 | 186 XFA_WidgetStatus_Disabled = 1 << 2, |
| 187 XFA_WidgetStatus_Focused = 1 << 3, |
| 188 XFA_WidgetStatus_Highlight = 1 << 4, |
| 189 XFA_WidgetStatus_Printable = 1 << 5, |
| 190 XFA_WidgetStatus_RectCached = 1 << 6, |
| 191 XFA_WidgetStatus_TextEditValueChanged = 1 << 7, |
| 192 XFA_WidgetStatus_Viewable = 1 << 8, |
| 193 XFA_WidgetStatus_Visible = 1 << 9 |
| 194 }; |
192 | 195 |
193 enum XFA_EVENTTYPE { | 196 enum XFA_EVENTTYPE { |
194 XFA_EVENT_Click, | 197 XFA_EVENT_Click, |
195 XFA_EVENT_Change, | 198 XFA_EVENT_Change, |
196 XFA_EVENT_DocClose, | 199 XFA_EVENT_DocClose, |
197 XFA_EVENT_DocReady, | 200 XFA_EVENT_DocReady, |
198 XFA_EVENT_Enter, | 201 XFA_EVENT_Enter, |
199 XFA_EVENT_Exit, | 202 XFA_EVENT_Exit, |
200 XFA_EVENT_Full, | 203 XFA_EVENT_Full, |
201 XFA_EVENT_IndexChange, | 204 XFA_EVENT_IndexChange, |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 virtual void Reset() = 0; | 548 virtual void Reset() = 0; |
546 virtual CXFA_FFWidget* MoveToFirst() = 0; | 549 virtual CXFA_FFWidget* MoveToFirst() = 0; |
547 virtual CXFA_FFWidget* MoveToLast() = 0; | 550 virtual CXFA_FFWidget* MoveToLast() = 0; |
548 virtual CXFA_FFWidget* MoveToNext() = 0; | 551 virtual CXFA_FFWidget* MoveToNext() = 0; |
549 virtual CXFA_FFWidget* MoveToPrevious() = 0; | 552 virtual CXFA_FFWidget* MoveToPrevious() = 0; |
550 virtual CXFA_FFWidget* GetCurrentWidget() = 0; | 553 virtual CXFA_FFWidget* GetCurrentWidget() = 0; |
551 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; | 554 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; |
552 }; | 555 }; |
553 | 556 |
554 #endif // XFA_FXFA_INCLUDE_FXFA_H_ | 557 #endif // XFA_FXFA_INCLUDE_FXFA_H_ |
OLD | NEW |