Table of Contents

Class RtfDestinationStylesheetTable

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

RtfDestinationStylesheetTable handles data destined for the Stylesheet Table destination @author Howard Shank (hgshank@yahoo.com)

public class RtfDestinationStylesheetTable : RtfDestination
Inheritance
RtfDestinationStylesheetTable
Inherited Members

Constructors

RtfDestinationStylesheetTable()

public RtfDestinationStylesheetTable()

RtfDestinationStylesheetTable(RtfParser, string)

public RtfDestinationStylesheetTable(RtfParser parser, string type)

Parameters

parser RtfParser
type string

Methods

CloseDestination()

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

public override bool CloseDestination()

Returns

bool

CreateNewStyle()

public static void CreateNewStyle()

GetAdustRightIndent()

Get the right indent adjustment value

public int GetAdustRightIndent()

Returns

int

the adustRightIndent value

GetAlignment()

Get the alignment value.

public int GetAlignment()

Returns

int

The alignment value.

GetAutoSpaceBetweenDbcEnglish()

Get the auto space between DBC and English indicator.

public int GetAutoSpaceBetweenDbcEnglish()

Returns

int

the autoSpaceBetweenDBCEnglish

GetAutoSpaceBetweenDbcNumbers()

Get the auto space between DBC and Numbers indicator.

public int GetAutoSpaceBetweenDbcNumbers()

Returns

int

the autoSpaceBetweenDBCNumbers

GetFirstLineIndent()

Get the first line indent value.

public int GetFirstLineIndent()

Returns

int

the firstLineIndent

GetIndent()

Get the left indent value

public int GetIndent()

Returns

int

the left indent

GetJustificationPercentage()

Get the justification percentage.

public int GetJustificationPercentage()

Returns

int

The justification percentage value.

GetLeftIndent()

Get the left indent value

public int GetLeftIndent()

Returns

int

the leftIndent

GetMirrorIndent()

Get the value indicating if document has mirrored indents.

public int GetMirrorIndent()

Returns

int

the mirrorIndent

GetNoCharacterWrapping()

Get no character wrapping indicator.

public int GetNoCharacterWrapping()

Returns

int

the noCharacterWrapping

GetNoOverflowPeriodComma()

Get the no overflow period comma indicator.

public int GetNoOverflowPeriodComma()

Returns

int

the noOverflowPeriodComma

GetNoWordWrapping()

Get the no word wrapping indicator.

public int GetNoWordWrapping()

Returns

int

the noWordWrapping

GetOverrideWidowControl()

Get the ovirride widow control value.

public int GetOverrideWidowControl()

Returns

int

the overrideWidowControl

GetRightIndent()

Get the right indent value.

public int GetRightIndent()

Returns

int

the rightIndent

GetStyleNr()

Get this style number.

public int GetStyleNr()

Returns

int

the styleNr

GetStyleType()

Get this style type. For example Style, Character Style, etc.

public int GetStyleType()

Returns

int

the styleType

HandleCharacter(int)

(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleCharacter(int)

public override bool HandleCharacter(int ch)

Parameters

ch int

Returns

bool

HandleCloseGroup()

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

public override bool HandleCloseGroup()

Returns

bool

HandleControlWord(RtfCtrlWordData)

public override bool HandleControlWord(RtfCtrlWordData ctrlWordData)

Parameters

ctrlWordData RtfCtrlWordData

Returns

bool

HandleOpenGroup()

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

public override bool HandleOpenGroup()

Returns

bool

HandleOpeningSubGroup()

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

public override bool HandleOpeningSubGroup()

Returns

bool

SetAdustRightIndent(int)

Set the right indent adjustment value

public void SetAdustRightIndent(int adustRightIndent)

Parameters

adustRightIndent int

the adustRightIndent to set

SetAlignment(int)

Set the alignment value from the parsed value.

public int SetAlignment(int alignment)

Parameters

alignment int

The alignment value.

Returns

int

The alignment value.

SetAutoSpaceBetweenDbcEnglish(int)

Set the auto space between DBC and English indicator.

public void SetAutoSpaceBetweenDbcEnglish(int autoSpaceBetweenDbcEnglish)

Parameters

autoSpaceBetweenDbcEnglish int

the autoSpaceBetweenDBCEnglish to set

SetAutoSpaceBetweenDbcNumbers(int)

Set the auto space between DBC and Numbers indicator.

public void SetAutoSpaceBetweenDbcNumbers(int autoSpaceBetweenDbcNumbers)

Parameters

autoSpaceBetweenDbcNumbers int

the autoSpaceBetweenDBCNumbers to set

SetElementName(string)

public void SetElementName(string value)

Parameters

value string

SetFirstLineIndent(int)

Set the first line indent value.

public void SetFirstLineIndent(int firstLineIndent)

Parameters

firstLineIndent int

the firstLineIndent to set

SetIndent(int)

Set the left indent value from the value parsed.

public void SetIndent(int indent)

Parameters

indent int

the left indent value.

SetJustificationPercentage(int)

Set the justification percentage from parsed value.

public int SetJustificationPercentage(int percent)

Parameters

percent int

The justification percentage

Returns

int

The justification percentage

SetLeftIndent(int)

Set the left indent value

public void SetLeftIndent(int leftIndent)

Parameters

leftIndent int

the leftIndent to set

SetMirrorIndent(int)

Set the mirrored indent value from the parsed value.

public void SetMirrorIndent(int mirrorIndent)

Parameters

mirrorIndent int

the mirrorIndent to set

SetNoCharacterWrapping(int)

Set the no character wrapping indicator from parsed value

public void SetNoCharacterWrapping(int noCharacterWrapping)

Parameters

noCharacterWrapping int

the noCharacterWrapping to set

SetNoOverflowPeriodComma(int)

Set the no overflow period comma indicator from the parsed value.

public void SetNoOverflowPeriodComma(int noOverflowPeriodComma)

Parameters

noOverflowPeriodComma int

the noOverflowPeriodComma to set

SetNoWordWrapping(int)

Set the no word wrapping indicator from the parsed value.

public void SetNoWordWrapping(int noWordWrapping)

Parameters

noWordWrapping int

the noWordWrapping to set

SetOverrideWidowControl(int)

Set the override widow control.

public void SetOverrideWidowControl(int overrideWidowControl)

Parameters

overrideWidowControl int

the overrideWidowControl to set

SetParser(RtfParser)

public override void SetParser(RtfParser parser)

Parameters

parser RtfParser

SetRightIndent(int)

Set the right indent value.

public void SetRightIndent(int rightIndent)

Parameters

rightIndent int

the rightIndent to set

SetStyleNr(int)

Set this style number from the parsed value.

public void SetStyleNr(int styleNr)

Parameters

styleNr int

the styleNr to set

SetStyleType(int)

Set the style type.

public void SetStyleType(int styleType)

Parameters

styleType int

the styleType to set

SetToDefaults()

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

public override void SetToDefaults()

SetType(string)

public void SetType(string value)

Parameters

value string