B4J Question Replace text in Word placeholders and show the document

JOTHA

Well-Known Member
Licensed User
Longtime User
Hello community,

i use some code (https://www.b4x.com/android/forum/threads/open-word-and-replace-text.104733/#post-672818) to generate a map (key/value) which is opening an existing WORD-document and replacing text at placeholders. This works: the docx-output-file is generated but it shows only for 1 second the data as expected and after that it shows only the variables ($VORNAME$) on the document (see Screenshot output):
screenshot-output-png.82138

I have attached the example app, the input- and the output-file.

Does anybody know, why the docx-file is not showing the data?
 

Attachments

  • PoiRescue_Map.zip
    5.4 KB · Views: 213
  • input.zip
    4 KB · Views: 197
  • output.zip
    3.9 KB · Views: 201

JOTHA

Well-Known Member
Licensed User
Longtime User
Hello Erel and DonManfred,

thank you for your feedback!
I've opened the document on another PC and it was OK :)

... so I'm shure that the code is working ...
 
Upvote 0
Top