| Index: core/include/fpdfdoc/fpdf_doc.h
|
| diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h
|
| index 60f41a55542537480757661c4a3cd4b6c7aaa1fc..baba7690a1318d19c4fa118d55f4edf25118e5b0 100644
|
| --- a/core/include/fpdfdoc/fpdf_doc.h
|
| +++ b/core/include/fpdfdoc/fpdf_doc.h
|
| @@ -528,30 +528,20 @@ class CPDF_LinkList : public CFX_Object
|
| {
|
| public:
|
|
|
| - CPDF_LinkList(CPDF_Document* pDoc)
|
| - {
|
| - m_pDocument = pDoc;
|
| - }
|
| + CPDF_LinkList();
|
|
|
| ~CPDF_LinkList();
|
|
|
| CPDF_Link GetLinkAtPoint(CPDF_Page* pPage, FX_FLOAT pdf_x, FX_FLOAT pdf_y);
|
|
|
| - int CountLinks(CPDF_Page* pPage);
|
| -
|
| - CPDF_Link GetLink(CPDF_Page* pPage, int index);
|
| -
|
| - CPDF_Document* GetDocument() const
|
| - {
|
| - return m_pDocument;
|
| - }
|
| protected:
|
|
|
| - CPDF_Document* m_pDocument;
|
| -
|
| CFX_MapPtrToPtr m_PageMap;
|
|
|
| CFX_PtrArray* GetPageLinks(CPDF_Page* pPage);
|
| + static FX_BOOL IsLink(CPDF_Dictionary* pAnnot);
|
| + static FX_BOOL IsWidget(CPDF_Dictionary* pAnnot);
|
| + static CFX_FloatRect GetWidgetRect(CPDF_Dictionary* pWidget);
|
|
|
| void LoadPageLinks(CPDF_Page* pPage, CFX_PtrArray* pList);
|
| };
|
|
|