Book a Demo

Author Topic: Enourmous difference between file preview and actual file after generation  (Read 4617 times)

MWensOrdina

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
I've started at a new customer which is quite sceptical about the possibilities of document generation from EA. Having worked with document templates since 2006 I took it upon me to generate a document as close as possible to their Word-templates. I thought I had nailed it, with the document preview after generation looking 98% like the Word version (just some minor known issues like the Activity Diagram being too large and having to be resized). I was quite surprised to find the saved file was nothing like that: suddenly the headings were all indented in stead of aligned to the left, and there were dozens of false page breaks not shown in either the template or the preview. One of the briefs was that manual editing of the document should be as limited as possible. Resizing the diagrams just about fits that, having to manually reset all the headers in the entire document and removing dozens of page breaks clearly does not. In ten years time this is a first for me. Any clues what causes these catastrophic differences between the preview and the document?

MWensOrdina

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
I've started at a new customer which is quite sceptical about the possibilities of document generation from EA. Having worked with document templates since 2006 I took it upon me to generate a document as close as possible to their Word-templates. I thought I had nailed it, with the document preview after generation looking 98% like the Word version (just some minor known issues like the Activity Diagram being too large and having to be resized). I was quite surprised to find the saved file was nothing like that: suddenly the headings were all indented in stead of aligned to the left, and there were dozens of false page breaks not shown in either the template or the preview. One of the briefs was that manual editing of the document should be as limited as possible. Resizing the diagrams just about fits that, having to manually reset all the headers in the entire document and removing dozens of page breaks clearly does not. In ten years time this is a first for me. Any clues what causes these catastrophic differences between the preview and the document?
It looks as if the mystery has nothing to do with EA per se, but rather with the configuration of MS Word on the customer's network. The document template is OK, the generated preview is OK, but the translation to docx changes the document make up. For now a work-around is to generate not to docx but to rtf, which leaves the document unchanged. The saved rtf-file can be opened with MS Word and then saved as a docx (so completely outside EA), and then the very same problem occurs. We'll have to solve that, but it has nothing to do with EA, it seems.