2 item.hh -- declare Item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
14 #include "drul-array.hh"
15 #include "protected-scm.hh"
18 A horizontally fixed size element of the score.
20 Item is the datastructure for printables whose width is known
21 before the spacing is calculated
24 class Item : public Grob
26 Drul_array<Item*> broken_to_drul_;
29 VIRTUAL_COPY_CONS (Grob);
33 static bool breakable_b (Grob*me);
34 bool broken_b () const;
36 Direction break_status_dir () const;
38 Item * find_prebroken_piece (Direction) const;
39 Grob * find_broken_piece (Line_of_score*) const;
41 virtual Line_of_score * line_l () const;
42 virtual Paper_column * column_l () const;
43 virtual void handle_prebroken_dependencies ();
45 virtual void discretionary_processing ();
46 void copy_breakable_items ();
47 virtual SCM do_derived_mark ();