tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / DocumentModelAccessor.hxx
blobd0eec4bba1743fe5e0ec3f93d0ef28a29db18b40
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 #pragma once
12 #include <sfx2/IDocumentModelAccessor.hxx>
13 #include <document.hxx>
15 namespace sc
17 /** DocumentModelAccessor implementation for Calc */
18 class DocumentModelAccessor : public sfx::IDocumentModelAccessor
20 private:
21 std::shared_ptr<ScDocument> m_pDocument;
23 public:
24 DocumentModelAccessor(std::shared_ptr<ScDocument> const& pDocument)
25 : m_pDocument(pDocument)
29 std::vector<sfx::CurrencyID> getDocumentCurrencies() const override;
32 } // end sc
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */