mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
20 lines
361 B
C++
20 lines
361 B
C++
#include "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
|