Colinfo::print() const
{
#ifndef NPRINT
- DOUT << "column { ";
- if (fixed())
- DOUT << "fixed at " << fixed_position()<<", ";
- assert (pcol_l_);
- DOUT << "[" << minleft() << ", " << minright () << "]";
- DOUT <<"}\n";
+ DOUT << "column { ";
+ if (fixed())
+ DOUT << "fixed at " << fixed_position()<<", ";
+ assert (pcol_l_);
+ DOUT << "[" << minleft() << ", " << minright () << "]";
+ DOUT <<"}\n";
#endif
}
-Colinfo::Colinfo (PCol *col_l, Real const *fixed_C)
+Colinfo::Colinfo (Paper_column *col_l, Real const *fixed_C)
{
- if (fixed_C)
- fixpos_p_.set_l (fixed_C);
- ugh_b_ = false;
- pcol_l_ = col_l;
- width = pcol_l_->width();
+ if (fixed_C)
+ fixpos_p_.set_l (fixed_C);
+ ugh_b_ = false;
+ pcol_l_ = col_l;
+ width = pcol_l_->width();
+ if (width.empty_b())
+ width = Interval(0,0);
}
Colinfo::Colinfo()
{
- ugh_b_ = false;
- pcol_l_ =0;
+ ugh_b_ = false;
+ pcol_l_ =0;
}