• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ODe_DefaultStyles.h

Go to the documentation of this file.
00001 /* AbiSource
00002  *
00003  * Copyright (C) 2010 Marc Maurer <uwog@uwog.net>
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301 USA.
00019  */
00020 
00021 #ifndef _ODE_DEFAULTSTYLES_H_
00022 #define _ODE_DEFAULTSTYLES_H_
00023 
00024 #include <map>
00025 #include <string>
00026 
00027 // AbiWord includes
00028 #include <ut_hash.h>
00029 
00030 // External includes
00031 #include <gsf/gsf-output.h>
00032 
00033 class ODe_Style_Style;
00034 
00038 class ODe_DefaultStyles {
00039 public:
00040 
00041     UT_GenericVector<ODe_Style_Style*>* enumerate() const;
00042     ODe_Style_Style* getStyle(std::string family);
00043     void storeStyle(std::string family, ODe_Style_Style* pStyle);
00044 
00045 private:
00046 
00047     std::map<std::string, ODe_Style_Style*> m_styles;
00048 };
00049 
00050 #endif //_ODE_DEFAULTSTYLES_H_

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1