de.dante.extex.typesetter.paragraphBuilder
Interface ParagraphBuilder

All Known Implementing Classes:
ParagraphBuilderImpl, TeXParagraphBuilder, TrivialBuilder

public interface ParagraphBuilder

This interface describes the function to split a large line into several junks.

Version:
$Revision: 1.10 $
Author:
Gerd Neugebauer

Method Summary
 NodeList build(HorizontalListNode nodes)
          Break a horizontal list into lines.
 void setNodefactory(NodeFactory nodeFactory)
          Setter for the node factory.
 void setOptions(TypesetterOptions options)
          Setter for options.
 

Method Detail

build

public NodeList build(HorizontalListNode nodes)
               throws TypesetterException
Break a horizontal list into lines. The horizontal list passed in might be modified under way.

Parameters:
nodes - the horizontal node list containing all nodes for the paragraph
Returns:
the VerticalListNode containing the hboxes of the lines
Throws:
TypesetterException - in case of an error

setNodefactory

public void setNodefactory(NodeFactory nodeFactory)
Setter for the node factory.

Parameters:
nodeFactory - the node factory

setOptions

public void setOptions(TypesetterOptions options)
Setter for options.

Parameters:
options - the options to set.