build fix
[LibreOffice.git] / sfx2 / source / notebookbar / BigToolBox.cxx
bloba271f04df4ad6599eeeca32d555a5d9baddad662
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "BigToolBox.hxx"
21 #include <sfx2/sidebar/ControllerFactory.hxx>
22 #include <sfx2/sidebar/Theme.hxx>
23 #include <sfx2/sidebar/Tools.hxx>
24 #include <sfx2/viewfrm.hxx>
26 #include <vcl/builderfactory.hxx>
27 #include <vcl/commandinfoprovider.hxx>
28 #include <vcl/gradient.hxx>
29 #include <vcl/settings.hxx>
30 #include <vcl/svapp.hxx>
31 #include <toolkit/helper/vclunohelper.hxx>
32 #include <svtools/miscopt.hxx>
33 #include <com/sun/star/frame/XSubToolbarController.hpp>
34 #include <framework/addonsoptions.hxx>
36 namespace sfx2 { namespace notebookbar {
38 BigToolBox::BigToolBox(vcl::Window* pParent)
39 : SidebarToolBox(pParent)
41 SvtMiscOptions aMiscOptions;
42 aMiscOptions.RemoveListenerLink(LINK(this, SidebarToolBox, ChangedIconSizeHandler));
44 SetToolboxButtonSize(ToolBoxButtonSize::Large);
45 SetButtonType(ButtonType::SYMBOLTEXT);
46 SetToolBoxTextPosition(ToolBoxTextPosition::Bottom);
49 VCL_BUILDER_FACTORY(BigToolBox)
51 } } // end of namespace sfx2::notebookbar
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */