def format_table_style(table_styles):
    """
    Convert table style into a format ReportLab will accept.

    :param table_styles: List of RowStyle objects defining the style of the
                         ReportLab table.
    :type table_styles: ``list`` of ``testplan.common.exporters.pdf.RowStyle``
    :return: List of styles formatted into tuples.
    :rtype: ``list`` of ``tuple``
    """
    table_style = []
    for style in table_styles:
        table_style.extend(style.get_commands())
    return table_style