LibreOffice Module sd (master) 1
SdUnoOutlineView.hxx
Go to the documentation of this file.
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
20#pragma once
21
22#include "DrawSubController.hxx"
23
24namespace sd {
25
26class OutlineViewShell;
27
32{
33public:
34 SdUnoOutlineView (OutlineViewShell& rViewShell) noexcept;
35 virtual ~SdUnoOutlineView() noexcept override;
36
37 // XSelectionSupplier
38
39 virtual sal_Bool SAL_CALL select (
40 const css::uno::Any& aSelection) override;
41
42 virtual css::uno::Any SAL_CALL getSelection() override;
43
44 virtual void SAL_CALL addSelectionChangeListener (
45 const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener) override;
46
47 virtual void SAL_CALL removeSelectionChangeListener (
48 const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener) override;
49
50 // XDrawView
51
52 virtual void SAL_CALL setCurrentPage (
53 const css::uno::Reference<css::drawing::XDrawPage >& xPage) override;
54
55 virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage() override;
56
57 // XFastPropertySet
58
59 virtual void SAL_CALL setFastPropertyValue (
60 sal_Int32 nHandle,
61 const css::uno::Any& rValue) override;
62
63 virtual css::uno::Any SAL_CALL getFastPropertyValue (
64 sal_Int32 nHandle) override;
65
66 // XServiceInfo
67 virtual OUString SAL_CALL getImplementationName( ) override;
68 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
69 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
70
71private:
73};
74
75} // end of namespace sd
76
77/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Show a textual overview of the text contents of all slides.
This class implements the OutlineViewShell specific part of the controller.
virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) override
virtual css::uno::Any SAL_CALL getSelection() override
virtual void SAL_CALL setCurrentPage(const css::uno::Reference< css::drawing::XDrawPage > &xPage) override
OutlineViewShell & mrOutlineViewShell
virtual sal_Bool SAL_CALL select(const css::uno::Any &aSelection) override
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &rxListener) override
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentPage() override
virtual ~SdUnoOutlineView() noexcept override
virtual void SAL_CALL setFastPropertyValue(sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &rxListener) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
SdUnoOutlineView(OutlineViewShell &rViewShell) noexcept
virtual OUString SAL_CALL getImplementationName() override
sal_Int32 nHandle
unsigned char sal_Bool