diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-20 12:45:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-20 14:59:02 +0200 |
commit | 3c41913181f8663f9f1970b13ee038386016d22e (patch) | |
tree | 6bebba4b8cdbb5d1f1d678757b944d882eaae177 /include/svx | |
parent | 17085c3072deaf6a44246d6d4be1d7022e0f09cd (diff) |
move some headers inside modules
Change-Id: I2baa9e9334850cf72e8ea1e96a2177a1c052e589
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115868
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ParaLineSpacingPopup.hxx | 49 | ||||
-rw-r--r-- | include/svx/TextCharacterSpacingPopup.hxx | 47 | ||||
-rw-r--r-- | include/svx/TextUnderlinePopup.hxx | 47 | ||||
-rw-r--r-- | include/svx/dstribut_enum.hxx | 42 | ||||
-rw-r--r-- | include/svx/galleryobjectbinarystorage.hxx | 35 | ||||
-rw-r--r-- | include/svx/galleryobjectxmlstorage.hxx | 35 | ||||
-rw-r--r-- | include/svx/layctrl.hxx | 65 | ||||
-rw-r--r-- | include/svx/lboxctrl.hxx | 60 | ||||
-rw-r--r-- | include/svx/verttexttbxctrl.hxx | 77 |
9 files changed, 0 insertions, 457 deletions
diff --git a/include/svx/ParaLineSpacingPopup.hxx b/include/svx/ParaLineSpacingPopup.hxx deleted file mode 100644 index dfbfac9ef2fb..000000000000 --- a/include/svx/ParaLineSpacingPopup.hxx +++ /dev/null @@ -1,49 +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_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGPOPUP_HXX -#define INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGPOPUP_HXX - -#include <svtools/popupwindowcontroller.hxx> - -namespace svx -{ -class SvxLineSpacingToolBoxControl final : public svt::PopupWindowController -{ -public: - explicit SvxLineSpacingToolBoxControl( - const css::uno::Reference<css::uno::XComponentContext>& rContext); - virtual ~SvxLineSpacingToolBoxControl() override; - - virtual void SAL_CALL execute(sal_Int16 KeyModifier) override; - - virtual VclPtr<vcl::Window> createVclPopupWindow(vcl::Window* pParent) override; - virtual std::unique_ptr<WeldToolbarPopup> weldPopupWindow() override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; -}; -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/TextCharacterSpacingPopup.hxx b/include/svx/TextCharacterSpacingPopup.hxx deleted file mode 100644 index dbc9ad2fee87..000000000000 --- a/include/svx/TextCharacterSpacingPopup.hxx +++ /dev/null @@ -1,47 +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_TEXTCHARACTERSPACINGPOPUP_HXX -#define INCLUDED_SVX_TEXTCHARACTERSPACINGPOPUP_HXX - -#include <svtools/popupwindowcontroller.hxx> - -namespace svx -{ -class TextCharacterSpacingPopup final : public svt::PopupWindowController -{ -public: - TextCharacterSpacingPopup(const css::uno::Reference<css::uno::XComponentContext>& rContext); - virtual ~TextCharacterSpacingPopup() override; - - virtual std::unique_ptr<WeldToolbarPopup> weldPopupWindow() override; - virtual VclPtr<vcl::Window> createVclPopupWindow(vcl::Window* pParent) override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; -}; - -} // end of namespace svx - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/TextUnderlinePopup.hxx b/include/svx/TextUnderlinePopup.hxx deleted file mode 100644 index 301052aac823..000000000000 --- a/include/svx/TextUnderlinePopup.hxx +++ /dev/null @@ -1,47 +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_SIDEBAR_TEXT_TEXTUNDERLINEPOPUP_HXX -#define INCLUDED_SVX_SIDEBAR_TEXT_TEXTUNDERLINEPOPUP_HXX - -#include <svtools/popupwindowcontroller.hxx> - -namespace svx -{ -class TextUnderlinePopup final : public svt::PopupWindowController -{ -public: - TextUnderlinePopup(const css::uno::Reference<css::uno::XComponentContext>& rContext); - virtual ~TextUnderlinePopup() override; - - virtual std::unique_ptr<WeldToolbarPopup> weldPopupWindow() override; - virtual VclPtr<vcl::Window> createVclPopupWindow(vcl::Window* pParent) override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; -}; - -} // end of namespace svx - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/dstribut_enum.hxx b/include/svx/dstribut_enum.hxx deleted file mode 100644 index a69e6f10ecb6..000000000000 --- a/include/svx/dstribut_enum.hxx +++ /dev/null @@ -1,42 +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_DSTRIBUT_ENUM_HXX -#define INCLUDED_SVX_DSTRIBUT_ENUM_HXX - -enum class SvxDistributeHorizontal -{ - NONE = 0, - Left, - Center, - Distance, - Right -}; - -enum class SvxDistributeVertical -{ - NONE = 0, - Top, - Center, - Distance, - Bottom -}; - -#endif // INCLUDED_SVX_DSTRIBUT_ENUM_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/galleryobjectbinarystorage.hxx b/include/svx/galleryobjectbinarystorage.hxx deleted file mode 100644 index 85dd9e22836c..000000000000 --- a/include/svx/galleryobjectbinarystorage.hxx +++ /dev/null @@ -1,35 +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 . - */ - -#pragma once - -#include <tools/urlobj.hxx> -#include <svx/galleryobjectstorage.hxx> - -class GalleryObjectBinaryStorage : public GalleryObjectStorage -{ -private: - INetURLObject m_aURL; - -public: - void setURL(INetURLObject aURL); - const INetURLObject& getURL() const { return m_aURL; } -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/galleryobjectxmlstorage.hxx b/include/svx/galleryobjectxmlstorage.hxx deleted file mode 100644 index 35a9384524f9..000000000000 --- a/include/svx/galleryobjectxmlstorage.hxx +++ /dev/null @@ -1,35 +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 . - */ - -#pragma once - -#include <tools/urlobj.hxx> -#include <svx/galleryobjectstorage.hxx> - -class GalleryObjectXMLStorage : public GalleryObjectStorage -{ -private: - INetURLObject m_aURL; - -public: - void setURL(INetURLObject aURL); - const INetURLObject& getURL() const { return m_aURL; } -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/layctrl.hxx b/include/svx/layctrl.hxx deleted file mode 100644 index 10e870b19b7c..000000000000 --- a/include/svx/layctrl.hxx +++ /dev/null @@ -1,65 +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_LAYCTRL_HXX -#define INCLUDED_SVX_LAYCTRL_HXX - -#include <svtools/popupwindowcontroller.hxx> - -class SvxTableToolBoxControl final : public svt::PopupWindowController -{ -public: - SvxTableToolBoxControl(const css::uno::Reference<css::uno::XComponentContext>& rContext); - virtual ~SvxTableToolBoxControl() override; - - virtual std::unique_ptr<WeldToolbarPopup> weldPopupWindow() override; - virtual VclPtr<vcl::Window> createVclPopupWindow(vcl::Window* pParent) override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; - - void TableDialog(const css::uno::Sequence<css::beans::PropertyValue>& rArgs); - void CloseAndShowTableDialog(); -}; - -class SvxColumnsToolBoxControl final : public svt::PopupWindowController -{ -public: - SvxColumnsToolBoxControl(const css::uno::Reference<css::uno::XComponentContext>& rContext); - virtual ~SvxColumnsToolBoxControl() override; - - virtual std::unique_ptr<WeldToolbarPopup> weldPopupWindow() override; - virtual VclPtr<vcl::Window> createVclPopupWindow(vcl::Window* pParent) override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; - - void InsertColumns(const css::uno::Sequence<css::beans::PropertyValue>& rArgs); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/lboxctrl.hxx b/include/svx/lboxctrl.hxx deleted file mode 100644 index 031115dc65b5..000000000000 --- a/include/svx/lboxctrl.hxx +++ /dev/null @@ -1,60 +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_LBOXCTRL_HXX -#define INCLUDED_SVX_LBOXCTRL_HXX - -#include <rtl/ustring.hxx> -#include <vector> -#include <svtools/popupwindowcontroller.hxx> - -class ToolBox; -class SvxPopupWindowListBox; - -class SvxUndoRedoControl final : public svt::PopupWindowController -{ - std::vector<OUString> aUndoRedoList; - OUString aDefaultTooltip; - -public: - SvxUndoRedoControl(const css::uno::Reference<css::uno::XComponentContext>& rContext); - virtual ~SvxUndoRedoControl() override; - - virtual std::unique_ptr<WeldToolbarPopup> weldPopupWindow() override; - virtual VclPtr<vcl::Window> createVclPopupWindow(vcl::Window* pParent) override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; - - virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& rEvent) override; - - void Do(sal_Int16 nCount); - - void SetText(const OUString& rText); - - void SetInfo(sal_Int32 nCount); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/verttexttbxctrl.hxx b/include/svx/verttexttbxctrl.hxx deleted file mode 100644 index 262b7f9267f1..000000000000 --- a/include/svx/verttexttbxctrl.hxx +++ /dev/null @@ -1,77 +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_VERTTEXTTBXCTRL_HXX -#define INCLUDED_SVX_VERTTEXTTBXCTRL_HXX - -#include <com/sun/star/lang/XServiceInfo.hpp> - -#include <cppuhelper/implbase.hxx> -#include <svtools/toolboxcontroller.hxx> - -//HACK to avoid duplicate ImplInheritanceHelper symbols with MSVC: -class SAL_DLLPUBLIC_TEMPLATE SvxVertCTLTextTbxCtrl_Base - : public cppu::ImplInheritanceHelper<svt::ToolboxController, css::lang::XServiceInfo> -{ - using ImplInheritanceHelper::ImplInheritanceHelper; -}; - -/* - control to remove/insert cjk settings dependent vertical text toolbox item - */ -class SvxVertCTLTextTbxCtrl : public SvxVertCTLTextTbxCtrl_Base -{ - bool m_bVisible; - -public: - explicit SvxVertCTLTextTbxCtrl( - const css::uno::Reference<css::uno::XComponentContext>& rContext); - - virtual ~SvxVertCTLTextTbxCtrl() override; - - // XInitialization - virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; - - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override = 0; - virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - - // XStatusListener - virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& rEvent) override; -}; - -class SvxCTLTextTbxCtrl final : public SvxVertCTLTextTbxCtrl -{ -public: - SvxCTLTextTbxCtrl(const css::uno::Reference<css::uno::XComponentContext>& rContext); - - virtual OUString SAL_CALL getImplementationName() override; -}; - -class SvxVertTextTbxCtrl final : public SvxVertCTLTextTbxCtrl -{ -public: - SvxVertTextTbxCtrl(const css::uno::Reference<css::uno::XComponentContext>& rContext); - - virtual OUString SAL_CALL getImplementationName() override; -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |