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

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

JOTHA

Well-Known Member
Licensed User
Longtime 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

  • PoiWord.zip
    1.1 KB · Views: 106
Upvote 0

DonManfred

Expert
Licensed User
Longtime 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.
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime 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:
Upvote 0
Top