public class ITextOutputDevice extends AbstractOutputDevice implements OutputDevice
PdfGraphics2D
. See
http://sourceforge.net/projects/itext/ for license information.?????? |
---|
ITextOutputDevice(float dotsPerPoint) |
?????? | ????? |
---|---|
void |
clip(java.awt.Shape s) |
com.lowagie.text.Rectangle |
createLocalTargetArea(RenderingContext c,
Box box) |
com.lowagie.text.Rectangle |
createTargetArea(RenderingContext c,
Box box) |
void |
drawBorderLine(java.awt.Rectangle bounds,
int side,
int lineWidth,
boolean solid) |
void |
drawImage(FSImage fsImage,
int x,
int y) |
void |
drawOval(int x,
int y,
int width,
int height) |
void |
drawRect(int x,
int y,
int width,
int height) |
void |
drawSelection(RenderingContext c,
InlineText inlineText) |
void |
drawString(java.lang.String s,
float x,
float y,
JustificationInfo info) |
void |
fill(java.awt.Shape s) |
void |
fillOval(int x,
int y,
int width,
int height) |
void |
fillRect(int x,
int y,
int width,
int height) |
java.util.List |
findPagePositionsByID(CssContext c,
java.util.regex.Pattern pattern) |
void |
finish(RenderingContext c,
Box root) |
void |
finishPage() |
java.awt.Shape |
getClip() |
com.lowagie.text.pdf.PdfContentByte |
getCurrentPage() |
float |
getDeviceLength(float length) |
float |
getDotsPerPoint() |
int |
getNextFormFieldIndex() |
com.lowagie.text.pdf.PdfReader |
getReader(java.net.URL url) |
java.lang.Object |
getRenderingHint(java.awt.RenderingHints.Key key) |
SharedContext |
getSharedContext() |
int |
getStartPageNo() |
java.awt.Stroke |
getStroke() |
com.lowagie.text.pdf.PdfWriter |
getWriter() |
void |
initializePage(com.lowagie.text.pdf.PdfContentByte currentPage,
float height) |
boolean |
isSupportsCMYKColors() |
boolean |
isSupportsSelection() |
void |
paintBackground(RenderingContext c,
Box box) |
void |
paintReplacedElement(RenderingContext c,
BlockBox box) |
void |
setClip(java.awt.Shape s) |
void |
setColor(FSColor color) |
void |
setFont(FSFont font) |
void |
setRenderingHint(java.awt.RenderingHints.Key key,
java.lang.Object value) |
void |
setRoot(Box root) |
void |
setSharedContext(SharedContext sharedContext) |
void |
setStartPageNo(int startPageNo) |
void |
setStroke(java.awt.Stroke s) |
void |
setWriter(com.lowagie.text.pdf.PdfWriter writer) |
void |
start(org.w3c.dom.Document doc) |
void |
translate(double tx,
double ty) |
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, paintBackground, paintBorder, paintBorder, paintCollapsedBorder
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, paintBackground, paintBorder, paintBorder, paintCollapsedBorder
public void setWriter(com.lowagie.text.pdf.PdfWriter writer)
public com.lowagie.text.pdf.PdfWriter getWriter()
public int getNextFormFieldIndex()
public void initializePage(com.lowagie.text.pdf.PdfContentByte currentPage, float height)
public void finishPage()
public void paintReplacedElement(RenderingContext c, BlockBox box)
paintReplacedElement
???? OutputDevice
public void paintBackground(RenderingContext c, Box box)
paintBackground
???? OutputDevice
paintBackground
??? AbstractOutputDevice
public com.lowagie.text.Rectangle createLocalTargetArea(RenderingContext c, Box box)
public com.lowagie.text.Rectangle createTargetArea(RenderingContext c, Box box)
public float getDeviceLength(float length)
public void drawBorderLine(java.awt.Rectangle bounds, int side, int lineWidth, boolean solid)
drawBorderLine
???? OutputDevice
public void setColor(FSColor color)
setColor
???? OutputDevice
public void drawRect(int x, int y, int width, int height)
drawRect
???? OutputDevice
public void drawOval(int x, int y, int width, int height)
drawOval
???? OutputDevice
public void fill(java.awt.Shape s)
fill
???? OutputDevice
public void fillRect(int x, int y, int width, int height)
fillRect
???? OutputDevice
public void fillOval(int x, int y, int width, int height)
fillOval
???? OutputDevice
public void translate(double tx, double ty)
translate
???? OutputDevice
public java.lang.Object getRenderingHint(java.awt.RenderingHints.Key key)
getRenderingHint
???? OutputDevice
public void setRenderingHint(java.awt.RenderingHints.Key key, java.lang.Object value)
setRenderingHint
???? OutputDevice
public void setFont(FSFont font)
setFont
???? OutputDevice
public void drawString(java.lang.String s, float x, float y, JustificationInfo info)
public com.lowagie.text.pdf.PdfContentByte getCurrentPage()
public void setStroke(java.awt.Stroke s)
setStroke
???? OutputDevice
public void clip(java.awt.Shape s)
clip
???? OutputDevice
public java.awt.Shape getClip()
getClip
???? OutputDevice
public void setClip(java.awt.Shape s)
setClip
???? OutputDevice
public java.awt.Stroke getStroke()
getStroke
???? OutputDevice
public void drawImage(FSImage fsImage, int x, int y)
drawImage
???? OutputDevice
public com.lowagie.text.pdf.PdfReader getReader(java.net.URL url) throws java.io.IOException
java.io.IOException
public float getDotsPerPoint()
public void start(org.w3c.dom.Document doc)
public void finish(RenderingContext c, Box root)
public SharedContext getSharedContext()
public void setSharedContext(SharedContext sharedContext)
public void setRoot(Box root)
public int getStartPageNo()
public void setStartPageNo(int startPageNo)
public void drawSelection(RenderingContext c, InlineText inlineText)
drawSelection
???? OutputDevice
public boolean isSupportsSelection()
isSupportsSelection
???? OutputDevice
public boolean isSupportsCMYKColors()
isSupportsCMYKColors
???? OutputDevice
public java.util.List findPagePositionsByID(CssContext c, java.util.regex.Pattern pattern)