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 | 7 |
8 #include "../../include/formfiller/FFL_FormFiller.h" | 8 #include "../../include/formfiller/FFL_FormFiller.h" |
9 #include "../../include/formfiller/FFL_Notify.h" | 9 #include "../../include/formfiller/FFL_Notify.h" |
10 #include "../../include/formfiller/FFL_CBA_Fontmap.h" | 10 #include "../../include/formfiller/FFL_CBA_Fontmap.h" |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 598 |
599 FX_BOOL CFFL_FormFiller::IsDataChanged(CPDFSDK_PageView* pPageView) | 599 FX_BOOL CFFL_FormFiller::IsDataChanged(CPDFSDK_PageView* pPageView) |
600 { | 600 { |
601 return FALSE; | 601 return FALSE; |
602 } | 602 } |
603 | 603 |
604 void CFFL_FormFiller::SaveData(CPDFSDK_PageView* pPageView) | 604 void CFFL_FormFiller::SaveData(CPDFSDK_PageView* pPageView) |
605 { | 605 { |
606 } | 606 } |
607 | 607 |
608 void CFFL_FormFiller::GetKeyStrokeData(CPDFSDK_PageView* pPageView, FFL_KeyStrok
eData& data) | |
609 { | |
610 } | |
611 | |
612 void CFFL_FormFiller::SetChangeMark() | 608 void CFFL_FormFiller::SetChangeMark() |
613 { | 609 { |
614 m_pApp->FFI_OnChange(); | 610 m_pApp->FFI_OnChange(); |
615 } | 611 } |
616 | 612 |
617 void CFFL_FormFiller::GetActionData(CPDFSDK_PageView* pPageView, CPDF_AAction::A
ActionType type, | 613 void CFFL_FormFiller::GetActionData(CPDFSDK_PageView* pPageView, CPDF_AAction::A
ActionType type, |
618 PDFSDK_FieldAction& fa) | 614 PDFSDK_FieldAction& fa) |
619 { | 615 { |
620 fa.sValue = m_pWidget->GetValue(); | 616 fa.sValue = m_pWidget->GetValue(); |
621 } | 617 } |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL)
; | 797 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL)
; |
802 } | 798 } |
803 | 799 |
804 | 800 |
805 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAn
not, | 801 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAn
not, |
806 CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2D
evice, | 802 CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2D
evice, |
807 FX_DWORD dwFlags) | 803 FX_DWORD dwFlags) |
808 { | 804 { |
809 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); | 805 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); |
810 } | 806 } |
OLD | NEW |