nameuno.hxx (dffa72de) nameuno.hxx (102b8ff7)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 16 unchanged lines hidden (view full) ---

25#define SC_NAMEUNO_HXX
26
27#include <svl/lstner.hxx>
28#include "address.hxx"
29#include "formula/grammar.hxx"
30#include <com/sun/star/sheet/XLabelRange.hpp>
31#include <com/sun/star/sheet/XLabelRanges.hpp>
32#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 16 unchanged lines hidden (view full) ---

25#define SC_NAMEUNO_HXX
26
27#include <svl/lstner.hxx>
28#include "address.hxx"
29#include "formula/grammar.hxx"
30#include <com/sun/star/sheet/XLabelRange.hpp>
31#include <com/sun/star/sheet/XLabelRanges.hpp>
32#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
33#include <com/sun/star/sheet/XNamedRange.hpp>
33#include <com/sun/star/sheet/XNamedRange2.hpp>
34#include <com/sun/star/sheet/XFormulaTokens.hpp>
34#include <com/sun/star/sheet/XFormulaTokens.hpp>
35#include <com/sun/star/sheet/XNamedRanges.hpp>
35#include <com/sun/star/sheet/XNamedRanges2.hpp>
36#include <com/sun/star/container/XEnumerationAccess.hpp>
36#include <com/sun/star/container/XEnumerationAccess.hpp>
37#include <com/sun/star/sheet/RangeScopeName.hpp>
37#include <com/sun/star/lang/XServiceName.hpp>
38#include <com/sun/star/lang/XServiceInfo.hpp>
39#include <com/sun/star/lang/XUnoTunnel.hpp>
40#include <com/sun/star/beans/XPropertySet.hpp>
41#include <com/sun/star/document/XActionLockable.hpp>
42#include <cppuhelper/implbase2.hxx>
43#include <cppuhelper/implbase3.hxx>
44#include <cppuhelper/implbase5.hxx>
45#include <cppuhelper/implbase6.hxx>
46
47#include <global.hxx> //for EMPTY_STRING
48
49class ScDocShell;
50class ScRangeData;
51class ScTokenArray;
52
53
54class ScNamedRangeObj : public ::cppu::WeakImplHelper6<
38#include <com/sun/star/lang/XServiceName.hpp>
39#include <com/sun/star/lang/XServiceInfo.hpp>
40#include <com/sun/star/lang/XUnoTunnel.hpp>
41#include <com/sun/star/beans/XPropertySet.hpp>
42#include <com/sun/star/document/XActionLockable.hpp>
43#include <cppuhelper/implbase2.hxx>
44#include <cppuhelper/implbase3.hxx>
45#include <cppuhelper/implbase5.hxx>
46#include <cppuhelper/implbase6.hxx>
47
48#include <global.hxx> //for EMPTY_STRING
49
50class ScDocShell;
51class ScRangeData;
52class ScTokenArray;
53
54
55class ScNamedRangeObj : public ::cppu::WeakImplHelper6<
55 ::com::sun::star::sheet::XNamedRange,
56 ::com::sun::star::sheet::XNamedRange2,
56 ::com::sun::star::sheet::XFormulaTokens,
57 ::com::sun::star::sheet::XCellRangeReferrer,
58 ::com::sun::star::beans::XPropertySet,
59 ::com::sun::star::lang::XUnoTunnel,
60 ::com::sun::star::lang::XServiceInfo >,
61 public SfxListener
62{
63private:

--- 105 unchanged lines hidden (view full) ---

169 // methods accessible via getImplementation()
170 void SetContentWithGrammar( const ::rtl::OUString& aContent,
171 const formula::FormulaGrammar::Grammar eGrammar )
172 throw(::com::sun::star::uno::RuntimeException);
173};
174
175
176class ScNamedRangesObj : public ::cppu::WeakImplHelper5<
57 ::com::sun::star::sheet::XFormulaTokens,
58 ::com::sun::star::sheet::XCellRangeReferrer,
59 ::com::sun::star::beans::XPropertySet,
60 ::com::sun::star::lang::XUnoTunnel,
61 ::com::sun::star::lang::XServiceInfo >,
62 public SfxListener
63{
64private:

--- 105 unchanged lines hidden (view full) ---

170 // methods accessible via getImplementation()
171 void SetContentWithGrammar( const ::rtl::OUString& aContent,
172 const formula::FormulaGrammar::Grammar eGrammar )
173 throw(::com::sun::star::uno::RuntimeException);
174};
175
176
177class ScNamedRangesObj : public ::cppu::WeakImplHelper5<
177 ::com::sun::star::sheet::XNamedRanges,
178 ::com::sun::star::sheet::XNamedRanges2,
178 ::com::sun::star::container::XEnumerationAccess,
179 ::com::sun::star::container::XIndexAccess,
180 ::com::sun::star::document::XActionLockable,
181 ::com::sun::star::lang::XServiceInfo >,
182 public SfxListener
183{
184private:
185 ScDocShell* pDocShell;

--- 189 unchanged lines hidden ---
179 ::com::sun::star::container::XEnumerationAccess,
180 ::com::sun::star::container::XIndexAccess,
181 ::com::sun::star::document::XActionLockable,
182 ::com::sun::star::lang::XServiceInfo >,
183 public SfxListener
184{
185private:
186 ScDocShell* pDocShell;

--- 189 unchanged lines hidden ---