LCOV - code coverage report
Current view: top level - libreoffice/sc/source/ui/vba - vbaname.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef SC_VBA_NAME_HXX
      20             : #define SC_VBA_NAME_HXX
      21             : 
      22             : #include <ooo/vba/excel/XName.hpp>
      23             : #include <com/sun/star/sheet/XNamedRange.hpp>
      24             : #include <com/sun/star/sheet/XNamedRanges.hpp>
      25             : 
      26             : #include <vbahelper/vbahelperinterface.hxx>
      27             : 
      28             : class ScDocument;
      29             : 
      30             : typedef InheritedHelperInterfaceImpl1< ov::excel::XName > NameImpl_BASE;
      31             : 
      32             : class ScVbaName : public NameImpl_BASE
      33             : {
      34             :     css::uno::Reference< css::frame::XModel > mxModel;
      35             :     css::uno::Reference< css::sheet::XNamedRange > mxNamedRange;
      36             :     css::uno::Reference< css::sheet::XNamedRanges > mxNames;
      37             : 
      38             : protected:
      39           0 :     virtual css::uno::Reference< css::frame::XModel >  getModel() { return mxModel; }
      40             :     virtual css::uno::Reference< ov::excel::XWorksheet > getWorkSheet() throw (css::uno::RuntimeException);
      41             : 
      42             : public:
      43             :     ScVbaName( const css::uno::Reference< ov::XHelperInterface >& xParent,  const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XNamedRange >& xName , const css::uno::Reference< css::sheet::XNamedRanges >& xNames , const css::uno::Reference< css::frame::XModel >& xModel );
      44             :     virtual ~ScVbaName();
      45             : 
      46             :     // Attributes
      47             :     virtual ::rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException);
      48             :     virtual void SAL_CALL setName( const ::rtl::OUString &rName ) throw (css::uno::RuntimeException);
      49             :     virtual ::rtl::OUString SAL_CALL getNameLocal() throw (css::uno::RuntimeException);
      50             :     virtual void SAL_CALL setNameLocal( const ::rtl::OUString &rName ) throw (css::uno::RuntimeException);
      51             :     virtual sal_Bool SAL_CALL getVisible() throw (css::uno::RuntimeException);
      52             :     virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw (css::uno::RuntimeException);
      53             :     virtual ::rtl::OUString SAL_CALL getValue() throw (css::uno::RuntimeException);
      54             :     virtual void SAL_CALL setValue( const ::rtl::OUString &rValue ) throw (css::uno::RuntimeException);
      55             :     virtual ::rtl::OUString SAL_CALL getRefersTo() throw (css::uno::RuntimeException);
      56             :     virtual void SAL_CALL setRefersTo( const ::rtl::OUString &rRefersTo ) throw (css::uno::RuntimeException);
      57             :     virtual ::rtl::OUString SAL_CALL getRefersToLocal() throw (css::uno::RuntimeException);
      58             :     virtual void SAL_CALL setRefersToLocal( const ::rtl::OUString &rRefersTo ) throw (css::uno::RuntimeException);
      59             :     virtual ::rtl::OUString SAL_CALL getRefersToR1C1() throw (css::uno::RuntimeException);
      60             :     virtual void SAL_CALL setRefersToR1C1( const ::rtl::OUString &rRefersTo ) throw (css::uno::RuntimeException);
      61             :     virtual ::rtl::OUString SAL_CALL getRefersToR1C1Local() throw (css::uno::RuntimeException);
      62             :     virtual void SAL_CALL setRefersToR1C1Local( const ::rtl::OUString &rRefersTo ) throw (css::uno::RuntimeException);
      63             :     virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getRefersToRange() throw (css::uno::RuntimeException);
      64             :     virtual void SAL_CALL setRefersToRange( const css::uno::Reference< ov::excel::XRange > xRange ) throw (css::uno::RuntimeException);
      65             : 
      66             :     // Methods
      67             :     virtual void SAL_CALL Delete() throw (css::uno::RuntimeException);
      68             : 
      69             :     // XHelperInterface
      70             :     virtual rtl::OUString getServiceImplName();
      71             :     virtual css::uno::Sequence<rtl::OUString> getServiceNames();
      72             : };
      73             : #endif /* SC_VBA_NAME_HXX */
      74             : 
      75             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10