Package com.scroogexhtml.rtf
Enum RTFProperties
- All Implemented Interfaces:
Serializable
,Comparable<RTFProperties>
This enum defines available RTF properties.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBackground color.Blue.Bold.Border around the paragraph (box paragraph).The color of the paragraph border, specified as an index into the color table in the RTF header.Dashed border.Double border.Dotted border.Embossed border.Engraved border.Hair border.Inset border.No border.Outset border.Single-thickness border.The width in twips of the pen used to draw the border.Paragraph shading.Defines the right boundary of a table cell, including its half of the space between cells.Centered.Cell background.Default Font.Defines the default language used in the document used with a \plain control word.Pictures.Font Charset.Font Color.First Line Indent.fnil.Font Nr.Roman.Script.Font size in half-points (the default is 24).Swiss.Green.Highlight Color.hidden.Paragraph level, where N is a level from 0 to 8, 10, 11 or 12.Italic.Paragraph nesting level, where 0 is the main document, 1 is a table cell, 2 is a nested table cell ...Justify.Language.Left aligned.Left Indent.List table.The left margin (the default is 1,800).The right margin (the default is 1,800).No sub/superscript.The paper width (the default is 12,240).Paragraph defaults.Paragraph Numbering Level.pnlvlcont.Red.Align right.Right Indent.Left to Right characters.Right to Left paragraph.Space after in twips (default is 0).Space before in twips (default is 0).Strike.Subscript.Superscript.Position in twips of the leftmost edge of the table with respect to the left edge of its column.Height of a table row in twips.underline.Unicode.Skip Unicode. -
Method Summary
Modifier and TypeMethodDescriptionstatic RTFProperties
Returns the enum constant of this type with the specified name.static RTFProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PR_DEFLANG
Defines the default language used in the document used with a \plain control word. -
PR_PARD
Paragraph defaults. -
PR_BOLD
Bold. -
PR_ITALIC
Italic. -
PR_UNDERLINE
underline. -
PR_LEFT
Left aligned. -
PR_RIGHT
Align right. -
PR_CENTER
Centered. -
PR_JUSTIFY
Justify. -
PR_RED
Red. -
PR_GREEN
Green. -
PR_BLUE
Blue. -
PR_FONTNR
Font Nr. -
PR_FCOL
Font Color. -
PR_BCOL
Background color. -
PR_FSIZE
Font size in half-points (the default is 24). -
PR_DEFF
Default Font. -
PR_FROMAN
Roman. -
PR_FSWISS
Swiss. -
PR_FSCRIPT
Script. -
PR_STRIKE
Strike. -
PR_FNIL
fnil. -
PR_UNICODE
Unicode. -
PR_SUB
Subscript. -
PR_SUPER
Superscript. -
PR_NOSUB
No sub/superscript. -
PR_PNLVL
Paragraph Numbering Level. -
PR_FCHARSET
Font Charset. -
PR_HCOL
Highlight Color. -
PR_LEFTIND
Left Indent. -
PR_RIGHTIND
Right Indent. -
PR_FIRSTIND
First Line Indent. -
PR_SPACE_BEFORE
Space before in twips (default is 0). -
PR_SPACE_AFTER
Space after in twips (default is 0). -
PR_BOX
Border around the paragraph (box paragraph). -
PR_BRDRCF
The color of the paragraph border, specified as an index into the color table in the RTF header. -
PR_BRDRW
The width in twips of the pen used to draw the border. -
PR_BRDRS
Single-thickness border. -
PR_BRDRNONE
No border. -
PR_BRDRDOT
Dotted border. -
PR_BRDRDB
Double border. -
PR_BRDRDASH
Dashed border. -
PR_BRDRINSET
Inset border. -
PR_BRDROUTSET
Outset border. -
PR_BRDREMBOSS
Embossed border. -
PR_BRDRENGRAVE
Engraved border. -
PR_BRDRHAIR
Hair border. -
PR_CBPAT
Paragraph shading. N is the fill color, specified as an index into the document’s color table. -
PR_UNISKIP
Skip Unicode. -
PR_LANG
Language. -
PR_RTLCHAR
Left to Right characters. -
PR_RTLPAR
Right to Left paragraph. -
PR_PNLVLCONT
pnlvlcont. -
PR_HIDDEN
hidden. -
PR_EMF
Pictures. -
PR_PNG
-
PR_JPEG
-
PR_PICT
-
PR_WMF
-
PR_BMP
-
PR_PICW
-
PR_PICH
-
PR_WGOAL
-
PR_HGOAL
-
PR_SCALEX
-
PR_SCALEY
-
PR_LS
List table. -
PR_LEVELNFC
-
PR_LISTID
-
PR_LISTTEMPLATEID
-
PR_ILVL
Paragraph level, where N is a level from 0 to 8, 10, 11 or 12. -
PR_TRLEFT
Position in twips of the leftmost edge of the table with respect to the left edge of its column. -
PR_CELLX
Defines the right boundary of a table cell, including its half of the space between cells. -
PR_CLCBPAT
Cell background. -
PR_TRRH
Height of a table row in twips. -
PR_PAPERW
The paper width (the default is 12,240). -
PR_MARGL
The left margin (the default is 1,800). -
PR_MARGR
The right margin (the default is 1,800). -
PR_ITAP
Paragraph nesting level, where 0 is the main document, 1 is a table cell, 2 is a nested table cell ...
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-