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 "services.h"
23 : #include <classes/resource.hrc>
24 : #include <classes/fwlresid.hxx>
25 :
26 : #include <com/sun/star/awt/XDevice.hpp>
27 : #include <com/sun/star/beans/PropertyValue.hpp>
28 : #include <com/sun/star/awt/MenuItemStyle.hpp>
29 : #include <com/sun/star/util/XURLTransformer.hpp>
30 : #include <com/sun/star/frame/XDispatchProvider.hpp>
31 : #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
32 : #include <com/sun/star/container/XNameContainer.hpp>
33 : #include <com/sun/star/beans/XPropertySet.hpp>
34 :
35 : #include <vcl/menu.hxx>
36 : #include <vcl/svapp.hxx>
37 : #include <vcl/i18nhelp.hxx>
38 : #include <rtl/ustrbuf.hxx>
39 :
40 : // Defines
41 :
42 : using namespace com::sun::star::uno;
43 : using namespace com::sun::star::lang;
44 : using namespace com::sun::star::frame;
45 : using namespace com::sun::star::beans;
46 : using namespace com::sun::star::util;
47 : using namespace com::sun::star::style;
48 : using namespace com::sun::star::container;
49 :
50 : namespace framework
51 : {
52 :
53 25 : DEFINE_XSERVICEINFO_MULTISERVICE_2 ( FooterMenuController ,
54 : OWeakObject ,
55 : SERVICENAME_POPUPMENUCONTROLLER ,
56 : IMPLEMENTATIONNAME_FOOTERMENUCONTROLLER
57 : )
58 :
59 3 : FooterMenuController::FooterMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
60 3 : HeaderMenuController( xContext,true )
61 : {
62 3 : }
63 :
64 6 : FooterMenuController::~FooterMenuController()
65 : {
66 6 : }
67 : }
68 :
69 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|