diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-06 06:23:52 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-06 06:23:52 +0000 |
commit | 5d48eb78215aaf994f327764da494e0415634963 (patch) | |
tree | 2cbc478e11739febe043c96148cd83dd56c83937 /offapi | |
parent | b987f14b96a811293488f77521bacbb6bdd4fb36 (diff) |
INTEGRATION: CWS oj14 (1.1.2); FILE ADDED
2007/04/27 11:06:31 oj 1.1.2.1: #i76758# new report api
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/report/inspection/DefaultComponentInspectorModel.idl | 104 | ||||
-rw-r--r-- | offapi/com/sun/star/report/inspection/ReportComponentHandler.idl | 63 |
2 files changed, 167 insertions, 0 deletions
diff --git a/offapi/com/sun/star/report/inspection/DefaultComponentInspectorModel.idl b/offapi/com/sun/star/report/inspection/DefaultComponentInspectorModel.idl new file mode 100644 index 000000000000..b904d1d6e537 --- /dev/null +++ b/offapi/com/sun/star/report/inspection/DefaultComponentInspectorModel.idl @@ -0,0 +1,104 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: DefaultComponentInspectorModel.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2007-07-06 07:23:40 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_report_inspection__DefaultComponentInspectorModel_idl__ +#define __com_sun_star_report_inspection_DefaultComponentInspectorModel_idl__ + +#ifndef __com_sun_star_inspection_XObjectInspectorModel_idl__ +#include <com/sun/star/inspection/XObjectInspectorModel.idl> +#endif +#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ +#include <com/sun/star/lang/IllegalArgumentException.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module report { module inspection { + +//============================================================================= + +/** implements a <type scope="com::sun::star::inspection">XObjectInspectorModel</type> for + inspecting form components, in particular all components implementing the <type>ReportComponent</type> + service. + + <p>A <type>DefaultComponentInspectorModel</type> provides the following handlers by default: + <ul><li><type>GeometryHandler</type></li> + <li><type>ReportComponentHandler</type></li> + <li><typescope="com::sun::star::form::inspection">EditPropertyHandler</type></li> + </ul></p> + + @see com::sun::star::inspection::XObjectInspectorModel::HandlerFactories +*/ +service DefaultComponentInspectorModel : com::sun::star::inspection::XObjectInspectorModel +{ + /** creates a default DefaultComponentInspectorModel, providing factories for all + handlers listed above. + + @since OOo 2.2 + */ + createDefault(); + + /** creates a default DefaultComponentInspectorModel, providing factories for all + handlers listed above, and describing an ObjectInspector which has a help section. + + @param minHelpTextLines + denotes the minimum number of lines of text to be reserved for the help + section. + + @param maxHelpTextLines + denotes the maximum number of lines of text to be reserved for the help + section. + + @throws ::com::sun::star::lang::IllegalArgumentException + if <arg>minHelpTextLines</arg> or <arg>maxHelpTextLines</arg> are negative, + or if <arg>minHelpTextLines</arg> is greater than <arg>maxHelpTextLines</arg>. + + @see XObjectInspectorModel::HasHelpSection + @see XObjectInspectorModel::MinHelpTextLines + @see XObjectInspectorModel::MaxHelpTextLines + + @since OOo 2.2 + */ + createWithHelpSection( + [in] long minHelpTextLines, + [in] long maxHelpTextLines + ) + raises ( ::com::sun::star::lang::IllegalArgumentException ); +}; + +//============================================================================= + +}; }; }; }; }; + +#endif diff --git a/offapi/com/sun/star/report/inspection/ReportComponentHandler.idl b/offapi/com/sun/star/report/inspection/ReportComponentHandler.idl new file mode 100644 index 000000000000..bb21074ee801 --- /dev/null +++ b/offapi/com/sun/star/report/inspection/ReportComponentHandler.idl @@ -0,0 +1,63 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: ReportComponentHandler.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2007-07-06 07:23:52 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef __com_sun_star_report_inspection_ReportComponentHandler_idl__ +#define __com_sun_star_report_inspection_ReportComponentHandler_idl__ + +#ifndef __com_sun_star_inspection_XPropertyHandler_idl__ +#include <com/sun/star/inspection/XPropertyHandler.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module report { module inspection { + +//============================================================================= + +/** implements the default property handler for all known types of <type scope="com::sun::star::report">XReportComponent</type>s. + + @see com::sun::star::inspection::XPropertyHandler +*/ +service ReportComponentHandler +{ + interface com::sun::star::inspection::XPropertyHandler; +}; + +//============================================================================= + +}; }; }; }; }; + +#endif + |