xlnt/source/style.cpp

20 lines
361 B
C++
Raw Normal View History

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