1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
12 #include <rtl/ustring.hxx>
14 #include <unordered_map>
17 * Provide mapping from ODF text formatting styles to EditEngine's, for
18 * rich-text cell content import.
20 class ScXMLEditAttributeMap
32 ScXMLEditAttributeMap();
34 const Entry
* getEntryByAPIName(const OUString
& rAPIName
) const;
35 const Entry
* getEntryByItemID(sal_uInt16 nItemID
) const;
38 typedef std::unordered_map
<OUString
, const Entry
*> StrToEntriesType
;
39 typedef std::unordered_map
<sal_uInt16
, const Entry
*> IndexToEntriesType
;
40 StrToEntriesType maAPIEntries
;
41 IndexToEntriesType maItemIDEntries
;
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */