org.freehep.graphicsio.pdf
Class PDFPageBase

java.lang.Object
  extended by org.freehep.graphicsio.pdf.PDFDictionary
      extended by org.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 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

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(java.lang.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 java.io.IOException
Throws:
java.io.IOException
Method Detail

setResources

public void setResources(java.lang.String resources)
                  throws java.io.IOException
Throws:
java.io.IOException

setMediaBox

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

setCropBox

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

setRotate

public void setRotate(int rotate)
               throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.