00001 /************************************************************************* 00002 * 00003 * The Contents of this file are made available subject to 00004 * the terms of GNU Lesser General Public License Version 2.1. 00005 * 00006 * 00007 * GNU Lesser General Public License Version 2.1 00008 * ============================================= 00009 * Copyright 2005 by Kohei Yoshida. 00010 * 1039 Kingsway Dr., Apex, NC 27502, USA 00011 * 00012 * This library is free software; you can redistribute it and/or 00013 * modify it under the terms of the GNU Lesser General Public 00014 * License version 2.1, as published by the Free Software Foundation. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this library; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00024 * MA 02111-1307 USA 00025 * 00026 ************************************************************************/ 00027 00028 00029 #ifndef _UNOHELPER_HXX_ 00030 #define _UNOHELPER_HXX_ 00031 00032 #include <unoglobal.hxx> 00033 00034 using namespace ::com::sun::star; 00035 using ::com::sun::star::uno::Reference; 00036 using ::com::sun::star::uno::XInterface; 00037 00038 namespace scsolver { namespace unohelper { 00039 00040 uno::Any getPropertyValue( const Reference< XInterface >&, const rtl::OUString& ); 00041 void getPropertyValue( const Reference< XInterface >&, const rtl::OUString&, sal_Int16& ); 00042 void setPropertyValue( const Reference< uno::XInterface >&, const rtl::OUString&, const sal_Int32 ); 00043 void setPropertyValue( const Reference< XInterface >&, const rtl::OUString&, const uno::Any& ); 00044 00045 }} 00046 00047 00048 #endif
1.5.3