mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Fixed 3nd block of errors
This commit is contained in:
parent
b9f9a9d224
commit
e92ca9bd71
|
@ -176,6 +176,11 @@ public:
|
||||||
/// </summary>
|
/// </summary>
|
||||||
const cell operator[](std::size_t column_index) const;
|
const cell operator[](std::size_t column_index) const;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if this sheet has an initialized cell at the given cell_index.
|
||||||
|
/// </summary>
|
||||||
|
bool has_cell(std::size_t cell_index) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The worksheet this vector points to cells from
|
/// The worksheet this vector points to cells from
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
// @author: see AUTHORS file
|
// @author: see AUTHORS file
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include <xlnt/utils/time.hpp>
|
#include <xlnt/utils/time.hpp>
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
// @author: see AUTHORS file
|
// @author: see AUTHORS file
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include <xlnt/utils/timedelta.hpp>
|
#include <xlnt/utils/timedelta.hpp>
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
#include <codecvt>
|
||||||
|
|
||||||
#include <xlnt/cell/cell.hpp>
|
#include <xlnt/cell/cell.hpp>
|
||||||
#include <xlnt/packaging/manifest.hpp>
|
#include <xlnt/packaging/manifest.hpp>
|
||||||
#include <xlnt/packaging/relationship.hpp>
|
#include <xlnt/packaging/relationship.hpp>
|
||||||
|
|
|
@ -171,4 +171,9 @@ const cell cell_vector::operator[](std::size_t cell_index) const
|
||||||
return ws_.cell(cursor_.make_offset(0, static_cast<int>(cell_index)));
|
return ws_.cell(cursor_.make_offset(0, static_cast<int>(cell_index)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool cell_vector::has_cell(std::size_t cell_index) const
|
||||||
|
{
|
||||||
|
return ws_.has_cell(cursor_.make_offset(0, static_cast<int>(cell_index)));
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace xlnt
|
} // namespace xlnt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user