4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
20 /** This is a "float layout" object. It contains the parameters for how to
21 * handle the different kinds of floats, default ones and user created ones.
22 * Objects of this class is stored in a container in FloatList. The different
23 * InsetFloat(s) have a pointer/reference through the name of the Floating
24 * so that it knows how the different floats should be handled.
31 Floating(std::string
const & type
, std::string
const & placement
,
32 std::string
const & ext
, std::string
const & within
,
33 std::string
const & style
, std::string
const & name
,
34 std::string
const & listName
, std::string
const & htmlType
,
35 std::string
const & htmlClass
, std::string
const & htmlStyle
,
36 bool builtin
= false);
38 std::string
const & type() const;
40 std::string
const & placement() const;
42 std::string
const & ext() const;
44 std::string
const & within() const;
46 std::string
const & style() const;
48 std::string
const & name() const;
50 std::string
const & listName() const;
52 std::string
const & htmlStyle() const;
54 std::string
const & htmlClass() const;
56 std::string
const & htmlType() const;
63 std::string placement_
;
73 std::string listName_
;
74 /// HTML Element type, usually div
75 std::string htmlType_
;
76 /// class attribute, e.g., float-table, for CSS
77 std::string htmlClass_
;
78 /// CSS information for this element
79 std::string htmlStyle_
;