Unified Typesetting API M1-20040817

de.inghuimische.uta.typeset
Interface JustificationAlgorithm

All Superinterfaces:
QManageable

public interface JustificationAlgorithm
extends QManageable

A justification algorithm justifies lines of text by modifing Justifiables of variable width.

Author:
Christian Ziesemer

Method Summary
 EmbeddingLevel justify(EmbeddingLevel anEmbeddingLevel, List breakpoints)
          Iterates over the items and adjusts their width.
 
Methods inherited from interface de.inghuimische.uta.qm.QManageable
getFeatures
 

Method Detail

justify

public EmbeddingLevel justify(EmbeddingLevel anEmbeddingLevel,
                              List breakpoints)
Iterates over the items and adjusts their width.

Parameters:
anEmbeddingLevel - The embedding level to adjust.
breakpoints - A list of the breakpoints found by the linebreaking algorithm.
Returns:
The adjusted embedding level (which is same as anEmbeddingLevel).

Unified Typesetting API M1-20040817


An inghuimische.de project.
Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details.