diff options
Diffstat (limited to 'fpdfsdk/cba_annotiterator.h')
-rw-r--r-- | fpdfsdk/cba_annotiterator.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/fpdfsdk/cba_annotiterator.h b/fpdfsdk/cba_annotiterator.h index a896c862c7..5cbe8e3d57 100644 --- a/fpdfsdk/cba_annotiterator.h +++ b/fpdfsdk/cba_annotiterator.h @@ -31,13 +31,10 @@ class CBA_AnnotIterator { private: void GenerateResults(); - static CFX_FloatRect GetAnnotRect(const CPDFSDK_Annot* pAnnot); - - // Function signature compatible with std::sort(). - static bool CompareByLeftAscending(const CPDFSDK_Annot* p1, - const CPDFSDK_Annot* p2); - static bool CompareByTopDescending(const CPDFSDK_Annot* p1, - const CPDFSDK_Annot* p2); + void CollectAnnots(std::vector<CPDFSDK_Annot*>* pArray); + CFX_FloatRect AddToAnnotsList(std::vector<CPDFSDK_Annot*>* sa, size_t idx); + void AddSelectedToAnnots(std::vector<CPDFSDK_Annot*>* sa, + std::vector<size_t>* aSelect); TabOrder m_eTabOrder; CPDFSDK_PageView* m_pPageView; |