Package org.dspace.disseminate
Class CoverPageService
java.lang.Object
org.dspace.disseminate.CoverPageService
This service renders a PDF coverpage for an item.
-
Method Summary
Modifier and TypeMethodDescriptionprepareParams(Item item) org.apache.pdfbox.pdmodel.PDDocumentrenderCoverDocument(Item item) Render a PDF coverpage for the given Item.
-
Method Details
-
renderCoverDocument
Render a PDF coverpage for the given Item. The implementation may use the context and any relevant meta data from the Item to populate dynamic content in the rendered page. All metadata fields (using format schema_field_qualifier) are passed to coverPageContributor and can be referenced in HTML template- Parameters:
item- the current item- Returns:
- a PDDocument containing the rendered coverpage. The caller is responsible to close the PDDocument after use!
-
prepareParams
-