mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
5e8d08cb9e
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30045 a592a061-630c-0410-9148-cb99ea01b6c8
43 lines
989 B
C++
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
|