org.apache.fop.fo
Class FOText
java.lang.Object
|
+--org.apache.fop.fo.FONode
|
+--org.apache.fop.fo.FOText
- public class FOText
- extends FONode
a text node in the formatting object tree
Modified by Mark Lillywhite, mark-fop@inomial.com.
Unfortunately the BufferManager implementatation holds
onto references to the character data in this object
longer than the lifetime of the object itself, causing
excessive memory consumption and OOM errors.
Fields inherited from class org.apache.fop.fo.FONode |
areaClass, areasGenerated, BREAK_AFTER, bufferManager, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, markers, orphans, parent, START, widows |
Constructor Summary |
FOText(char[] chars,
int s,
int e,
FObj parent)
|
Method Summary |
protected static int |
addRealText(BlockArea ba,
FontState fontState,
float red,
float green,
float blue,
int wrapOption,
LinkSet ls,
int whiteSpaceCollapse,
char[] data,
int start,
int end,
TextState textState,
int vAlign)
|
static int |
addText(BlockArea ba,
FontState fontState,
float red,
float green,
float blue,
int wrapOption,
LinkSet ls,
int whiteSpaceCollapse,
char[] data,
int start,
int end,
TextState textState,
int vAlign)
|
Status |
layout(Area area)
|
void |
setLineThrough(boolean lt)
|
void |
setOverlined(boolean ol)
|
void |
setUnderlined(boolean ul)
|
boolean |
willCreateArea()
|
Methods inherited from class org.apache.fop.fo.FONode |
addChild, addMarker, forceStartOffset, forceWidth, getBufferManager, getLinkSet, getMarkers, getMarkerSnapshot, getParent, getProperty, hasMarkers, removeAreas, resetMarker, rollback, setBufferManager, setIsInTableCell, setLinkSet, setLogger, setOrphans, setWidows |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ca
protected char[] ca
start
protected int start
length
protected int length
underlined
protected boolean underlined
overlined
protected boolean overlined
lineThrough
protected boolean lineThrough
FOText
public FOText(char[] chars,
int s,
int e,
FObj parent)
setUnderlined
public void setUnderlined(boolean ul)
setOverlined
public void setOverlined(boolean ol)
setLineThrough
public void setLineThrough(boolean lt)
willCreateArea
public boolean willCreateArea()
layout
public Status layout(Area area)
throws FOPException
- Overrides:
layout
in class FONode
addText
public static int addText(BlockArea ba,
FontState fontState,
float red,
float green,
float blue,
int wrapOption,
LinkSet ls,
int whiteSpaceCollapse,
char[] data,
int start,
int end,
TextState textState,
int vAlign)
addRealText
protected static int addRealText(BlockArea ba,
FontState fontState,
float red,
float green,
float blue,
int wrapOption,
LinkSet ls,
int whiteSpaceCollapse,
char[] data,
int start,
int end,
TextState textState,
int vAlign)
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.