LibreOffice Module toolkit (master) 1
tabpagemodel.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
23#include <com/sun/star/awt/tab/XTabPage.hpp>
25
27{
28 css::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const override;
30public:
31 UnoControlTabPageModel( css::uno::Reference< css::uno::XComponentContext > const & i_factory);
32
33 // css::io::XPersistObject
34 OUString SAL_CALL getServiceName() override;
35
36 // css::beans::XMultiPropertySet
37 css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
38 // XInitialization
39 virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments) override;
40
41 // XServiceInfo
42 OUString SAL_CALL getImplementationName() override;
43
44 css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
45};
46
47
48
50 , css::awt::tab::XTabPage
51 , css::awt::XWindowListener
54{
55private:
57public:
58
59 UnoControlTabPage( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
60 virtual ~UnoControlTabPage() override;
61 OUString GetComponentServiceName() const override;
62
63 void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
64 void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
65 void SAL_CALL dispose() override;
66
67 // css::awt::XWindowListener
68 virtual void SAL_CALL windowResized( const css::awt::WindowEvent& e ) override;
69 virtual void SAL_CALL windowMoved( const css::awt::WindowEvent& e ) override;
70 virtual void SAL_CALL windowShown( const css::lang::EventObject& e ) override;
71 virtual void SAL_CALL windowHidden( const css::lang::EventObject& e ) override;
72 // css::lang::XServiceInfo
73 virtual OUString SAL_CALL getImplementationName() override;
74
75 virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override;
76
77 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
78};
79
80/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
OUString SAL_CALL getImplementationName() override
css::uno::Any ImplGetDefaultValue(sal_uInt16 nPropId) const override
OUString SAL_CALL getServiceName() override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &rArguments) override
::cppu::IPropertyArrayHelper & getInfoHelper() override
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
UnoControlTabPageModel(css::uno::Reference< css::uno::XComponentContext > const &i_factory)
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
OUString GetComponentServiceName() const override
virtual ~UnoControlTabPage() override
void SAL_CALL dispose() override
void SAL_CALL createPeer(const css::uno::Reference< css::awt::XToolkit > &Toolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL windowHidden(const css::lang::EventObject &e) override
virtual void SAL_CALL windowShown(const css::lang::EventObject &e) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL windowMoved(const css::awt::WindowEvent &e) override
UnoControlTabPage(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual void SAL_CALL windowResized(const css::awt::WindowEvent &e) override
::cppu::AggImplInheritanceHelper2< ControlContainerBase, css::awt::tab::XTabPage, css::awt::XWindowListener > UnoControlTabPage_Base
unsigned char sal_Bool