xlnt/source/detail/format_impl.hpp

44 lines
789 B
C++
Raw Normal View History

#pragma once
#include <cstddef>
#include <xlnt/styles/alignment.hpp>
#include <xlnt/styles/border.hpp>
#include <xlnt/styles/fill.hpp>
#include <xlnt/styles/font.hpp>
#include <xlnt/styles/number_format.hpp>
#include <xlnt/styles/protection.hpp>
#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 format_impl
{
stylesheet *parent;
2016-08-18 19:34:18 +08:00
std::size_t id;
2016-08-19 10:11:59 +08:00
optional<std::size_t> alignment_id;
optional<std::size_t> border_id;
optional<std::size_t> fill_id;
optional<std::size_t> font_id;
optional<std::size_t> number_format_id;
optional<std::size_t> protection_id;
2016-08-18 19:34:18 +08:00
optional<std::string> style;
};
} // namespace detail
} // namespace xlnt