diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-07 10:04:05 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-07 14:00:50 -0600 |
commit | 569d19f36b3ef06db84e8860072e5eb890a550bb (patch) | |
tree | 291e58dd64b6a115944461ef5c0e12b6bc4b1455 /offapi | |
parent | split idl with multiple class into one idl per. (diff) | |
download | core-569d19f36b3ef06db84e8860072e5eb890a550bb.tar.gz core-569d19f36b3ef06db84e8860072e5eb890a550bb.zip |
rebase XStringRepresentation
Change-Id: I10e680422598442e76dad24e06b56cb10a5ac936
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/inspection/StringRepresentation.idl | 46 | ||||
-rw-r--r-- | offapi/com/sun/star/inspection/XStringRepresentation.idl | 16 |
2 files changed, 12 insertions, 50 deletions
diff --git a/offapi/com/sun/star/inspection/StringRepresentation.idl b/offapi/com/sun/star/inspection/StringRepresentation.idl deleted file mode 100644 index 604e13e021af..000000000000 --- a/offapi/com/sun/star/inspection/StringRepresentation.idl +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org 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 version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef __com_sun_star_inspection_StringRepresentation_idl__ -#define __com_sun_star_inspection_StringRepresentation_idl__ - -#include <com/sun/star/inspection/XStringRepresentation.idl> - -module com { module sun { module star { module inspection { - -service StringRepresentation : XStringRepresentation -{ - create([in]com::sun::star::script::XTypeConverter TypeConverter)raises( com::sun::star::lang::IllegalArgumentException ); - createConstant([in]com::sun::star::script::XTypeConverter TypeConverter,[in] string Constant,[in] sequence<string> Values)raises( com::sun::star::lang::IllegalArgumentException ); -}; - -}; }; }; }; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/inspection/XStringRepresentation.idl b/offapi/com/sun/star/inspection/XStringRepresentation.idl index 8191978dc898..e11bd360cfdf 100644 --- a/offapi/com/sun/star/inspection/XStringRepresentation.idl +++ b/offapi/com/sun/star/inspection/XStringRepresentation.idl @@ -1,4 +1,3 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * @@ -20,14 +19,18 @@ #ifndef __com_sun_star_inspection_XStringRepresentation_idl__ #define __com_sun_star_inspection_XStringRepresentation_idl__ +#ifndef __com_sun_star_script_XTypeConverter_idl__ #include <com/sun/star/script/XTypeConverter.idl> +#endif +//============================================================================= module com { module sun { module star { module inspection { +//----------------------------------------------------------------------------- /** handles string representations of property values. @see */ -interface XStringRepresentation +published interface XStringRepresentation { /** converts a into a string. @param PropertyValue @@ -38,7 +41,7 @@ interface XStringRepresentation */ string convertToControlValue([in]any PropertyValue) raises( com::sun::star::uno::Exception ); - /** converts a string into an any with the type defined by the target type. + /** converts a string into an any with the type defined by the target tpye. @param ControlValue The to-be-converted control value. @param ControlValueType @@ -51,9 +54,14 @@ interface XStringRepresentation ) raises( com::sun::star::uno::Exception ); }; +service StringRepresentation : XStringRepresentation +{ + create([in]com::sun::star::script::XTypeConverter TypeConverter)raises( com::sun::star::lang::IllegalArgumentException ); + createConstant([in]com::sun::star::script::XTypeConverter TypeConverter,[in] string Constant,[in] sequence<string> Values)raises( com::sun::star::lang::IllegalArgumentException ); +}; +//============================================================================= }; }; }; }; #endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |