|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.text.TextLineList com.cete.dynamicpdf.text.UniversalTextLineList
public class UniversalTextLineList
Represents a universal text line list.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
UniversalTextLineList(char[] text,
int start,
int length,
float width,
float height,
Font font,
float fontSize)
Initializes a new instance of the UniversalTextLineList class. |
Method Summary | |
---|---|
protected boolean |
calculateLines(com.cete.dynamicpdf.text.LineCalculationMode mode)
Calculates the lines. |
TextLineList |
getOverflow(float width,
float height)
Returns the overflow lines for the text line list. |
java.lang.String |
getOverflowText()
Returns the overflow text of the text line list. |
boolean |
hasOverflow()
Returns a value indicating if the text line list has overflow lines. |
protected void |
initializeLines(boolean newParagraph)
Initializes the text line list. |
Methods inherited from class com.cete.dynamicpdf.text.TextLineList |
---|
add, draw, draw, draw, draw, getAutoLeading, getBaseLine, getCleanParagraphBreaks, getEnd, getFont, getFontSize, getHeight, getkerningEnabled, getLeading, getLineCount, getLineCount, getMaximumWidth, getParagraphIndent, getParagraphSpacing, getRequiredHeight, getStart, getText, getTextArray, getTextHeight, getTextHeight, getTextLine, getVisibleLineCount, getWidth, setAutoLeading, setCleanParagraphBreaks, setEnd, setFont, setFontSize, setHeight, setkerningEnabled, setLeading, setLines, setParagraphIndent, setParagraphSpacing, setStart, setText, setText, setTextArray, setWidth, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniversalTextLineList(char[] text, int start, int length, float width, float height, Font font, float fontSize)
UniversalTextLineList
class.
text
- Text for the text line list.start
- Start index for the text of the text line list.length
- Length of the text of the text line list.width
- Width of the text line list.height
- Height of the text line list.font
- Font
to use for the text of the text line list.fontSize
- Font size to use for the text of the text line list.Font
Method Detail |
---|
public java.lang.String getOverflowText()
getOverflowText
in class TextLineList
public boolean hasOverflow()
hasOverflow
in class TextLineList
public TextLineList getOverflow(float width, float height)
getOverflow
in class TextLineList
width
- Width of the returned text line list.height
- Height of the returned text line list.
TextLineList
containing the overflow lines.TextLineList
protected void initializeLines(boolean newParagraph)
initializeLines
in class TextLineList
newParagraph
- Specifies if the first line in the list is a
new paragraph.protected boolean calculateLines(com.cete.dynamicpdf.text.LineCalculationMode mode)
calculateLines
in class TextLineList
mode
- Line calculation mode to use.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |