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 "core/fpdfdoc/include/cpdf_formfield.h" | 7 #include "core/fpdfdoc/cpdf_formfield.h" |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "core/fpdfapi/fpdf_parser/cfdf_document.h" | 11 #include "core/fpdfapi/fpdf_parser/cfdf_document.h" |
12 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" | 12 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" |
13 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" | 13 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" |
14 #include "core/fpdfapi/fpdf_parser/cpdf_number.h" | 14 #include "core/fpdfapi/fpdf_parser/cpdf_number.h" |
15 #include "core/fpdfapi/fpdf_parser/cpdf_simple_parser.h" | 15 #include "core/fpdfapi/fpdf_parser/cpdf_simple_parser.h" |
16 #include "core/fpdfapi/fpdf_parser/cpdf_string.h" | 16 #include "core/fpdfapi/fpdf_parser/cpdf_string.h" |
17 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h" | 17 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h" |
| 18 #include "core/fpdfdoc/cpdf_formcontrol.h" |
| 19 #include "core/fpdfdoc/cpdf_interform.h" |
18 #include "core/fpdfdoc/cpvt_generateap.h" | 20 #include "core/fpdfdoc/cpvt_generateap.h" |
19 #include "core/fpdfdoc/include/cpdf_formcontrol.h" | |
20 #include "core/fpdfdoc/include/cpdf_interform.h" | |
21 #include "third_party/base/stl_util.h" | 21 #include "third_party/base/stl_util.h" |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
25 const int kMaxRecursion = 32; | 25 const int kMaxRecursion = 32; |
26 | 26 |
27 const int kFormListMultiSelect = 0x100; | 27 const int kFormListMultiSelect = 0x100; |
28 | 28 |
29 const int kFormComboEdit = 0x100; | 29 const int kFormComboEdit = 0x100; |
30 | 30 |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 case ListBox: | 994 case ListBox: |
995 NotifyAfterSelectionChange(); | 995 NotifyAfterSelectionChange(); |
996 break; | 996 break; |
997 case ComboBox: | 997 case ComboBox: |
998 NotifyAfterValueChange(); | 998 NotifyAfterValueChange(); |
999 break; | 999 break; |
1000 default: | 1000 default: |
1001 break; | 1001 break; |
1002 } | 1002 } |
1003 } | 1003 } |
OLD | NEW |