update credits
[LibreOffice.git] / include / comphelper / dispatchcommand.hxx
blob58aa0b940f4e2528de056fd9c7aa814323c030cd
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/.
8 */
10 #ifndef INCLUDED_COMPHELPER_DISPATCHCOMMAND_HXX
11 #define INCLUDED_COMPHELPER_DISPATCHCOMMAND_HXX
13 #include <comphelper/comphelperdllapi.h>
14 #include <rtl/ustring.hxx>
15 #include <com/sun/star/uno/Sequence.hxx>
16 #include <com/sun/star/beans/PropertyValue.hpp>
18 namespace comphelper
21 /** Dispatch the given UNO command in the active frame.
23 @param rCommand the command to dispatch, like ".uno:Bold".
25 @return true on success.
27 COMPHELPER_DLLPUBLIC bool dispatchCommand(const OUString& rCommand, const css::uno::Sequence<css::beans::PropertyValue>& rArguments);
31 #endif // INCLUDED_COMPHELPER_DISPATCHCOMMAND_HXX
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */