public RtfParagraphStyle getRtfParagraphStyle ( String styleName ) { if ( ! defaultsLoaded ) { registerDefaultStyles ( ) ; } if ( this . styleMap . containsKey ( styleName ) ) { return ( RtfParagraphStyle ) this . styleMap . get ( styleName ) ; } else { return null ; } }
Gets the RtfParagraphStyle with the given name . Makes sure that the defaults have been loaded .