-
public interface PdfEngineProvider<S extends Configurable.Settings, P extends Configurable.Preferences<P>, E extends PreferencesEditor<P>>To be implemented by adapters for third-party PDF engines which can be used with PdfNavigatorFragment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePdfEngineProvider.Listener
-
Method Summary
Modifier and Type Method Description abstract SingleFragmentFactory<?>createDocumentFragmentFactory(PdfDocumentFragmentInput<S> input)Creates a PdfDocumentFragment factory for input. abstract ScomputeSettings(Metadata metadata, P preferences)Creates settings for metadata and preferences. ObjectcomputePresentation(S settings)abstract OverflowableNavigator.OverflowcomputeOverflow(S settings)Infers a OverflowableNavigator.Overflow from settings. abstract EcreatePreferenceEditor(Publication publication, P initialPreferences)Creates a preferences editor for publication and initialPreferences. abstract PcreateEmptyPreferences()Creates an empty set of preferences of this PDF engine provider. -
-
Method Detail
-
createDocumentFragmentFactory
abstract SingleFragmentFactory<?> createDocumentFragmentFactory(PdfDocumentFragmentInput<S> input)
Creates a PdfDocumentFragment factory for input.
-
computeSettings
abstract S computeSettings(Metadata metadata, P preferences)
Creates settings for metadata and preferences.
-
computePresentation
@Deprecated(message = Renamed to computeOverflow, replaceWith = @ReplaceWith(imports = {}, expression = computeOverflow), level = DeprecationLevel.ERROR) Object computePresentation(S settings)
-
computeOverflow
abstract OverflowableNavigator.Overflow computeOverflow(S settings)
Infers a OverflowableNavigator.Overflow from settings.
-
createPreferenceEditor
abstract E createPreferenceEditor(Publication publication, P initialPreferences)
Creates a preferences editor for publication and initialPreferences.
-
createEmptyPreferences
abstract P createEmptyPreferences()
Creates an empty set of preferences of this PDF engine provider.
-
-
-
-