PDFViewer: Respect page navigation features in multi-page mode

This includes the text box and the page up/down arrows.
This commit is contained in:
Matthew Olsson 2022-03-31 18:01:07 -07:00 committed by Andreas Kling
commit baac720e13
Notes: sideshowbarker 2024-07-17 18:46:57 +09:00
5 changed files with 15 additions and 9 deletions

View file

@ -46,7 +46,7 @@ public:
virtual ~PDFViewer() override = default;
ALWAYS_INLINE u32 current_page() const { return m_current_page_index; }
ALWAYS_INLINE void set_current_page(u32 current_page) { m_current_page_index = current_page; }
void set_current_page(u32 current_page);
ALWAYS_INLINE RefPtr<PDF::Document> const& document() const { return m_document; }
PDF::PDFErrorOr<void> set_document(RefPtr<PDF::Document>);