2014-05-31 06:42:25 +08:00
|
|
|
#pragma once
|
|
|
|
|
2014-06-06 04:19:31 +08:00
|
|
|
#include "cell/cell.hpp"
|
2014-07-27 04:19:15 +08:00
|
|
|
#include "cell/comment.hpp"
|
2014-07-26 04:39:25 +08:00
|
|
|
#include "cell/value.hpp"
|
2014-06-06 04:19:31 +08:00
|
|
|
#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);
|
2014-06-13 05:04:37 +08:00
|
|
|
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-07-26 04:39:25 +08:00
|
|
|
value value_;
|
|
|
|
std::string formula_;
|
2014-06-11 05:12:15 +08:00
|
|
|
relationship hyperlink_;
|
2014-07-26 04:39:25 +08:00
|
|
|
column_t column_;
|
|
|
|
row_t row_;
|
2014-05-31 06:42:25 +08:00
|
|
|
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-27 04:19:15 +08:00
|
|
|
comment comment_;
|
2014-05-31 06:42:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace detail
|
|
|
|
} // namespace xlnt
|