[TIMOB-17827] add support for lines and maxLines