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 SD_UNO_SLIDE_VIEW_HXX
21 #define SD_UNO_SLIDE_VIEW_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 (void) 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
);
51 virtual ::com::sun::star::uno::Any SAL_CALL
getSelection (void)
52 throw(::com::sun::star::uno::RuntimeException
);
54 virtual void SAL_CALL
addSelectionChangeListener (
55 const css::uno::Reference
<css::view::XSelectionChangeListener
>& rxListener
)
56 throw(css::uno::RuntimeException
);
58 virtual void SAL_CALL
removeSelectionChangeListener (
59 const css::uno::Reference
<css::view::XSelectionChangeListener
>& rxListener
)
60 throw(css::uno::RuntimeException
);
65 virtual void SAL_CALL
setCurrentPage (
66 const ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
>& xPage
)
67 throw(::com::sun::star::uno::RuntimeException
);
69 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
> SAL_CALL
71 throw(::com::sun::star::uno::RuntimeException
);
76 virtual void SAL_CALL
setFastPropertyValue (
78 const css::uno::Any
& rValue
)
79 throw(css::beans::UnknownPropertyException
,
80 css::beans::PropertyVetoException
,
81 css::lang::IllegalArgumentException
,
82 css::lang::WrappedTargetException
,
83 css::uno::RuntimeException
);
85 virtual css::uno::Any SAL_CALL
getFastPropertyValue (
87 throw(css::beans::UnknownPropertyException
,
88 css::lang::WrappedTargetException
,
89 css::uno::RuntimeException
);
92 virtual OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
);
93 virtual ::sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
);
94 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
);
97 slidesorter::SlideSorter
& mrSlideSorter
;
100 } // end of namespace sd
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */