| OLD | NEW |
| 1 /* |
| 2 * ODF parser class for MySpell |
| 3 * |
| 4 * Copyright (C) 2014, Laszlo Nemeth |
| 5 * |
| 6 */ |
| 1 /* ***** BEGIN LICENSE BLOCK ***** | 7 /* ***** BEGIN LICENSE BLOCK ***** |
| 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 8 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 * | 9 * |
| 4 * The contents of this file are subject to the Mozilla Public License Version | 10 * The contents of this file are subject to the Mozilla Public License Version |
| 5 * 1.1 (the "License"); you may not use this file except in compliance with | 11 * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 * the License. You may obtain a copy of the License at | 12 * the License. You may obtain a copy of the License at |
| 7 * http://www.mozilla.org/MPL/ | 13 * http://www.mozilla.org/MPL/ |
| 8 * | 14 * |
| 9 * Software distributed under the License is distributed on an "AS IS" basis, | 15 * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 16 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 * for the specific language governing rights and limitations under the | 17 * for the specific language governing rights and limitations under the |
| 12 * License. | 18 * License. |
| 13 * | 19 * |
| 14 * The Original Code is Hunspell, based on MySpell. | 20 * The Original Code is Hunspell, based on MySpell. |
| 15 * | 21 * |
| 16 * The Initial Developers of the Original Code are | 22 * The Initial Developers of the Original Code are |
| 17 * Kevin Hendricks (MySpell) and Laszlo Nemeth (Hunspell). | 23 * Kevin Hendricks (MySpell) and Németh László (Hunspell). |
| 18 * Portions created by the Initial Developers are Copyright (C) 2002-2005 | 24 * Portions created by the Initial Developers are Copyright (C) 2002-2005 |
| 19 * the Initial Developers. All Rights Reserved. | 25 * the Initial Developers. All Rights Reserved. |
| 20 * | 26 * |
| 21 * Contributor(s): | 27 * Contributor(s): David Einstein, Davide Prina, Giuseppe Modugno, |
| 22 * David Einstein | 28 * Gianluca Turconi, Simon Brouwer, Noll János, Bíró Árpád, |
| 23 * Davide Prina | 29 * Goldman Eleonóra, Sarlós Tamás, Bencsáth Boldizsár, Halácsy Péter, |
| 24 * Giuseppe Modugno | 30 * Dvornik László, Gefferth András, Nagy Viktor, Varga Dániel, Chris Halls, |
| 25 * Gianluca Turconi | 31 * Rene Engelhard, Bram Moolenaar, Dafydd Jones, Harri Pitkänen |
| 26 * Simon Brouwer | |
| 27 * Noll Janos | |
| 28 * Biro Arpad | |
| 29 * Goldman Eleonora | |
| 30 * Sarlos Tamas | |
| 31 * Bencsath Boldizsar | |
| 32 * Halacsy Peter | |
| 33 * Dvornik Laszlo | |
| 34 * Gefferth Andras | |
| 35 * Nagy Viktor | |
| 36 * Varga Daniel | |
| 37 * Chris Halls | |
| 38 * Rene Engelhard | |
| 39 * Bram Moolenaar | |
| 40 * Dafydd Jones | |
| 41 * Harri Pitkanen | |
| 42 * Andras Timar | |
| 43 * Tor Lillqvist | |
| 44 * | 32 * |
| 45 * Alternatively, the contents of this file may be used under the terms of | 33 * Alternatively, the contents of this file may be used under the terms of |
| 46 * either the GNU General Public License Version 2 or later (the "GPL"), or | 34 * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 47 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | 35 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 48 * in which case the provisions of the GPL or the LGPL are applicable instead | 36 * in which case the provisions of the GPL or the LGPL are applicable instead |
| 49 * of those above. If you wish to allow use of your version of this file only | 37 * of those above. If you wish to allow use of your version of this file only |
| 50 * under the terms of either the GPL or the LGPL, and not to allow others to | 38 * under the terms of either the GPL or the LGPL, and not to allow others to |
| 51 * use your version of this file under the terms of the MPL, indicate your | 39 * use your version of this file under the terms of the MPL, indicate your |
| 52 * decision by deleting the provisions above and replace them with the notice | 40 * decision by deleting the provisions above and replace them with the notice |
| 53 * and other provisions required by the GPL or the LGPL. If you do not delete | 41 * and other provisions required by the GPL or the LGPL. If you do not delete |
| 54 * the provisions above, a recipient may use your version of this file under | 42 * the provisions above, a recipient may use your version of this file under |
| 55 * the terms of any one of the MPL, the GPL or the LGPL. | 43 * the terms of any one of the MPL, the GPL or the LGPL. |
| 56 * | 44 * |
| 57 * ***** END LICENSE BLOCK ***** */ | 45 * ***** END LICENSE BLOCK ***** */ |
| 58 | 46 |
| 59 #ifndef HUNSPELL_CHROME_CLIENT | 47 #ifndef ODFPARSER_HXX_ |
| 60 #include "config.h" | 48 #define ODFPARSER_HXX_ |
| 49 |
| 50 #include "xmlparser.hxx" |
| 51 |
| 52 /* |
| 53 * HTML Parser |
| 54 * |
| 55 */ |
| 56 |
| 57 class ODFParser : public XMLParser { |
| 58 public: |
| 59 explicit ODFParser(const char* wc); |
| 60 ODFParser(const w_char* wordchars, int len); |
| 61 virtual bool next_token(std::string&); |
| 62 virtual ~ODFParser(); |
| 63 }; |
| 64 |
| 61 #endif | 65 #endif |
| OLD | NEW |