Orb/Doxygen/src/htmlgen.h
changeset 4 468f4c8d3d5b
parent 0 42188c7ea2d9
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
     2  *
     3  * 
     3  * 
     4  *
     4  *
     5  * Copyright (C) 1997-2008 by Dimitri van Heesch.
     5  * Copyright (C) 1997-2010 by Dimitri van Heesch.
     6  *
     6  *
     7  * Permission to use, copy, modify, and distribute this software and its
     7  * Permission to use, copy, modify, and distribute this software and its
     8  * documentation under the terms of the GNU General Public License is hereby 
     8  * documentation under the terms of the GNU General Public License is hereby 
     9  * granted. No representations are made about the suitability of this software 
     9  * granted. No representations are made about the suitability of this software 
    10  * for any purpose. It is provided "as is" without express or implied warranty.
    10  * for any purpose. It is provided "as is" without express or implied warranty.
    57     void endIndexSection(IndexSections) {}
    57     void endIndexSection(IndexSections) {}
    58     void writePageLink(const char *,bool) {}
    58     void writePageLink(const char *,bool) {}
    59     void startProjectNumber();
    59     void startProjectNumber();
    60     void endProjectNumber();
    60     void endProjectNumber();
    61     void writeStyleInfo(int part);
    61     void writeStyleInfo(int part);
    62     void startTitleHead(const char *) { startTitle(); }
    62     void startTitleHead(const char *);
    63     void endTitleHead(const char *,const char *) { endTitle(); }
    63     void endTitleHead(const char *,const char *);
    64     void startTitle() { t << "<h1>"; }
    64     void startTitle() { t << "<h1>"; }
    65     void endTitle() { t << "</h1>"; }
    65     void endTitle() { t << "</h1>"; }
    66     
    66     
    67     void startParagraph();
    67     void startParagraph();
    68     void endParagraph();
    68     void endParagraph();
    97     void startItemListItem() { t << "<li>"; }
    97     void startItemListItem() { t << "<li>"; }
    98     void endItemListItem() { t << "</li>\n"; }
    98     void endItemListItem() { t << "</li>\n"; }
    99 
    99 
   100     void startMemberSections();
   100     void startMemberSections();
   101     void endMemberSections();
   101     void endMemberSections();
   102     void startMemberHeader();
   102     void startHeaderSection();
       
   103     void endHeaderSection();
       
   104     void startMemberHeader(const char *);
   103     void endMemberHeader();
   105     void endMemberHeader();
   104     void startMemberSubtitle();
   106     void startMemberSubtitle();
   105     void endMemberSubtitle();
   107     void endMemberSubtitle();
   106     void startMemberDocList();
   108     void startMemberDocList();
   107     void endMemberDocList();
   109     void endMemberDocList();
   245     { t << "<a name=\"" << anchor << "\"></a>"; }
   247     { t << "<a name=\"" << anchor << "\"></a>"; }
   246     void linkableSymbol(int,const char *,Definition *,Definition *) {}
   248     void linkableSymbol(int,const char *,Definition *,Definition *) {}
   247 
   249 
   248     static void writeSearchFooter(QTextStream &t,const QCString &relPath);
   250     static void writeSearchFooter(QTextStream &t,const QCString &relPath);
   249     static void writeSearchData(const char *dir);
   251     static void writeSearchData(const char *dir);
   250     static void generateSectionImages();
   252     //static void generateSectionImages();
   251 
   253 
   252   private:
   254   private:
   253     QCString lastTitle;
   255     QCString lastTitle;
   254     QCString lastFile;
   256     QCString lastFile;
   255     QCString relPath;
   257     QCString relPath;
   257 
   259 
   258     HtmlGenerator &operator=(const HtmlGenerator &g);
   260     HtmlGenerator &operator=(const HtmlGenerator &g);
   259     HtmlGenerator(const HtmlGenerator &g);
   261     HtmlGenerator(const HtmlGenerator &g);
   260 
   262 
   261     int col;
   263     int col;
       
   264     int m_sectionCount;
   262 };
   265 };
   263 
   266 
   264 #endif
   267 #endif