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

ODe_FontFaceDecls.h

Go to the documentation of this file.
00001 /* AbiSource
00002  *
00003  * Copyright (C) 2005 INdT
00004  * Author: Daniel d'Andrada T. de Carvalho <daniel.carvalho@indt.org.br>
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00019  * 02110-1301 USA.
00020  */
00021 
00022 #ifndef ODE_FONTFACEDECLS_H_
00023 #define ODE_FONTFACEDECLS_H_
00024 
00025 // AbiWord includes
00026 #include <ut_hash.h>
00027 
00028 // External includes
00029 #include <gsf/gsf-output.h>
00030 
00031 // AbiWord classes
00032 class UT_UTF8String;
00033 
00037 class ODe_FontFaceDecls {
00038 public:
00039 
00040     virtual ~ODe_FontFaceDecls();
00041 
00042     void addFont(const UT_UTF8String& rFontName);
00043 
00044     // Write the <office:font-face-decls> element.
00045     bool write(GsfOutput* pODT) const;
00046 
00047 private:
00048 
00049     UT_GenericStringMap<UT_UTF8String*> m_fontDecls;
00050 };
00051 
00052 #endif /*ODE_FONTFACEDECLS_H_*/

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1