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
Methods
CloseDestination()
(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#closeDestination()
public override bool CloseDestination()
Returns
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
HandleCloseGroup()
(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupEnd()
public override bool HandleCloseGroup()
Returns
HandleControlWord(RtfCtrlWordData)
public override bool HandleControlWord(RtfCtrlWordData ctrlWordData)
Parameters
ctrlWordData
RtfCtrlWordData
Returns
HandleOpenGroup()
(non-Javadoc) @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupStart()
public override bool HandleOpenGroup()
Returns
HandleOpeningSubGroup()
(non-Javadoc) @see com.lowagie.text.rtf.parser.destinations.RtfDestination#handleOpenNewGroup()
public override bool HandleOpeningSubGroup()
Returns
SetAdustRightIndent(int)
Set the right indent adjustment value
public void SetAdustRightIndent(int adustRightIndent)
Parameters
adustRightIndent
intthe adustRightIndent to set
SetAlignment(int)
Set the alignment value from the parsed value.
public int SetAlignment(int alignment)
Parameters
alignment
intThe 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
intthe autoSpaceBetweenDBCEnglish to set
SetAutoSpaceBetweenDbcNumbers(int)
Set the auto space between DBC and Numbers indicator.
public void SetAutoSpaceBetweenDbcNumbers(int autoSpaceBetweenDbcNumbers)
Parameters
autoSpaceBetweenDbcNumbers
intthe 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
intthe firstLineIndent to set
SetIndent(int)
Set the left indent value from the value parsed.
public void SetIndent(int indent)
Parameters
indent
intthe left indent value.
SetJustificationPercentage(int)
Set the justification percentage from parsed value.
public int SetJustificationPercentage(int percent)
Parameters
percent
intThe justification percentage
Returns
- int
The justification percentage
SetLeftIndent(int)
Set the left indent value
public void SetLeftIndent(int leftIndent)
Parameters
leftIndent
intthe leftIndent to set
SetMirrorIndent(int)
Set the mirrored indent value from the parsed value.
public void SetMirrorIndent(int mirrorIndent)
Parameters
mirrorIndent
intthe mirrorIndent to set
SetNoCharacterWrapping(int)
Set the no character wrapping indicator from parsed value
public void SetNoCharacterWrapping(int noCharacterWrapping)
Parameters
noCharacterWrapping
intthe noCharacterWrapping to set
SetNoOverflowPeriodComma(int)
Set the no overflow period comma indicator from the parsed value.
public void SetNoOverflowPeriodComma(int noOverflowPeriodComma)
Parameters
noOverflowPeriodComma
intthe noOverflowPeriodComma to set
SetNoWordWrapping(int)
Set the no word wrapping indicator from the parsed value.
public void SetNoWordWrapping(int noWordWrapping)
Parameters
noWordWrapping
intthe noWordWrapping to set
SetOverrideWidowControl(int)
Set the override widow control.
public void SetOverrideWidowControl(int overrideWidowControl)
Parameters
overrideWidowControl
intthe 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
intthe rightIndent to set
SetStyleNr(int)
Set this style number from the parsed value.
public void SetStyleNr(int styleNr)
Parameters
styleNr
intthe styleNr to set
SetStyleType(int)
Set the style type.
public void SetStyleType(int styleType)
Parameters
styleType
intthe 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