Add InsetOptArg to standard insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21627 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-15 15:40:01 +00:00
parent e73f8040fe
commit bba8891efb
3 changed files with 12 additions and 6 deletions

View File

@ -224,3 +224,11 @@ InsetLayout URL
EndPreamble
End
InsetLayout OptArg
LabelString opt
LabelFont
Color collapsable
Size Small
EndFont
MultiPar false
End

View File

@ -23,16 +23,12 @@ namespace lyx {
InsetOptArg::InsetOptArg(BufferParams const & ins)
: InsetCollapsable(ins)
{
setLabel(_("opt"));
}
{}
InsetOptArg::InsetOptArg(InsetOptArg const & in)
: InsetCollapsable(in)
{
setLabel(_("opt"));
}
{}
Inset * InsetOptArg::clone() const

View File

@ -29,6 +29,8 @@ public:
/// code of the inset
InsetCode lyxCode() const { return OPTARG_CODE; }
///
docstring name() const { return from_ascii("OptArg"); }
/// return an message upon editing
virtual docstring const editMessage() const;