Eclipse BIRT Report Object Model (ROM)

Style Element

Element Overview

Describes a Style element.

Details

Display Name: Style
Since: 1.0
XML Element: style
Extends: ReportElement
Extendable: No
Abstract: No
Name Space: Styles
Name Requirement: Required
Allows User Properties: Yes
Has Style: No

Property Summary

backgroundAttachment
backgroundColor
backgroundImage
backgroundPositionX
backgroundPositionY
backgroundRepeat
borderBottomColor
borderBottomStyle
borderBottomWidth
borderLeftColor
borderLeftStyle
borderLeftWidth
borderRightColor
borderRightStyle
borderRightWidth
borderTopColor
borderTopStyle
borderTopWidth
canShrink
color
dateFormat
dateTimeFormat
display
fontFamily
fontSize
fontStyle
fontVariant
fontWeight
highlightRules
letterSpacing
lineHeight
mapRules
marginBottom
marginLeft
marginRight
marginTop
masterPage
numberAlign
numberFormat
orphans
paddingBottom
paddingLeft
paddingRight
paddingTop
pageBreakAfter
pageBreakBefore
pageBreakInside
showIfBlank
stringFormat
textAlign
textIndent
textLineThrough
textOverline
textTransform
textUnderline
timeFormat
verticalAlign
whiteSpace
widows
wordSpacing

Inherited Properties

comments, customXml, displayName, displayNameID, eventHandlerClass, extends, name, propertyMasks, userProperties, viewAction

Description

Refer to ROM Styles Specification for detailed information..

Property Detail

backgroundAttachment Property

Details

Type: choice (backgroundAttachment)
Since: reserved
Required: No
Display Name: Background attachment
JavaScript Type:
Default Value: scroll
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Background

Choices

NameDisplay Name ValueDescription
scroll Scroll scroll
fixed Fixed fixed


backgroundColor Property

Details

Type: color
Since: 1.0
Required: No
Display Name: Background color
JavaScript Type:
Default Value: None
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Background

Choices

NameDisplay Name ValueDescription
maroon Maroon maroon
red Red red
orange Orange orange
yellow Yellow yellow
olive Olive olive
purple Purple purple
fuchsia Fuchsia fuchsia
white White white
lime Lime lime
green Green green
navy Navy navy
blue Blue blue
aqua Aqua aqua
teal Teal teal
black Black black
silver Silver silver
gray Gray gray


backgroundImage Property

Details

Type: uri
Since: reserved
Required: No
Display Name: Background image
JavaScript Type:
Default Value: None
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Background

backgroundPositionX Property

Details

Type: dimension
Since: reserved
Required: No
Display Name: Horizontal position
JavaScript Type:
Default Value: 0%
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Background

Choices

NameDisplay Name ValueDescription
left Left left
center Center center
right Right right


backgroundPositionY Property

Details

Type: dimension
Since: reserved
Required: No
Display Name: Vertical position
JavaScript Type:
Default Value: 0%
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Background

Choices

NameDisplay Name ValueDescription
top Top top
center Center center
bottom Bottom bottom


backgroundRepeat Property

Details

Type: choice (backgroundRepeat)
Since: reserved
Required: No
Display Name: Background repeat
JavaScript Type:
Default Value: repeat
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Background

Choices

NameDisplay Name ValueDescription
repeat Repeat repeat
repeat-x Repeat X repeat-x
repeat-y Repeat Y repeat-y
no-repeat No Repeat no-repeat


borderBottomColor Property

Details

Type: color
Since: 1.0
Required: No
Display Name: Border bottom color
JavaScript Type:
Default Value: black
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
maroon Maroon maroon
red Red red
orange Orange orange
yellow Yellow yellow
olive Olive olive
purple Purple purple
fuchsia Fuchsia fuchsia
white White white
lime Lime lime
green Green green
navy Navy navy
blue Blue blue
aqua Aqua aqua
teal Teal teal
black Black black
silver Silver silver
gray Gray gray


borderBottomStyle Property

Details

Type: choice (lineStyle)
Since: 1.0
Required: No
Display Name: Border bottom style
JavaScript Type:
Default Value: none
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
none No line style none
solid Solid solid
dotted Dotted dotted
dashed Dashed dashed
double Double double
groove Groove groove
ridge Ridge ridge
inset Inset inset
outset Outset outset


borderBottomWidth Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Border bottom width
JavaScript Type:
Default Value: medium
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
thin Thin thin
medium Medium medium
thick Thick thick


borderLeftColor Property

Details

Type: color
Since: 1.0
Required: No
Display Name: Border left color
JavaScript Type:
Default Value: black
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
maroon Maroon maroon
red Red red
orange Orange orange
yellow Yellow yellow
olive Olive olive
purple Purple purple
fuchsia Fuchsia fuchsia
white White white
lime Lime lime
green Green green
navy Navy navy
blue Blue blue
aqua Aqua aqua
teal Teal teal
black Black black
silver Silver silver
gray Gray gray


borderLeftStyle Property

Details

