# Serialized Form

## Package com.sun.pdfview

### Class com.sun.pdfview.OutlineNode extends javax.swing.tree.DefaultMutableTreeNode implements Serializable

### Serialized Fields

#### title

    java.lang.String title

### Class com.sun.pdfview.PagePanel extends javax.swing.JPanel implements Serializable

### Serialized Fields

#### currentImage

    java.awt.Image currentImage

The image of the rendered PDF page being displayed

#### currentPage

    PDFPage currentPage

The current PDFPage that was rendered into currentImage

#### currentXform

    java.awt.geom.AffineTransform currentXform

#### offx

    int offx

The horizontal offset of the image from the left edge of the panel

#### offy

    int offy

The vertical offset of the image from the top of the panel

#### clip

    java.awt.geom.Rectangle2D clip

the current clip, in device space

#### prevClip

    java.awt.geom.Rectangle2D prevClip

the clipping region used for the image

#### prevSize

    java.awt.Dimension prevSize

the size of the image

#### zoomRect

    java.awt.Rectangle zoomRect

the zooming marquee

#### useZoom

    boolean useZoom

whether the zoom tool is enabled

#### flag

    Flag flag

a flag indicating whether the current page is done or not.

#### downx

    int downx

x location of the mouse-down event

#### downy

    int downy

y location of the mouse-down event

### Class com.sun.pdfview.PDFParseException extends java.io.IOException implements Serializable

### Class com.sun.pdfview.PDFViewer extends javax.swing.JFrame implements Serializable

### Serialized Fields

#### curFile

    PDFFile curFile

The current PDFFile

#### docName

    java.lang.String docName

the name of the current document

#### split

    javax.swing.JSplitPane split

The split between thumbs and page

#### thumbscroll

    javax.swing.JScrollPane thumbscroll

The thumbnail scroll pane

#### thumbs

    ThumbPanel thumbs

The thumbnail display

#### page

    PagePanel page

The page display

#### fspp

    PagePanel fspp

The full screen page display, or null if not in full screen mode

#### curpage

    int curpage

The current page number (starts at 0), or -1 if no page

#### fullScreenButton

    javax.swing.JToggleButton fullScreenButton

the full screen button

#### pageField

    javax.swing.JTextField pageField

the current page number text field

#### fullScreen

    FullScreenWindow fullScreen

the full screen window, or null if not in full screen mode

#### outline

    OutlineNode outline

the root of the outline, or null if there is no outline

#### pformat

    java.awt.print.PageFormat pformat

The page format for printing

#### doThumb

    boolean doThumb

true if the thumb panel should exist at all

#### docWaiter

    Flag docWaiter

flag to indicate when a newly added document has been announced

#### pagePrep

    com.sun.pdfview.PDFViewer.PagePreparer pagePrep

a thread that pre-loads the next page for faster response

#### olf

    javax.swing.JDialog olf

the window containing the pdf outline, or null if one doesn't exist

#### docMenu

    javax.swing.JMenu docMenu

the document menu

#### openAction

    javax.swing.Action openAction

#### pageSetupAction

    javax.swing.Action pageSetupAction

#### printAction

    javax.swing.Action printAction

#### closeAction

    javax.swing.Action closeAction

#### quitAction

    javax.swing.Action quitAction

#### zoomInAction

    com.sun.pdfview.PDFViewer.ZoomAction zoomInAction

#### zoomOutAction

    com.sun.pdfview.PDFViewer.ZoomAction zoomOutAction

#### zoomToolAction

    javax.swing.Action zoomToolAction

#### fitInWindowAction

    javax.swing.Action fitInWindowAction

#### thumbAction

    com.sun.pdfview.PDFViewer.ThumbAction thumbAction

#### fullScreenAction

    javax.swing.Action fullScreenAction

#### nextAction

    javax.swing.Action nextAction

#### firstAction

    javax.swing.Action firstAction

#### lastAction

    javax.swing.Action lastAction

#### prevAction

    javax.swing.Action prevAction

#### pdfFilter

    javax.swing.filechooser.FileFilter pdfFilter

A file filter for PDF files.

#### prevDirChoice

    java.io.File prevDirChoice

#### pb

    com.sun.pdfview.PDFViewer.PageBuilder pb

### Class com.sun.pdfview.ThumbPanel extends javax.swing.JPanel implements Serializable

### Serialized Fields

#### file

    PDFFile file

The PDFFile being displayed

#### images

    java.awt.Image[] images

Array of images, one per page in the file

#### border

    int border

Size of the border between images

#### lineheight

    int lineheight

Height of each line. Thumbnails will be scaled to this height (minus the border).

#### defaultWidth

    int defaultWidth

Guesstimate of the width of a thumbnail that hasn't been processed yet.

#### xloc

    int[] xloc

Array of the x locations of each of the thumbnails. Every 0 stored in this array indicates the start of a new line of thumbnails.

#### anim

    java.lang.Thread anim

Thread that renders each thumbnail in turn

#### showing

    int showing

Which thumbnail is selected, or -1 if no thumbnail selected.

#### needdrawn

    int needdrawn

Which thumbnail needs to be drawn next, or -1 if the previous needy thumbnail is being processed.

#### defaultNotSet

    boolean defaultNotSet

