#include "Painter.h"
#include "font.h"
#include "lyxlex.h"
+#include "lyxfont.h"
using std::ostream;
using std::max;
}
-int InsetSpecialChar::linuxdoc(Buffer const * buf, ostream & os) const
+int InsetSpecialChar::linuxdoc(Buffer const *, ostream & os) const
{
switch (kind_) {
case HYPHENATION:
}
-int InsetSpecialChar::docbook(Buffer const * buf, ostream & os) const
+int InsetSpecialChar::docbook(Buffer const *, ostream & os) const
{
switch (kind_) {
case HYPHENATION:
void InsetSpecialChar::validate(LaTeXFeatures & features) const
{
if (kind_ == MENU_SEPARATOR) {
- features.lyxarrow = true;
+ features.require("lyxarrow");
}
}
+bool InsetSpecialChar::isChar() const
+{
+ return true;
+}
+
+
bool InsetSpecialChar::isLetter() const
{
return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK;
{
return kind_ == PROTECTED_SEPARATOR;
}
+
+
+bool InsetSpecialChar::isLineSeparator() const
+{
+ return kind_ == HYPHENATION || kind_ == MENU_SEPARATOR;
+}