Type: choice (lineStyle)
Since: 1.0
Required: No
Display Name: Border left style
JavaScript Type:
Default Value: none
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
none No line style none
solid Solid solid
dotted Dotted dotted
dashed Dashed dashed
double Double double
groove Groove groove
ridge Ridge ridge
inset Inset inset
outset Outset outset


borderLeftWidth Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Border left width
JavaScript Type:
Default Value: medium
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
thin Thin thin
medium Medium medium
thick Thick thick


borderRightColor Property

Details

Type: color
Since: 1.0
Required: No
Display Name: Border right color
JavaScript Type:
Default Value: black
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
maroon Maroon maroon
red Red red
orange Orange orange
yellow Yellow yellow
olive Olive olive
purple Purple purple
fuchsia Fuchsia fuchsia
white White white
lime Lime lime
green Green green
navy Navy navy
blue Blue blue
aqua Aqua aqua
teal Teal teal
black Black black
silver Silver silver
gray Gray gray


borderRightStyle Property

Details

Type: choice (lineStyle)
Since: 1.0
Required: No
Display Name: Border right style
JavaScript Type:
Default Value: none
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
none No line style none
solid Solid solid
dotted Dotted dotted
dashed Dashed dashed
double Double double
groove Groove groove
ridge Ridge ridge
inset Inset inset
outset Outset outset


borderRightWidth Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Border right width
JavaScript Type:
Default Value: medium
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
thin Thin thin
medium Medium medium
thick Thick thick


borderTopColor Property

Details

Type: color
Since: 1.0
Required: No
Display Name: Border top color
JavaScript Type:
Default Value: black
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
maroon Maroon maroon
red Red red
orange Orange orange
yellow Yellow yellow
olive Olive olive
purple Purple purple
fuchsia Fuchsia fuchsia
white White white
lime Lime lime
green Green green
navy Navy navy
blue Blue blue
aqua Aqua aqua
teal Teal teal
black Black black
silver Silver silver
gray Gray gray


borderTopStyle Property

Details

Type: choice (lineStyle)
Since: 1.0
Required: No
Display Name: Border top style
JavaScript Type:
Default Value: none
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
none No line style none
solid Solid solid
dotted Dotted dotted
dashed Dashed dashed
double Double double
groove Groove groove
ridge Ridge ridge
inset Inset inset
outset Outset outset


borderTopWidth Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Border top width
JavaScript Type:
Default Value: medium
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
thin Thin thin
medium Medium medium
thick Thick thick


canShrink Property

Details

Type: boolean
Since: 2.2
Required: No
Display Name: Shrink
JavaScript Type:
Default Value: false
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Top

color Property

Details

Type: color
Since: 1.0
Required: No
Display Name: Font color
JavaScript Type:
Default Value: black
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
maroon Maroon maroon
red Red red
orange Orange orange
yellow Yellow yellow
olive Olive olive
purple Purple purple
fuchsia Fuchsia fuchsia
white White white
lime Lime lime
green Green green
navy Navy navy
blue Blue blue
aqua Aqua aqua
teal Teal teal
black Black black
silver Silver silver
gray Gray gray


dateFormat Property

Details

Type: DateFormatValue Structure
Since: 2.2
Required: No
Display Name: Date format
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Format

dateTimeFormat Property

Details

Type: DateTimeFormatValue Structure
Since: 1.0
Required: No
Display Name: Date/Time format
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Format

display Property

Details

Type: choice (display)
Since: 1.0
Required: No
Display Name: Display
JavaScript Type:
Default Value: block
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Section

Choices

NameDisplay Name ValueDescription
block Block block
inline Inline inline
none No display none


fontFamily Property

Details

Type: string
Since: 1.0
Required: No
Display Name: Font family
JavaScript Type:
Default Value: serif
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
serif Serif serif
sans-serif Sans Serif sans-serif
cursive Cursive cursive
fantasy Fantasy fantasy
monospace Monospace monospace


fontSize Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Font size
JavaScript Type:
Default Value: medium
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
xx-small XX Small xx-small
x-small X Small x-small
small Small small
medium Medium medium
large Large large
x-large X Large x-large
xx-large XX Large xx-large
larger Larger larger
smaller Smaller smaller


fontStyle Property

Details

Type: choice (fontStyle)
Since: 1.0
Required: No
Display Name: Font style
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
normal Normal normal
italic Italic italic
oblique Oblique oblique


fontVariant Property

Details

Type: choice (fontVariant)
Since: 1.0
Required: No
Display Name: Font variant
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
normal Normal normal
small-caps Small Caps small-caps


fontWeight Property

Details

Type: choice (fontWeight)
Since: 1.0
Required: No
Display Name: Font weight
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
normal Normal normal
bold Bold bold
bolder Bolder bolder
lighter Lighter lighter
100 100 100
200 200 200
300 300 300
400 400 400
500 500 500
600 600 600
700 700 700
800 800 800
900 900 900


highlightRules Property

Details

Type: List of HighlightRule Structures
Since: 1.0
Required: No
Display Name: Highlight rules
JavaScript Type:
Default Value: None
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Top

letterSpacing Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Letter spacing
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
normal Normal normal


lineHeight Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Line height
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
normal Normal normal


