"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/src/include/xhtmlgenerator.h" (12 May 2020, 1650 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /***************************************************************************
    2                          xhtmlgenerator.h  -  description
    3                              -------------------
    4     begin                : Mo Jun 21 2004
    5     copyright            : (C) 2004 by Andre Simon
    6     email                : a.simon@mailbox.org
    7  ***************************************************************************/
    8 
    9 
   10 /*
   11 This file is part of Highlight.
   12 
   13 Highlight is free software: you can redistribute it and/or modify
   14 it under the terms of the GNU General Public License as published by
   15 the Free Software Foundation, either version 3 of the License, or
   16 (at your option) any later version.
   17 
   18 Highlight is distributed in the hope that it will be useful,
   19 but WITHOUT ANY WARRANTY; without even the implied warranty of
   20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   21 GNU General Public License for more details.
   22 
   23 You should have received a copy of the GNU General Public License
   24 along with Highlight.  If not, see <http://www.gnu.org/licenses/>.
   25 */
   26 
   27 
   28 
   29 #ifndef XHTMLGENERATOR_H
   30 #define XHTMLGENERATOR_H
   31 
   32 #include "htmlgenerator.h"
   33 
   34 namespace highlight
   35 {
   36 
   37 /**
   38    \brief This class generates XHTML.
   39 
   40    It contains information about the resulting document structure (document
   41    header and footer), the colour system, white space handling and text
   42    formatting attributes.
   43 
   44 * @author Andre Simon
   45 */
   46 
   47 
   48 class XHtmlGenerator : public highlight::HtmlGenerator
   49 {
   50 public:
   51 
   52     XHtmlGenerator();
   53 
   54     ~XHtmlGenerator() {};
   55 
   56 private:
   57 
   58     /** prints document header
   59     */
   60     string getHeader();
   61 
   62     string getHeaderStart ( const string &title );
   63 
   64 };
   65 
   66 }
   67 
   68 #endif