mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* insetbranch.C (textString): implement, so that branches appear
in the ToC. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16767 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7518c3c95
commit
2de99bed22
@ -245,6 +245,13 @@ int InsetBranch::plaintext(Buffer const & buf, odocstream & os,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void InsetBranch::textString(Buffer const & buf, odocstream & os) const
|
||||||
|
{
|
||||||
|
if (isBranchSelected(buf))
|
||||||
|
os << paragraphs().begin()->asString(buf, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsetBranch::validate(LaTeXFeatures & features) const
|
void InsetBranch::validate(LaTeXFeatures & features) const
|
||||||
{
|
{
|
||||||
InsetText::validate(features);
|
InsetText::validate(features);
|
||||||
|
@ -63,6 +63,8 @@ public:
|
|||||||
int plaintext(Buffer const &, odocstream &,
|
int plaintext(Buffer const &, odocstream &,
|
||||||
OutputParams const & runparams) const;
|
OutputParams const & runparams) const;
|
||||||
///
|
///
|
||||||
|
void textString(Buffer const & buf, odocstream &) const;
|
||||||
|
///
|
||||||
void validate(LaTeXFeatures &) const;
|
void validate(LaTeXFeatures &) const;
|
||||||
///
|
///
|
||||||
InsetBranchParams const & params() const { return params_; }
|
InsetBranchParams const & params() const { return params_; }
|
||||||
|
Loading…
Reference in New Issue
Block a user