mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
add column_index to cell to be consistent with cell_reference
Issue #298 The consistency argument is a good one in my opinion
This commit is contained in:
parent
fb195e2777
commit
688c8c7f33
|
@ -240,6 +240,11 @@ public:
|
|||
/// </summary>
|
||||
column_t column() const;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the numeric index (A == 1) of the column of this cell.
|
||||
/// </summary>
|
||||
column_t::index_t column_index() const;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the row of this cell.
|
||||
/// </summary>
|
||||
|
|
|
@ -314,6 +314,11 @@ column_t cell::column() const
|
|||
return d_->column_;
|
||||
}
|
||||
|
||||
column_t::index_t cell::column_index() const
|
||||
{
|
||||
return d_->column_.index;
|
||||
}
|
||||
|
||||
void cell::merged(bool merged)
|
||||
{
|
||||
d_->is_merged_ = merged;
|
||||
|
|
Loading…
Reference in New Issue
Block a user