Allow setting style name for header/footer rows (#7225)

Change-Id: I798e26b0a734c3c460b4e458d04332c7a3b599fc