3 #include "paper-def.hh"
14 Text_def::compare(const Text_def
&def
)
16 return align_i_
== def
.align_i_
&& text_str_
== def
.text_str_
17 && style_str_
== def
.style_str_
;
21 Text_def::create_atom(Paper_def
*p
) const
23 return p
->lookup_p_
->text(style_str_
, text_str_
, -align_i_
);
27 Text_def::print() const
29 mtor
<< "Text `" << text_str_
<< "\', style " <<
30 style_str_
<< "align " << align_i_
<< '\n';