module com { module sun { module star { module report {
interface XSection; /** describes a component which may be part of a report.
@seeXReportDefinition
*/
interface XReportComponent
{
interface com::sun::star::util::XCloneable; /** identifies the component as a candidate for being part of a report. <p>Thisinterfacealsoprovidestheaccesstothecomponent'sparent.</p>
*/
interface com::sun::star::container::XChild;
/** allows life-time control of report components.
*/
interface com::sun::star::lang::XComponent;
interface com::sun::star::drawing::XShape;
/** gives access to the properties.
*/
interface com::sun::star::beans::XPropertySet;
/** the name of the component.
*/
[attribute,bound] string Name
{
set raises ( com::sun::star::beans::PropertyVetoException );
};
/** specifies the height of the control.
*/
[attribute,bound] long Height
{
set raises ( com::sun::star::beans::PropertyVetoException );
};
/** specifies the horizontal position of the control.
*/
[attribute,bound] long PositionX;
/** specifies the vertical position of the control.
*/
[attribute,bound] long PositionY;
/** specifies the width of the control.
*/
[attribute,bound] long Width
{
set raises ( com::sun::star::beans::PropertyVetoException );
};
/** Specifies that the control containing data shall automatically grow to the optimal height toshowthedatawithoutwastingspace.
*/
[attribute, bound] boolean AutoGrow
{
set raises(com::sun::star::beans::UnknownPropertyException);
get raises(com::sun::star::beans::UnknownPropertyException);
};
/** specifies the border style of the control.
<pre> 0:Noborder 2:simpleborder </pre>
*/
[attribute,bound] short ControlBorder
{
set raises ( com::sun::star::lang::IllegalArgumentException,com::sun::star::beans::UnknownPropertyException );
get raises ( com::sun::star::beans::UnknownPropertyException );
};
/** specifies the color of the border, if present
<p>Noteveryborderstyle(seeBorder)maysupportcoloring. Forinstance,usuallyaborderwith3DeffectwillignoretheBorderColorsetting.</p>
*/
[attribute,bound] long ControlBorderColor
{
set raises ( com::sun::star::lang::IllegalArgumentException,com::sun::star::beans::UnknownPropertyException );
get raises ( com::sun::star::beans::UnknownPropertyException );
};
/** Specifies that recurring values are printed. Ifsetto`TRUE`thenthevaluewillbeprintedeverytime.Ifsetto`FALSE`thenthevaluewillonlybeprintedonce. Thedefaultvalueis`TRUE`.
*/
[attribute,bound] boolean PrintRepeatedValues
{
set raises ( com::sun::star::beans::UnknownPropertyException );
get raises ( com::sun::star::beans::UnknownPropertyException );
};
/** is used for subreports and contains the names of columns of the parent report. <p>Thesecolumnsaretypicallytheforeignkeyfieldsoftheparentreport. Thevaluesofthesecolumnsareusedtoidentifythedataforthesubreport. Eachtimetheparentreportchangesitscurrentrow,thesubreportrequeries it'sdatabasedonthevaluesofthemasterfields.</p> <p>Ifthereportisnosubreport(e.g.itsparentisnotareportitself),this propertyisnotevaluated.</p>
*/
[attribute,bound] sequence<string> MasterFields
{
set raises ( com::sun::star::beans::UnknownPropertyException );
get raises ( com::sun::star::beans::UnknownPropertyException );
};
/**is used for subreports and contains the names of the columns of the subreport whicharerelatedtothemasterfieldsoftheparentreport. <p>Entriesinthissequencecaneitherdenotecolumnnamesinthesubreport, orparameternames.<br/> Forinstance,youcouldbasethereportontheSQLstatement <code>SELECT*FROMinvoicesWHEREcust_ref=:cid</code>,andadd<code>cid</code> totheDetailFieldsproperty.Inthiscase,theparameterwillbefilledfrom thecorrespondingmasterfield.<br/> Alternatively,youcouldsimplybaseyourreportonthetable<code>invoices</code>, andaddthecolumnname<code>cust_ref</code>totheDetailFields.Inthiscase, andimplicitfilterclause<code>WHEREcust_ref=:<new_param_name></code>will becreated,andtheartificialparameterwillbefilledfromthecorresponding masterfield.<br/> Ifastringinthispropertydenotesbothacolumnnameandaparametername,it isundefinedwhichwayitisinterpreted,butimplementationsoftheservicearerequired toeitherdecidefortheparameterorthecolumn,andproceedasusual. </p> <p>Thecolumnsspecifiedhereintypicallyrepresentapartoftheprimarykey fieldsortheiraliasesofthedetailreport.</p> <p>Ifthereportisnosubreport(e.g.itsparentisnotareportitself),this propertyisnotevaluated.</p> *
*/
[attribute,bound] sequence<string> DetailFields
{
set raises ( com::sun::star::beans::UnknownPropertyException );
get raises ( com::sun::star::beans::UnknownPropertyException );
};
/** Specifies the section where the control belongs to. Thisisashortcuttogetcontrolhierarchyup. Thisvalueis`NULL`whenthecontrolwasnotinsertedinanysection.
*/
[attribute,readonly] com::sun::star::report::XSection Section;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.