2003-08-22 09:44:59 +00:00
|
|
|
|
/**
|
2007-04-26 04:41:58 +00:00
|
|
|
|
* \file Floating.cpp
|
2003-08-22 09:44:59 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:27:08 +00:00
|
|
|
|
*
|
2003-08-22 09:44:59 +00:00
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
* \author Jean-Marc Lasgouttes
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* \author Angus Leeming
|
2000-12-31 05:32:33 +00:00
|
|
|
|
*
|
2003-08-22 09:44:59 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2000-12-31 05:32:33 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
|
|
#include "Floating.h"
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
|
using std::string;
|
|
|
|
|
|
2000-12-31 05:32:33 +00:00
|
|
|
|
|
2002-03-21 17:27:08 +00:00
|
|
|
|
Floating::Floating()
|
2000-12-31 05:32:33 +00:00
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Floating::Floating(string const & type, string const & placement,
|
|
|
|
|
string const & ext, string const & within,
|
|
|
|
|
string const & style, string const & name,
|
2002-04-04 14:39:55 +00:00
|
|
|
|
string const & listName, bool builtin)
|
2000-12-31 05:32:33 +00:00
|
|
|
|
: type_(type), placement_(placement), ext_(ext), within_(within),
|
2002-04-04 14:39:55 +00:00
|
|
|
|
style_(style), name_(name), listName_(listName), builtin_(builtin)
|
2000-12-31 05:32:33 +00:00
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string const & Floating::type() const
|
|
|
|
|
{
|
|
|
|
|
return type_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string const & Floating::placement() const
|
|
|
|
|
{
|
|
|
|
|
return placement_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2001-03-11 03:20:44 +00:00
|
|
|
|
string const & Floating::ext() const
|
|
|
|
|
{
|
|
|
|
|
return ext_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string const & Floating::within() const
|
|
|
|
|
{
|
|
|
|
|
return within_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string const & Floating::style() const
|
|
|
|
|
{
|
|
|
|
|
return style_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-12-31 05:32:33 +00:00
|
|
|
|
string const & Floating::name() const
|
|
|
|
|
{
|
|
|
|
|
return name_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2002-04-04 14:39:55 +00:00
|
|
|
|
string const & Floating::listName() const
|
|
|
|
|
{
|
|
|
|
|
return listName_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-12-31 05:32:33 +00:00
|
|
|
|
bool Floating::builtin() const
|
|
|
|
|
{
|
|
|
|
|
return builtin_;
|
|
|
|
|
}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|