{
if ( !sinks.isEmpty() )
{
for ( Iterator i = sinks.iterator(); i.hasNext(); )
{
MultiPageSink currentSink = (MultiPageSink) i.next();
currentSink.paragraph();
for ( int counter = 1; counter <= sinks.size(); counter++ )
{
if ( counter > 1 )
{
currentSink.text( " " );
}
MultiPageSink sink = (MultiPageSink) sinks.get( counter - 1 );
sink.link( sink.getOutputName() + ".html" );
sink.text( String.valueOf( counter ) );
sink.link_();
}
currentSink.paragraph_();
currentSink.closeSink();
}
}