mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Different types of boxes should all have their own layouts. This
involves no change of functionality, due to the fall-back mechanism and is needed for XHTML CSS output for the boxes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38225 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4744d2e123
commit
41463b84e5
@ -105,10 +105,7 @@ InsetBox::InsetBox(Buffer * buffer, string const & label)
|
|||||||
docstring InsetBox::layoutName() const
|
docstring InsetBox::layoutName() const
|
||||||
{
|
{
|
||||||
// FIXME: UNICODE
|
// FIXME: UNICODE
|
||||||
string name = "Box";
|
return from_ascii("Box:" + params_.type);
|
||||||
if (boxtranslator().find(params_.type) == Shaded)
|
|
||||||
name += ":Shaded";
|
|
||||||
return from_ascii(name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user