Tải bản đầy đủ (.pdf) (14 trang)

Pentaho Reporting 3.5 for Java Developers- P9

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (470.17 KB, 14 trang )

[
352
]
example 279- 284
expression element, attributes 277
grouping property 276
metadata, dening 277
module properties, dening 278, 279
EXP(Value1) function 201
F
FALSE() function 200
FIND(Search; Text[; Index]) function 202
formula expression 250
formula function
date time functions 199
logical functions 200
mathematical functions 201
text functions 202
formula function, implementing
about 285
Default Constructor method 286
Description property 286
display-name property 286
FunctionCategory getCategory() method
286
int getParameterCount() method 286
parameter.<N>.description property 286
parameter.<N>.display-name property 286
public boolean isParameterMandatory(int
position) method 286
public Type getValueType() method 286


regex formula functio example 287- 290
Type getParameterType(int position)
method 286
formula, working with
data types 197
functions 199
operators 198, 199
syntax 197
FunctionCategory getCategory() method
286
functions
advanced 192
common 186
image 194
implementing 285
properties 185
report 187
running 190
summary 188
script 195
functions, formula
date time functions 199, 200
logical functions 200
mathematical functions 201, 202
miscellaneous functions 204, 205
report specic functions 204
text functions 202, 203
G
general group, rendering property
3-D 156

anati-alias 156
bg-color 156
bg-image 156
border-color 156
plot-bg-alpha 156
plot-border 156
plot-fg-alpha 156
show border 156
Group Count function 188
grouping.ordinal property 294
grouping property 294
H
HASCHANGED(Text) function 204
HOUR (time) function 199
HQLDataFactory, DataFactory
implementations
DefaultSessionProvider 131
example 132- 134
interface 130
StaticSessionProvider 131
HSQLDB
about 54
conguring, with ElectroBarn Schema 54
HTML
interactive reports 239
This material is copyright and is licensed for the sole use by David Martone on 16th September 2009
710 South Avenue West, , Westfield, , 07090
[
353
]

I
icon property 294
IF(Expression; ReturnTrue; ReturnFalse)
function 200
image functions
barcode 194
sparkline 194
sparkline, properties 194
survey scale 195
initialize method 117
installing
Pentaho Reporting 29
interactive reports, HTML
about 239
append-body-footer property 239
append-body property 239
append-header property 239
class property 239
CSS, including 241
dashboard example 241- 245
events 240
JavaScript, including 241
name property 239
on-click event 240
on-double-click event 240
on-key-down event 240
on-key-pressed event 240
on-key-up event 240
on-mouse-down event 240
on-mouse-move event 240

on-mouse-over event 240
on-mouse-up event 240
properties 239
reporting HTML DOM, manipulating 241
title property 239
xml-id property 239
interactive reports, Swing
event callbacks, retrieving 229
example 232- 238
Internet Relay Chat.
See
IRC
IRC 21
int getParameterCount() method 286
INT(Value) function 201
ISBLANK(Value) function 204
ISERROR(Value) function 204
ISERR(Value) function 205
ISEVEN(Value) function 205
Is Export Type function 188
ISLOGICAL(Value) function 205
ISNA(Expression) function 205
ISNONTEXT(Value) function 205
ISNUMBER(Value) function 205
ISODD(Value) function 205
ISREF(Value) function 205
ISTEXT(Value) function 205
J
JavaScript Expression 196
Java’s Naming and Directory Interface

(JNDI)
using 124
JFreeReport 10, 11
JndiConnectionProvider, DataFactory
implementations
examples 125
Java’s Naming and Directory Interface
(JNDI), using 124
setConnectionPath method 125
setPassword method 125
setQuery method 125
setUsername method 125
K
KettleDataFactory, DataFactory
implementations
example 143- 145
initializing 142
Kettle tool 141
L
LabelElementFactory class 269
layout.xml le, serialized report format
data-body 256
data-body XML element 256
example 259, 260
group 255
group-body 256
layout-processors 255
layout XML elements 254
preprocessor 255
primary namespaces 254

This material is copyright and is licensed for the sole use by David Martone on 16th September 2009
710 South Avenue West, , Westfield, , 07090
[
354
]
report elements 256
report-footer 255
report-header 255
LEFT(Text; Length) function 202
legend group, rendering process
legend-border 157
legend-bg-color 157
legend-font 157
legend-font-color 157
location 157
show legend 157
LEN(Text) function 202
line chart, supported charts
example 166
line-size property 165
line-style property 165
show-markers property 165
use 165
link properties, elements
html-anchor 98
url 98
url-tooltip 98
url-window-title 98
LN(Value1) function 201
LOG10(Value) function 201

logical data type 197
logical functions, formula functions
AND(Expression1; Expression2; ...) 200
FALSE() 200
IF(Expression; ReturnTrue; ReturnFalse)
200
NOT(Expression) 200
OR(Expression1; Expression2; ...) 200
TRUE() 200
XOR(Expression1; Expression2; ...) 200
LOG(Value; Base) function 201
LOWER(Text) function 203
M
mathematical functions, formula functions
ABS(Value) 201
ACOSH(Value) 201
ACOS(Value) 201
ASIN(Value) 201
ATAN2(Value1;Value2) 201
ATAN(Value) 201
AVERAGEA(Value1; Value2; …) 201
AVERAGE(Value1; Value2; ...) 201
COS(Value1) 201
EVEN(Value) 201
EXP(Value1 201
INT(Value) 201
LN(Value1) 201
LOG10(Value) 201
LOG(Value; Base) 201
MAXA(Value1; Value2; ...) 201

MAX(Value1; Value2; ...) 201
MINA(Value1; Value2; ...) 202
MIN(Value1; Value2; ...) 202
MOD(Value1; Value2) 202
ODD((Value) 202
PI() 202
POWER(Value; Power) 202
SIN(Value) 202
SQRT(Value) 202
SUMA(Value1; Value2; …) 202
SUM(Value1; Value2; ...) 202
VAR(Value1; Value2; …) 202
MAXA(Value1; Value2; ...) function 201
MAX(Value1; Value2; ...) function 201
METADATA function 204
Metadata Query Language (MQL) 135
MetaTableModel API 320, 321
MID(Text; Start; Length) function 202
MINA(Value1; Value2; ...) function 202
MINUTE (time) function 199
MIN(Value1; Value2; ...) function 202
miscellaneous functions, formula functions
CHOOSE(Index; Value1; Value2; ...) 204
COUNTA(Value1; Value2; ...) 204
COUNTBLANK(Reference) 204
COUNT(Value1; Value2; ...) 204
HASCHANGED(Text) 204
ISBLANK(Value) 204
ISERROR(Value) 205
ISERR(Value) 205

ISEVEN(Value) 205
ISLOGICAL(Value) 205
ISNA(Expression) 205
ISNUMBER(Value) 205
ISODD(Value) 205
ISREF(Value) 205
ISTEXT(Value) 205
This material is copyright and is licensed for the sole use by David Martone on 16th September 2009
710 South Avenue West, , Westfield, , 07090
[
355
]
NA() 205
mobile reporting
about 316
building 317- 319
iPhone BI extension example 318, 319
report, designing 318
report server, developing 317, 318
module.description property 278
module.name property 278
module.producer property 278
module.version.major property 278
module.version.minor property 278
module.version.patchlevel property 278
MOD(Value1; Value2) function 202
MONTH (Date) function 199
Multidimensional OLAP Data Access
(MDX) 13
N

name attribute 277
NamedStaticDataFactory, DataFactory
implementations
example 121, 122, 123
query syntax 120
using 120
name property 239
NOT(Expression) function 202
NOW() function 199
Numeric data type 197
O
ODD((Value) function 202
on-click event 240
on-double-click event 240
on-key-down event 240
on-key-pressed event 240
on-key-up event 240
on-mouse-down event 240
on-mouse-move event 240
on-mouse-over event 240
on-mouse-up event 240
OpenDocument format (ODF) 23
Options group, rendering property
horizontal 156
series-colors 156
ordinal property 294
OR(Expression1; Expression2; ...) function
200
output formats
cell outputs 112, 113

paging 114
report, viewing in Excel 113
rich graphics limitations 114
P
padding styles, bands
bottom 91
left 91
right 91
top 91
page behavior properties, bands
avoid-page-break 92
orphans 92
pagebreak-before 92
widows 92
page-break-after attribute 114
page-break-before attribute 114
Page function 186
Page Of Pages function 186
parameter.<N>.description property 286
parameter.<N>.display-name property 286
Pentaho Report Designer
additional data sources 115
bands 88
downloading 28
prerequisites 28
report, building 30
user interface, components 85-88
visual layout 105
Pentaho Reporting
.prpt bundle le format 249

about 5
architecture 22
Chart Editor 153, 154
community 340
Cross tabs 219
DataFactory implementations 119
data source example, setting up 53, 56
data source metadata 319
expressions, implementing 275
extending 275
features 6, 10, 12
This material is copyright and is licensed for the sole use by David Martone on 16th September 2009
710 South Avenue West, , Westfield, , 07090
[
356
]
fonts, issues 112
fonts, working with 111, 112
formulas,working with 196
functions, properties 185
GNU Lesser General Public License
(LGPL) 5
history 10, 11
installing 29
integrating, into Swing applications 41-45
integrating, into Tomcat J2EE 48-50
Java API used, for building report 264
LibFormula 196
output layer, working with 332
parameter types, dening 184

Pentaho Report Designer 11
Pentaho Reporting Engine 5
Pentaho Reporting Engine Data API 115
Pentaho Reporting Flow Engine 11
Pentaho ReportingOutputProcessor
interface 333
prerequisites 27, 28
report function, implementing 275
shortcut key table 112
sub-reports 209
supported charts 153
timeline 11, 12
uses 6
using, with BI server 305
Pentaho Reporting, architecture
LibBase 22
LibDocBundle 23
LibFonts 23
LibFormat 23
LibFormula 23
LibLoader 23
LibRepository 23
LibSerializer 24
LibXml 24
Report Engine Core project 24
Report Engine Extensions project 24
Pentaho Reporting, community
backlog, viewing 340
bugs, submitting 340
code, contributing 341

Enterprise Edition 341
forums 340
founder, Thomas Morgner 340
IRC channel 340
online documentation 340
Pentaho Reporting, features
advanced reporting algorithm 12
business friendly license 22
charts, embedding 16
Cross Tab Reports 18
custom formulas 17
data sources 13
extensibility 21
interactive reporting 18
Java API 21
JFreeChart engine used 16
output formats 13, 14
Pentaho Report Designer, using 15
reporting server 21
report parameterization 16
rich authoring tools 20
rich formating 15
roadmap 22
style expressions 17
sub-reports 17
Pentaho Reporting Engine Data API
about 115
ContextAwareDataFactory interface 117
DataFactory, deserializing 118
DataFactory interface 115, 116

DataFactory, serializing 118
MetaTableModel interface 119
TableModel interface 115, 117
Pentaho Reporting, extending
BeanShell expression, implementing 290
expressions, implementing 275
formula function, implementing 285
report element, implementing 291
report functions, implementing 285
Pentaho Reporting, output layer
DesignerContextAction, implementing 334
OutputProcessor interface 333
OutputProcessorMetaData interface 332
PojoObject output example 334-339
RenderNode Document Object Model 333
Report Designer, updating 334
working with 332
This material is copyright and is licensed for the sole use by David Martone on 16th September 2009
710 South Avenue West, , Westfield, , 07090

×