CCIMXDesktop
 
Loading...
Searching...
No Matches
CCPdfNavigationPolicy Class Reference

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ PdfBrowseExceptionFunctor

A function pointer type used to handle page navigation exceptions.

This functor is called when an exception occurs during navigation.

Parameters
invokerThe widget that initiated the navigation.
invokee_documentThe document being navigated.
errorThe specific navigation error encountered.
Returns
An Indicator suggesting how to handle the navigation.

The documentation for this class was generated from the following files: