Relative Content

Tag Archive for google-docs-api

Creating a table in Google Docs via API; if it splits across pages then add headers using Java

I am dynamically generating a table in Google Docs using the Google Docs API, with the table data provided in JSON format from an API. I need to check if the table rows across multiple pages. If it does, I want to split the table into separate tables and add a header row to the new table at the start of the next page. I have text paragraph also on the pages. How can I implement this using Java in a Spring Boot application?