|| (c == '\n' && options & AS_STR_NEWLINES))
os.put(c);
else if (c == META_INSET && options & AS_STR_INSETS)
- getInset(i)->textString(os);
+ getInset(i)->tocString(os);
}
return os.str();
/// docbook output
virtual int docbook(odocstream & os, OutputParams const &) const;
/// the string that is passed to the TOC
- virtual void textString(odocstream &) const {}
+ virtual void tocString(odocstream &) const {}
/** This enum indicates by which means the inset can be modified:
- NOT_EDITABLE: the inset's content cannot be modified at all
}
-void InsetBranch::textString(odocstream & os) const
+void InsetBranch::tocString(odocstream & os) const
{
if (isBranchSelected())
os << text().asString(0, 1, AS_STR_LABEL | AS_STR_INSETS);
///
int docbook(odocstream &, OutputParams const &) const;
///
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void validate(LaTeXFeatures &) const;
///
}
-void InsetCitation::textString(odocstream & os) const
+void InsetCitation::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void validate(LaTeXFeatures &) const;
///
}
-void InsetFlex::textString(odocstream & os) const
+void InsetFlex::tocString(odocstream & os) const
{
os << text().asString(0, 1, AS_STR_LABEL | AS_STR_INSETS);
}
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
/// should paragraph indendation be ommitted in any case?
bool neverIndent() const { return true; }
}
-void InsetHyperlink::textString(odocstream & os) const
+void InsetHyperlink::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
static ParamInfo const & findInfo(std::string const &);
///
}
-void InsetQuotes::textString(odocstream & os) const
+void InsetQuotes::tocString(odocstream & os) const
{
os << displayString();
}
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void validate(LaTeXFeatures &) const;
}
-void InsetRef::textString(odocstream & os) const
+void InsetRef::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void validate(LaTeXFeatures & features) const;
///
}
-void InsetSpace::textString(odocstream & os) const
+void InsetSpace::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void edit(Cursor & cur, bool front,
EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
}
-void InsetSpecialChar::textString(odocstream & os) const
+void InsetSpecialChar::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
InsetCode lyxCode() const { return SPECIALCHAR_CODE; }
/// We don't need \begin_inset and \end_inset