- Pentaho 5.0 Reporting by Example
- Mariano García Mattío Dario R. Bernabeu
- 374字
- 2021-08-13 16:24:35
Time for action – configuring the Report Header and Details Header sections
In the ensuing steps, we will configure the Report Header and Details Header sections so that it looks as follows:

- In the Report Header section, we will add a label with the header text.
- To do this, we must drag-and-drop the insertable object
Label
(); this means that we need to drag it and release it in the work area that belongs to the Report Header section. Next, we will configure this label so it includes the text First Report: Hello World in bold face, centered, and large font size.
- To do so, we will select the label we just added in the work area and configure its Attributes and Style properties.
- In the Attributes tab, as the value of the characteristic value, we enter
First Report: Hello World
. - In the Style tab, as the value of the bold characteristic, we enter
true
. - In the Style tab, as the value of the font-size characteristic, we enter
20
. - In the Style tab, as the value of the h-align characteristic, we enter
CENTER
.Note
From now on, to indicate that a certain value should be entered in a certain characteristic of Attributes or Style, we will use the following notations:
Attributes.value =
First Report: Hello World
Style.bold =
true
Style.font-size =
20
Style.h-align =
CENTER
- We will make the Details Header section visible in our report. The Details Header section is commonly used to place information of what you will see in Details.
- Go to the tab structure, and in the hierarchical tree, navigate to Master Report | Group: | Details Body | Details Header. Then set Attributes.hide-on-canvas to false as shown in the following screenshot:
- Place three labels in the work area of this section (by dragging-and-dropping) with the following text:
Location
Article
Qty of Sales
- Finally, configure the following characteristics:
- Style.font-size = 12
- Style.bold =
true4
. We insert a horizontal line () under the preceding labels and configure it in the following way:
- Style.stroke =
solid, 4.0
- Style.text-color =
#009933
What just happened?
We customized the report's Report Header and added and configured a title. Also, in the Details Header section we added and configured three column headings and a horizontal line.
推薦閱讀
- Word/Excel/PPT 2007入門(mén)與提高(超值版)
- Excel公式、函數(shù)與圖表應(yīng)用大全
- 辦公自動(dòng)化軟件
- 21天精通 Windows 7+Office 2010電腦辦公
- Office辦公高手應(yīng)用技巧
- Excel技術(shù)與應(yīng)用大全
- 巧學(xué)巧用Excel函數(shù):掌握核心技能,秒變數(shù)據(jù)分析高手
- 左手Excel右手Tableau數(shù)據(jù)分析可視化實(shí)戰(zhàn)案例視頻精講
- 文秘辦公自動(dòng)化培訓(xùn)教程
- Mapping and Visualization with SuperCollider
- 游戲美術(shù)設(shè)計(jì)
- PPT進(jìn)化:如何設(shè)計(jì)一份驚艷的PPT
- 圖表之美:打造優(yōu)秀的Excel圖表
- Office 2013應(yīng)用大全
- PowerPoint 2016高級(jí)應(yīng)用案例教程