LibreOffice Module sc (master)
1
sc
source
ui
sidebar
CellBorderStyleControl.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 <
svtools/toolbarmenu.hxx
>
22
#include <
svx/colorwindow.hxx
>
23
24
class
SfxDispatcher
;
25
26
namespace
sc::sidebar
27
{
28
class
CellBorderStylePopup
:
public
WeldToolbarPopup
29
{
30
private
:
31
MenuOrToolMenuButton
maToolButton
;
32
SfxDispatcher
*
mpDispatcher
;
33
std::unique_ptr<weld::Toolbar>
mxTBBorder1
;
34
std::unique_ptr<weld::Toolbar>
mxTBBorder2
;
35
std::unique_ptr<weld::Toolbar>
mxTBBorder3
;
36
std::unique_ptr<weld::Toolbar>
mxTBBorder4
;
37
38
void
Initialize
();
39
40
DECL_LINK
(TB1SelectHdl,
const
OUString&,
void
);
41
DECL_LINK
(TB2and3SelectHdl,
const
OUString&,
void
);
42
DECL_LINK
(TB4SelectHdl,
const
OUString&,
void
);
43
44
public
:
45
CellBorderStylePopup
(
weld::Toolbar
* pParent,
const
OUString& rId,
SfxDispatcher
* pDispatcher);
46
virtual
void
GrabFocus
()
override
;
47
virtual
~CellBorderStylePopup
()
override
;
48
};
49
50
}
// end of namespace svx::sidebar
51
52
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
MenuOrToolMenuButton
SfxDispatcher
WeldToolbarPopup
sc::sidebar::CellBorderStylePopup
Definition:
CellBorderStyleControl.hxx:29
sc::sidebar::CellBorderStylePopup::mxTBBorder4
std::unique_ptr< weld::Toolbar > mxTBBorder4
Definition:
CellBorderStyleControl.hxx:36
sc::sidebar::CellBorderStylePopup::mpDispatcher
SfxDispatcher * mpDispatcher
Definition:
CellBorderStyleControl.hxx:32
sc::sidebar::CellBorderStylePopup::DECL_LINK
DECL_LINK(TB1SelectHdl, const OUString &, void)
sc::sidebar::CellBorderStylePopup::GrabFocus
virtual void GrabFocus() override
Definition:
CellBorderStyleControl.cxx:53
sc::sidebar::CellBorderStylePopup::mxTBBorder3
std::unique_ptr< weld::Toolbar > mxTBBorder3
Definition:
CellBorderStyleControl.hxx:35
sc::sidebar::CellBorderStylePopup::~CellBorderStylePopup
virtual ~CellBorderStylePopup() override
Definition:
CellBorderStyleControl.cxx:58
sc::sidebar::CellBorderStylePopup::DECL_LINK
DECL_LINK(TB2and3SelectHdl, const OUString &, void)
sc::sidebar::CellBorderStylePopup::Initialize
void Initialize()
Definition:
CellBorderStyleControl.cxx:62
sc::sidebar::CellBorderStylePopup::mxTBBorder2
std::unique_ptr< weld::Toolbar > mxTBBorder2
Definition:
CellBorderStyleControl.hxx:34
sc::sidebar::CellBorderStylePopup::maToolButton
MenuOrToolMenuButton maToolButton
Definition:
CellBorderStyleControl.hxx:31
sc::sidebar::CellBorderStylePopup::CellBorderStylePopup
CellBorderStylePopup(weld::Toolbar *pParent, const OUString &rId, SfxDispatcher *pDispatcher)
Definition:
CellBorderStyleControl.cxx:41
sc::sidebar::CellBorderStylePopup::DECL_LINK
DECL_LINK(TB4SelectHdl, const OUString &, void)
sc::sidebar::CellBorderStylePopup::mxTBBorder1
std::unique_ptr< weld::Toolbar > mxTBBorder1
Definition:
CellBorderStyleControl.hxx:33
weld::Toolbar
colorwindow.hxx
sc::sidebar
Definition:
AlignmentPropertyPanel.cxx:37
toolbarmenu.hxx
Generated on Sun Jul 30 2023 04:29:27 for LibreOffice Module sc (master) by
1.9.3