Table of Contents

Class RtfDestinationFontTable

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

RtfDestinationFontTable handles data destined for the font table destination @author Howard Shank (hgshank@yahoo.com) @since 2.0.8

public sealed class RtfDestinationFontTable : RtfDestination
Inheritance
RtfDestinationFontTable
Inherited Members

Constructors

RtfDestinationFontTable()

Constructor

public RtfDestinationFontTable()

RtfDestinationFontTable(RtfParser)

Constructs a new RtfFontTableParser. @since 2.0.8

public RtfDestinationFontTable(RtfParser parser)

Parameters

parser RtfParser

Methods

CloseDestination()

(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#closeDestination() @since 2.0.8

public override bool CloseDestination()

Returns

bool

GetFont(string)

Get a Font object from the font map object @since 2.0.8

public Font GetFont(string key)

Parameters

key string

The font number to get

Returns

Font

The mapped Font object.

HandleCharacter(int)

(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleCharacter(char[]) @since 2.0.8

public override bool HandleCharacter(int ch)

Parameters

ch int

Returns

bool

HandleCloseGroup()

(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupEnd() @since 2.0.8

public override bool HandleCloseGroup()

Returns

bool

HandleControlWord(RtfCtrlWordData)

(non-Javadoc) @see com.lowagie.text.rtf.parser.destinations.RtfDestination#handleControlWord(com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordData) @since 2.0.8

public override bool HandleControlWord(RtfCtrlWordData ctrlWordData)

Parameters

ctrlWordData RtfCtrlWordData

Returns

bool

HandleOpenGroup()

(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupStart() @since 2.0.8

public override bool HandleOpenGroup()

Returns

bool

HandleOpeningSubGroup()

(non-Javadoc) @see com.lowagie.text.rtf.parser.destinations.RtfDestination#handleOpenNewGroup() @since 2.0.8

public override bool HandleOpeningSubGroup()

Returns

bool

SetBias(string)

Set the font bias @since 2.0.8

public void SetBias(string value)

Parameters

value string

Bias value

SetCharset(string)

Set the character-set to the parsed value. @since 2.0.8

public void SetCharset(string charset)

Parameters

charset string

The charset value

SetCodePage(string)

Set the code page @since 2.0.8

public void SetCodePage(string value)

Parameters

value string

The code page value

SetFontAlternate(string)

Set the alternate font name. @since 2.0.8

public void SetFontAlternate(string fontAlternate)

Parameters

fontAlternate string

The falt font value

SetFontFamily(string)

Set the font family to the parsed value. @since 2.0.8

public void SetFontFamily(string fontFamily)

Parameters

fontFamily string

The font family.

SetFontName(string)

Set the font name to the parsed value. @since 2.0.8

public void SetFontName(string fontName)

Parameters

fontName string

The font name.

SetFontNumber(string)

Set the font number to the parsed value. This is used for mapping fonts to the new font numbers @since 2.0.8

public void SetFontNumber(string fontNr)

Parameters

fontNr string

The font number.

SetParser(RtfParser)

(non-Javadoc) @see com.lowagie.text.rtf.parser.destinations.RtfDestination#setParser(com.lowagie.text.rtf.parser.RtfParser) @since 2.0.8

public override void SetParser(RtfParser parser)

Parameters

parser RtfParser

SetPitch(string)

Set the font pitch @since 2.0.8

public void SetPitch(string value)

Parameters

value string

Pitch value

SetThemeFont(string)

Set the font theme @since 2.0.8

public void SetThemeFont(string themeFont)

Parameters

themeFont string

Theme value

SetToDefaults()

(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#setDefaults() @since 2.0.8

public override void SetToDefaults()

SetTrueType(string)

Set the TrueTtype type @since 2.0.8

public void SetTrueType(string value)

Parameters

value string

The type