]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-breaking.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / page-breaking.hh
index 8f1e55e5bf98760664a5dcae34b70a01293bfaf2..249693a05cc9b33631db6268c4cacf3f8127c776 100644 (file)
@@ -4,7 +4,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2006--2007 Joe Neeman <joeneeman@gmail.com>
+  (c) 2006--2008 Joe Neeman <joeneeman@gmail.com>
 */
 
 #ifndef PAGE_BREAKING_HH
@@ -100,7 +100,10 @@ public:
   bool ragged () const;
   bool ragged_last () const;
   bool is_last () const;
+  bool ends_score () const;
   Real page_height (int page_number, bool last) const;
+  Real page_top_space () const;
+  vsize system_count () const;
 
 protected:
   Paper_book *book_;
@@ -131,6 +134,8 @@ protected:
                                                       vsize first_page_num);
   Page_spacing_result space_systems_on_best_pages (vsize configuration_index,
                                              vsize first_page_num);
+  Page_spacing_result pack_systems_on_least_pages (vsize configuration_index,
+                                                  vsize first_page_num);
   vsize min_page_count (vsize configuration_index, vsize first_page_num);
   bool all_lines_stretched (vsize configuration_index);
   Real blank_page_penalty () const;
@@ -145,6 +150,8 @@ private:
   vector<Constrained_breaking> line_breaking_;
   bool ragged_;
   bool ragged_last_;
+  Real page_top_space_;
+  vsize system_count_;
 
   vector<Line_division> current_configurations_;
   vector<Break_position> current_chunks_;
@@ -176,6 +183,5 @@ private:
   Page_spacing_result finalize_spacing_result (vsize configuration_index, Page_spacing_result);
   void create_system_list ();
   void find_chunks_and_breaks (Break_predicate);
-  void uncompress_page_spacing_results (Page_spacing_result*);
 };
 #endif /* PAGE_BREAKING_HH */