bump product version to 4.1.6.2
[LibreOffice.git] / framework / source / uielement / footermenucontroller.cxx
blob971eebb262393610850facb32d3d2143c0744d15
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 <uielement/footermenucontroller.hxx>
22 #include <threadhelp/resetableguard.hxx>
23 #include "services.h"
24 #include <classes/resource.hrc>
25 #include <classes/fwlresid.hxx>
27 #include <com/sun/star/awt/XDevice.hpp>
28 #include <com/sun/star/beans/PropertyValue.hpp>
29 #include <com/sun/star/awt/MenuItemStyle.hpp>
30 #include <com/sun/star/util/XURLTransformer.hpp>
31 #include <com/sun/star/frame/XDispatchProvider.hpp>
32 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
33 #include <com/sun/star/container/XNameContainer.hpp>
34 #include <com/sun/star/beans/XPropertySet.hpp>
36 #include <vcl/menu.hxx>
37 #include <vcl/svapp.hxx>
38 #include <vcl/i18nhelp.hxx>
39 #include <rtl/ustrbuf.hxx>
41 //_________________________________________________________________________________________________________________
42 // Defines
43 //_________________________________________________________________________________________________________________
45 using namespace com::sun::star::uno;
46 using namespace com::sun::star::lang;
47 using namespace com::sun::star::frame;
48 using namespace com::sun::star::beans;
49 using namespace com::sun::star::util;
50 using namespace com::sun::star::style;
51 using namespace com::sun::star::container;
53 namespace framework
56 DEFINE_XSERVICEINFO_MULTISERVICE ( FooterMenuController ,
57 OWeakObject ,
58 SERVICENAME_POPUPMENUCONTROLLER ,
59 IMPLEMENTATIONNAME_FOOTERMENUCONTROLLER
62 FooterMenuController::FooterMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) :
63 HeaderMenuController( xServiceManager,true )
67 FooterMenuController::~FooterMenuController()
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */