3 #include "staffwalker.hh"
6 //#include "command.hh"
7 #include "lyricstaff.hh"
8 #include "lyriccolumn.hh"
14 Lyric_column::Lyric_column(Score_column*s, Lyric_staff* lstaff_l)
21 Lyric_column::setup_requests()
23 for (int i = 0 ; i < v_elts.size(); i ++) {
24 for (iter_top(v_elts[i]->reqs,j); j.ok(); j++) {
26 if (req_l->barcheck()) {
27 if (tdescription_->whole_in_measure) {
28 error("Barcheck failed, " + tdescription_->str());
31 if (req_l->lreq_l()) {
32 winfo_array_.push(req_l->lreq_l());
38 Interval itemlist_width(const Array<Item*> &its);
41 Lyric_column::typeset_item(Item *i, int breakst)
45 lstaff_l_->pscore_l_->typeset_item(i, score_column_l_->pcol_l_,
46 lstaff_l_->line_pstaff_p_,breakst);
48 if (breakst == BREAK_PRE - BREAK_PRE) {
51 lstaff_l_->pscore_l_->select_items(lstaff_l_->line_pstaff_p_,
52 score_column_l_->pcol_l_->prebreak_p_));
53 Interval column_wid = itemlist_width(to_move);
54 assert(!column_wid.empty());
56 for (int j=0; j < to_move.size(); j++) {
57 to_move[j]->translate(Offset(-column_wid.right, 0));
62 Word_info::Word_info()
67 Word_info::Word_info(Lyric_req* lreq_l)