calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / dbaccess / source / ui / inc / JAccess.hxx
blob4416f42d6292c1b2868a833ba23814226420882c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #pragma once
21 #include "JoinTableView.hxx"
22 #include <toolkit/awt/vclxaccessiblecomponent.hxx>
23 #include <cppuhelper/implbase1.hxx>
24 #include <vcl/vclptr.hxx>
26 namespace dbaui
28 class OJoinTableView;
29 typedef ::cppu::ImplHelper1< css::accessibility::XAccessible
30 > OJoinDesignViewAccess_BASE;
31 /** the class OJoinDesignViewAccess represents the accessible object for join views
32 like the QueryDesign and the RelationDesign
34 class OJoinDesignViewAccess : public VCLXAccessibleComponent, public OJoinDesignViewAccess_BASE
36 VclPtr<OJoinTableView> m_pTableView; // the window which I should give accessibility to
38 public:
39 /** OJoinDesignViewAccess needs a valid view
41 OJoinDesignViewAccess( OJoinTableView* _pTableView);
43 // XInterface
44 DECLARE_XINTERFACE( )
45 DECLARE_XTYPEPROVIDER( )
47 virtual OUString SAL_CALL getImplementationName() override;
49 // XAccessible
50 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
52 // XAccessibleContext
53 virtual sal_Int64 SAL_CALL getAccessibleChildCount( ) override;
54 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int64 i ) override;
55 virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
57 void notifyAccessibleEvent(
58 const sal_Int16 _nEventId,
59 const css::uno::Any& _rOldValue,
60 const css::uno::Any& _rNewValue
63 NotifyAccessibleEvent(_nEventId,_rOldValue,_rNewValue);
66 void clearTableView();
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */