add_style function

Add a style object to a report.