Package com.lowagie.text.rtf
Class RtfMapper
java.lang.Object
com.lowagie.text.rtf.RtfMapper
The RtfMapper provides mappings between com.lowagie.text.* classes
and the corresponding com.lowagie.text.rtf.** classes.
- Version:
- $Revision: 3868 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RtfDocument
The RtfDocument this RtfMapper belongs to -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapElement
(com.lowagie.text.Element element) Takes an Element subclass and returns an array of RtfBasicElement subclasses, that contained the mapped RTF equivalent to the Element passed in.
-
Field Details
-
rtfDoc
The RtfDocument this RtfMapper belongs to
-
-
Constructor Details
-
RtfMapper
Constructs a RtfMapper for a RtfDocument- Parameters:
doc
- The RtfDocument this RtfMapper belongs to
-
-
Method Details
-
mapElement
public RtfBasicElement[] mapElement(com.lowagie.text.Element element) throws com.lowagie.text.DocumentException Takes an Element subclass and returns an array of RtfBasicElement subclasses, that contained the mapped RTF equivalent to the Element passed in.- Parameters:
element
- The Element to wrap- Returns:
- An array of RtfBasicElement wrapping the Element
- Throws:
com.lowagie.text.DocumentException
-