de.dante.extex.typesetter.listMaker
Interface AlignmentList

All Known Implementing Classes:
HAlignListMaker

public interface AlignmentList

This interface describes a list for alignments with the associated methods.

Version:
$Revision: 1.8 $
Author:
Gerd Neugebauer

Method Summary
 void cr(Context context, TokenSource source, NodeList noalign)
          This method is invoked when a row in the alignment is complete and the cells can be integrated.
 void crcr(Context context, TokenSource source, Typesetter typesetter)
          This method is invoked when a row in the alignment is complete and the cells can be integrated.
 void omit()
          The invocation of this method indicates that the pattern for the current cell should not be taken from the preamble but the default should be used instead.
 void span(Context context, TokenSource source)
          This method is invoked when a cell is complete which should be continued in the next cell.
 

Method Detail

cr

public void cr(Context context,
               TokenSource source,
               NodeList noalign)
        throws TypesetterException
This method is invoked when a row in the alignment is complete and the cells can be integrated. If some cells are not filled jet then they are treated as empty.

Parameters:
context - the interpreter context
source - the token source
noalign - the tokens to be inserted or null
Throws:
TypesetterException - in case of an error

crcr

public void crcr(Context context,
                 TokenSource source,
                 Typesetter typesetter)
          throws TypesetterException
This method is invoked when a row in the alignment is complete and the cells can be integrated. If some cells are not filled jet then they are treated as empty. In contrast to the method cr() this method is a noop when the alignment is at the beginning of a row.

Parameters:
context - the interpreter context
source - the token source
Throws:
TypesetterException - in case of an error

omit

public void omit()
          throws TypesetterException
The invocation of this method indicates that the pattern for the current cell should not be taken from the preamble but the default should be used instead.

Throws:
TypesetterException - in case of an error

span

public void span(Context context,
                 TokenSource source)
          throws TypesetterException
This method is invoked when a cell is complete which should be continued in the next cell.

Parameters:
context - the interpreter context
source - the token source
Throws:
TypesetterException - in case of an error