Automated Retrieval of Tables from Printed Documents