LibreOffice Module dbaccess (master) 1
JAccess.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#pragma once
20
21#include "JoinTableView.hxx"
24#include <vcl/vclptr.hxx>
25
26namespace dbaui
27{
28 class OJoinTableView;
32 class OJoinDesignViewAccess : public cppu::ImplInheritanceHelper<VCLXAccessibleComponent, css::accessibility::XAccessible>
33 {
34 VclPtr<OJoinTableView> m_pTableView; // the window which I should give accessibility to
35
36 public:
40
41 virtual OUString SAL_CALL getImplementationName() override;
42
43 // XAccessible
44 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
45
46 // XAccessibleContext
47 virtual sal_Int64 SAL_CALL getAccessibleChildCount( ) override;
48 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int64 i ) override;
49 virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
50
52 const sal_Int16 _nEventId,
53 const css::uno::Any& _rOldValue,
54 const css::uno::Any& _rNewValue
55 )
56 {
57 NotifyAccessibleEvent(_nEventId,_rOldValue,_rNewValue);
58 }
59
60 void clearTableView();
61 };
62}
63
64/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
the class OJoinDesignViewAccess represents the accessible object for join views like the QueryDesign ...
Definition: JAccess.hxx:33
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
Definition: JAccess.cxx:81
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
Definition: JAccess.cxx:60
virtual OUString SAL_CALL getImplementationName() override
Definition: JAccess.cxx:40
void notifyAccessibleEvent(const sal_Int16 _nEventId, const css::uno::Any &_rOldValue, const css::uno::Any &_rNewValue)
Definition: JAccess.hxx:51
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
Definition: JAccess.cxx:50
OJoinDesignViewAccess(OJoinTableView *_pTableView)
OJoinDesignViewAccess needs a valid view.
Definition: JAccess.cxx:35
virtual sal_Int16 SAL_CALL getAccessibleRole() override
Definition: JAccess.cxx:77
VclPtr< OJoinTableView > m_pTableView
Definition: JAccess.hxx:34