public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[CHARTTITLEFORMAT]\n");buffer.append("    .format_runs       = ").append(_formats.length).append("\n");for(int i=0; i<_formats.length; i++) {CTFormat ctf = _formats[i];buffer.append("       .char_offset= ").append(ctf.getOffset());buffer.append(",.fontidx= ").append(ctf.getFontIndex());buffer.append("\n");}buffer.append("[/CHARTTITLEFORMAT]\n");return buffer.toString();}

public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[CHARTTITLEFORMAT]\n" ) ; buffer . append ( "    .format_runs       = " ) . append ( _formats . length ) . append ( "\n" ) ; for ( int i = 0 ; i < _formats . length ; i ++ ) { CTFormat ctf = _formats [ i ] ; buffer . append ( "       .char_offset= " ) . append ( ctf . getOffset ( ) ) ; buffer . append ( ",.fontidx= " ) . append ( ctf . getFontIndex ( ) ) ; buffer . append ( "\n" ) ; } buffer . append ( "[/CHARTTITLEFORMAT]\n" ) ; return buffer . toString ( ) ; }
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[ALRUNS]\n");buffer.Append("    .format_runs       = ").Append(m_recs).Append("\n");int idx;CTFormat ctf;for (idx = 0; idx < m_formats.Count; idx++){ctf = (CTFormat)m_formats[idx];buffer.Append("       .char_offset= ").Append(ctf.Offset);buffer.Append(",.fontidx= ").Append(ctf.FontIndex);buffer.Append("\n");}buffer.Append("[/ALRUNS]\n");return buffer.ToString();}
