WIP - add hyperlinks to pages within pdf

This commit is contained in:
Roberto Fernandez Bautista
2022-08-27 19:17:42 +01:00
committed by Jeff Young
parent e7920bdda4
commit 3cd867e656
2 changed files with 52 additions and 3 deletions
+6 -1
View File
@@ -416,7 +416,12 @@ protected:
wxString m_workFilename;
FILE* m_workFile; ///< Temporary file to construct the stream before zipping
std::vector<long> m_xrefTable; ///< The PDF xref offset table
std::vector<std::pair<BOX2I, wxString>> m_urlHyperlinks; ///< List of loaded URLs so far
///< List of loaded URLs in current page
std::vector<std::pair<BOX2I, wxString>> m_urlHyperlinksInPage;
///< Handles for all the hyperlink objects that will be deferred
std::map<int, std::pair<BOX2D, wxString>> m_urlHyperlinksHandles;
};