Defines navigation behavior between PDF pages, especially in exceptional cases. More...
#include <ccpdfnavigationpolicy.h>
Classes | |
struct | Indicator |
Provides redirection information for navigation handling. More... | |
Public Types | |
using | PdfBrowseExceptionFunctor = Indicator(*)(QWidget *invoker, CCPdfDocument *invokee_document, const CCPdfDocument::PageNavigationError) |
A function pointer type used to handle page navigation exceptions. | |
Public Member Functions | |
CCPdfNavigationPolicy () | |
Constructs a default CCPdfNavigationPolicy. | |
Public Attributes | |
PdfBrowseExceptionFunctor | page_navigate_functor |
Functor to handle page navigation exceptions. | |
Defines navigation behavior between PDF pages, especially in exceptional cases.
This policy can be extended to define custom page flow rules and handle navigation exceptions.
A function pointer type used to handle page navigation exceptions.
This functor is called when an exception occurs during navigation.
invoker | The widget that initiated the navigation. |
invokee_document | The document being navigated. |
error | The specific navigation error encountered. |