Package net.sf.jasperreports.pdf
Class AbstractPdfTextRenderer
- java.lang.Object
-
- net.sf.jasperreports.engine.export.AbstractTextRenderer
-
- net.sf.jasperreports.pdf.AbstractPdfTextRenderer
-
- Direct Known Subclasses:
PdfGlyphRenderer
,PdfTextRenderer
,SimplePdfTextRenderer
public abstract class AbstractPdfTextRenderer extends AbstractTextRenderer
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.export.AbstractTextRenderer
AbstractTextRenderer.TabSegment
-
-
Field Summary
Fields Modifier and Type Field Description protected PdfTextAlignment
horizontalAlignment
protected float
leftOffsetFactor
protected JRPdfExporter
pdfExporter
protected PdfProducer
pdfProducer
protected float
rightOffsetFactor
protected JRPdfExporterTagHelper
tagHelper
-
Fields inherited from class net.sf.jasperreports.engine.export.AbstractTextRenderer
allText, bottomPadding, bulletChunk, bulletText, drawPosX, drawPosY, height, htmlListIndent, ignoreMissingFont, indentFirstLine, isFirstParagraph, isLastParagraph, isMaxHeightReached, jasperReportsContext, justifyLastLine, leftPadding, LINE_BREAK_FONT_RENDER_CONTEXT, lineHeight, propUtil, rightPadding, segmentIndex, segments, styledText, text, topPadding, verticalAlignOffset, width, x, y
-
-
Constructor Summary
Constructors Constructor Description AbstractPdfTextRenderer(JasperReportsContext jasperReportsContext, boolean ignoreMissingFont, boolean defaultIndentFirstLine, boolean defaultJustifyLastLine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
addActualText()
protected StyledTextListWriter
getListWriter()
void
initialize(JRPdfExporter pdfExporter, PdfProducer pdfProducer, JRPdfExporterTagHelper tagHelper, JRPrintText text, JRStyledText styledText, int offsetX, int offsetY)
protected void
renderParagraph(AttributedCharacterIterator allParagraphs, int paragraphStart, String paragraphText)
-
Methods inherited from class net.sf.jasperreports.engine.export.AbstractTextRenderer
draw, getAttributedString, getBottomPadding, getFontRenderContext, getHeight, getLeftPadding, getLineHeight, getPlainText, getRightPadding, getStyledText, getTopPadding, getWidth, getX, getY, initialize, render
-
-
-
-
Field Detail
-
pdfExporter
protected JRPdfExporter pdfExporter
-
pdfProducer
protected PdfProducer pdfProducer
-
tagHelper
protected JRPdfExporterTagHelper tagHelper
-
horizontalAlignment
protected PdfTextAlignment horizontalAlignment
-
leftOffsetFactor
protected float leftOffsetFactor
-
rightOffsetFactor
protected float rightOffsetFactor
-
-
Constructor Detail
-
AbstractPdfTextRenderer
public AbstractPdfTextRenderer(JasperReportsContext jasperReportsContext, boolean ignoreMissingFont, boolean defaultIndentFirstLine, boolean defaultJustifyLastLine)
-
-
Method Detail
-
initialize
public void initialize(JRPdfExporter pdfExporter, PdfProducer pdfProducer, JRPdfExporterTagHelper tagHelper, JRPrintText text, JRStyledText styledText, int offsetX, int offsetY)
-
getListWriter
protected StyledTextListWriter getListWriter()
- Overrides:
getListWriter
in classAbstractTextRenderer
-
addActualText
public abstract boolean addActualText()
-
renderParagraph
protected void renderParagraph(AttributedCharacterIterator allParagraphs, int paragraphStart, String paragraphText)
- Overrides:
renderParagraph
in classAbstractTextRenderer
-
-