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_HEADINGSEARCHER_LISTENER_H_ 00023 #define ODE_HEADINGSEARCHER_LISTENER_H_ 00024 00025 // Internal includes 00026 #include "ODe_AbiDocListenerImpl.h" 00027 00028 // Internal classes 00029 class ODe_AuxiliaryData; 00030 00031 // AbiWord classes 00032 class PP_AttrProp; 00033 class ODe_Styles; 00034 00035 00040 class ODe_HeadingSearcher_Listener: public ODe_AbiDocListenerImpl { 00041 public: 00042 ODe_HeadingSearcher_Listener(ODe_Styles& m_rStyles, ODe_AuxiliaryData& rAuxiliaryData); 00043 00044 virtual void openTOC(const PP_AttrProp* pAP); 00045 00046 private: 00047 ODe_Styles& m_rStyles; 00048 ODe_AuxiliaryData& m_rAuxiliaryData; 00049 }; 00050 00051 #endif /*ODE_HEADINGSEARCHER_LISTENER_H_*/