lyx_mirror/src/output_xhtml.h
Richard Heck 5e8d08cb9e Get InsetBibitem working, and the output for LATEX_BIB_ENVIRONMENT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 20:08:39 +00:00

43 lines
989 B
C++

// -*- C++ -*-
/**
* \file output_xhtml.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Richard Heck
*
* Full author contact details are available in file CREDITS.
*/
#ifndef OUTPUT_XHTML_H
#define OUTPUT_XHTML_H
#include "support/strfwd.h"
namespace lyx {
class Buffer;
class OutputParams;
class ParagraphList;
///
void xhtmlParagraphs(ParagraphList const & subset,
Buffer const & buf,
odocstream & os,
OutputParams const & runparams);
namespace html {
///
docstring escapeChar(char_type c);
/// converts a string to a form safe for links, etc
docstring htmlize(docstring const & str);
/// \return true if tag was opened, false if not
bool openTag(odocstream & os, std::string const & tag,
std::string const & attr);
/// \return true if tag was opened, false if not
bool closeTag(odocstream & os, std::string const & tag);
}
} // namespace lyx
#endif