Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1155273002: Replace XFA_HWIDGET with IXFA_Widget* (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ixfa_doc
Patch Set: Rebase. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_baseform.h ('k') | fpdfsdk/src/fpdfformfill.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_
8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_ 8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_
9 9
10 #include "../../public/fpdf_formfill.h" 10 #include "../../public/fpdf_formfill.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 CPDF_Annot* GetPDFWidgetAtPo int(FX_FLOAT pageX, FX_FLOAT pageY); 775 CPDF_Annot* GetPDFWidgetAtPo int(FX_FLOAT pageX, FX_FLOAT pageY);
776 CPDFSDK_Annot* GetFXWidgetAtPoint(FX_FL OAT pageX, FX_FLOAT pageY); 776 CPDFSDK_Annot* GetFXWidgetAtPoint(FX_FL OAT pageX, FX_FLOAT pageY);
777 CPDFSDK_Annot* GetFocusAnnot() ; 777 CPDFSDK_Annot* GetFocusAnnot() ;
778 void SetFocusAnnot(CP DFSDK_Annot* pSDKAnnot,FX_UINT nFlag = 0) {m_pSDKDoc->SetFocusAnnot(pSDKAnnot, n Flag);} 778 void SetFocusAnnot(CP DFSDK_Annot* pSDKAnnot,FX_UINT nFlag = 0) {m_pSDKDoc->SetFocusAnnot(pSDKAnnot, n Flag);}
779 FX_BOOL KillFocusAnnot(F X_UINT nFlag = 0) {return m_pSDKDoc->KillFocusAnnot(nFlag);} 779 FX_BOOL KillFocusAnnot(F X_UINT nFlag = 0) {return m_pSDKDoc->KillFocusAnnot(nFlag);}
780 FX_BOOL Annot_HasAppeara nce(CPDF_Annot* pAnnot); 780 FX_BOOL Annot_HasAppeara nce(CPDF_Annot* pAnnot);
781 781
782 CPDFSDK_Annot* AddAnnot(CPDF_Dictionary * pDict); 782 CPDFSDK_Annot* AddAnnot(CPDF_Dictionary * pDict);
783 CPDFSDK_Annot* AddAnnot(FX_LPCSTR lpSub Type,CPDF_Dictionary * pDict); 783 CPDFSDK_Annot* AddAnnot(FX_LPCSTR lpSub Type,CPDF_Dictionary * pDict);
784 CPDFSDK_Annot* AddAnnot(CPDF_Annot * pP DFAnnot); 784 CPDFSDK_Annot* AddAnnot(CPDF_Annot * pP DFAnnot);
785 » CPDFSDK_Annot*» » » » » AddAnnot(XFA_HWIDGET pPD FAnnot); 785 » CPDFSDK_Annot*» » » » » AddAnnot(IXFA_Widget* pP DFAnnot);
786 FX_BOOL DeleteAnnot(CPDF SDK_Annot* pAnnot); 786 FX_BOOL DeleteAnnot(CPDF SDK_Annot* pAnnot);
787 787
788 int CountAnn ots(); 788 int CountAnn ots();
789 CPDFSDK_Annot* GetAnnot(int nIndex); 789 CPDFSDK_Annot* GetAnnot(int nIndex);
790 CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictiona ry * pDict); 790 CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictiona ry * pDict);
791 » CPDFSDK_Annot*» » » » » GetAnnotByXFAWidget(XFA_ HWIDGET hWidget); 791 » CPDFSDK_Annot*» » » » » GetAnnotByXFAWidget(IXFA _Widget* hWidget);
792 CPDFXFA_Page* GetPDFXFAPage(){return m _page;} 792 CPDFXFA_Page* GetPDFXFAPage(){return m _page;}
793 CPDF_Page* GetPDFPage(); 793 CPDF_Page* GetPDFPage();
794 CPDF_Document* GetPDFDocument(); 794 CPDF_Document* GetPDFDocument();
795 CPDFSDK_Document* GetSDKDocument() {return m_pSDKDoc;} 795 CPDFSDK_Document* GetSDKDocument() {return m_pSDKDoc;}
796 FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_UINT nFlag); 796 FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_UINT nFlag);
797 FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_UINT nFlag); 797 FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_UINT nFlag);
798 FX_BOOL OnRButtonDown(const CPDF_Point & point, FX_UINT nFlag); 798 FX_BOOL OnRButtonDown(const CPDF_Point & point, FX_UINT nFlag);
799 FX_BOOL OnRButtonUp(const CPDF_Point & p oint, FX_UINT nFlag); 799 FX_BOOL OnRButtonUp(const CPDF_Point & p oint, FX_UINT nFlag);
800 FX_BOOL OnChar(int nChar, FX_UINT nFlag) ; 800 FX_BOOL OnChar(int nChar, FX_UINT nFlag) ;
801 FX_BOOL OnKeyDown(int nKeyCode, int nFla g); 801 FX_BOOL OnKeyDown(int nKeyCode, int nFla g);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 j--; 906 j--;
907 } 907 }
908 } 908 }
909 909
910 if (nStartPos < m) QuickSort(nStartPos, m, bAscend, pCompare); 910 if (nStartPos < m) QuickSort(nStartPos, m, bAscend, pCompare);
911 if (nStopPos > m) QuickSort(m, nStopPos, bAscend, pCompare); 911 if (nStopPos > m) QuickSort(m, nStopPos, bAscend, pCompare);
912 } 912 }
913 }; 913 };
914 914
915 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ 915 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fsdk_baseform.h ('k') | fpdfsdk/src/fpdfformfill.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698