mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
35 lines
559 B
C++
35 lines
559 B
C++
#include <xlnt/worksheet/footer.hpp>
|
|
|
|
namespace xlnt {
|
|
|
|
void footer::set_text(const std::string &text)
|
|
{
|
|
default_ = false;
|
|
text_ = text;
|
|
}
|
|
|
|
void footer::set_font_name(const std::string &font_name)
|
|
{
|
|
default_ = false;
|
|
font_name_ = font_name;
|
|
}
|
|
|
|
void footer::set_font_size(std::size_t font_size)
|
|
{
|
|
default_ = false;
|
|
font_size_ = font_size;
|
|
}
|
|
|
|
void footer::set_font_color(const std::string &font_color)
|
|
{
|
|
default_ = false;
|
|
font_color_ = font_color;
|
|
}
|
|
|
|
bool footer::is_default() const
|
|
{
|
|
return default_;
|
|
}
|
|
|
|
} // namespace xlnt
|