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

OXMLi_ListenerState_Table.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- */
00002 /* AbiSource
00003  *
00004  * Copyright (C) 2009 Firat Kiyak <firatkiyak@gmail.com>
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 _OXMLI_LISTENERSTATE_TABLE_H_
00023 #define _OXMLI_LISTENERSTATE_TABLE_H_
00024 
00025 #include "OXMLi_ListenerState.h"
00026 #include "OXMLi_Types.h"
00027 #include "OXML_Types.h"
00028 #include "OXML_Element_Table.h"
00029 
00030 /* \class OXMLi_ListenerState_Table
00031  * \brief This ListenerState parses the Tables.
00032 */
00033 class OXMLi_ListenerState_Table : public OXMLi_ListenerState
00034 {
00035 public:
00036     OXMLi_ListenerState_Table();
00037     void startElement (OXMLi_StartElementRequest * rqst);
00038     void endElement (OXMLi_EndElementRequest * rqst);
00039     void charData (OXMLi_CharDataRequest * rqst);
00040 
00041 private:
00042     std::stack<OXML_SharedElement_Table> m_tableStack;
00043     std::stack<OXML_Element_Row*> m_rowStack;
00044     std::stack<OXML_SharedElement_Cell> m_cellStack;
00045 };
00046 
00047 #endif //_OXMLI_LISTENERSTATE_TABLE_H_
00048 

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1