Coverage Report

Created: 2026-06-30 11:14

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/toolkit/inc/awt/vclxcontainer.hxx
Line
Count
Source
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 <com/sun/star/awt/XVclContainer.hpp>
23
#include <com/sun/star/awt/XVclContainerPeer.hpp>
24
#include <cppuhelper/implbase.hxx>
25
26
#include <toolkit/awt/vclxwindow.hxx>
27
28
class VCLXContainer : public cppu::ImplInheritanceHelper<VCLXWindow,
29
                        css::awt::XVclContainer,
30
                        css::awt::XVclContainerPeer>
31
{
32
public:
33
                    VCLXContainer();
34
                    virtual ~VCLXContainer() override;
35
36
    // css::awt::XVclContainer
37
    void SAL_CALL addVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& l ) override;
38
    void SAL_CALL removeVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& l ) override;
39
    css::uno::Sequence< css::uno::Reference< css::awt::XWindow > > SAL_CALL getWindows(  ) override;
40
41
    // css::awt::XVclContainerPeer
42
    void SAL_CALL enableDialogControl( sal_Bool bEnable ) override;
43
    void SAL_CALL setTabOrder( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& WindowOrder, const css::uno::Sequence< css::uno::Any >& Tabs, sal_Bool GroupControl ) override;
44
    void SAL_CALL setGroup( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& Windows ) override;
45
46
    // css::awt::XVclWindowPeer
47
    void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) override;
48
49
    static void     ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds );
50
0
    virtual void    GetPropertyIds( std::vector< sal_uInt16 > &aIds ) override { return ImplGetPropertyIds( aIds ); }
51
};
52
53
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */