Table of Contents

Class RtfDestinationMgr

Namespace
iTextSharp.text.rtf.parser.destinations
Assembly
iTextSharp.LGPLv2.Core.dll

RtfDestinationMgr manages destination objects for the parser @author Howard Shank (hgshank@yahoo.com) @since 2.0.8

public sealed class RtfDestinationMgr
Inheritance
RtfDestinationMgr
Inherited Members

Fields

DESTINATION_DOCUMENT

String representation of document destination.

public const string DESTINATION_DOCUMENT = "document"

Field Value

string

DESTINATION_NULL

String representation of null destination.

public const string DESTINATION_NULL = "null"

Field Value

string

Methods

AddDestination(string, object[])

public static bool AddDestination(string destination, object[] args)

Parameters

destination string
args object[]

Returns

bool

AddListener(string, IRtfDestinationListener)

Adds a RtfDestinationListener to the appropriate RtfDestination . the new RtfDestinationListener.

public static bool AddListener(string destination, IRtfDestinationListener listener)

Parameters

destination string

the destination string for the listener

listener IRtfDestinationListener

Returns

bool

GetDestination(string)

public static RtfDestination GetDestination(string destination)

Parameters

destination string

Returns

RtfDestination

GetInstance()

public static RtfDestinationMgr GetInstance()

Returns

RtfDestinationMgr

GetInstance(RtfParser)

public static RtfDestinationMgr GetInstance(RtfParser parser)

Parameters

parser RtfParser

Returns

RtfDestinationMgr

RemoveListener(string, IRtfDestinationListener)

listener methods

public static bool RemoveListener(string destination, IRtfDestinationListener listener)

Parameters

destination string

the destination string for the listener

listener IRtfDestinationListener

Returns

bool

SetParser(RtfParser)

public static void SetParser(RtfParser parser)

Parameters

parser RtfParser