Page 1 of 1

Content control authoring tool for libreoffice

PostPosted: Thu Feb 22, 2018 3:51 am
by hamed_
Hi Jason and everyone reading this,
1) Is there any add-in just like the one for microsoft office available for libreoffice?
I have microsoft office installed on my Windows as well but ii don't want to (and can't) install visual studio to get it to work.
2) using custom parts and custom controls is it possible to set pojos be written in the document? (Like marshalling each pojo into an xml part and binding then to controls using tags)?
3) I have tables the rows of which are not in a regular order of database like table. I mean a cell might be splitted or some cells might get merged, so I can't talk about each regular row is being repeated but it's about an object (or a combination of objects e.g. from three arraylists are repeated. Is it possible to populate the tables like so?
I really appreciate any help.

Re: Content control authoring tool for libreoffice

PostPosted: Thu Feb 22, 2018 7:31 am
by jason
1) Is there any add-in just like the one for microsoft office available for libreoffice?


No

I have microsoft office installed on my Windows as well but ii don't want to (and can't) install visual studio to get it to work.


You don't need to install Visual Studio; you just need to be able to install an AddIn into Word. If you can't do that, then there are other approaches you could consider, for example https://github.com/plutext/docx4j/blob/ ... ement.java

2) using custom parts and custom controls is it possible to set pojos be written in the document? (Like marshalling each pojo into an xml part and binding then to controls using tags)?


In principle, you could have a CustomXML part per pojo, but the more common way would be to assemble them all into a single CustomXML part then bind that (one content control per element)

3) I have tables the rows of which are not in a regular order of database like table. I mean a cell might be splitted or some cells might get merged, so I can't talk about each regular row is being repeated but it's about an object (or a combination of objects e.g. from three arraylists are repeated. Is it possible to populate the tables like so?


Possibly. You can wrap a repeat around multiple table rows, so if you could represent your object reliably in say 3 table rows, you could repeat that. And you may be able to conditionally remove cells.

Alternatively, you could use an entire table to represent an object, then repeat that. You should be able to make it look like it is just one big table.