'Method to create an rHeader object
@param document: An S3PDF object
@param resource: An S3Resource object
@param list_fields: A list of field names
@param hide_comments: Any comment field will be hidden'

def __init__(self, document, resource=None, raw_data=None, list_fields=None, hide_comments=False):

    self.pdf = document
    self.resource = resource
    self.raw_data = raw_data
    self.list_fields = list_fields
    self.hideComments = hide_comments
    self.report_groupby = None
    self.data = []
    self.subheadingList = []
    self.labels = []
    self.fontsize = 10
