Skip to content

XML Dimension

In $report you can do changes to the rows. A ReportLine represents a row.

Each ReportLine includes these properties.

PropertyDescription
keyThe key represents the row number
labelSets a row label
typeRow type can either be TYPE_TEXT, TYPE_SQL or TYPE_CALC
expressionAdds expression to TYPE_TEXT and TYPE_CALC
filterAdds filter to TYPE_SQL
styleClassAdds styling to the row

Here are the current styles that are available.

StyleDescription
row-separatorAdds a blank row
boldbold font style
italicitalic font style
border-topAdds a border on top of the row
border-bottomAdds a border at the bottom of the row
background-blueFills the row with a blue color (also works with brown, cyan, green, dark-green, orange, pink, purple, red, turquoise, yellow, grey)
color-blueMakes the text blue (also works with brown, cyan, green, dark-green, orange, pink, purple, red, turquoise, yellow, grey)
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.4.2_08" class="java.beans.XMLDecoder">
<object class="java.util.HashMap">
<void method="put"> <string>0</string> <object class="no.deem.analytics.olap.model.ReportLine">
<void property="key"> <string>0</string> </void>
<void property="label"> <string>blue</string> </void>
<void property="type"> <string>TYPE_TEXT</string></void>
<void property="expression"> <string></string></void>
<void property="styleClass"> <string>row-separator background-blue color-blue border-top</string> </void>
</object> </void>
<void method="put"> <string>1</string> <object class="no.deem.analytics.olap.model.ReportLine">
<void property="key"> <string>1</string> </void>
<void property="label"> <string>brown</string> </void>
<void property="type"> <string>TYPE_TEXT</string></void>
<void property="expression"> <string></string></void>
<void property="styleClass"> <string>row-separator bold background-brown color-brown</string> </void>
</object> </void>
</object>
</java>