The Table Border in docx is decided by the table style applied in table, and the specific settings on table/row/cell self.