mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
getting too fancy with aliases
This commit is contained in:
parent
c3993039bc
commit
dadf852752
|
@ -1036,16 +1036,13 @@ void xlsx_consumer::read_stylesheet(xml::parser &parser)
|
||||||
|
|
||||||
struct formatting_record
|
struct formatting_record
|
||||||
{
|
{
|
||||||
template<typename T>
|
std::pair<class alignment, bool> alignment = { {}, 0 };
|
||||||
using togglable = std::pair<T, bool>;
|
std::pair<std::size_t, bool> border_id = { 0, false };
|
||||||
|
std::pair<std::size_t, bool> fill_id = { 0, false };
|
||||||
togglable<class alignment> alignment = { {}, 0 };
|
std::pair<std::size_t, bool> font_id = { 0, false };
|
||||||
togglable<std::size_t> border_id = { 0, false };
|
std::pair<std::size_t, bool> number_format_id = { 0, false };
|
||||||
togglable<std::size_t> fill_id = { 0, false };
|
std::pair<class protection, bool> protection = { {}, false };
|
||||||
togglable<std::size_t> font_id = { 0, false };
|
std::pair<std::size_t, bool> style_id = { 0, false };
|
||||||
togglable<std::size_t> number_format_id = { 0, false };
|
|
||||||
togglable<class protection> protection = { {}, false };
|
|
||||||
togglable<std::size_t> style_id = { 0, false };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct style_data
|
struct style_data
|
||||||
|
|
Loading…
Reference in New Issue
Block a user