Date: prev next · Thread: first prev next last


Hello!

We are going to use the ODF Toolkit for reports in our application.
What is the best way to use ODT as a template?

1. The Accountant is making ODT-Document with all the markup, include
placeholders like "$company-name" and then we use "Search and Replace
API"... How to use this method for working with Tables by the way? :)

2. Maybe there is a better way, something like placeholders with IDs, like
in HTML+JavaScript we can use? For example:
document.getElementById('status-label').innerText = 'Error';

3. Maybe there is some kind of even better way?

PS. We need NOT text only, but for some forms we need Tables, like the
Accountant makes the required amount of Columns, but with the only 1 empty
(or with placeholders) Row, which we can duplicate programmatically,
depending on how much data we have...

Is there anything to read about it, please?
Thank You very very much :)

-- 
To unsubscribe e-mail to: dev+unsubscribe@odftoolkit.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.odftoolkit.org/dev/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.