2000-12-31 05:32:33 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
2000-12-31 05:32:33 +00:00
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
2001-05-04 10:36:36 +00:00
|
|
|
* Copyright 1998-2001 The LyX Team.
|
2000-12-31 05:32:33 +00:00
|
|
|
*
|
|
|
|
* ======================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Floating.h"
|
|
|
|
|
|
|
|
|
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,
|
|
|
|
bool builtin)
|
|
|
|
: type_(type), placement_(placement), ext_(ext), within_(within),
|
|
|
|
style_(style), name_(name), builtin_(builtin)
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
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_;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool Floating::builtin() const
|
|
|
|
{
|
|
|
|
return builtin_;
|
|
|
|
}
|