- Paper_def *paper_l_;
-
- /// the columns, ordered left to right
- Link_array<Paper_column> col_l_arr_;
-
- Paper_outputter *outputter_l_;
- Line_of_score * line_l_;
-
- Paper_score ();
-
-
- /// add to bottom of pcols
- void add_column (Paper_column*);
-
- /**
- @return index of argument.
- */
- int find_col_idx (Paper_column const *) const;
-
- Link_array<Item> broken_col_range (Item const*,Item const*) const;
-
-
- /* STANDARD ROUTINES */
- void print() const;
-
- void typeset_element (Score_element*);
- void typeset_broken_spanner (Spanner*);
- /// add a Spanner
- void typeset_unbroken_spanner (Spanner*);
-
-
- virtual ~Paper_score();
+ Paper_score (Output_def *);
+
+ DECLARE_CLASSNAME (Paper_score);
+
+ static Paper_score *unsmob (SCM ps) {
+ return dynamic_cast <Paper_score *> (Music_output::unsmob (ps));
+ }
+ static bool is_smob (SCM ps) {
+ return Music_output::is_smob (ps) && unsmob (ps);
+ }
+
+ Output_def *layout () const;
+ System *root_system () const;
+
+ void typeset_system (System *);
+ vector<Column_x_positions> calc_breaking ();
+ vector<vsize> get_break_indices () const;
+ vector<vsize> get_break_ranks () const;
+ vector<Grob *> get_columns () const;
+ SCM get_paper_systems ();