public void writeDefinition ( final OutputStream result ) throws IOException { result . write ( DocWriter . getISOBytes ( "{" ) ) ; result . write ( DocWriter . getISOBytes ( "\\stylesheet" ) ) ; result . write ( RtfBasicElement . DELIMITER ) ; this . document . outputDebugLinebreak ( result ) ; Iterator it = this . styleMap . values ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { RtfParagraphStyle rps = ( RtfParagraphStyle ) it . next ( ) ; rps . writeDefinition ( result ) ; } result . write ( DocWriter . getISOBytes ( "}" ) ) ; this . document . outputDebugLinebreak ( result ) ; }
Writes the definition of the stylesheet list .