2 item.hh -- declare Item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.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_;
24 DECLARE_CLASSNAME(Item);
26 Item (SCM, Object_key const *);
27 Item (Item const &, int count);
29 virtual Grob *clone (int count) const;
31 static bool is_non_musical (Grob *);
32 bool is_broken () const;
34 Direction break_status_dir () const;
36 Item *find_prebroken_piece (Direction) const;
37 Grob *find_broken_piece (System *) const;
38 virtual System *get_system () const;
39 virtual Paper_column *get_column () const;
40 virtual void handle_prebroken_dependencies ();
41 static bool has_interface (Grob *);
43 virtual void discretionary_processing ();
44 void copy_breakable_items ();
45 virtual void derived_mark () const;