Whether the default width has been guesstimated for this PDFFile yet.

#### listener

    PageChangeListener listener

The PageChangeListener that is listening for page changes

## Package com.sun.pdfview.colorspace

### Class com.sun.pdfview.colorspace.CalGrayColor extends java.awt.color.ColorSpace implements Serializable

### Serialized Fields

#### white

    float[] white

#### black

    float[] black

#### gamma

    float gamma

### Class com.sun.pdfview.colorspace.CalRGBColor extends java.awt.color.ColorSpace implements Serializable

### Serialized Fields

#### scale

    float[] scale

#### max

    float[] max

#### white

    float[] white

#### black

    float[] black

#### matrix

    float[] matrix

#### gamma

    float[] gamma

### Class com.sun.pdfview.colorspace.CMYKColorSpace extends java.awt.color.ColorSpace implements Serializable

### Serialized Fields

#### csRgb

    java.awt.color.ColorSpace csRgb

### Class com.sun.pdfview.colorspace.LabColor extends java.awt.color.ColorSpace implements Serializable

### Serialized Fields

#### white

    float[] white

#### black

    float[] black

#### range

    float[] range

### Class com.sun.pdfview.colorspace.MaskColorSpace extends java.awt.color.ColorSpace implements Serializable

### Serialized Fields

#### paint

    PDFPaint paint

The paint to paint in. Note this cannot be a pattern or gradient.

#### cie

    java.awt.color.ColorSpace cie

#### prev1

    float[] prev1

#### prev0

    float[] prev0

### Class com.sun.pdfview.colorspace.YCCKColorSpace extends java.awt.color.ColorSpace implements Serializable

### Serialized Fields

#### cmykColorSpace

    java.awt.color.ColorSpace cmykColorSpace

## Package com.sun.pdfview.decrypt

### Class com.sun.pdfview.decrypt.EncryptionUnsupportedByPlatformException extends UnsupportedEncryptionException implements Serializable

### Class com.sun.pdfview.decrypt.EncryptionUnsupportedByProductException extends UnsupportedEncryptionException implements Serializable

### Class com.sun.pdfview.decrypt.PDFAuthenticationFailureException extends PDFParseException implements Serializable

### Class com.sun.pdfview.decrypt.UnsupportedEncryptionException extends java.lang.Exception implements Serializable

## Package test

### Class test.FontToy extends javax.swing.JPanel implements Serializable

### Serialized Fields

#### comboBox

    javax.swing.JComboBox comboBox

the combo box supplying glyph information.

#### exitMenuItem

    javax.swing.JMenuItem exitMenuItem

exit from the application.

#### openFileChooser

    javax.swing.JFileChooser openFileChooser

file chooser for PDF files.

#### fileMenu

    javax.swing.JMenu fileMenu

the File menu items.

#### fonts

    java.util.Set<E> fonts

the fonts

#### font

    PDFFont font

the current font

#### jf

    javax.swing.JFrame jf

the frame holding the app.

#### gfont

    java.awt.Font gfont

the font to draw glyphs in

#### glyph

    PDFGlyph glyph

the current glyph

#### glyphBox

    javax.swing.JComboBox glyphBox

the list of glyphs in the current font

#### glyphModel

    javax.swing.SpinnerListModel glyphModel

a spinner list model to let a spinner choose the glyphs.

#### glyphName

    javax.swing.JLabel glyphName

the name of the current glyph.

#### glyphSpinner

    javax.swing.JSpinner glyphSpinner

a spinner to choose the glyphs.

#### inputFile

    java.io.File inputFile

the input file we are processing.

#### menuBar

    javax.swing.JMenuBar menuBar

the menu bar to let users supply information.

#### openMenuItem

    javax.swing.JMenuItem openMenuItem

open a new PDF file to examine its use of fonts.

#### pdf

    PDFFile pdf

the PDF file we are processing.

### Class test.TestType1CFont extends javax.swing.JPanel implements Serializable

### Serialized Fields

#### encoding

    int[] encoding

#### glyphnames

    int[] glyphnames

#### names

    java.lang.String[] names

#### charset

    java.util.HashMap<K,V> charset

#### charnames

    java.util.ArrayList<E> charnames

#### charcounter

    int charcounter

#### data

    byte[] data

#### pos

    int pos

#### subrs

    byte[][] subrs

#### stack

    float[] stack

#### stackptr

    int stackptr

#### at

    java.awt.geom.AffineTransform at

#### num

    int num

#### fnum

    float fnum

#### type

    int type

#### showing

    test.TestType1CFont.GlyphData showing

#### showname

    java.lang.String showname

#### gfont

    java.awt.Font gfont

#### fillColor

    java.awt.Color fillColor

#### charstringtype

    int charstringtype

#### temps

    float[] temps

#### charsetbase

    int charsetbase

#### encodingbase

    int encodingbase

#### charstringbase

    int charstringbase

#### privatebase

    int privatebase

#### privatesize

    int privatesize

#### gsubrbase

    int gsubrbase

#### lsubrbase

    int lsubrbase

#### gsubrsoffset

    int gsubrsoffset

#### lsubrsoffset

    int lsubrsoffset

#### defaultWidthX

    int defaultWidthX

#### nominalWidthX

    int nominalWidthX

#### nglyphs

    int nglyphs