SourceForge.net Logo
aXSL API 0.2

org.axsl.pdf
Interface PdfPage


public interface PdfPage

A PDF Page.


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

Method Detail

makeLink

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

Parameters:
rect - The clickable rectangle, whose dimensions are expressed in millipoints.
destination - The destination.
externalLink - Set to true to create an external link.
Returns:
The newly created PDFLink instance.

getContentStream

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

Returns:
This page's content stream.

createDestination

PdfDestination createDestination(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.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.