mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Backport r28366-7, approved a long time ago and since held.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28809 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5b185f8683
commit
a540263da9
@ -61,30 +61,6 @@ void InsetFlex::write(ostream & os) const
|
||||
}
|
||||
|
||||
|
||||
void InsetFlex::read(Lexer & lex)
|
||||
{
|
||||
string token;
|
||||
while (lex.isOK()) {
|
||||
lex >> token;
|
||||
if (token == "Flex") {
|
||||
lex.next();
|
||||
name_ = lex.getString();
|
||||
} else if (token == "status") {
|
||||
// This is handled in Collapsable
|
||||
lex.pushToken(token);
|
||||
break;
|
||||
}
|
||||
}
|
||||
InsetCollapsable::read(lex);
|
||||
}
|
||||
|
||||
|
||||
int InsetFlex::plaintext(odocstream & os, OutputParams const & runparams) const
|
||||
{
|
||||
return InsetText::plaintext(os, runparams);
|
||||
}
|
||||
|
||||
|
||||
int InsetFlex::docbook(odocstream & os, OutputParams const & runparams) const
|
||||
{
|
||||
ParagraphList::const_iterator beg = paragraphs().begin();
|
||||
|
@ -33,11 +33,7 @@ public:
|
||||
InsetCode lyxCode() const { return FLEX_CODE; }
|
||||
///
|
||||
void write(std::ostream &) const;
|
||||
///
|
||||
void read(Lexer & lex);
|
||||
|
||||
///
|
||||
int plaintext(odocstream &, OutputParams const &) const;
|
||||
///
|
||||
int docbook(odocstream &, OutputParams const &) const;
|
||||
/// the string that is passed to the TOC
|
||||
|
Loading…
x
Reference in New Issue
Block a user