xlnt/source/detail/cell_impl.hpp

38 lines
706 B
C++
Raw Normal View History

2014-05-31 06:42:25 +08:00
#pragma once
2014-06-06 04:19:31 +08:00
#include "cell/cell.hpp"
#include "common/types.hpp"
#include "common/relationship.hpp"
2014-05-31 06:42:25 +08:00
namespace xlnt {
class style;
namespace detail {
2014-06-06 05:42:15 +08:00
struct worksheet_impl;
2014-05-31 06:42:25 +08:00
struct cell_impl
{
cell_impl();
2014-06-06 05:42:15 +08:00
cell_impl(worksheet_impl *parent, int column_index, int row_index);
cell_impl(const cell_impl &rhs);
cell_impl &operator=(const cell_impl &rhs);
2014-06-06 05:42:15 +08:00
worksheet_impl *parent_;
2014-05-31 06:42:25 +08:00
cell::type type_;
long double numeric_value;
std::string string_value;
2014-06-11 05:12:15 +08:00
relationship hyperlink_;
2014-05-31 06:42:25 +08:00
column_t column;
row_t row;
style *style_;
2014-06-11 06:36:31 +08:00
bool merged;
2014-05-31 06:42:25 +08:00
bool is_date_;
2014-06-12 04:41:34 +08:00
bool has_hyperlink_;
2014-07-20 02:43:48 +08:00
comment comment_;
2014-05-31 06:42:25 +08:00
};
} // namespace detail
} // namespace xlnt