00001 #ifndef _MONWWRD_H_INCLUDED_ 00002 #define _MONWWRD_H_INCLUDED_ 00003 //********************************************************************** 00004 // * 00005 // Filename: monwwrd.h * 00006 // Date: 16 Feb 2002 * 00007 // File Version: 1 * 00008 // * 00009 // Author: Chris White (whitecf@bcs.org.uk) * 00010 // Company: Monitor Computing Services Ltd. * 00011 // * 00012 //********************************************************************** 00013 // * 00014 // Copyright (C) 2002 Monitor Computing Services Ltd. * 00015 // * 00016 // This program is free software; you can redistribute it and/or * 00017 // modify it under the terms of the GNU General Public License * 00018 // as published by the Free Software Foundation; either version 2 * 00019 // of the License, or any later version. * 00020 // * 00021 // This program is distributed in the hope that it will be useful, * 00022 // but WITHOUT ANY WARRANTY; without even the implied warranty of * 00023 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00024 // GNU General Public License for more details. * 00025 // * 00026 // You should have received a copy of the GNU General Public * 00027 // License (http://www.gnu.org/copyleft/gpl.html) along with this * 00028 // program; if not, write to: * 00029 // The Free Software Foundation Inc., * 00030 // 59 Temple Place - Suite 330, * 00031 // Boston, MA 02111-1307, * 00032 // USA. * 00033 // * 00034 //********************************************************************** 00035 // * 00036 // Notes: * 00037 // * 00038 //********************************************************************** 00039 00040 #include "mondocrd.h" 00041 00042 00043 class MonWordWiseReader : public MonDocReader 00044 { 00045 public: 00046 00047 MonWordWiseReader(class ifstream *source, 00048 class MonDocWriter *writer, 00049 void *traceObj = 0, 00050 void (*traceFunc)(void*, const char*) = 0); 00051 virtual ~MonWordWiseReader() {;} 00052 00053 void convert(); 00054 void convertCommand(); 00055 00056 private: 00057 00058 char poundSign; 00059 char hashChar; 00060 char printerTab; 00061 char padChar; 00062 float linesPerInch; 00063 float charactersPerInch; 00064 float pageLength; 00065 float pageWidth; 00066 float leftMargin; 00067 }; 00068 00069 00070 #endif