00001 /* libwpd 00002 * Copyright (C) 2002 William Lachance (wrlach@gmail.com) 00003 * Copyright (C) 2002 Marc Maurer (uwog@uwog.net) 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Library General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00018 * 00019 * For further information visit http://libwpd.sourceforge.net 00020 */ 00021 00022 /* "This product is not manufactured, approved, or supported by 00023 * Corel Corporation or Corel Corporation Limited." 00024 */ 00025 00026 #ifndef WP6SINGLEBYTEFUNCTION_H 00027 #define WP6SINGLEBYTEFUNCTION_H 00028 00029 #include "WP6Part.h" 00030 00031 class WP6SingleByteFunction : public WP6Part 00032 { 00033 public: 00034 static WP6SingleByteFunction * constructSingleByteFunction(WPXInputStream *input, uint8_t groupID); 00035 }; 00036 00037 class WP6SpaceFunction : public WP6SingleByteFunction 00038 { 00039 public: 00040 void parse(WP6Listener *listener); 00041 }; 00042 00043 class WP6HardSpaceFunction : public WP6SingleByteFunction 00044 { 00045 public: 00046 void parse(WP6Listener *listener); 00047 }; 00048 00049 class WP6EOLFunction : public WP6SingleByteFunction 00050 { 00051 public: 00052 void parse(WP6Listener *listener); 00053 }; 00054 00055 class WP6EOCFunction : public WP6SingleByteFunction 00056 { 00057 public: 00058 void parse(WP6Listener *listener); 00059 }; 00060 00061 class WP6EOPFunction : public WP6SingleByteFunction 00062 { 00063 public: 00064 void parse(WP6Listener *listener); 00065 }; 00066 00067 class WP6SoftEOPFunction : public WP6SingleByteFunction 00068 { 00069 public: 00070 void parse(WP6Listener *listener); 00071 }; 00072 00073 class WP6SoftHyphenFunction : public WP6SingleByteFunction 00074 { 00075 public: 00076 void parse(WP6Listener *listener); 00077 }; 00078 00079 class WP6HyphenFunction : public WP6SingleByteFunction 00080 { 00081 public: 00082 void parse(WP6Listener *listener); 00083 }; 00084 00085 class WP6TableOffFunction : public WP6SingleByteFunction 00086 { 00087 public: 00088 void parse(WP6Listener *listener); 00089 }; 00090 00091 class WP6TableCellFunction : public WP6SingleByteFunction 00092 { 00093 public: 00094 void parse(WP6Listener *listener); 00095 }; 00096 00097 class WP6TableRowFunction : public WP6SingleByteFunction 00098 { 00099 public: 00100 void parse(WP6Listener *listener); 00101 }; 00102 00103 class WP6TableOffAtSoftEOPFunction : public WP6SingleByteFunction 00104 { 00105 public: 00106 void parse(WP6Listener *listener); 00107 }; 00108 00109 class WP6TableRowAtSoftEOPFunction : public WP6SingleByteFunction 00110 { 00111 public: 00112 void parse(WP6Listener *listener); 00113 }; 00114 00115 class WP6TableRowAtEOPFunction : public WP6SingleByteFunction 00116 { 00117 public: 00118 void parse(WP6Listener *listener); 00119 }; 00120 00121 class WP6TableRowAtEOCFunction : public WP6SingleByteFunction 00122 { 00123 public: 00124 void parse(WP6Listener *listener); 00125 }; 00126 00127 #endif /* WP6SINGLEBYTEFUNCTION_H */