public class PdfLogicalPageDrawable extends LogicalPageDrawable
Modifier and Type | Class and Description |
---|---|
protected static class |
PdfLogicalPageDrawable.PdfTextSpec |
LogicalPageDrawable.TextSpec
DEFAULT_STROKE
Constructor and Description |
---|
PdfLogicalPageDrawable(com.lowagie.text.pdf.PdfWriter writer,
LFUMap<ResourceKey,com.lowagie.text.Image> imageCache,
char version) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D graphics,
Rectangle2D area)
Draws the object.
|
protected void |
drawAnchor(RenderNode content)
To be overriden in the PDF drawable.
|
protected void |
drawBookmark(RenderNode box,
String bookmark) |
protected void |
drawComplexText(RenderableComplexText node,
Graphics2D g2) |
protected void |
drawHyperlink(RenderNode box,
String target,
String window,
String title) |
protected boolean |
drawImage(RenderableReplacedContentBox content,
Image image,
com.lowagie.text.Image itextImage) |
protected void |
drawImageMap(RenderableReplacedContentBox content) |
protected boolean |
drawPdfScript(RenderNode box) |
protected void |
drawReplacedContent(RenderableReplacedContentBox content) |
protected void |
drawText(RenderableText renderableText,
long contentX2)
Renders the glyphs stored in the text node.
|
protected void |
finishInlineBox(InlineRenderBox box) |
protected float |
getGlobalHeight() |
PdfOutputProcessorMetaData |
getMetaData() |
void |
init(LogicalPageBox rootBox,
OutputProcessorMetaData metaData,
ResourceManager resourceManager) |
void |
init(LogicalPageBox rootBox,
PdfOutputProcessorMetaData metaData,
ResourceManager resourceManager,
PhysicalPageBox page) |
protected void |
processLinksAndAnchors(RenderNode box) |
protected void |
processParagraphChilds(ParagraphRenderBox box) |
protected boolean |
startInlineBox(InlineRenderBox box) |
clearClipping, clip, configureGraphics, configureStroke, createClipRect, drawDrawable, drawImage, drawOutlineBox, drawText, finishTableBox, finishTableSectionBox, getBoxArea, getCodePointBuffer, getContentAreaX1, getContentAreaX2, getDrawArea, getGraphics, getHeight, getLogicalPageBox, getNodesAt, getNodesAt, getPageFormat, getPreferredSize, getResourceManager, getRootBox, getTextSpec, getWidth, isClipOnWordBoundary, isDrawPageBackground, isIgnoreBorderWhenDrawingOutline, isNormalTextSpacing, isOutlineMode, isPreserveAspectRatio, isTextLineOverflow, processOtherNode, processRenderableContent, processRootBand, processTextLine, renderBoxBorderAndBackground, setContentAreaX1, setContentAreaX2, setDrawArea, setDrawPageBackground, setOutlineMode, setTextLineOverflow, setTextSpec, startAutoBox, startBlockBox, startBox, startCanvasBox, startRowBox, startTableBox, startTableCellBox, startTableColumnGroupBox, startTableRowBox, startTableSectionBox
finishAutoBox, finishBlockBox, finishCanvasBox, finishOtherBox, finishRowBox, finishTableCellBox, finishTableColumnGroupBox, finishTableRowBox, processBoxChilds, processTableColumn, startOtherBox, startProcessing
public PdfLogicalPageDrawable(com.lowagie.text.pdf.PdfWriter writer, LFUMap<ResourceKey,com.lowagie.text.Image> imageCache, char version)
public void init(LogicalPageBox rootBox, OutputProcessorMetaData metaData, ResourceManager resourceManager)
init
in class LogicalPageDrawable
public void init(LogicalPageBox rootBox, PdfOutputProcessorMetaData metaData, ResourceManager resourceManager, PhysicalPageBox page)
public PdfOutputProcessorMetaData getMetaData()
getMetaData
in class LogicalPageDrawable
protected float getGlobalHeight()
public void draw(Graphics2D graphics, Rectangle2D area)
draw
in interface PageDrawable
draw
in class LogicalPageDrawable
graphics
- the graphics device.area
- the area inside which the object should be drawn.protected void processLinksAndAnchors(RenderNode box)
processLinksAndAnchors
in class LogicalPageDrawable
protected boolean drawPdfScript(RenderNode box)
protected void drawAnchor(RenderNode content)
LogicalPageDrawable
drawAnchor
in class LogicalPageDrawable
content
- the render-node that defines the anchor.protected void drawBookmark(RenderNode box, String bookmark)
drawBookmark
in class LogicalPageDrawable
protected void drawHyperlink(RenderNode box, String target, String window, String title)
drawHyperlink
in class LogicalPageDrawable
protected void drawText(RenderableText renderableText, long contentX2)
LogicalPageDrawable
drawText
in class LogicalPageDrawable
renderableText
- the text node that should be rendered.protected void processParagraphChilds(ParagraphRenderBox box)
processParagraphChilds
in class LogicalPageDrawable
protected void drawComplexText(RenderableComplexText node, Graphics2D g2)
drawComplexText
in class LogicalPageDrawable
protected boolean startInlineBox(InlineRenderBox box)
startInlineBox
in class LogicalPageDrawable
protected void finishInlineBox(InlineRenderBox box)
finishInlineBox
in class LogicalPageDrawable
protected void drawReplacedContent(RenderableReplacedContentBox content)
drawReplacedContent
in class LogicalPageDrawable
protected void drawImageMap(RenderableReplacedContentBox content)
protected boolean drawImage(RenderableReplacedContentBox content, Image image, com.lowagie.text.Image itextImage)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.