Convert XLine::Displayable to return a std::string.