Debian Codegraph @

src/lib/EPUBCSSProperties.cpp

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libepubgen 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 "EPUBCSSProperties.h"
11
12 namespace libepubgen
13 {
14
15 void fillPropertyList(const EPUBCSSProperties &cssProps, librevenge::RVNGPropertyList &props)
16 {
17 for (auto it = cssProps.begin(); cssProps.end() != it; ++it)
18 props.insert(it->first.c_str(), librevenge::RVNGPropertyFactory::newStringProp(it->second.c_str()));
19 }
20
21 }
22
23 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */