From 49b84a83c7a6eaa49353d085ba79359a61b22c50 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Fri, 18 Aug 2017 20:58:44 -0400 Subject: [PATCH] define missing method, worksheet::clear_page_breaks(), closes #192 --- source/worksheet/worksheet.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/worksheet/worksheet.cpp b/source/worksheet/worksheet.cpp index 9e0b8804..fae7f258 100644 --- a/source/worksheet/worksheet.cpp +++ b/source/worksheet/worksheet.cpp @@ -918,6 +918,12 @@ void worksheet::header_footer(const class header_footer &hf) d_->header_footer_ = hf; } +void worksheet::clear_page_breaks() +{ + d_->row_breaks_.clear(); + d_->column_breaks_.clear(); +} + void worksheet::page_break_at_row(row_t row) { d_->row_breaks_.push_back(row);