importRtfDocument

Adds the complete RTF document to the current RTF document being generated.
It will parse the font and color tables and correct the font and color references
so that the imported RTF document retains its formattings.

importRtfDocument

Adds the complete RTF document to the current RTF document being generated.
It will parse the font and color tables and correct the font and color references
so that the imported RTF document retains its formattings.
Uses new RtfParser object.
(author: Howard Shank)

importRtfFragment

Adds a fragment of an RTF document to the current RTF document being generated.
Since this fragment doesn't contain font or color tables, all fonts and colors
are mapped to the default font and color. If the font and color mappings are
known, they can be specified via the mappings parameter.

Parameters:

documentSource - The InputStream to read the RTF fragment from.

mappings - The RtfImportMappings that contain font and color mappings to apply to the fragment.

importRtfFragment

Adds a fragment of an RTF document to the current RTF document being generated.
Since this fragment doesn't contain font or color tables, all fonts and colors
are mapped to the default font and color. If the font and color mappings are
known, they can be specified via the mappings parameter.
Uses new RtfParser object.
(author: Howard Shank)

Parameters:

documentSource - The InputStream to read the RTF fragment from.

mappings - The RtfImportMappings that contain font and color mappings to apply to the fragment.

importRtfDocumentIntoElement

Adds the complete RTF document to the current RTF element being generated.
It will parse the font and color tables and correct the font and color references
so that the imported RTF document retains its formattings.

importRtfDocumentIntoElement

Adds the complete RTF document to the current RTF element being generated.
It will parse the font and color tables and correct the font and color references
so that the imported RTF document retains its formattings.