2 item.hh -- declare Item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
17 A horizontally fixed size element of the score.
19 Item is the datastructure for printables whose width is known
20 before the spacing is calculated
23 class Item : public Grob
25 Drul_array<Item*> broken_to_drul_;
28 Item (SCM, Object_key const*);
29 Item (Item const &, int count);
31 virtual Grob *clone (int count) const;
33 static bool is_breakable (Grob *);
34 bool is_broken () const;
36 Direction break_status_dir () const;
38 Item *find_prebroken_piece (Direction) const;
39 Grob *find_broken_piece (System *) const;
40 virtual System *get_system () const;
41 virtual Paper_column *get_column () const;
42 virtual void handle_prebroken_dependencies ();
43 static bool has_interface (Grob *);
45 virtual void discretionary_processing ();
46 void copy_breakable_items ();
47 virtual SCM do_derived_mark () const;