mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-28 03:50:00 +00:00
Add Ascii method to InsetCitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2026 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c9612144a2
commit
6b971d39b2
@ -1,3 +1,7 @@
|
|||||||
|
2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
|
* insetcite.C (Ascii): Add method.
|
||||||
|
|
||||||
2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
|
2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
|
||||||
|
|
||||||
* figinset.C
|
* figinset.C
|
||||||
|
@ -62,3 +62,9 @@ void InsetCitation::Edit(BufferView * bv, int, int, unsigned int)
|
|||||||
bv->owner()->getDialogs()->showCitation(this);
|
bv->owner()->getDialogs()->showCitation(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int InsetCitation::Ascii(Buffer const *, ostream & os, int) const
|
||||||
|
{
|
||||||
|
os << "[" << getContents() << "]";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
@ -35,6 +35,8 @@ public:
|
|||||||
Inset::Code LyxCode() const { return Inset::CITE_CODE; }
|
Inset::Code LyxCode() const { return Inset::CITE_CODE; }
|
||||||
///
|
///
|
||||||
void Edit(BufferView *, int, int, unsigned int);
|
void Edit(BufferView *, int, int, unsigned int);
|
||||||
|
///
|
||||||
|
int Ascii(Buffer const *, std::ostream &, int linelen) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INSET_CITE_H
|
#endif // INSET_CITE_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user