mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
InsetLine:
- honor Abdel as author - reintroduce the /// spacers in the header file because it makes it better readable and we do this in all other inset header files GuiLine: honor Abdel as author git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35417 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9bea0cbb0e
commit
92c8604313
@ -3,6 +3,7 @@
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Abdelrazak Younes
|
||||
* \author André Pönitz
|
||||
* \author Uwe Stöhr
|
||||
*
|
||||
|
@ -4,6 +4,7 @@
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Abdelrazak Younes
|
||||
* \author André Pönitz
|
||||
* \author Uwe Stöhr
|
||||
*
|
||||
@ -29,8 +30,11 @@ public:
|
||||
/// InsetCommand inherited methods.
|
||||
//@{
|
||||
docstring screenLabel() const;
|
||||
///
|
||||
static ParamInfo const & findInfo(std::string const &);
|
||||
///
|
||||
static std::string defaultCommand() { return "rule"; };
|
||||
///
|
||||
static bool isCompatibleCommand(std::string const & s)
|
||||
{ return s == "rule"; }
|
||||
//@}
|
||||
@ -40,17 +44,27 @@ private:
|
||||
/// Inset inherited methods.
|
||||
//@{
|
||||
InsetCode lyxCode() const { return LINE_CODE; }
|
||||
///
|
||||
Dimension const dimension(BufferView const &) const;
|
||||
///
|
||||
int docbook(odocstream &, OutputParams const &) const;
|
||||
/// Does nothing at the moment.
|
||||
docstring xhtml(XHTMLStream &, OutputParams const &) const;
|
||||
///
|
||||
bool hasSettings() const { return true; }
|
||||
///
|
||||
void metrics(MetricsInfo &, Dimension &) const;
|
||||
///
|
||||
void draw(PainterInfo & pi, int x, int y) const;
|
||||
///
|
||||
int latex(odocstream &, OutputParams const &) const;
|
||||
///
|
||||
int plaintext(odocstream &, OutputParams const &) const;
|
||||
///
|
||||
void doDispatch(Cursor & cur, FuncRequest & cmd);
|
||||
///
|
||||
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
|
||||
///
|
||||
Inset * clone() const { return new InsetLine(*this); }
|
||||
//@}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user