Line data Source code
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 :
10 : #include <rtfreferencetable.hxx>
11 :
12 : namespace writerfilter {
13 : namespace rtftok {
14 :
15 0 : RTFReferenceTable::RTFReferenceTable(Entries_t const& rEntries)
16 0 : : m_aEntries(rEntries)
17 : {
18 0 : }
19 :
20 0 : RTFReferenceTable::~RTFReferenceTable()
21 : {
22 0 : }
23 :
24 0 : void RTFReferenceTable::resolve(Table& rHandler)
25 : {
26 0 : for (Entries_t::const_iterator i = m_aEntries.begin(); i != m_aEntries.end(); ++i)
27 0 : rHandler.entry(i->first, i->second);
28 0 : }
29 :
30 0 : std::string RTFReferenceTable::getType() const
31 : {
32 0 : return "RTFReferenceTable";
33 : }
34 :
35 : } // namespace rtftok
36 : } // namespace writerfilter
37 :
38 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|