using text value for HTmlHeader and footer