| 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 "xfa/fxfa/include/xfa_ffpageview.h" | 7 #include "xfa/fxfa/xfa_ffpageview.h" |
| 8 | 8 |
| 9 #include "xfa/fde/fde_render.h" | 9 #include "xfa/fde/fde_render.h" |
| 10 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" | 10 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" |
| 11 #include "xfa/fxfa/app/xfa_ffchoicelist.h" | 11 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
| 12 #include "xfa/fxfa/app/xfa_fffield.h" | 12 #include "xfa/fxfa/app/xfa_fffield.h" |
| 13 #include "xfa/fxfa/app/xfa_ffimageedit.h" | 13 #include "xfa/fxfa/app/xfa_ffimageedit.h" |
| 14 #include "xfa/fxfa/app/xfa_ffpushbutton.h" | 14 #include "xfa/fxfa/app/xfa_ffpushbutton.h" |
| 15 #include "xfa/fxfa/app/xfa_fftextedit.h" | 15 #include "xfa/fxfa/app/xfa_fftextedit.h" |
| 16 #include "xfa/fxfa/app/xfa_fwladapter.h" | 16 #include "xfa/fxfa/app/xfa_fwladapter.h" |
| 17 #include "xfa/fxfa/include/xfa_ffdoc.h" | 17 #include "xfa/fxfa/xfa_ffdoc.h" |
| 18 #include "xfa/fxfa/include/xfa_ffdocview.h" | 18 #include "xfa/fxfa/xfa_ffdocview.h" |
| 19 #include "xfa/fxfa/include/xfa_ffwidget.h" | 19 #include "xfa/fxfa/xfa_ffwidget.h" |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 void GetPageMatrix(CFX_Matrix& pageMatrix, | 23 void GetPageMatrix(CFX_Matrix& pageMatrix, |
| 24 const CFX_RectF& docPageRect, | 24 const CFX_RectF& docPageRect, |
| 25 const CFX_Rect& devicePageRect, | 25 const CFX_Rect& devicePageRect, |
| 26 int32_t iRotate, | 26 int32_t iRotate, |
| 27 uint32_t dwCoordinatesType) { | 27 uint32_t dwCoordinatesType) { |
| 28 ASSERT(iRotate >= 0 && iRotate <= 3); | 28 ASSERT(iRotate >= 0 && iRotate <= 3); |
| 29 FX_BOOL bFlipX = (dwCoordinatesType & 0x01) != 0; | 29 FX_BOOL bFlipX = (dwCoordinatesType & 0x01) != 0; |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 pWidget->LoadWidget(); | 445 pWidget->LoadWidget(); |
| 446 } | 446 } |
| 447 return pWidget; | 447 return pWidget; |
| 448 } | 448 } |
| 449 return nullptr; | 449 return nullptr; |
| 450 } | 450 } |
| 451 | 451 |
| 452 CXFA_TabParam::CXFA_TabParam() : m_pWidget(nullptr) {} | 452 CXFA_TabParam::CXFA_TabParam() : m_pWidget(nullptr) {} |
| 453 | 453 |
| 454 CXFA_TabParam::~CXFA_TabParam() {} | 454 CXFA_TabParam::~CXFA_TabParam() {} |
| OLD | NEW |