]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-breaking.hh
Add support for max-systems-per-page.
[lilypond.git] / lily / include / page-breaking.hh
index 5768e4b1098af965a87f67d5efc22c44dc8f65e6..d69fe1ce5f42af1fb7a73348c3138dbef579a604 100644 (file)
@@ -103,9 +103,13 @@ public:
   bool ends_score () const;
   int systems_per_page () const;
   int max_systems_per_page () const;
+  int min_systems_per_page () const;
   Real page_height (int page_number, bool last) const;
   Real page_top_space () const;
   vsize system_count () const;
+  Real line_count_penalty (int line_count) const;
+  bool too_many_lines (int line_count) const;
+  bool too_few_lines (int line_count) const;
 
 protected:
   Paper_book *book_;
@@ -156,6 +160,7 @@ private:
   bool ragged_last_;
   int systems_per_page_;
   int max_systems_per_page_;
+  int min_systems_per_page_;
   Real page_top_space_;
   vsize system_count_;