#include "lyxtextclass.h"
+namespace lyx {
+
+
class InsetCharStyleParams {
public:
///
/// (Re-)set the character style parameters from \p cs
void setDefined(CharStyles::iterator cs);
///
- virtual lyx::docstring const editMessage() const;
+ virtual docstring const editMessage() const;
///
InsetBase::Code lyxCode() const { return InsetBase::CHARSTYLE_CODE; }
///
///
void read(Buffer const & buf, LyXLex & lex);
///
- void metrics(MetricsInfo &, Dimension &) const;
+ bool metrics(MetricsInfo &, Dimension &) const;
///
void draw(PainterInfo &, int, int) const;
///
///
bool forceDefaultParagraphs(idx_type) const { return true; }
///
- int latex(Buffer const &, lyx::odocstream &,
+ int latex(Buffer const &, odocstream &,
OutputParams const &) const;
///
- int docbook(Buffer const &, std::ostream &,
+ int docbook(Buffer const &, odocstream &,
OutputParams const &) const;
///
- int plaintext(Buffer const &, lyx::odocstream &,
+ int plaintext(Buffer const &, odocstream &,
OutputParams const &) const;
/// the string that is passed to the TOC
- virtual int textString(Buffer const &, lyx::odocstream &,
+ virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
///
void validate(LaTeXFeatures &) const;
InsetCharStyleParams const & params() const { return params_; }
/// should paragraph indendation be ommitted in any case?
- bool neverIndent() const { return true; }
+ bool neverIndent(Buffer const &) const { return true; }
protected:
InsetCharStyle(InsetCharStyle const &);
InsetCharStyleParams params_;
};
+
+} // namespace lyx
+
#endif