xlnt/source/detail/style_impl.hpp

44 lines
685 B
C++
Raw Normal View History

#pragma once
#include <cstddef>
#include <string>
#include <xlnt/utils/optional.hpp>
namespace xlnt {
class alignment;
class border;
class fill;
class font;
class number_format;
class protection;
namespace detail {
struct stylesheet;
struct style_impl
{
stylesheet *parent;
std::string name;
std::size_t formatting_record_id;
bool custom_built_in;
bool hidden_style;
optional<std::size_t> built_in_style_id;
optional<std::size_t> outline_style;
optional<alignment> alignment;
optional<border> border;
optional<fill> fill;
optional<font> font;
optional<number_format> number_format;
optional<protection> protection;
};
} // namespace detail
} // namespace xlnt