Class RtfMapper
- Namespace
- iTextSharp.text.rtf
- Assembly
- iTextSharp.LGPLv2.Core.dll
The RtfMapper provides mappings between com.lowagie.text.* classes and the corresponding com.lowagie.text.rtf.** classes. @version \(Version:\) @author Mark Hall (Mark.Hall@mail.room3b.eu)
public class RtfMapper
- Inheritance
-
RtfMapper
- Inherited Members
Constructors
RtfMapper(RtfDocument)
Constructs a RtfMapper for a RtfDocument
public RtfMapper(RtfDocument doc)
Parameters
doc
RtfDocumentThe RtfDocument this RtfMapper belongs to
Methods
MapElement(IElement)
Takes an Element subclass and returns an array of RtfBasicElement subclasses, that contained the mapped RTF equivalent to the Element passed in. @throws DocumentException
public IRtfBasicElement[] MapElement(IElement element)
Parameters
element
IElementThe Element to wrap
Returns
- IRtfBasicElement[]
An array of RtfBasicElement wrapping the Element