2 item.hh -- declare Item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
14 #include "drul-array.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 *);
34 bool broken_b () 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;