Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*
3 : : * This file is part of the LibreOffice project.
4 : : *
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/.
8 : : *
9 : : * This file incorporates work covered by the following license notice:
10 : : *
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 .
18 : : */
19 : :
20 : : #include <uielement/footermenucontroller.hxx>
21 : :
22 : : #include <threadhelp/resetableguard.hxx>
23 : : #include "services.h"
24 : : #include <classes/resource.hrc>
25 : : #include <classes/fwlresid.hxx>
26 : :
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>
35 : :
36 : : #include <vcl/menu.hxx>
37 : : #include <vcl/svapp.hxx>
38 : : #include <vcl/i18nhelp.hxx>
39 : : #include <rtl/ustrbuf.hxx>
40 : :
41 : : //_________________________________________________________________________________________________________________
42 : : // Defines
43 : : //_________________________________________________________________________________________________________________
44 : :
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;
52 : :
53 : : namespace framework
54 : : {
55 : :
56 [ + - ][ + - ]: 30 : DEFINE_XSERVICEINFO_MULTISERVICE ( FooterMenuController ,
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ # # ]
[ # # ]
57 : : OWeakObject ,
58 : : SERVICENAME_POPUPMENUCONTROLLER ,
59 : : IMPLEMENTATIONNAME_FOOTERMENUCONTROLLER
60 : : )
61 : :
62 : 4 : FooterMenuController::FooterMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) :
63 : 4 : HeaderMenuController( xServiceManager,true )
64 : : {
65 : 4 : }
66 : :
67 : 4 : FooterMenuController::~FooterMenuController()
68 : : {
69 [ - + ]: 8 : }
70 : : }
71 : :
72 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|