sc: filter: rtf: add method "AddFont"
[LibreOffice.git] / include / svl / currencytable.hxx
blobf7573f48b80bc6832fc39d5f812fab69001c4314
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_SVL_CURRENCYTABLE_HXX
11 #define INCLUDED_SVL_CURRENCYTABLE_HXX
13 #include <svl/svldllapi.h>
14 #include <svl/zforlist.hxx>
16 #include <vector>
17 #include <memory>
19 class SVL_DLLPUBLIC NfCurrencyTable
21 typedef std::vector<NfCurrencyEntry> DataType;
22 DataType maData;
24 NfCurrencyTable(NfCurrencyTable const&) = delete;
25 void operator=(NfCurrencyTable const&) = delete;
27 public:
28 NfCurrencyTable() {}
29 typedef DataType::iterator iterator;
30 typedef DataType::const_iterator const_iterator;
32 iterator begin();
34 NfCurrencyEntry& operator[](size_t i);
35 const NfCurrencyEntry& operator[](size_t i) const;
37 size_t size() const;
39 void insert(const iterator& it, NfCurrencyEntry p);
42 #endif
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */