namespace lyx {
using std::string;
-using std::auto_ptr;
-using std::istringstream;
-using std::max;
using std::ostream;
-using std::ostringstream;
-
InsetCharStyle::InsetCharStyle(BufferParams const & bp, string const s)
{}
-auto_ptr<Inset> InsetCharStyle::doClone() const
+Inset * InsetCharStyle::clone() const
{
- return auto_ptr<Inset>(new InsetCharStyle(*this));
+ return new InsetCharStyle(*this);
}
}
-InsetCollapsable::Decoration InsetCharStyle::decoration() const
-{
- if (layout_.decoration == "classic")
- return Classic;
- if (layout_.decoration == "minimalistic")
- return Minimalistic;
- if (layout_.decoration == "conglomerate")
- return Conglomerate;
- return Conglomerate;
-}
-
-
int InsetCharStyle::plaintext(Buffer const & buf, odocstream & os,
OutputParams const & runparams) const
{