publication library
Classes
- AllRestricted
- A UserRights which forbids any right.
- Collection
- Contributor Object for the Readium Web Publication Manifest. https://readium.org/webpub-manifest/schema/contributor-object.schema.json
- ContentProtectionService
- Contributor
- Contributor Object for the Readium Web Publication Manifest. https://readium.org/webpub-manifest/schema/contributor-object.schema.json
- CoverService
- Provides an easy access to a bitmap version of the publication cover.
- DefaultLocatorService
- Drm
- Encryption
- Indicates that a resource is encrypted/obfuscated and provides relevant information for decryption.
- EpubLayout
- Hints how the layout of the resource should be presented.
- EXTENSION
- FileAsset
- Represents a publication stored as a file on the local file system.
- GeneratedCoverService
- A CoverService which provides a unique cover for each Publication.
- ImageSize
- InMemoryCoverService
- A CoverService which uses a provided in-memory bitmap.
- Link
- Link to a resource, either relative to a Publication or external (remote).
- LinkPagination
- LocalizedString
- A potentially localized (multilingual) string.
- Locations
- One or more alternative expressions of the location. https://github.com/readium/architecture/tree/master/models/locators#the-location-object
- Locator
- Provides a precise location in a publication in a format that can be stored and shared.
- LocatorService
- Locates the destination of various sources (e.g. locators, progression, etc.) in the publication.
- LocatorText
- Textual context of the locator.
- Manifest
- Holds the metadata of a Readium publication, as described in the Readium Web Publication Manifest.
- Metadata
- https://readium.org/webpub-manifest/schema/metadata.schema.json
- PaginationInfosService
- PerResourcePositionsService
- Simple PositionsService for a Publication which generates one position per readingOrder resource.
- PositionsService
- Provides a list of discrete locations in the publication, no matter what the original format is.
- Presentation
- The Presentation Hints extension defines a number of hints for User Agents about the way content should be presented to the user.
- PresentationFit
- Suggested method for constraining a resource inside the viewport.
- PresentationOrientation
- Suggested orientation for the device when displaying the linked resource.
- PresentationOverflow
- Suggested method for handling overflow while displaying the linked resource.
- PresentationPage
- Indicates how the linked resource should be displayed in a reading environment that displays synthetic spreads.
- PresentationSpread
- Indicates the condition to be met for the linked resource to be rendered within a synthetic spread.
- Properties
- Set of properties associated with a Link.
- ProtectedAsset
- Holds the result of opening a File with a ContentProtection.
- Publication
- The Publication shared model is the entry-point for all the metadata and services related to a Readium publication.
- PublicationAsset
- Represents a digital medium (e.g. a file) offering access to a publication. */
- PublicationAssetDependencies
- PublicationBuilder
- Builds a Publication from its components.
- PublicationCollection
- Core Collection Model
- PublicationFormat
- Format of the Publication file.
- PublicationService
- Base interface to be implemented by all publication services.
- PublicationServiceContext
- Container for the context from which a service is created.
- ReadingProgression
- Direction of the Publication reading progression.
- ReadiumCSSName
- RootFile
- RouteHandler
- ServicesBuilder
- Builds a list of PublicationService from a collection of service factories.
- Subject
- Subject of a Publication.
- Translation
- Unrestricted
- A UserRights without any restriction.
Mixins
- ContentProtection
- Bridge between a Content Protection technology and the Readium toolkit.
- UserRights
- Manages consumption of user rights and permissions.
Extensions
- ContributorExtension
- DoubleCheck
- IntCheck
- LinkListExtension
- LinkLocator
- PageLinksPublication
- PublicationContentProtectionServiceExtension
- PublicationCoverExtension
- PublicationExtension
- PublicationLocatorExtension
- ServicesBuilderContentProtectionServiceExtension
- ServicesBuilderExtension
- ServicesBuilderLocatorExtension
- ServicesBuilderPositionExtension
- SubcollectionMap
- UserRightsExtension
Constants
- appearanceName → const String
-
"--USER__$appearanceRef"
- appearanceRef → const String
-
"appearance"
- columnCountName → const String
-
"--USER__$columnCountRef"
- columnCountRef → const String
-
"colCount"
- fontFamilyName → const String
-
"--USER__$fontFamilyRef"
- fontFamilyRef → const String
-
"fontFamily"
- fontOverrideName → const String
-
"--USER__$fontOverrideRef"
- fontOverrideRef → const String
-
"fontOverride"
- fontSizeName → const String
-
"--USER__$fontSizeRef"
- fontSizeRef → const String
-
"fontSize"
- letterSpacingName → const String
-
"--USER__$letterSpacingRef"
- letterSpacingRef → const String
-
"letterSpacing"
- lineHeightName → const String
-
"--USER__$lineHeightRef"
- lineHeightRef → const String
-
"lineHeight"
- linkHrefNormalizerIdentity → const LinkHrefNormalizer
-
Default href normalizer for Link, doing nothing.
identity
- pageMarginsName → const String
-
"--USER__$pageMarginsRef"
- pageMarginsRef → const String
-
"pageMargins"
- publisherDefaultName → const String
-
"--USER__$publisherDefaultRef"
- publisherDefaultRef → const String
-
"advancedSettings"
- scrollName → const String
-
"--USER__$scrollRef"
- scrollRef → const String
-
"scroll"
- textAlignmentName → const String
-
"--USER__$textAlignmentRef"
- textAlignmentRef → const String
-
"textAlign"
- wordSpacingName → const String
-
"--USER__$wordSpacingRef"
- wordSpacingRef → const String
-
"wordSpacing"
Enums
Typedefs
- LinkHrefNormalizer = String Function(String)
- Function used to recursively transform the href of a Link when parsing its JSON representation.
- ServiceFactory = PublicationService? Function(PublicationServiceContext)
Exceptions / Errors
- OpeningException
- Errors occurring while opening a Publication.
- UserException