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
GetFont(string)
Get a Font object from the font map object @since 2.0.8
public Font GetFont(string key)
Parameters
key
stringThe 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
HandleCloseGroup()
(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupEnd() @since 2.0.8
public override bool HandleCloseGroup()
Returns
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
HandleOpenGroup()
(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupStart() @since 2.0.8
public override bool HandleOpenGroup()
Returns
HandleOpeningSubGroup()
(non-Javadoc) @see com.lowagie.text.rtf.parser.destinations.RtfDestination#handleOpenNewGroup() @since 2.0.8
public override bool HandleOpeningSubGroup()
Returns
SetBias(string)
Set the font bias @since 2.0.8
public void SetBias(string value)
Parameters
value
stringBias value
SetCharset(string)
Set the character-set to the parsed value. @since 2.0.8
public void SetCharset(string charset)
Parameters
charset
stringThe charset value
SetCodePage(string)
Set the code page @since 2.0.8
public void SetCodePage(string value)
Parameters
value
stringThe code page value
SetFontAlternate(string)
Set the alternate font name. @since 2.0.8
public void SetFontAlternate(string fontAlternate)
Parameters
fontAlternate
stringThe falt font value
SetFontFamily(string)
Set the font family to the parsed value. @since 2.0.8
public void SetFontFamily(string fontFamily)
Parameters
fontFamily
stringThe font family.
SetFontName(string)
Set the font name to the parsed value. @since 2.0.8
public void SetFontName(string fontName)
Parameters
fontName
stringThe 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
stringThe 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
stringPitch value
SetThemeFont(string)
Set the font theme @since 2.0.8
public void SetThemeFont(string themeFont)
Parameters
themeFont
stringTheme 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
stringThe type