mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
44 lines
789 B
C++
44 lines
789 B
C++
#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;
|
|
|
|
std::size_t id;
|
|
|
|
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;
|
|
|
|
optional<std::string> style;
|
|
};
|
|
|
|
} // namespace detail
|
|
} // namespace xlnt
|