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 #include "fpdfsdk/include/cpdfsdk_xfaannothandler.h" | 7 #include "fpdfsdk/include/cpdfsdk_xfaannothandler.h" |
8 | 8 |
9 #ifdef PDF_ENABLE_XFA | 9 #ifdef PDF_ENABLE_XFA |
10 | 10 |
11 #include "core/fpdfdoc/include/cpdf_interform.h" | 11 #include "core/fpdfdoc/include/cpdf_interform.h" |
12 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" | 12 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" |
13 #include "fpdfsdk/include/cpdfsdk_annot.h" | 13 #include "fpdfsdk/include/cpdfsdk_annot.h" |
| 14 #include "fpdfsdk/include/cpdfsdk_interform.h" |
| 15 #include "fpdfsdk/include/cpdfsdk_xfawidget.h" |
14 #include "fpdfsdk/include/fsdk_mgr.h" | 16 #include "fpdfsdk/include/fsdk_mgr.h" |
15 #include "xfa/fxfa/include/fxfa_basic.h" | 17 #include "xfa/fxfa/include/fxfa_basic.h" |
16 #include "xfa/fxfa/include/xfa_ffdocview.h" | 18 #include "xfa/fxfa/include/xfa_ffdocview.h" |
17 #include "xfa/fxfa/include/xfa_ffpageview.h" | 19 #include "xfa/fxfa/include/xfa_ffpageview.h" |
18 #include "xfa/fxfa/include/xfa_ffwidget.h" | 20 #include "xfa/fxfa/include/xfa_ffwidget.h" |
19 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" | 21 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" |
20 #include "xfa/fxgraphics/include/cfx_graphics.h" | 22 #include "xfa/fxgraphics/include/cfx_graphics.h" |
21 #include "xfa/fwl/core/include/fwl_widgethit.h" | 23 #include "xfa/fwl/core/include/fwl_widgethit.h" |
22 | 24 |
23 CPDFSDK_XFAAnnotHandler::CPDFSDK_XFAAnnotHandler(CPDFDoc_Environment* pApp) | 25 CPDFSDK_XFAAnnotHandler::CPDFSDK_XFAAnnotHandler(CPDFDoc_Environment* pApp) |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 dwFWLFlag |= FWL_KEYFLAG_RButton; | 385 dwFWLFlag |= FWL_KEYFLAG_RButton; |
384 if (dwFlag & FWL_EVENTFLAG_ShiftKey) | 386 if (dwFlag & FWL_EVENTFLAG_ShiftKey) |
385 dwFWLFlag |= FWL_KEYFLAG_Shift; | 387 dwFWLFlag |= FWL_KEYFLAG_Shift; |
386 if (dwFlag & FWL_EVENTFLAG_AltKey) | 388 if (dwFlag & FWL_EVENTFLAG_AltKey) |
387 dwFWLFlag |= FWL_KEYFLAG_Alt; | 389 dwFWLFlag |= FWL_KEYFLAG_Alt; |
388 | 390 |
389 return dwFWLFlag; | 391 return dwFWLFlag; |
390 } | 392 } |
391 | 393 |
392 #endif // PDF_ENABLE_XFA | 394 #endif // PDF_ENABLE_XFA |
OLD | NEW |