LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- /* if system_spec_index_ is a score, then we start at the score_brk_'th possible
- page-break in the score */
- vsize score_break_;
+ /* if system_spec_index_ indexes a score, then we start at the score_brk_'th
+ possible page-break in the score */
+ vsize score_break_;
bool score_ender_;
/* if non-zero, this is the (fixed, uncompressed) number of lines between
this Break_position and the previous. */
int forced_line_count_;
bool score_ender_;
/* if non-zero, this is the (fixed, uncompressed) number of lines between
this Break_position and the previous. */
int forced_line_count_;
- Break_position (vsize s=VPOS, vsize brk=VPOS, Grob *g=NULL, bool end=false)
+ Break_position (vsize s = VPOS, vsize brk = VPOS, Grob *g = NULL, bool end = false)
- || (system_spec_index_ < other.system_spec_index_)
- || (system_spec_index_ == other.system_spec_index_ && score_break_ < other.score_break_);
+ || (system_spec_index_ < other.system_spec_index_)
+ || (system_spec_index_ == other.system_spec_index_ && score_break_ < other.score_break_);
- || (system_spec_index_ < other.system_spec_index_ && other.system_spec_index_ != VPOS)
- || (system_spec_index_ == other.system_spec_index_ && score_break_ <= other.score_break_);
+ || (system_spec_index_ < other.system_spec_index_ && other.system_spec_index_ != VPOS)
+ || (system_spec_index_ == other.system_spec_index_ && score_break_ <= other.score_break_);
int max_systems_per_page () const;
int min_systems_per_page () const;
Real page_height (int page_number, bool last) const;
int max_systems_per_page () const;
int min_systems_per_page () const;
Real page_height (int page_number, bool last) const;
+ Real footnote_separator_stencil_height () const;
+ Real footnote_padding () const;
+ Real in_note_padding () const;
+ Real footnote_number_raise () const;
+ Real footnote_footer_padding () const;
Real line_count_penalty (int line_count) const;
int line_count_status (int line_count) const;
bool too_many_lines (int line_count) const;
bool too_few_lines (int line_count) const;
Real line_count_penalty (int line_count) const;
int line_count_status (int line_count) const;
bool too_many_lines (int line_count) const;
bool too_few_lines (int line_count) const;
- Real min_whitespace_at_top_of_page (Line_details const&) const;
- Real min_whitespace_at_bottom_of_page (Line_details const&) const;
+ Real min_whitespace_at_top_of_page (Line_details const &) const;
+ Real min_whitespace_at_bottom_of_page (Line_details const &) const;
+ int orphan_penalty () const;
vsize min_system_count (vsize start, vsize end);
vsize max_system_count (vsize start, vsize end);
vsize min_system_count (vsize start, vsize end);
vsize max_system_count (vsize start, vsize end);
- vsize end,
- vsize system_count,
- Line_division lower_bound = Line_division (),
- Line_division upper_bound = Line_division ());
+ vsize end,
+ vsize system_count,
+ Line_division lower_bound = Line_division (),
+ Line_division upper_bound = Line_division ());
void set_to_ideal_line_configuration (vsize start, vsize end);
vsize current_configuration_count () const;
Line_division current_configuration (vsize configuration_index) const;
Page_spacing_result space_systems_on_n_pages (vsize configuration_index,
void set_to_ideal_line_configuration (vsize start, vsize end);
vsize current_configuration_count () const;
Line_division current_configuration (vsize configuration_index) const;
Page_spacing_result space_systems_on_n_pages (vsize configuration_index,
vsize min_page_count (vsize configuration_index, vsize first_page_num);
bool all_lines_stretched (vsize configuration_index);
Real blank_page_penalty () const;
vsize min_page_count (vsize configuration_index, vsize first_page_num);
bool all_lines_stretched (vsize configuration_index);
Real blank_page_penalty () const;
SCM breakpoint_property (vsize breakpoint, char const *str);
vsize last_break_position () const;
SCM breakpoint_property (vsize breakpoint, char const *str);
vsize last_break_position () const;
void clear_line_details_cache ();
vsize cached_configuration_index_;
vector<Line_details> cached_line_details_;
vector<Line_details> uncompressed_line_details_;
void clear_line_details_cache ();
vsize cached_configuration_index_;
vector<Line_details> cached_line_details_;
vector<Line_details> uncompressed_line_details_;
vector<Break_position> chunk_list (vsize start, vsize end);
Line_division system_count_bounds (vector<Break_position> const &chunks, bool min);
void line_breaker_args (vsize i,
vector<Break_position> chunk_list (vsize start, vsize end);
Line_division system_count_bounds (vector<Break_position> const &chunks, bool min);
void line_breaker_args (vsize i,
- Break_position const &start,
- Break_position const &end,
- vsize *line_breaker_start,
- vsize *line_breaker_end);
+ Break_position const &start,
+ Break_position const &end,
+ vsize *line_breaker_start,
+ vsize *line_breaker_end);
- Line_division const &min,
- Line_division const &max,
- Line_division *cur);
+ Line_division const &min,
+ Line_division const &max,
+ Line_division *cur);
vector<Line_details> line_details (vsize start, vsize end, Line_division const &div);
Page_spacing_result space_systems_on_1_page (vector<Line_details> const &lines, Real page_height, bool ragged);
Page_spacing_result space_systems_on_2_pages (vsize configuration_index, vsize first_page_num);
Page_spacing_result finalize_spacing_result (vsize configuration_index, Page_spacing_result);
void create_system_list ();
vector<Line_details> line_details (vsize start, vsize end, Line_division const &div);
Page_spacing_result space_systems_on_1_page (vector<Line_details> const &lines, Real page_height, bool ragged);
Page_spacing_result space_systems_on_2_pages (vsize configuration_index, vsize first_page_num);
Page_spacing_result finalize_spacing_result (vsize configuration_index, Page_spacing_result);
void create_system_list ();
SCM make_page (int page_num, bool last) const;
SCM get_page_configuration (SCM systems, int page_num, bool ragged, bool last);
SCM draw_page (SCM systems, SCM config, int page_num, bool last);
SCM make_page (int page_num, bool last) const;
SCM get_page_configuration (SCM systems, int page_num, bool ragged, bool last);
SCM draw_page (SCM systems, SCM config, int page_num, bool last);