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

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

Issue 842223004: merge to XFA: Fix -Wnon-virtual-dtor compiler warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 11 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 | « core/src/fxcrt/fx_arabic.h ('k') | fpdfsdk/include/fxedit/fx_edit.h » ('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 _FSDK_ANNOTHANDLER_H_ 7 #ifndef _FSDK_ANNOTHANDLER_H_
8 #define _FSDK_ANNOTHANDLER_H_ 8 #define _FSDK_ANNOTHANDLER_H_
9 9
10 #define FSDK_XFAWIDGET_TYPENAME "XFAWidget" 10 #define FSDK_XFAWIDGET_TYPENAME "XFAWidget"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 CFX_MapByteStringToPtr m_mapType2Handler; 299 CFX_MapByteStringToPtr m_mapType2Handler;
300 CPDFDoc_Environment* m_pApp; 300 CPDFDoc_Environment* m_pApp;
301 }; 301 };
302 302
303 //#define CBF_Page2Accessible CFX_MapPtrTemplate<CPDFSDK_PageView*, IAccessib le*> 303 //#define CBF_Page2Accessible CFX_MapPtrTemplate<CPDFSDK_PageView*, IAccessib le*>
304 304
305 typedef int (*AI_COMPARE) (CPDFSDK_Annot* p1, CPDFSDK_Annot* p2); 305 typedef int (*AI_COMPARE) (CPDFSDK_Annot* p1, CPDFSDK_Annot* p2);
306 306
307 class CPDFSDK_AnnotIterator 307 class CPDFSDK_AnnotIterator
308 { 308 {
309 protected:
310 CPDFSDK_Annot* NextAnnot (const CPDFSDK_Annot* pCurrent) ;
311 CPDFSDK_Annot* PrevAnnot (const CPDFSDK_Annot* pCurrent) ;
312 CPDFSDK_Annot* NextAnnot(int& index ) ;
313 CPDFSDK_Annot* PrevAnnot(int& index ) ;
314 public: 309 public:
315 CPDFSDK_AnnotIterator(CPDFSDK_PageView * pPageView, FX_BOOL bReverse, 310 CPDFSDK_AnnotIterator(CPDFSDK_PageView * pPageView, FX_BOOL bReverse,
316 » » FX_BOOL bIgnoreTopmost=FALSE,FX_BOOL bCircle=FALSE,CFX_PtrArray* pList=NULL);» 311 » » FX_BOOL bIgnoreTopmost=FALSE,FX_BOOL bCircle=FALSE,CFX_PtrArray* pList=NULL);
312 virtual ~CPDFSDK_AnnotIterator() { }
313
317 virtual CPDFSDK_Annot* Next (const CPDFSDK_Annot* pCurrent) ; 314 virtual CPDFSDK_Annot* Next (const CPDFSDK_Annot* pCurrent) ;
318 virtual CPDFSDK_Annot* Prev (const CPDFSDK_Annot* pCurrent) ; 315 virtual CPDFSDK_Annot* Prev (const CPDFSDK_Annot* pCurrent) ;
319 virtual CPDFSDK_Annot* Next(int& index ) ; 316 virtual CPDFSDK_Annot* Next(int& index ) ;
320 virtual CPDFSDK_Annot* Prev(int& index ) ; 317 virtual CPDFSDK_Annot* Prev(int& index ) ;
321 virtual int Count(){return m_pIteratorAnnotList.GetSize();} 318 virtual int Count(){return m_pIteratorAnnotList.GetSize();}
322 » 319
323 virtual FX_BOOL InitIteratorAnnotList(CPDFSDK_PageView * pPageVi ew,CFX_PtrArray* pList=NULL); 320 virtual FX_BOOL InitIteratorAnnotList(CPDFSDK_PageView * pPageVi ew,CFX_PtrArray* pList=NULL);
324 » 321
325 void InsertSort(CFX_PtrArray &arrayLi st, AI_COMPARE pCompare); 322 void InsertSort(CFX_PtrArray &arrayLi st, AI_COMPARE pCompare);
323
326 protected: 324 protected:
327 » //» CFX_PtrList» » » m_pIteratorAnnotList; 325 » CPDFSDK_Annot*» NextAnnot (const CPDFSDK_Annot* pCurrent) ;
328 » CFX_PtrArray» m_pIteratorAnnotList;» 326 » CPDFSDK_Annot*» PrevAnnot (const CPDFSDK_Annot* pCurrent) ;
327 » CPDFSDK_Annot*» NextAnnot(int& index ) ;
328 » CPDFSDK_Annot*» PrevAnnot(int& index ) ;
329
330 » CFX_PtrArray» m_pIteratorAnnotList;
329 FX_BOOL m_bReverse; 331 FX_BOOL m_bReverse;
330 FX_BOOL m_bIgnoreTopmost; 332 FX_BOOL m_bIgnoreTopmost;
331 FX_BOOL m_bCircle; 333 FX_BOOL m_bCircle;
332 }; 334 };
333 335
334 336
335 337
336 #endif 338 #endif
337 339
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_arabic.h ('k') | fpdfsdk/include/fxedit/fx_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698