Allow setting style names for header and footer cells (#7225)

Change-Id: Ieb8f5b36466a2d579e9c82f16613f6bc8952c831