00001 #ifndef CUSTOMHTML_HTML_H
00002 #define CUSTOMHTML_HTML_H
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 #include "Links.h"
00028 #include "typedefs.h"
00029 #include "sanitizeString.h"
00030 
00031 
00032 #include <string>
00033 
00034 namespace customTag
00035 {
00036 namespace impl
00037 {
00038 
00039 using namespace std;
00040 
00051 class Html
00052 {
00053     public:
00054 
00060         Html();
00061         
00071         void writeHtmlHeader(ofstream &file);
00072         
00078         void writeHtmlFooter(ofstream &file);
00079         
00093         void createLink(string urlToLinkTo, string urlDisplayName, string urlToLinkFrom);
00094         
00107         void createTemplateLink(string urlToLinkTo, string templateString, string urlToLinkFrom);
00108 
00113         void writeWebPages();
00114         
00121         void writeDefaultStyleSheet(const string &fileName);
00122 
00123     private:
00124 
00129         string m_directoryName;
00130         
00134         string m_topCaption;
00135 
00143         MapWebPageMapStringLinks m_links;
00144 };
00145 
00146 } 
00147 } 
00148 
00149 
00150 #endif
00151