2 paper-column.hh -- declare Paper_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #ifndef PAPER_COLUMN_HH
10 #define PAPER_COLUMN_HH
15 class Paper_column : public Item
18 /// if lines are broken then this column is in #line#
22 // ugh: friend declarations.
23 friend void set_loose_columns (System *which, Column_x_positions const *posns);
26 Paper_column (SCM, Object_key const *);
27 Paper_column (Paper_column const &, int count);
29 virtual Grob *clone (int count) const;
30 virtual void do_break_processing ();
31 virtual Paper_column *get_column () const;
32 virtual System *get_system () const;
34 int get_rank () const { return rank_; }
37 DECLARE_SCHEME_CALLBACK (print, (SCM));
38 DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM));
40 static bool has_interface (Grob *);
41 static int get_rank (Grob *);
42 static bool is_musical (Grob *);
43 static Moment when_mom (Grob *);
44 static bool is_used (Grob *);
47 #endif // PAPER_COLUMN_HH