Inset::textString --> Inset::tocString

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27378 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-11-10 22:45:14 +00:00
parent d75f5d973b
commit b83564d82c
18 changed files with 18 additions and 18 deletions

View File

@ -2431,7 +2431,7 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options) const
|| (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();

View File

@ -292,7 +292,7 @@ public:
/// 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

View File

@ -232,7 +232,7 @@ int InsetBranch::docbook(odocstream & os,
}
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);

View File

@ -74,7 +74,7 @@ private:
///
int docbook(odocstream &, OutputParams const &) const;
///
void textString(odocstream &) const;
void tocString(odocstream &) const;
///
void validate(LaTeXFeatures &) const;
///

View File

@ -471,7 +471,7 @@ int InsetCitation::docbook(odocstream & os, OutputParams const &) const
}
void InsetCitation::textString(odocstream & os) const
void InsetCitation::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}

View File

@ -48,7 +48,7 @@ public:
///
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;
///

View File

@ -108,7 +108,7 @@ int InsetFlex::docbook(odocstream & os, OutputParams const & runparams) const
}
void InsetFlex::textString(odocstream & os) const
void InsetFlex::tocString(odocstream & os) const
{
os << text().asString(0, 1, AS_STR_LABEL | AS_STR_INSETS);
}

View File

@ -41,7 +41,7 @@ public:
///
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; }

View File

@ -165,7 +165,7 @@ int InsetHyperlink::docbook(odocstream & os, OutputParams const &) const
}
void InsetHyperlink::textString(odocstream & os) const
void InsetHyperlink::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}

View File

@ -41,7 +41,7 @@ public:
///
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 &);
///

View File

@ -312,7 +312,7 @@ int InsetQuotes::docbook(odocstream & os, OutputParams const &) const
}
void InsetQuotes::textString(odocstream & os) const
void InsetQuotes::tocString(odocstream & os) const
{
os << displayString();
}

View File

@ -85,7 +85,7 @@ public:
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;

View File

@ -115,7 +115,7 @@ int InsetRef::docbook(odocstream & os, OutputParams const & runparams) const
}
void InsetRef::textString(odocstream & os) const
void InsetRef::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}

View File

@ -55,7 +55,7 @@ public:
///
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;
///

View File

@ -617,7 +617,7 @@ int InsetSpace::docbook(odocstream & os, OutputParams const &) const
}
void InsetSpace::textString(odocstream & os) const
void InsetSpace::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}

View File

@ -117,7 +117,7 @@ private:
///
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);

View File

@ -287,7 +287,7 @@ int InsetSpecialChar::docbook(odocstream & os, OutputParams const &) const
}
void InsetSpecialChar::textString(odocstream & os) const
void InsetSpecialChar::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}

View File

@ -65,7 +65,7 @@ public:
///
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