// -*- C++ -*-
-/* This file is part of*
- * ======================================================
+/**
+ * \file insetquotes.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team
+ * \author Jean-Marc Lasgouttes
*
- * ====================================================== */
+ * Full author contact details are available in file CREDITS
+ */
#ifndef INSET_QUOTES_H
#define INSET_QUOTES_H
/** Quotes.
Used for the various quotes. German, English, French, all either
- double or single **/
+ double or single **/
class InsetQuotes : public Inset {
public:
///
///
LeftQ,
///
- RightQ
+ RightQ
};
///
enum quote_times {
///
SingleQ,
///
- DoubleQ
+ DoubleQ
};
-
+
/** The constructor works like this:
\begin{itemize}
- \item fls <- french single quote left
- \item grd <- german double quote right
+ \item fls <- french single quote left
+ \item grd <- german double quote right
\item etc.
\end{itemize}
*/
///
int linuxdoc(Buffer const *, std::ostream &) const;
///
- int docBook(Buffer const *, std::ostream &) const;
+ int docbook(Buffer const *, std::ostream &, bool mixcont) const;
///
void validate(LaTeXFeatures &) const;
///
virtual Inset * clone(Buffer const &, bool same_id = false) const;
///
Inset::Code lyxCode() const;
+ // should this inset be handled like a normal charater
+ bool isChar() const { return true; }
+
private:
///
quote_language language_;
string const dispString(Language const *) const;
};
#endif
-