PdfNavigatorFactory
class PdfNavigatorFactory<S : Configurable.Settings, P : Configurable.Preferences<P>, E : PreferencesEditor<P>>(publication: Publication, pdfEngineProvider: PdfEngineProvider<S, P, E>)
Factory of the PDF navigator and related components.
Parameters
publication
PDF publication to render in the navigator.
pdfEngineProvider
provider for third-party PDF engine adapter.
Functions
Link copied to clipboard
fun createFragmentFactory(initialLocator: Locator? = null, initialPreferences: P? = null, listener: PdfNavigatorFragment.Listener? = null): FragmentFactory
Creates a factory for PdfNavigatorFragment.
Link copied to clipboard
Creates a preferences editor for publication with initialPreferences.