1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SD_SOURCE_UI_INC_SDUNOOUTLINEVIEW_HXX
21 #define INCLUDED_SD_SOURCE_UI_INC_SDUNOOUTLINEVIEW_HXX
23 #include "DrawSubController.hxx"
24 #include <cppuhelper/basemutex.hxx>
25 #include <com/sun/star/lang/EventObject.hpp>
29 class OutlineViewShell
;
31 /** This class implements the OutlineViewShell specific part of the controller.
33 class SdUnoOutlineView
34 : private cppu::BaseMutex
,
35 public DrawSubControllerInterfaceBase
39 OutlineViewShell
& rViewShell
) throw();
40 virtual ~SdUnoOutlineView() throw();
42 virtual void SAL_CALL
disposing() SAL_OVERRIDE
;
46 virtual sal_Bool SAL_CALL
select (
47 const css::uno::Any
& aSelection
)
48 throw(css::lang::IllegalArgumentException
,
49 css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
51 virtual css::uno::Any SAL_CALL
getSelection()
52 throw(css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
54 virtual void SAL_CALL
addSelectionChangeListener (
55 const css::uno::Reference
<css::view::XSelectionChangeListener
>& rxListener
)
56 throw(css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
58 virtual void SAL_CALL
removeSelectionChangeListener (
59 const css::uno::Reference
<css::view::XSelectionChangeListener
>& rxListener
)
60 throw(css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
64 virtual void SAL_CALL
setCurrentPage (
65 const css::uno::Reference
<css::drawing::XDrawPage
>& xPage
)
66 throw(css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
68 virtual css::uno::Reference
<css::drawing::XDrawPage
> SAL_CALL
getCurrentPage()
69 throw(css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
73 virtual void SAL_CALL
setFastPropertyValue (
75 const css::uno::Any
& rValue
)
76 throw(css::beans::UnknownPropertyException
,
77 css::beans::PropertyVetoException
,
78 css::lang::IllegalArgumentException
,
79 css::lang::WrappedTargetException
,
80 css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
82 virtual css::uno::Any SAL_CALL
getFastPropertyValue (
84 throw(css::beans::UnknownPropertyException
,
85 css::lang::WrappedTargetException
,
86 css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
89 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
90 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
91 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
94 OutlineViewShell
& mrOutlineViewShell
;
97 } // end of namespace sd
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */