RtfFormatting

Inheritance: java.lang.Object, com.aspose.pdf.rtf.rtfstructure.RtfFormatting

All Implemented Interfaces: Cloneable

public class RtfFormatting extends Object implements Cloneable

A snapshot of the formatting state. It is a class to be passed by reference on the stack.

Constructors

ConstructorDescription
RtfFormatting

Methods

MethodDescription
clone
getBackgroundColorIndexIndex of background color from color table.
getFontIndexFont index.
getFontSizeFont size.
getForegroundColorIndexIndex of foreground color from color table.
getUnicodeCharSkipCountOffset for Unicode character skip.
isBoldDefines if current content is bold.
isItalicDefines if current content is italic.
isStrikethroughDefines if current content is strikethrough.
isUnderlineDefines if current content is underline.
setBackgroundColorIndexIndex of background color from color table.
setBoldDefines if current content is bold.
setFontIndexFont index.
setFontSizeFont size.
setForegroundColorIndexIndex of foreground color from color table.
setItalicDefines if current content is italic.
setStrikethroughDefines if current content is strikethrough.
setUnderlineDefines if current content is underline.
setUnicodeCharSkipCountOffset for Unicode character skip.

RtfFormatting

public RtfFormatting()

clone

public final RtfFormatting clone()

getBackgroundColorIndex

public final int getBackgroundColorIndex()

Index of background color from color table.

getFontIndex

public final com.aspose.ms.System.Nullable< Integer > getFontIndex()

Font index.

getFontSize

public final int getFontSize()

Font size.

getForegroundColorIndex

public final int getForegroundColorIndex()

Index of foreground color from color table.

getUnicodeCharSkipCount

public final int getUnicodeCharSkipCount()

Offset for Unicode character skip.

isBold

public final boolean isBold()

Defines if current content is bold.

isItalic

public final boolean isItalic()

Defines if current content is italic.

isStrikethrough

public final boolean isStrikethrough()

Defines if current content is strikethrough.

isUnderline

public final boolean isUnderline()

Defines if current content is underline.

setBackgroundColorIndex

public final void setBackgroundColorIndex(int value)

Index of background color from color table.

setBold

public final void setBold(boolean value)

Defines if current content is bold.

setFontIndex

Font index.

setFontSize

public final void setFontSize(int value)

Font size.

setForegroundColorIndex

public final void setForegroundColorIndex(int value)

Index of foreground color from color table.

setItalic

public final void setItalic(boolean value)

Defines if current content is italic.

setStrikethrough

public final void setStrikethrough(boolean value)

Defines if current content is strikethrough.

setUnderline

public final void setUnderline(boolean value)

Defines if current content is underline.

setUnicodeCharSkipCount

public final void setUnicodeCharSkipCount(int value)

Offset for Unicode character skip.