|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.listMaker.AbstractListMaker
org.extex.typesetter.listMaker.InnerVerticalListMaker
org.extex.typesetter.listMaker.VerticalListMaker
public class VerticalListMaker
This class provides a maker for a vertical list.
| Constructor Summary | |
|---|---|
VerticalListMaker(ListManager manager,
Locator locator)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
addAndAdjust(NodeList nodes,
TypesetterOptions context)
Add a node list to the current list maker and adjust the spacing between the elements of the list. |
Mode |
getMode()
Getter for the current mode. |
| Methods inherited from class org.extex.typesetter.listMaker.InnerVerticalListMaker |
|---|
add, add, addSpace, afterParagraph, complete, cr, getLastNode, getPrevDepth, letter, par, removeLastNode, setPrevDepth, showlist, toString |
| Methods inherited from class org.extex.typesetter.listMaker.AbstractListMaker |
|---|
getLocalizer, getLocator, getManager, getMyLocalizer, getSpacefactor, leftBrace, mathShift, rightBrace, setSpacefactor, subscriptMark, superscriptMark, tab |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VerticalListMaker(ListManager manager,
Locator locator)
manager - the manager to ask for global changeslocator - the locator| Method Detail |
|---|
public void addAndAdjust(NodeList nodes,
TypesetterOptions context)
throws TypesetterException,
ConfigurationException
679. When a box is being appended to the current vertical list, the baselineskip calculation is handled by the append_to_vlist routine.
procedure append_to_vlist(b:pointer);
var d: scaled; {deficiency of space between baselines}
p: pointer; {a new glue specification}
begin if prev_depth>ignore_depth then
begin d ? width(baseline_skip)-prev_depth-height( b);
if d<line_skip_limit then p ? new_param_glue(line_skip_code)
else begin p ? new_skip_param(baseline_skip_code); width(temp_ptr) ? d; {temp_ptr=glue_ptr(p)}
end ;
link(tail) ? p; tail ? p;
end ;
link(tail) ? b; tail ? b; prev_depth ? depth(b);
end ;
Add a node list to the current list maker and adjust the spacing between
the elements of the list.
addAndAdjust in interface ListMakeraddAndAdjust in class InnerVerticalListMakernodes - the listcontext - the options to use
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorListMaker.addAndAdjust(
org.extex.typesetter.type.NodeList,
org.extex.typesetter.TypesetterOptions)public Mode getMode()
getMode in interface ListMakergetMode in class InnerVerticalListMakerMode.InnerVerticalListMaker.getMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||