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

AbiGrammarCheck.h

Go to the documentation of this file.
00001 /* AbiWord
00002  * Copyright (C) 2005 Martin Sevior <msevior@physics.unimelb.edu.au>
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 #ifndef __Abi_GrammarCheck_h__
00021 #define __Abi_GrammarCheck_h__
00022 #include "ut_string_class.h"
00023 #include "ut_types.h"
00024 #include "ut_vector.h"
00025 
00026 class fl_BlockLayout;
00027 class LinkGrammarWrap;
00028 class PieceOfText;
00029 
00030 class Abi_GrammarCheck
00031 {
00032  public:
00033   Abi_GrammarCheck(void);
00034   virtual ~Abi_GrammarCheck(void);
00035   bool   CheckBlock(fl_BlockLayout * pB);
00036   bool   GetEnglishText(fl_BlockLayout * pB);
00037   bool   isSentenceBlank(const char * szSent);
00038  private:
00039   LinkGrammarWrap *  m_GrammarWrap;
00040   UT_GenericVector<PieceOfText *> m_vecSentences;
00041 };
00042 
00043 #endif // __Abi_GrammarCheck_h__

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1