LibreOffice Module writerfilter (master) 1
rtfreferencetable.cxx
Go to the documentation of this file.
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
13{
15 : m_aEntries(std::move(aEntries))
16{
17}
18
20
22{
23 for (const auto& rEntry : m_aEntries)
24 rHandler.entry(rEntry.first, rEntry.second);
25}
26
27} // namespace writerfilter::rtftok
28
29/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Handler for tables.
virtual void entry(int pos, writerfilter::Reference< Properties >::Pointer_t ref)=0
Receives an entry of the table.
void resolve(Table &rHandler) override
Resolves the reference.
std::map< int, writerfilter::Reference< Properties >::Pointer_t > Entries_t
ScXMLEditAttributeMap::Entry const aEntries[]