I was assigned the following task: to create a document template (doc / excel) , and then in the application to fill in this template with data from the database and then send it to the service using the API.
Immediately in my head appeared the option of installing on the server with the application Microsoft Offic, a creation on this server of the Word / Excel templates, filling in and sending to the service, but I don't want to put Microsoft Office on the server with the application.
Then I thought about Google Docs, but the problem is that the application will be used in China, but they don’t have access to Google. Accordingly This option disappears.
Actually, what other options exist?