sc: filter: rtf: add method "AddFont"
[LibreOffice.git] / include / sfx2 / DocumentSigner.hxx
blob8059cb9cbd24d090b71d6d38e2aa8bb48f56eebb
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 */
11 #ifndef INCLUDED_SFX2_DOCUMENTSIGNER_HXX
12 #define INCLUDED_SFX2_DOCUMENTSIGNER_HXX
14 #include <sal/config.h>
15 #include <sfx2/dllapi.h>
16 #include <rtl/ustring.hxx>
18 namespace com::sun::star::security
20 class XCertificate;
22 namespace com::sun::star::uno
24 template <typename> class Reference;
27 namespace sfx2
29 class SFX2_DLLPUBLIC DocumentSigner
31 private:
32 OUString m_aUrl;
34 public:
35 DocumentSigner(OUString const& rUrl)
36 : m_aUrl(rUrl)
40 bool signDocument(css::uno::Reference<css::security::XCertificate> const& rxCertificate);
43 } // namespace sfx2
45 #endif // INCLUDED_SFX2_DOCUMENTSIGNER_HXX
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */