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_SDUNOSLIDEVIEW_HXX
21 #define INCLUDED_SD_SOURCE_UI_INC_SDUNOSLIDEVIEW_HXX
23 #include "DrawSubController.hxx"
24 #include <cppuhelper/basemutex.hxx>
25 #include <com/sun/star/drawing/XDrawPage.hpp>
27 namespace sd
{ namespace slidesorter
{
33 /** This class implements the SlideSorter specific part of the
37 : private cppu::BaseMutex
,
38 public DrawSubControllerInterfaceBase
42 slidesorter::SlideSorter
& rSlideSorter
) throw();
43 virtual ~SdUnoSlideView() throw();
47 virtual sal_Bool SAL_CALL
select (const ::com::sun::star::uno::Any
& aSelection
)
48 throw(::com::sun::star::lang::IllegalArgumentException
,
49 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
51 virtual ::com::sun::star::uno::Any SAL_CALL
getSelection()
52 throw(::com::sun::star::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 ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
>& xPage
)
66 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
68 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
> SAL_CALL
70 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
74 virtual void SAL_CALL
setFastPropertyValue (
76 const css::uno::Any
& rValue
)
77 throw(css::beans::UnknownPropertyException
,
78 css::beans::PropertyVetoException
,
79 css::lang::IllegalArgumentException
,
80 css::lang::WrappedTargetException
,
81 css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
83 virtual css::uno::Any SAL_CALL
getFastPropertyValue (
85 throw(css::beans::UnknownPropertyException
,
86 css::lang::WrappedTargetException
,
87 css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
90 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
91 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
92 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
95 slidesorter::SlideSorter
& mrSlideSorter
;
98 } // end of namespace sd
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */