}
public static String getBulletText( ListTables listTables,
Paragraph paragraph, int listId )
{
final ListLevel listLevel = listTables.getLevel( listId,
paragraph.getIlvl() );
if ( listLevel.getNumberText() == null )
return EMPTY;
StringBuffer bulletBuffer = new StringBuffer();
char[] xst = listLevel.getNumberText().toCharArray();
for ( char element : xst )
{
if ( element < 9 )
{
ListLevel numLevel = listTables.getLevel( listId, element );
int num = numLevel.getStartAt();
bulletBuffer.append( NumberFormatter.getNumber( num,
listLevel.getNumberFormat() ) );
if ( numLevel == listLevel )
{
numLevel.setStartAt( numLevel.getStartAt() + 1 );
}
}
else
{