mapRules Property

Details

Type: List of MapRule Structures
Since: 1.0
Required: No
Display Name: Map rules
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Top

marginBottom Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Margin bottom
JavaScript Type:
Default Value: 0pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
auto Auto auto


marginLeft Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Margin left
JavaScript Type:
Default Value: 0pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
auto Auto auto


marginRight Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Margin right
JavaScript Type:
Default Value: 0pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
auto Auto auto


marginTop Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Margin top
JavaScript Type:
Default Value: 0pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

Choices

NameDisplay Name ValueDescription
auto Auto auto


masterPage Property

Details

Type: name
Since: reserved
Required: No
Display Name: Master page
JavaScript Type:
Default Value: None
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Section

numberAlign Property

Details

Type: choice (textAlign)
Since: 1.0
Required: No
Display Name: Number alignment
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Format

Choices

NameDisplay Name ValueDescription
left Left left
center Center center
right Right right
justify Justify justify


numberFormat Property

Details

Type: NumberFormatValue Structure
Since: 1.0
Required: No
Display Name: Number format
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Format

orphans Property

Details

Type: integer
Since: 1.0
Required: No
Display Name: Orphans
JavaScript Type:
Default Value: 2
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
inherit Inherit inherit


paddingBottom Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Padding bottom
JavaScript Type:
Default Value: 1pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

paddingLeft Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Padding left
JavaScript Type:
Default Value: 1pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

paddingRight Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Padding right
JavaScript Type:
Default Value: 1pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

paddingTop Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Padding top
JavaScript Type:
Default Value: 1pt
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Box

pageBreakAfter Property

Details

Type: choice (pageBreakAfter)
Since: 1.0
Required: No
Display Name: Page break after
JavaScript Type:
Default Value: auto
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Section

Choices

NameDisplay Name ValueDescription
auto Auto auto
always Always always
avoid Avoid avoid
always-excluding-last Always Excluding Last always-excluding-last


pageBreakBefore Property

Details

Type: choice (pageBreakBefore)
Since: 1.0
Required: No
Display Name: Page break before
JavaScript Type:
Default Value: auto
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Section

Choices

NameDisplay Name ValueDescription
auto Auto auto
always Always always
avoid Avoid avoid
always-excluding-first Always Excluding First always-excluding-first


pageBreakInside Property

Details

Type: choice (pageBreakInside)
Since: 1.0
Required: No
Display Name: Page break inside
JavaScript Type:
Default Value: auto
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Section

Choices

NameDisplay Name ValueDescription
avoid Avoid avoid
auto Auto auto


showIfBlank Property

Details

Type: boolean
Since: 1.0
Required: No
Display Name: Show if blank
JavaScript Type:
Default Value: false
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Section

stringFormat Property

Details

Type: StringFormatValue Structure
Since: 1.0
Required: No
Display Name: String format
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Format

textAlign Property

Details

Type: choice (textAlign)
Since: 1.0
Required: No
Display Name: Text alignment
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
left Left left
center Center center
right Right right
justify Justify justify


textIndent Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Text indent
JavaScript Type:
Default Value: 0em
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

textLineThrough Property

Details

Type: choice (textLineThrough)
Since: 1.0
Required: No
Display Name: Line-through
JavaScript Type:
Default Value: none
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
none No line through text none
line-through Line-through line-through


textOverline Property

Details

Type: choice (textOverline)
Since: 1.0
Required: No
Display Name: Overline
JavaScript Type:
Default Value: none
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
none No line over text none
overline Overline overline


textTransform Property

Details

Type: choice (transform)
Since: 1.0
Required: No
Display Name: Text transform
JavaScript Type:
Default Value: none
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
capitalize Capitalize capitalize
uppercase Upper Case uppercase
lowercase Lower Case lowercase
none No transformation none


textUnderline Property

Details

Type: choice (textUnderline)
Since: 1.0
Required: No
Display Name: Underline
JavaScript Type:
Default Value: none
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Font

Choices

NameDisplay Name ValueDescription
none No underline none
underline Underline underline


timeFormat Property

Details

Type: TimeFormatValue Structure
Since: 2.2
Required: No
Display Name: Time format
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Hidden
Property Sheet Group: Format

verticalAlign Property

Details

Type: string
Since: 1.0
Required: No
Display Name: Vertical alignment
JavaScript Type:
Default Value: None
Inherited: No
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
top Top top
middle Middle middle
bottom Bottom bottom


whiteSpace Property

Details

Type: choice (whiteSpace)
Since: 1.0
Required: No
Display Name: Whitespace
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
normal Normal normal
pre Preformatted pre
nowrap No Wrapping nowrap


widows Property

Details

Type: integer
Since: 1.0
Required: No
Display Name: Widows
JavaScript Type:
Default Value: 2
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
inherit Inherit inherit


wordSpacing Property

Details

Type: dimension
Since: 1.0
Required: No
Display Name: Word spacing
JavaScript Type:
Default Value: normal
Inherited: Yes
Runtime Settable: Yes
Property Sheet Visibility: Visible
Property Sheet Group: Text

Choices

NameDisplay Name ValueDescription
normal Normal normal