Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » [mars] docx4j - how to use
[mars] docx4j - how to use [message #1755161] Tue, 28 February 2017 15:29 Go to next message
marco giudici is currently offline marco giudiciFriend
Messages: 197
Registered: February 2013
Location: Italy
Senior Member
Hi all,
I'm starting to use docx4j in my scout application and I'm following the tutorial "Scout/HowTo/5.0/Creating Word Reports with Docx4j".

I wanted to understand if it is mandatory to start from a template created in Word, or I can create the structure of the document via source code and after save or show the result?
In the first case, how the template should be built in Word to populate a table properly?

Thanks in advance for any information and explanation who can provide me Smile
Re: [mars] docx4j - how to use [message #1756357 is a reply to message #1755161] Wed, 15 March 2017 19:41 Go to previous message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member

I start with a template. In the template there are placeholders. In the code I replace the placeholders. For a table I have only one placeholder. I generate the whole table in code and replace the placeholder with this table.

Regards Bertin
Previous Topic:[neon] Changing user language programmatically
Next Topic:Eclipse Scout & BIRT
Goto Forum:

Current Time: Tue Nov 13 07:24:37 GMT 2018

Powered by FUDForum. Page generated in 0.02453 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top