Document text expansion configuration