|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.paragraphBuilder.impl.ParagraphBuilderImpl
public class ParagraphBuilderImpl
This class provides a paragraph builder.
The parameter \leftskip contains the glue which is inserted at the
left side of each line in the paragraph. The default is 0 pt.
This parameter can be used to flash the line to the left side or center the
line. Those effects can be achieved in combination with the parameter
\rightskip.
The parameter \rightskip contains the glue which is inserted at the
right side of each line in the paragraph. The defult is 0 pt.
This parameter can be used to flash the line to the right side or center the
line. Those effects can be achieved in combination with the parameter
\leftskip.
The Parameter \emergencystretch
TODO missing documentation
The Parameter \exhyphenpenalty
TODO missing documentation
The Parameter \hangafter
TODO missing documentation
The Parameter \hangindent
TODO missing documentation
The Parameter \hsize
The parameter \hsize contains the horizontal size of the paragraph
to be build.
See also \parshape, \hangindent, and \hangafter.
The Parameter \hyphenpenalty
The parameter \hyphenpenalty contains the penalty inserted whenever
a hyphenation is applied. Thus paragraphs with less hyphenations are
preferred over those with more hyphenations.
The Parameter \leftskip
The Parameter \parfillskip
The parameter \parfillskip contains the glue which is added at the
end of each paragraph.
The Parameter \parskip
The parameter \parskip contains the glue which is added to the
vertical list before the beginnng of each paragraph.
The Parameter \pretolerance
TODO missing documentation
The Parameter \rightskip
The Parameter \tolerance
TODO missing documentation
The Parameter \tracingparagraphs
TODO missing documentation
| Constructor Summary | |
|---|---|
ParagraphBuilderImpl()
Creates a new object. |
|
| Method Summary | |
|---|---|
NodeList |
build(HorizontalListNode nodes)
Break a horizontal list into lines. |
void |
enableLogging(java.util.logging.Logger theLogger)
Setter for the logger. |
void |
setNodefactory(NodeFactory factory)
Setter for the node factory. |
void |
setOptions(TypesetterOptions options)
Setter for options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParagraphBuilderImpl()
| Method Detail |
|---|
public NodeList build(HorizontalListNode nodes)
throws HyphenationException
build in interface ParagraphBuildernodes - the horizontal node list containing all nodes for the
paragraph
VerticalListNode containing the hboxes of the lines
HyphenationExceptionParagraphBuilder.build(
org.extex.typesetter.type.node.HorizontalListNode)public void enableLogging(java.util.logging.Logger theLogger)
enableLogging in interface LogEnabledtheLogger - the logger to useLogEnabled.enableLogging(
java.util.logging.Logger)public void setNodefactory(NodeFactory factory)
setNodefactory in interface ParagraphBuilderfactory - the node factoryParagraphBuilder.setNodefactory(
org.extex.typesetter.type.node.factory.NodeFactory)public void setOptions(TypesetterOptions options)
setOptions in interface ParagraphBuilderoptions - the options to set.ParagraphBuilder.setOptions(
org.extex.typesetter.TypesetterOptions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||