FreeHEP API
Version current

org.freehep.graphicsio.pdf
Class PDFPageBase

java.lang.Object
  extended byorg.freehep.graphicsio.pdf.PDFDictionary
      extended byorg.freehep.graphicsio.pdf.PDFPageBase
All Implemented Interfaces:
PDFConstants
Direct Known Subclasses:
PDFPage, PDFPageTree

public abstract class PDFPageBase
extends PDFDictionary

Implements the Page Base Node to accomodate Inheritance of Page Attributes (see Table 3.17)

Version:
$Id: PDFPageBase.java,v 1.1 2001/11/29 01:45:30 duns Exp $
Author:
Mark Donszelmann
Source Code:
PDFPageBase.java

Field Summary
 
Fields inherited from class org.freehep.graphicsio.pdf.PDFDictionary
out, pdf
 
Fields inherited from interface org.freehep.graphicsio.pdf.PDFConstants
CAP_BUTT, CAP_ROUND, CAP_SQUARE, dateFormat, EOL, JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND, MODE_CLIP, MODE_FILL, MODE_FILL_CLIP, MODE_FILL_STROKE, MODE_FILL_STROKE_CLIP, MODE_INVISIBLE, MODE_STROKE, MODE_STROKE_CLIP
 
Constructor Summary
protected PDFPageBase(PDF pdf, PDFByteWriter writer, PDFObject object, PDFRef parent)
           
 
Method Summary
 void setCropBox(double x, double y, double w, double h)
           
 void setMediaBox(double x, double y, double w, double h)
           
 void setResources(String resources)
           
 void setRotate(int rotate)
           
 
Methods inherited from class org.freehep.graphicsio.pdf.PDFDictionary
close, entry, entry, entry, entry, entry, entry, entry, entry, entry, entry, entry, openDictionary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFPageBase

protected PDFPageBase(PDF pdf,
                      PDFByteWriter writer,
                      PDFObject object,
                      PDFRef parent)
               throws IOException
Method Detail

setResources

public void setResources(String resources)
                  throws IOException
Throws:
IOException

setMediaBox

public void setMediaBox(double x,
                        double y,
                        double w,
                        double h)
                 throws IOException
Throws:
IOException

setCropBox

public void setCropBox(double x,
                       double y,
                       double w,
                       double h)
                throws IOException
Throws:
IOException

setRotate

public void setRotate(int rotate)
               throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.