1*b1cdbd2cSJim Jagielski /* WordPerfectCollector: Collects sections and runs of text from a 2*b1cdbd2cSJim Jagielski * wordperfect file (and styles to go along with them) and writes them 3*b1cdbd2cSJim Jagielski * to a Writer target document 4*b1cdbd2cSJim Jagielski * 5*b1cdbd2cSJim Jagielski * Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch) 6*b1cdbd2cSJim Jagielski * 7*b1cdbd2cSJim Jagielski * This program is free software; you can redistribute it and/or 8*b1cdbd2cSJim Jagielski * modify it under the terms of the GNU Lesser General Public 9*b1cdbd2cSJim Jagielski * License as published by the Free Software Foundation; either 10*b1cdbd2cSJim Jagielski * version 2 of the License, or (at your option) any later version. 11*b1cdbd2cSJim Jagielski * 12*b1cdbd2cSJim Jagielski * This program is distributed in the hope that it will be useful, 13*b1cdbd2cSJim Jagielski * but WITHOUT ANY WARRANTY; without even the implied warranty of 14*b1cdbd2cSJim Jagielski * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15*b1cdbd2cSJim Jagielski * Library General Public License for more details. 16*b1cdbd2cSJim Jagielski * 17*b1cdbd2cSJim Jagielski * You should have received a copy of the GNU Library General Public 18*b1cdbd2cSJim Jagielski * License along with this library; if not, write to the Free Software 19*b1cdbd2cSJim Jagielski * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20*b1cdbd2cSJim Jagielski * 21*b1cdbd2cSJim Jagielski * For further information visit http://libwpd.sourceforge.net 22*b1cdbd2cSJim Jagielski * 23*b1cdbd2cSJim Jagielski */ 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski /* "This product is not manufactured, approved, or supported by 26*b1cdbd2cSJim Jagielski * Corel Corporation or Corel Corporation Limited." 27*b1cdbd2cSJim Jagielski */ 28*b1cdbd2cSJim Jagielski 29*b1cdbd2cSJim Jagielski #ifndef _WORDPERFECTCOLLECTOR_HXX 30*b1cdbd2cSJim Jagielski #define _WORDPERFECTCOLLECTOR_HXX 31*b1cdbd2cSJim Jagielski 32*b1cdbd2cSJim Jagielski #include "filter/DocumentCollector.hxx" 33*b1cdbd2cSJim Jagielski 34*b1cdbd2cSJim Jagielski class WordPerfectCollector : public DocumentCollector 35*b1cdbd2cSJim Jagielski { 36*b1cdbd2cSJim Jagielski public: 37*b1cdbd2cSJim Jagielski WordPerfectCollector(WPXInputStream *pInput, DocumentHandler *pHandler); 38*b1cdbd2cSJim Jagielski virtual ~WordPerfectCollector(); 39*b1cdbd2cSJim Jagielski bool parseSourceDocument(WPXInputStream &pInput); 40*b1cdbd2cSJim Jagielski }; 41*b1cdbd2cSJim Jagielski #endif 42