I have a list of documents with certain types, each type has a specific format, color and text patterns. so I made a data frame with these columns.