lyx_mirror/src/sgml.h
Lars Gullik Bjønnes 13349032cb ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00

37 lines
687 B
C++

/**
* \file sgml.h
* Copyright 2002 the LyX Team
* Read the file COPYING
*
* \author José Matos
* \author John Levon <levon@movementarian.org>
*/
#ifndef SGML_H
#define SGML_H
#include "LString.h"
#include <algorithm>
#include <iosfwd>
namespace sgml {
/**
* Escape the given character if necessary
* to an SGML entity. Returns true
* if it was a whitespace character.
*/
std::pair<bool, string> escapeChar(char c);
/// FIXME
int openTag(std::ostream & os, Paragraph::depth_type depth,
bool mixcont, string const & latexname);
/// FIXME
int closeTag(std::ostream & os, Paragraph::depth_type depth,
bool mixcont, string const & latexname);
}
#endif // SGML_H