* ======================================================
*
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team
*
/** 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 &) 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
-