
This content may may have line breaks, tabs, etc.Īs per requested, here is some of our code. What we want to accomplish is to create reports based on content retrieved from a data base. Here is what you see in OpenOffice or LibreOfficeĪs you may see, the behavior of text and text-run with linebreaks are the opposite depending which suite you use to open the document. We generate a file, and open it on MS Word and Open Office We did a lot of test, all with same result.ĭoes anyone have a solution to have "same/similar" display when opening a document in msword or open office?

We are generating the document as Word2007 User community support forum for Apache OpenOffice, LibreOffice and all the derivatives. If we use addTextRun() and addTextBreak(), the linebreaks, tabs, etc. ) Next, you will make changes to the /etc. (There are a few question about this in SO, so we went for the textRun. Additional configuration required for OpenOffice on Linux or Solaris. Click Finish to open both the primary Base window and the. From the Database Wizard window, select Open an existing database file and then select its file from the drop-down list below. Open the database, in Base, set up in the previous article. works in Open Office (same as they are in the source xml file) but don't work in MS Word. OpenOffice Base, like most database packages, has options with which you can set up database forms. If we use addText() all newlines, tabs, etc.

What we have at this moment is the following: We are using phpword to generate word documents.
