int InsetCharStyle::latex(Buffer const & buf, odocstream & os,
- OutputParams const & runparams) const
+ OutputParams const & runparams) const
{
if (!undefined()) {
// FIXME UNICODE
}
+int InsetCharStyle::plaintext(Buffer const & buf, odocstream & os,
+ OutputParams const & runparams) const
+{
+ return InsetText::plaintext(buf, os, runparams);
+}
+
+
int InsetCharStyle::docbook(Buffer const & buf, odocstream & os,
- OutputParams const & runparams) const
+ OutputParams const & runparams) const
{
ParagraphList::const_iterator beg = paragraphs().begin();
ParagraphList::const_iterator par = paragraphs().begin();
}
-int InsetCharStyle::plaintext(Buffer const & buf, odocstream & os,
- OutputParams const & runparams) const
-{
- return InsetText::plaintext(buf, os, runparams);
-}
-
-
void InsetCharStyle::textString(Buffer const & buf, odocstream & os) const
{
os << paragraphs().begin()->asString(buf, true);
bool forceDefaultParagraphs(idx_type) const { return true; }
///
int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
- ///
- int docbook(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
+ ///
+ int docbook(Buffer const &, odocstream &,
+ OutputParams const &) const;
/// the string that is passed to the TOC
virtual void textString(Buffer const &, odocstream &) const;
///
int InsetFloatList::latex(Buffer const & buf, odocstream & os,
- OutputParams const &) const
+ OutputParams const &) const
{
FloatList const & floats = buf.params().getLyXTextClass().floats();
FloatList::const_iterator cit = floats[to_ascii(getParam("type"))];
int InsetFloatList::plaintext(Buffer const & buffer, odocstream & os,
- OutputParams const &) const
+ OutputParams const & runparams) const
{
os << getScreenLabel(buffer) << "\n\n";
buffer.tocBackend().writePlaintextTocList(to_ascii(getParam("type")), os);
- os << "\n";
- return 0;
+ return runparams.linelen; // start with column 0 in new line
}
void read(Buffer const &, LyXLex &);
///
int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &,
- OutputParams const &) const { return 0; }
+ OutputParams const &) const { return 0; }
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const & runparams) const;
+ OutputParams const & runparams) const;
///
void validate(LaTeXFeatures & features) const;
private: