diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-21 16:33:30 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-21 16:41:40 +0200 |
commit | 69c5252a63d6124a90b652c423dbf94d26fe196b (patch) | |
tree | 6995b842b5e06bd3ae30a9b601de5e94c38a284e /include | |
parent | 144546b622fd6146e023efe27b74f1271ff47008 (diff) |
tdf#93837 Convert RID_FM_TEXTATTRIBUTE_MENU to xml
Change-Id: Ic37bfb9e25eba9b03b2c896c904823aec478355e
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/fmresids.hrc | 4 | ||||
-rw-r--r-- | include/svx/fntctl.hxx | 53 | ||||
-rw-r--r-- | include/svx/fntszctl.hxx | 52 | ||||
-rw-r--r-- | include/svx/svxcommands.h | 2 |
4 files changed, 0 insertions, 111 deletions
diff --git a/include/svx/fmresids.hrc b/include/svx/fmresids.hrc index c2174afa3d2f..a6d878878897 100644 --- a/include/svx/fmresids.hrc +++ b/include/svx/fmresids.hrc @@ -75,10 +75,6 @@ #define RID_SVXMNU_CELL (RID_FORMS_START + 3) #define RID_FMSHELL_CONVERSIONMENU (RID_FORMS_START + 4) #define RID_FM_FILTER_MENU (RID_FORMS_START + 5) -#define RID_FM_TEXTATTRIBUTE_MENU (RID_FORMS_START + 6) -#define MENU_FM_TEXTATTRIBITES_STYLE (RID_FORMS_START + 7) -#define MENU_FM_TEXTATTRIBITES_ALIGNMENT (RID_FORMS_START + 8) -#define MENU_FM_TEXTATTRIBITES_SPACING (RID_FORMS_START + 9) #define RID_MENU_DATANAVIGATOR (RID_FORMS_START + 10) // String-Id's ----------------------------------------------------------- diff --git a/include/svx/fntctl.hxx b/include/svx/fntctl.hxx deleted file mode 100644 index e570508464a8..000000000000 --- a/include/svx/fntctl.hxx +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- 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_FNTCTL_HXX -#define INCLUDED_SVX_FNTCTL_HXX - -#include <sfx2/mnuitem.hxx> -#include <svl/lstner.hxx> -#include <svx/svxdllapi.h> - - -class FontNameMenu; -class SfxBindings; - -// class SvxFontMenuControl ---------------------------------------------- - -class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxFontMenuControl : public SfxMenuControl, public SfxListener -{ -private: - FontNameMenu* pMenu; - Menu& rParent; - - SVX_DLLPRIVATE void FillMenu(); - DECL_LINK_TYPED( MenuSelect, FontNameMenu *, void); - SVX_DLLPRIVATE virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ) override; - SVX_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; - -public: - SvxFontMenuControl( sal_uInt16 nId, Menu&, SfxBindings& ); - virtual ~SvxFontMenuControl(); - - SFX_DECL_MENU_CONTROL(); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/fntszctl.hxx b/include/svx/fntszctl.hxx deleted file mode 100644 index 2919f8e3469c..000000000000 --- a/include/svx/fntszctl.hxx +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- 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_FNTSZCTL_HXX -#define INCLUDED_SVX_FNTSZCTL_HXX - -#include <sfx2/mnuitem.hxx> -#include <svx/svxdllapi.h> - - -class SfxBindings; -class FontSizeMenu; - -// class SvxFontSizeMenuControl ------------------------------------------ - -class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxFontSizeMenuControl : public SfxMenuControl -{ -private: - FontSizeMenu* pMenu; - Menu& rParent; - - DECL_LINK_TYPED( MenuSelect, FontSizeMenu *, void ); - -protected: - virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ) override; - -public: - SvxFontSizeMenuControl( sal_uInt16 nId, Menu&, SfxBindings& ); - virtual ~SvxFontSizeMenuControl(); - - SFX_DECL_MENU_CONTROL(); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/svxcommands.h b/include/svx/svxcommands.h index 4d2cb3b6f4e3..7ecdaa0dae8c 100644 --- a/include/svx/svxcommands.h +++ b/include/svx/svxcommands.h @@ -109,8 +109,6 @@ #define CMD_SID_ATTR_PARA_LINESPACE_15 ".uno:SpacePara15" #define CMD_SID_ATTR_PARA_LINESPACE_20 ".uno:SpacePara2" #define CMD_SID_ATTR_CHAR_STRIKEOUT ".uno:Strikeout" -#define CMD_SID_SET_SUB_SCRIPT ".uno:SubScript" -#define CMD_SID_SET_SUPER_SCRIPT ".uno:SuperScript" #define CMD_SID_FM_TAB_DIALOG ".uno:TabDialog" #define CMD_SID_FM_TIMEFIELD ".uno:TimeField" #define CMD_SID_BEZIER_EDIT ".uno:ToggleObjectBezierMode" |