LibreOffice Module framework (master) 1
sfxhelperfunctions.hxx
Go to the documentation of this file.
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#pragma once
21
22#include <framework/fwkdllapi.h>
23#include <rtl/ustring.hxx>
24#include <rtl/ref.hxx>
25#include <vcl/toolboxid.hxx>
26
27namespace com::sun::star::frame { class XFrame; }
28namespace com::sun::star::uno { template <typename > class Reference; }
29namespace svt { class StatusbarController; }
30namespace svt { class ToolboxController; }
31
32class StatusBar;
33class ToolBox;
34
36 const css::uno::Reference< css::frame::XFrame >& rFrame,
37 ToolBox* pToolbox,
38 ToolBoxItemId nID,
39 const OUString& aCommandURL );
40
42 const css::uno::Reference< css::frame::XFrame >& rFrame,
43 StatusBar* pStatusBar,
44 unsigned short nID,
45 const OUString& aCommandURL );
46
47typedef void ( *pfunc_getRefreshToolbars)(
48 css::uno::Reference< css::frame::XFrame > const & rFrame );
49
51 const css::uno::Reference< css::frame::XFrame >& rFrame,
52 std::u16string_view rResourceURL );
53
55 const css::uno::Reference< css::frame::XFrame >& rFrame,
56 std::u16string_view rResourceURL );
57
58
59namespace framework
60{
63 const css::uno::Reference< css::frame::XFrame >& rFrame,
64 ToolBox* pToolbox,
65 ToolBoxItemId nID,
66 const OUString& aCommandURL );
67
70 const css::uno::Reference< css::frame::XFrame >& rFrame,
71 StatusBar* pStatusBar,
72 unsigned short nID,
73 const OUString& aCommandURL );
74
77 css::uno::Reference< css::frame::XFrame > const & rFrame );
78
81 const css::uno::Reference< css::frame::XFrame >& rFrame,
82 std::u16string_view rResourceURL );
83
86 const css::uno::Reference< css::frame::XFrame >& rFrame,
87 std::u16string_view rResourceURL );
88}
89
90/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define FWK_DLLPUBLIC
Definition: fwkdllapi.h:19
Reference
bool IsDockingWindowVisible(const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rResourceURL)
pfunc_setStatusBarControllerCreator SetStatusBarControllerCreator(pfunc_setStatusBarControllerCreator pSetStatusBarControllerCreator)
void CreateDockingWindow(const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rResourceURL)
void RefreshToolbars(css::uno::Reference< css::frame::XFrame > const &rFrame)
pfunc_createDockingWindow SetDockingWindowCreator(pfunc_createDockingWindow pNewCreateDockingWindow)
rtl::Reference< svt::ToolboxController > CreateToolBoxController(const Reference< XFrame > &rFrame, ToolBox *pToolbox, ToolBoxItemId nID, const OUString &aCommandURL)
pfunc_setToolBoxControllerCreator SetToolBoxControllerCreator(pfunc_setToolBoxControllerCreator pSetToolBoxControllerCreator)
pfunc_isDockingWindowVisible SetIsDockingWindowVisible(pfunc_isDockingWindowVisible pNewIsDockingWindowVisible)
pfunc_getRefreshToolbars SetRefreshToolbars(pfunc_getRefreshToolbars pNewRefreshToolbarsFunc)
rtl::Reference< svt::StatusbarController > CreateStatusBarController(const Reference< XFrame > &rFrame, StatusBar *pStatusBar, unsigned short nID, const OUString &aCommandURL)
static pfunc_isDockingWindowVisible pIsDockingWindowVisible
static pfunc_createDockingWindow pCreateDockingWindow
void(* pfunc_createDockingWindow)(const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rResourceURL)
bool(* pfunc_isDockingWindowVisible)(const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rResourceURL)
void(* pfunc_getRefreshToolbars)(css::uno::Reference< css::frame::XFrame > const &rFrame)
rtl::Reference< svt::ToolboxController >(* pfunc_setToolBoxControllerCreator)(const css::uno::Reference< css::frame::XFrame > &rFrame, ToolBox *pToolbox, ToolBoxItemId nID, const OUString &aCommandURL)
rtl::Reference< svt::StatusbarController >(* pfunc_setStatusBarControllerCreator)(const css::uno::Reference< css::frame::XFrame > &rFrame, StatusBar *pStatusBar, unsigned short nID, const OUString &aCommandURL)