com.lowagie.text.pdf.interfaces

Interface PdfPageActions

public interface PdfPageActions

A PDF page can have an open and/or close action.
Method Summary
voidsetDuration(int seconds)
Sets the display duration for the page (for presentations)
voidsetPageAction(PdfName actionType, PdfAction action)
Sets the open and close page additional action.
voidsetTransition(PdfTransition transition)
Sets the transition for the page

Method Detail

setDuration

public void setDuration(int seconds)
Sets the display duration for the page (for presentations)

Parameters: seconds the number of seconds to display the page

setPageAction

public void setPageAction(PdfName actionType, PdfAction action)
Sets the open and close page additional action.

Parameters: actionType the action type. It can be PdfWriter.PAGE_OPEN or PdfWriter.PAGE_CLOSE action the action to perform

Throws: DocumentException if the action type is invalid

setTransition

public void setTransition(PdfTransition transition)
Sets the transition for the page

Parameters: transition the Transition object