public void writeDefinition ( final OutputStream result ) throws IOException { result . write ( OPEN_GROUP ) ; result . write ( COLOR_TABLE ) ; for ( int i = 0 ; i < colorList . size ( ) ; i ++ ) { RtfColor color = ( RtfColor ) colorList . get ( i ) ; color . writeDefinition ( result ) ; } result . write ( CLOSE_GROUP ) ; this . document . outputDebugLinebreak ( result ) ; }
Write the definition part of the color list . Calls the writeDefinition methods of the RtfColors in the color list .