jPod PDF library

de.intarsys.pdf.pd
Class DefaultAppearance.DefaultAppearanceDevice

java.lang.Object
  extended by de.intarsys.pdf.content.CSDeviceAdapter
      extended by de.intarsys.pdf.content.CSVirtualDevice
          extended by de.intarsys.pdf.pd.DefaultAppearance.DefaultAppearanceDevice
All Implemented Interfaces:
ICSDevice, ICSDeviceFeatures
Enclosing class:
DefaultAppearance

public class DefaultAppearance.DefaultAppearanceDevice
extends CSVirtualDevice

An embedded "device" to gather information from the default appearance string.


Field Summary
 
Fields inherited from class de.intarsys.pdf.content.CSDeviceAdapter
MAX_STACK_SIZE
 
Constructor Summary
DefaultAppearance.DefaultAppearanceDevice()
           
 
Method Summary
 void textSetFont(COSName name, PDFont paramFont, float size)
          Set the current font and size.
 
Methods inherited from class de.intarsys.pdf.content.CSDeviceAdapter
close, compatibilityBegin, compatibilityEnd, doShading, doXObject, getDeviceTransform, getGraphicsState, getInterpreter, inlineImage, markedContentBegin, markedContentBeginProperties, markedContentEnd, markedContentPoint, markedContentPointProperties, open, pathClipEvenOdd, pathClipNonZero, pathClose, pathCloseFillStrokeEvenOdd, pathCloseFillStrokeNonZero, pathCloseStroke, pathEnd, pathFillEvenOdd, pathFillNonZero, pathFillStrokeEvenOdd, pathFillStrokeNonZero, pathStroke, penCurveToC, penCurveToV, penCurveToY, penLineTo, penMoveTo, penRectangle, restoreState, saveState, setDeviceTransform, setExtendedState, setFlatnessTolerance, setLineCap, setLineDash, setLineJoin, setLineWidth, setMiterLimit, setNonStrokeColorCMYK, setNonStrokeColorGray, setNonStrokeColorRGB, setNonStrokeColorSpace, setNonStrokeColorValues, setNonStrokeColorValues, setRenderingIntent, setStrokeColorCMYK, setStrokeColorGray, setStrokeColorRGB, setStrokeColorSpace, setStrokeColorValues, setStrokeColorValues, supportsColorSpace, supportsExtendedState, supportsFont, supportsInlineImage, supportsPattern, supportsProperties, supportsShading, supportsXObject, textBegin, textEnd, textLineMove, textLineNew, textMove, textMoveTo, textSetCharSpacing, textSetHorizontalScaling, textSetLeading, textSetRenderingMode, textSetRise, textSetTransform, textSetWordSpacing, textShow, textShow, textShow, textT3SetGlyphWidth, textT3SetGlyphWidthBB, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAppearance.DefaultAppearanceDevice

public DefaultAppearance.DefaultAppearanceDevice()
Method Detail

textSetFont

public void textSetFont(COSName name,
                        PDFont paramFont,
                        float size)
Description copied from interface: ICSDevice
Set the current font and size.

PDF graphics operator "Tf"

Specified by:
textSetFont in interface ICSDevice
Overrides:
textSetFont in class CSDeviceAdapter
Parameters:
name - The logical name of the resource in the PDResources
paramFont - The new PDFont
size - The new font size (scaling)

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.