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

ODi_NotesConfiguration.h

Go to the documentation of this file.
00001 /* AbiSource Program Utilities
00002  *
00003  * Copyright (C) 2005 Daniel d'Andrada T. de Carvalho
00004  * <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 _ODI_NOTESCONFIGURATION_H_
00023 #define _ODI_NOTESCONFIGURATION_H_
00024 
00025 // Internal includes
00026 #include "ODi_ListenerState.h"
00027 
00028 
00032 class ODi_NotesConfiguration : public ODi_ListenerState {
00033 public:
00034 
00035     ODi_NotesConfiguration(ODi_ElementStack& rElementStack) :
00036         ODi_ListenerState("NotesConfiguration", rElementStack) {}
00037 
00038     virtual ~ODi_NotesConfiguration() {}
00039 
00040     void startElement(const gchar* pName, const gchar** ppAtts,
00041                       ODi_ListenerStateAction& rAction);
00042 
00043     void endElement(const gchar* pName, ODi_ListenerStateAction& rAction);
00044 
00045     void charData (const gchar* /*pBuffer*/, int /*length*/) {}
00046 
00047     const std::string* getCitationStyleName() const {return &m_citationStyleName;}
00048 
00049 private:
00050 
00051     std::string m_noteClass; // text:note-class
00052     std::string m_citationStyleName; // text:citation-style-name
00053 };
00054 
00055 #endif //_ODI_NOTESCONFIGURATION_H_

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1