I have a specific and somewhat complex scenario. I want to utilize a document from Google Docs as a template for creating documents or PDFs with data from Salesforce. This template will contain regular expressions to indicate merge fields, as well as tables and page breaks, among other elements.
My question is, how can I implement this template in Salesforce, specifically parsing it using Apex to handle tables and columns? I’m not looking for complete code but rather guidance on how to approach this.
Additionally, would it be feasible to use the Google Document Service within Salesforce for this purpose?