Writer supports setting some table rows as heading rows (which also repeat across pages). Writer also has "styles" one can apply to tables; and those include formatting for the table header. However, when we apply a table "style", which involves header row formatting - exactly one row gets this formatting, regardless of how many heading rows exist, including the case of there being no heading rows. Applying the style does not even coerce the number of heading rows 1. Instead, the application of a table style should respect the number of heading rows set for the table. Moreover, when the number of heading rows changes - the header row style should apply, or be unapplied, to the rows which change status. However this part of the bug is unlikely to be fixed without addressing the fact that table "styles" are not actual styles; see bug 151264.
*** This bug has been marked as a duplicate of bug 156899 ***