With this change, if the user clicks the StatusGetPosition item in the status bar, the Go To Line dialog will be shown. Change-Id: Iba75e2dbf6ba83fce24e1af237bdf9813d4ecb69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162108 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
31 lines
878 B
C++
31 lines
878 B
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/stbitem.hxx>
|
|
|
|
namespace basctl
|
|
{
|
|
class LineStatusControl final : public SfxStatusBarControl
|
|
{
|
|
public:
|
|
SFX_DECL_STATUSBAR_CONTROL();
|
|
|
|
LineStatusControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb);
|
|
virtual ~LineStatusControl() override;
|
|
|
|
virtual void StateChangedAtStatusBarControl(sal_uInt16 nSID, SfxItemState eState,
|
|
const SfxPoolItem* pState) override;
|
|
};
|
|
|
|
} // namespace basctl
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|