+
+vector<vsize>
+Paper_score::find_break_indices () const
+{
+ vector<Grob*> all = root_system ()->columns ();
+ vector<vsize> retval;
+
+ for (vsize i = 0; i < all.size (); i++)
+ {
+ Item *it = dynamic_cast<Item*> (all[i]);
+ if (Paper_column::is_breakable (all[i])
+ && (i == 0 || it->find_prebroken_piece (LEFT))
+ && (i == all.size () - 1 || it->find_prebroken_piece (RIGHT)))
+ retval.push_back (i);
+ }
+
+ cols_ = all;
+ break_indices_ = retval;
+
+ return retval;
+}
+
+vector<vsize>
+Paper_score::get_break_indices () const
+{
+ if (break_indices_.empty ())
+ find_break_indices ();
+ return break_indices_;
+}
+
+vector<Grob*>
+Paper_score::get_columns () const
+{
+ if (cols_.empty ())
+ find_break_indices ();
+ return cols_;
+}
+
+vector<Column_x_positions>