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 #include "fpdfsdk/formfiller/cffl_interactiveformfiller.h" | 7 #include "fpdfsdk/formfiller/cffl_interactiveformfiller.h" |
8 | 8 |
9 #include "core/fpdfapi/fpdf_page/cpdf_page.h" | 9 #include "core/fpdfapi/fpdf_page/cpdf_page.h" |
10 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" | 10 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" |
11 #include "core/fxge/cfx_graphstatedata.h" | 11 #include "core/fxge/cfx_graphstatedata.h" |
12 #include "core/fxge/cfx_pathdata.h" | 12 #include "core/fxge/cfx_pathdata.h" |
13 #include "core/fxge/cfx_renderdevice.h" | 13 #include "core/fxge/cfx_renderdevice.h" |
| 14 #include "fpdfsdk/cpdfsdk_document.h" |
| 15 #include "fpdfsdk/cpdfsdk_environment.h" |
| 16 #include "fpdfsdk/cpdfsdk_interform.h" |
| 17 #include "fpdfsdk/cpdfsdk_pageview.h" |
| 18 #include "fpdfsdk/cpdfsdk_widget.h" |
14 #include "fpdfsdk/formfiller/cffl_checkbox.h" | 19 #include "fpdfsdk/formfiller/cffl_checkbox.h" |
15 #include "fpdfsdk/formfiller/cffl_combobox.h" | 20 #include "fpdfsdk/formfiller/cffl_combobox.h" |
16 #include "fpdfsdk/formfiller/cffl_formfiller.h" | 21 #include "fpdfsdk/formfiller/cffl_formfiller.h" |
17 #include "fpdfsdk/formfiller/cffl_listbox.h" | 22 #include "fpdfsdk/formfiller/cffl_listbox.h" |
18 #include "fpdfsdk/formfiller/cffl_pushbutton.h" | 23 #include "fpdfsdk/formfiller/cffl_pushbutton.h" |
19 #include "fpdfsdk/formfiller/cffl_radiobutton.h" | 24 #include "fpdfsdk/formfiller/cffl_radiobutton.h" |
20 #include "fpdfsdk/formfiller/cffl_textfield.h" | 25 #include "fpdfsdk/formfiller/cffl_textfield.h" |
21 #include "fpdfsdk/include/cpdfsdk_document.h" | |
22 #include "fpdfsdk/include/cpdfsdk_environment.h" | |
23 #include "fpdfsdk/include/cpdfsdk_interform.h" | |
24 #include "fpdfsdk/include/cpdfsdk_pageview.h" | |
25 #include "fpdfsdk/include/cpdfsdk_widget.h" | |
26 #include "fpdfsdk/pdfwindow/PWL_Utils.h" | 26 #include "fpdfsdk/pdfwindow/PWL_Utils.h" |
27 | 27 |
28 #define FFL_MAXLISTBOXHEIGHT 140.0f | 28 #define FFL_MAXLISTBOXHEIGHT 140.0f |
29 | 29 |
30 CFFL_InteractiveFormFiller::CFFL_InteractiveFormFiller( | 30 CFFL_InteractiveFormFiller::CFFL_InteractiveFormFiller( |
31 CPDFSDK_Environment* pEnv) | 31 CPDFSDK_Environment* pEnv) |
32 : m_pEnv(pEnv), m_bNotifying(FALSE) {} | 32 : m_pEnv(pEnv), m_bNotifying(FALSE) {} |
33 | 33 |
34 CFFL_InteractiveFormFiller::~CFFL_InteractiveFormFiller() {} | 34 CFFL_InteractiveFormFiller::~CFFL_InteractiveFormFiller() {} |
35 | 35 |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 bExit = TRUE; | 982 bExit = TRUE; |
983 m_bNotifying = FALSE; | 983 m_bNotifying = FALSE; |
984 return; | 984 return; |
985 } | 985 } |
986 } | 986 } |
987 | 987 |
988 m_bNotifying = FALSE; | 988 m_bNotifying = FALSE; |
989 } | 989 } |
990 } | 990 } |
991 } | 991 } |
OLD | NEW |