IWORKStylesheet.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libetonyek 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#ifndef IWORKSTYLESHEET_H_INCLUDED
11#define IWORKSTYLESHEET_H_INCLUDED
12
13#include "IWORKStyle_fwd.h"
14#include "IWORKTypes_fwd.h"
15
16namespace libetonyek
17{
18
19struct IWORKStylesheet;
20typedef std::shared_ptr<IWORKStylesheet> IWORKStylesheetPtr_t;
21typedef std::unordered_map<ID_t, IWORKStylesheetPtr_t> IWORKStylesheetMap_t;
22
44
45}
46
47#endif // IWORKSTYLESHEET_H_INCLUDED
48
49/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
@ name
Definition IWORKToken.h:585
Definition IWORKBezierElement.cpp:21
std::shared_ptr< IWORKStylesheet > IWORKStylesheetPtr_t
Definition IWORKStylesheet.h:20
std::unordered_map< ID_t, IWORKStylePtr_t > IWORKStyleMap_t
Definition IWORKStyle_fwd.h:24
std::unordered_map< ID_t, IWORKStylesheetPtr_t > IWORKStylesheetMap_t
Definition IWORKStylesheet.h:21
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition IWORKStyle_fwd.h:23
Representation of a stylesheet.
Definition IWORKStylesheet.h:34
IWORKStylePtr_t find(const std::string &name) const
try to return a style in a spreadsheet with a given name
Definition IWORKStylesheet.cpp:25
IWORKStylesheetPtr_t parent
Definition IWORKStylesheet.h:35
IWORKStyleMap_t m_styles
Definition IWORKStylesheet.h:37
IWORKStylesheet()
Definition IWORKStylesheet.cpp:19

Generated for libetonyek by doxygen 1.12.0