if any document contain header and footer this way not work
if any document contain header and footer this way not work