SourceForge.net Logo
aXSL API 0.1

org.axsl.pdfW
Interface PDFPage


public interface PDFPage

A PDF Page.


Method Summary
 PDFExplicitDestination createPDFExplicitDestination(float xPosition, float yPosition)
          Create an implementation-specific PDFExplicitDestination instance.
 PDFLink createPDFLink(java.awt.geom.Rectangle2D.Float linkRectangle, java.lang.String destination)
          Create an implementation-specific PDFLink instance.
 PDFContentStream getContentStream()
          Return the content stream that contains the content of this page.
 PDFLink makeLink(java.awt.geom.Rectangle2D.Float rect, java.lang.String destination, boolean externalLink)
          Create a link object in the PDF add it to this page.
 

Method Detail

makeLink

public PDFLink makeLink(java.awt.geom.Rectangle2D.Float rect,
                        java.lang.String destination,
                        boolean externalLink)
Create a link object in the PDF add it to this page.

Parameters:
rect - The clickable rectangle.
destination - The destination.
externalLink - Set to true to create an external link.
Returns:
The newly created PDFLink instance.

getContentStream

public PDFContentStream getContentStream()
Return the content stream that contains the content of this page.

Returns:
This page's content stream.

createPDFExplicitDestination

public PDFExplicitDestination createPDFExplicitDestination(float xPosition,
                                                           float yPosition)
Create an implementation-specific PDFExplicitDestination instance.

Parameters:
xPosition - The horizontal location, on the page, of the destination. Position 0, 0 is the lower left corner of the page.
yPosition - The vertical location, on the page, of the destination. Position 0, 0 is the lower left corner of the page.
Returns:
An implementation-specific PDFExplicitDestination instance.

createPDFLink

public PDFLink createPDFLink(java.awt.geom.Rectangle2D.Float linkRectangle,
                             java.lang.String destination)
Create an implementation-specific PDFLink instance.

Parameters:
linkRectangle - The rectangle which activates the link.
destination - The destination to which the user should be taken when the link is activated.
Returns:
An implementation-specific PDFLink instance.

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.