B4J Question Is it possible to write into a WORD-Template?

JOTHA

Well-Known Member
Licensed User
Hello DonManfred,
Currently it only supports Microsoft Excel related APIs.
I found an example named PoiWord which genereated a WORD-Document (see attached file), so my question was if i can manipulate an existing Word-Document.
 

Attachments

DonManfred

Expert
Licensed User
I was not aware that this sample exists.

Based on the example it is build upon javaobject.

Guess you need to complete the code to support changing (if poi itself does support it) using java object.
Or write a wrapper for word-pois methods/object with java.

I did not saw anything other.
 

MarkusR

Well-Known Member
Licensed User
ms office files should be zip files with xml file content.
as example .docx can be renamed in .docx.zip and you can look at the files in windows explorer.
 
Last edited:
Top