diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-04-25 15:08:07 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-04-25 15:08:07 +0000 |
commit | 806758fc3cc7ec39e1051c7183cd4a51d947911d (patch) | |
tree | 868efaf1d0322193f1b74a66c469a8f223bca8c8 /sc/source/ui/vba/vbainterior.hxx | |
parent | 5aad8c7696e4143e9e62e66dc2c0ee105af16e48 (diff) |
INTEGRATION: CWS npower6 (1.1.2); FILE ADDED
2007/02/21 17:29:20 npower 1.1.2.2: #i74096 add license
2007/02/07 21:17:57 npower 1.1.2.1: #i74096# add compatibility api implementation
Diffstat (limited to 'sc/source/ui/vba/vbainterior.hxx')
-rw-r--r-- | sc/source/ui/vba/vbainterior.hxx | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/sc/source/ui/vba/vbainterior.hxx b/sc/source/ui/vba/vbainterior.hxx new file mode 100644 index 000000000000..c3641ecc9dd9 --- /dev/null +++ b/sc/source/ui/vba/vbainterior.hxx @@ -0,0 +1,71 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: vbainterior.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2007-04-25 16:07:55 $ + * + * 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 SC_VBA_INTERIOR_HXX +#define SC_VBA_INTERIOR_HXX + +#include <cppuhelper/implbase1.hxx> +#include <org/openoffice/excel/XInterior.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> +#include "vbarange.hxx" + +#include <com/sun/star/script/XInvocation.hpp> + +class ScDocument; + +typedef ::cppu::WeakImplHelper1< oo::excel::XInterior > ScVbaInterior_BASE; + +class ScVbaInterior : public ScVbaInterior_BASE +{ + css::uno::Reference< css::beans::XPropertySet > m_xProps; + css::uno::Reference< css::uno::XComponentContext > m_xContext; + ScDocument* m_pScDoc; + + css::uno::Reference< css::container::XIndexAccess > getPalette(); +public: + ScVbaInterior( const css::uno::Reference< css::uno::XComponentContext >& xContext, + const css::uno::Reference< css::beans::XPropertySet >& xProps, ScDocument* pScDoc ) throw ( css::lang::IllegalArgumentException); + + virtual ~ScVbaInterior(){} + + virtual css::uno::Any SAL_CALL getColor() throw (css::uno::RuntimeException) ; + virtual void SAL_CALL setColor( const css::uno::Any& _color ) throw (css::uno::RuntimeException) ; + + virtual css::uno::Any SAL_CALL getColorIndex() throw ( css::uno::RuntimeException); + virtual void SAL_CALL setColorIndex( const css::uno::Any& _colorindex ) throw ( css::uno::RuntimeException ); +}; +#endif + |