private void writeText ( String value ) { if ( this . rtfParser . isNewGroup ( ) ) { this . rtfDoc . add ( new RtfDirectContent ( "{" ) ) ; this . rtfParser . setNewGroup ( false ) ; } if ( value . length ( ) > 0 ) { this . rtfDoc . add ( new RtfDirectContent ( value ) ) ; } }
Write the string value to the destination . Used for direct content