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

Discussion in 'B4J Questions' started by JOTHA, May 27, 2019.

  1. JOTHA

    JOTHA Well-Known Member Licensed User

  2. DonManfred

    DonManfred Expert Licensed User

  3. JOTHA

    JOTHA Well-Known Member Licensed User

    Hello DonManfred,
    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.

    Attached Files:

  4. DonManfred

    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.
  5. MarkusR

    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: May 28, 2019
  6. Daestrum

    Daestrum Well-Known Member Licensed User

    Erel likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice