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