2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998-2000 The LyX Team.
9 * ======================================================
19 /** This is a "float layout" object. It contains the parameters for how to
20 handle the different kinds of floats, default ones and user created ones.
21 Objects of this class is stored in a container in FloatList. The different
22 InsetFloat(s) have a pointer/reference through the name of the Floating
23 so that it knows how the different floats should be handled.
30 Floating(string const & type, string const & placement,
31 string const & ext, string const & within,
32 string const & style, string const & name,
33 bool builtin = false);
35 string const & type() const;
37 string const & placement() const;
39 string const & name() const;
66 Floating::Floating(string const & type, string const & placement,
67 string const & ext, string const & within,
68 string const & style, string const & name,
70 : type_(type), placement_(placement), ext_(ext), within_(within),
71 style_(style), name_(name), builtin_(builtin)
76 string const & Floating::type() const
83 string const & Floating::placement() const
90 string const & Floating::name() const
97 bool Floating::builtin() const