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>
15 A horizontally fixed size element of the score.
17 Item is the datastructure for printables whose width is known
18 before the spacing is calculated
20 class Item : public Grob
22 Drul_array<Item *> broken_to_drul_;
25 Item (SCM, Object_key const *);
26 Item (Item const &, int count);
28 virtual Grob *clone (int count) const;
30 static bool is_breakable (Grob *);
31 bool is_broken () const;
33 Direction break_status_dir () const;
35 Item *find_prebroken_piece (Direction) const;
36 Grob *find_broken_piece (System *) const;
37 virtual System *get_system () const;
38 virtual Paper_column *get_column () const;
39 virtual void handle_prebroken_dependencies ();
40 static bool has_interface (Grob *);
42 virtual void discretionary_processing ();
43 void copy_breakable_items ();
44 virtual void derived_mark () const;