X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-breaking.hh;h=249693a05cc9b33631db6268c4cacf3f8127c776;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=082384d0fe61daba22f62d30205dc9e6b5e9b68f;hpb=4c72b133f96204598051fea3d55c78329f368866;p=lilypond.git diff --git a/lily/include/page-breaking.hh b/lily/include/page-breaking.hh index 082384d0fe..249693a05c 100644 --- a/lily/include/page-breaking.hh +++ b/lily/include/page-breaking.hh @@ -4,7 +4,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006--2007 Joe Neeman + (c) 2006--2008 Joe Neeman */ #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 line_breaking_; bool ragged_; bool ragged_last_; + Real page_top_space_; + vsize system_count_; vector current_configurations_; vector current_chunks_;