- Pentaho 5.0 Reporting by Example
- Mariano García Mattío Dario R. Bernabeu
- 317字
- 2021-08-13 16:24:36
Time for action – adding more details
Next, we will add two vertical lines in the Details section and add an image in the Page Header section:
- We add another detail in the Details section. We add two vertical lines (
) to separate our report's columns. It should look as follows:
- Establish the following characteristics for both lines:
- Style.stroke =
solid, 1.0
- Style.text-color =
#0099333
; to finish this example, we add an image in the Page Header section
- Style.stroke =
- In the Page Header section, place the Image object (
). Right-click on this object, and in the drop-down menu, choose the Edit Content... option.
- We need to indicate our image's path and choose how we want the image connected to our report:
- Link To: This option only stores the image's path. The image is obtained when the report is executed.
- Embed In Report: This option stores the image as a resource with the report's metadata.
Note
The advantage of Link To is that the size of the report is smaller. Also, the image can be changed, maintaining the same name, and the report will continue using it. The disadvantage is that it depends on the image's location. The advantage of Embed in Report is that it does not depend on the image's location. The disadvantage is that the image will always be the same and the report will be larger in size.
button, and search for an image to be put in our report. Next, we press on the OK button to save our changes.
- Let's see what our first report looks like. Press the preview button. We should obtain the following result:
What just happened?
We added a vertical line in the Details section to separate the fields it contains. We added an image in the Page Header section. Finally, we executed the report in the preview mode.
推薦閱讀
- Excel讓辦公如此簡單
- MATLAB 2020中文版從入門到精通
- 漫!動作!人體動態漫畫素描技法超級大全
- 對比Excel,輕松學習Python報表自動化
- Excel 2016高效辦公實戰應用與技巧大全666招
- 精通Excel數據統計與分析
- 新手易學:Word 2010+Excel 2010+PowerPoint 2010三合一
- Excel行政文秘應用之道
- 精通Excel數據統計與分析
- Excel數據透視表應用之道(雙色板)
- Intuit QuickBooks Enterprise Edition 12.0 Cookbook for Experts
- Office 2013從新手到高手(超值版)
- 精英演示:PPT的商務演示藝術
- 圖表之美:打造優秀的Excel圖表
- 電腦急救完全DIY