00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 00002 /* 00003 * This file is part of the libetonyek project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 */ 00009 00010 #ifndef KEYSTYLESHEET_H_INCLUDED 00011 #define KEYSTYLESHEET_H_INCLUDED 00012 00013 #include "KEYStyles_fwd.h" 00014 #include "KEYTypes_fwd.h" 00015 00016 namespace libetonyek 00017 { 00018 00019 struct KEYStylesheet; 00020 typedef boost::shared_ptr<KEYStylesheet> KEYStylesheetPtr_t; 00021 typedef boost::unordered_map<ID_t, KEYStylesheetPtr_t> KEYStylesheetMap_t; 00022 00033 struct KEYStylesheet 00034 { 00035 KEYStylesheetPtr_t parent; 00036 00037 KEYCellStyleMap_t cellStyles; 00038 KEYCharacterStyleMap_t characterStyles; 00039 KEYConnectionStyleMap_t connectionStyles; 00040 KEYGraphicStyleMap_t graphicStyles; 00041 KEYLayoutStyleMap_t layoutStyles; 00042 KEYListStyleMap_t listStyles; 00043 KEYParagraphStyleMap_t paragraphStyles; 00044 KEYPlaceholderStyleMap_t placeholderStyles; 00045 KEYSlideStyleMap_t slideStyles; 00046 KEYTabularStyleMap_t tabularStyles; 00047 KEYVectorStyleMap_t vectorStyles; 00048 00049 KEYStylesheet(); 00050 }; 00051 00052 } 00053 00054 #endif // KEYSTYLESHEET_H_INCLUDED 00055 00056 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */