FONTAINE 1.0
|
00001 // 00002 // The Fontaine Font Analysis Project 00003 // 00004 // Copyright (c) 2009 by Edward H. Trager 00005 // All Rights Reserved 00006 // 00007 // Released under the GNU GPL version 2.0 or later. 00008 // 00009 00010 // 00011 // TEXTR.h -- Plain Text Report 00012 // 00013 00014 #ifndef TEXTR_INCLUDED 00015 #define TEXTR_INCLUDED 00016 00017 #include "MLR.h" 00018 00019 class TEXTR : public MLR { 00020 00021 protected: 00022 00023 std::string _listBullet; 00024 00025 public: 00026 00027 TEXTR(); 00028 00029 void startRoot(void); 00030 void endRoot(void); 00031 00032 void startList(const std::string &key); 00033 void addKeyValuePairToList(const std::string &key,const std::string &value); 00034 void endList(const std::string &key); 00035 00036 void start(const std::string &key); 00037 void addKeyValuePair(const std::string &key,const std::string &value); 00038 void end(const std::string &key); 00039 00040 void startList(const char *key); 00041 void addKeyValuePairToList(const char *key,const char *value); 00042 void endList(const char *key); 00043 00044 void start(const char *key); 00045 void addKeyValuePair(const char *key,const char *value); 00046 void end(const char *key); 00047 00048 void setListBullet(const std::string &bullet); 00049 void setListBullet(const char *bullet); 00050 00051 //std::string & basicLatinCapitalize(std::string &s); 00052 //std::string & basicLatinSegmentize(std::string &s); 00053 00054 }; 00055 00056 #endif 00057