summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-04-29 13:27:28 +0200
committerJan Holesovsky <kendy@collabora.com>2016-05-04 09:46:45 +0000
commit019a0fbdd860994ba727f19eba0879136406d0f9 (patch)
treed7e7ecc6c575fb4f5595db8bba1938962542adf2 /include
parentnotebookbar: rearranged layout (diff)
downloadcore-019a0fbdd860994ba727f19eba0879136406d0f9.tar.gz
core-019a0fbdd860994ba727f19eba0879136406d0f9.zip
underline popup control possible to use outside sidebar
Change-Id: I48097007c7dc0439b33233939c1d73902dfeb679 Reviewed-on: https://gerrit.libreoffice.org/24491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/TextUnderlinePopup.hxx47
1 files changed, 47 insertions, 0 deletions
diff --git a/include/svx/TextUnderlinePopup.hxx b/include/svx/TextUnderlinePopup.hxx
new file mode 100644
index 000000000000..99d0eba31d47
--- /dev/null
+++ b/include/svx/TextUnderlinePopup.hxx
@@ -0,0 +1,47 @@
+/* -*- 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 <sfx2/tbxctrl.hxx>
+#include <svx/svxdllapi.h>
+
+#include <vcl/vclenum.hxx>
+
+#include <functional>
+
+namespace svx {
+
+class SVX_DLLPUBLIC TextUnderlinePopup : public SfxToolBoxControl
+{
+public:
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ TextUnderlinePopup(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx);
+ virtual ~TextUnderlinePopup();
+
+ virtual VclPtr<SfxPopupWindow> CreatePopupWindow() override;
+};
+
+} // end of namespace svx
+
+#endif
+
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */