Attributes' Summary |
MimeType |
Represents the output format (media (mime) type) of the resulting document when executing this report.
|
Caption |
Represents the title of the report in print preview.
|
GroupKeepTogether |
Specifies whether groups in a multi column report are kept together.
|
PageHeaderOption |
Represents the location of the page header.
|
PageFooterOption |
Represents the location of the page footer.
|
Command |
is the command which should be executed, the type of command depends
on the CommandType.
|
CommandType |
specifies the type of the command to be executed to retrieve a result set.
|
Filter |
specifies an addtional filter to optinally use.
|
EscapeProcessing |
specifies if the Command should be analyzed on the client side before sending it
to the database server.
|
ActiveConnection |
specifies the active connection which is used to create the resulting report.
|
DataSourceName |
is the name of the datasource to use, this could be a named datasource
or the URL of a data access component.
|
ReportHeaderOn |
Defines that the report header is on.
Default is false.
|
ReportFooterOn |
Defines that the report footer is on.
Default is false.
|
PageHeaderOn |
Defines that the page header is on.
Default is true.
|
PageFooterOn |
Defines that the page footer is on.
Default is true.
|
Groups |
Represents the groups of the report.
|
ReportHeader |
returns the report header if the ReportHeaderOnis true.
|
PageHeader |
returns the page header if the PageHeaderOnis true.
|
Detail |
returns the detail section.
|
PageFooter |
returns the page footer if the PageFooterOnis true.
|
ReportFooter |
returns the report footer if the ReportFooterOnis true.
|
Attributes' Details |
MimeType
[ bound ] string MimeType
- set raises (::com::sun::star::lang::IllegalArgumentException);
- Description
- Represents the output format (media (mime) type) of the resulting document when executing this report.
|
|
Caption
[ bound ] string Caption;
- Description
- Represents the title of the report in print preview.
|
|
GroupKeepTogether
|
PageHeaderOption
[ bound ] short PageHeaderOption;
- Description
- Represents the location of the page header.
- See also
- ReportPrintOption
|
|
PageFooterOption
[ bound ] short PageFooterOption;
- Description
- Represents the location of the page footer.
- See also
- ReportPrintOption
|
|
Command
[ bound ] string Command;
- Description
- is the command which should be executed, the type of command depends
on the CommandType.
In case of a CommandType of ::CommandType::COMMAND,
means in case the Command specifies an SQL statement, the inherited
::com::sun::star::sdbc::RowSet::EscapeProcessing
becomes relevant:
It then can be to used to specify whether the SQL statement should be analyzed on the
client side before sending it to the database server.
The default value for ::com::sun::star::sdbc::RowSet::EscapeProcessing
is true. By switching it to false, you can pass backend-specific SQL statements,
which are not standard SQL, to your database.
- See also
- ::com::sun::star::sdb::CommandType
|
|
CommandType
[ bound ] long CommandType;
- Description
- specifies the type of the command to be executed to retrieve a result set.
Command needs to be interpreted depending on the value of this property.
This property is only meaningfull together with the Command
property, thus either both or none of them are present.
- See also
- ::com::sun::star::sdb::CommandType
|
|
Filter
[ bound ] string Filter;
- Description
- specifies an addtional filter to optinally use.
The Filter string has to form a SQL WHERE-clause, without the WHERE-string itself.
If a DataSourceName, Command and CommandType
are specified, a ::RowSet can be created with this information. If the results provided by the
row set are to be additionally filtered, the Filter property can be used.
Note that the Filter property does not make sense if a ResultSet has been specified
in the DataAccessDescriptor.
- See also
- ::com::sun::star::sdb::RowSet, ResultSet
|
|
EscapeProcessing
[ bound ] boolean EscapeProcessing;
- Description
- specifies if the Command should be analyzed on the client side before sending it
to the database server.
The default value of this property is true. By switching it to false, you can pass
backend-specific SQL statements, which are not standard SQL, to your database.
This property is usually present together with the Command and
CommandType properties, and is evaluated if and only if CommandType
equals ::CommandType::COMMAND.
|
|
ActiveConnection
[ bound ] ::com::sun::star::sdbc::XConnection ActiveConnection
- set raises (::com::sun::star::lang::IllegalArgumentException);
- Description
- specifies the active connection which is used to create the resulting report.
|
|
DataSourceName
[ bound ] string DataSourceName;
- Description
- is the name of the datasource to use, this could be a named datasource
or the URL of a data access component.
|
|
ReportHeaderOn
[ bound ] boolean ReportHeaderOn;
- Description
- Defines that the report header is on.
Default is false.
|
|
ReportFooterOn
[ bound ] boolean ReportFooterOn;
- Description
- Defines that the report footer is on.
Default is false.
|
|
PageHeaderOn
[ bound ] boolean PageHeaderOn;
- Description
- Defines that the page header is on.
Default is true.
|
|
PageFooterOn
[ bound ] boolean PageFooterOn;
- Description
- Defines that the page footer is on.
Default is true.
|
|
Groups
[ readonly ] XGroups Groups;
- Description
- Represents the groups of the report.
|
|
ReportHeader
|
PageHeader
|
Detail
[ readonly ] XSection Detail;
- Description
- returns the detail section.
- See also
- XSection
|
|
PageFooter
|
ReportFooter
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.