xlnt/source/style.cpp
2014-08-13 18:56:34 -04:00

20 lines
366 B
C++

#include <xlnt/styles/style.hpp>
namespace xlnt {
style::style(const style &rhs) : number_format_(rhs.number_format_), protection_(rhs.protection_)
{
}
void style::set_protection(xlnt::protection protection)
{
protection_ = protection;
}
void style::set_number_format(xlnt::number_format format)
{
number_format_ = format;
}
} // namespace xlnt