New ui file for the notebookbars which includes all the database settings options. Also fix some view shell issue when we deselect a table context and Insert Table is not active Since JSCheckButton is kind of a button which can have a default state (false) always need to send Update to online for registering the api call connecting to the checkbutton. Change-Id: Ie9701d2897b389c2a0192650a2f907e5fae59673 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194917 Reviewed-by: Gökay ŞATIR <gokaysatir@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196772 Reviewed-by: Balazs Varga <balazs.varga@collabora.com> Tested-by: Balazs Varga <balazs.varga@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197998 Tested-by: Jenkins
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <sfx2/tbxctrl.hxx>
|
|
|
|
namespace sc
|
|
{
|
|
/** Toolbox control for showing the Table Styles in the toolbar / notebookbar */
|
|
class TableStylesControl final : public SfxToolBoxControl
|
|
{
|
|
public:
|
|
SFX_DECL_TOOLBOX_CONTROL();
|
|
|
|
TableStylesControl(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rToolBox);
|
|
virtual ~TableStylesControl() override;
|
|
|
|
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState,
|
|
const SfxPoolItem* pState) override;
|
|
virtual VclPtr<InterimItemWindow> CreateItemWindow(vcl::Window* pParent) override;
|
|
};
|
|
|
|
} // end of namespace sc
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|