diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-04-16 16:38:43 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-04-20 07:53:17 +0000 |
commit | ccaf108651ee7e477b09f496f33ea778307fe60b (patch) | |
tree | 11c22a3675a8ee06ab248d4879d582e6d1970c84 /include | |
parent | f7aa4344e4fec0e8bb49d6ba210bc3a78b7e1365 (diff) |
character spacing control possible to use outside sidebar
Change-Id: Ic0c6458268b529bd0107d6ed5a35f49241cfb833
Reviewed-on: https://gerrit.libreoffice.org/24146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/TextCharacterSpacingPopup.hxx | 44 | ||||
-rw-r--r-- | include/svx/dialogs.hrc | 1 |
2 files changed, 44 insertions, 1 deletions
diff --git a/include/svx/TextCharacterSpacingPopup.hxx b/include/svx/TextCharacterSpacingPopup.hxx new file mode 100644 index 000000000000..68077b25f0c9 --- /dev/null +++ b/include/svx/TextCharacterSpacingPopup.hxx @@ -0,0 +1,44 @@ +/* -*- 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef INCLUDED_SVX_TEXTCHARACTERSPACINGPOPUP_HXX +#define INCLUDED_SVX_TEXTCHARACTERSPACINGPOPUP_HXX + +#include <sfx2/tbxctrl.hxx> +#include <svx/svxdllapi.h> + +#include <functional> + +namespace svx { + +class SVX_DLLPUBLIC TextCharacterSpacingPopup : public SfxToolBoxControl +{ +public: + SFX_DECL_TOOLBOX_CONTROL(); + + TextCharacterSpacingPopup(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx); + virtual ~TextCharacterSpacingPopup(); + + virtual VclPtr<SfxPopupWindow> CreatePopupWindow() override; +}; + +} // end of namespace svx + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc index 59a2de415ad7..5c9b5e4743a7 100644 --- a/include/svx/dialogs.hrc +++ b/include/svx/dialogs.hrc @@ -196,7 +196,6 @@ #define RID_SIDEBAR_TEXT_PANEL (RID_SVX_START + 314) #define RID_POPUPPANEL_TEXTPAGE_UNDERLINE (RID_SVX_START + 315) #define RID_POPUPPANEL_TEXTPAGE_FONT_COLOR (RID_SVX_START + 316) -#define RID_POPUPPANEL_TEXTPAGE_SPACING (RID_SVX_START + 317) #define RID_POPUPPANEL_AREAPAGE_TRGR (RID_SVX_START + 320) |