Author Topic: Document generation broken in v16.1  (Read 14171 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13212
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document generation broken in v16.1
« Reply #30 on: August 01, 2024, 05:36:34 pm »
Well I use this as well and it is set to A4. The strange thing is I get A4 but used as letter. I only create PDF. Maybe I try RTF and Word to figure out if this is a PDF issue.
We always generate to Word first, and then save as PDF where needed.

Often we do change some minor details left and right (diagram sizes, table of contents, some page breaks here and there) before saving the document.

Geert

PeterHeintz

  • EA User
  • **
  • Posts: 965
  • Karma: +58/-18
    • View Profile
Re: Document generation broken in v16.1
« Reply #31 on: August 01, 2024, 07:38:53 pm »
Geert this what I try to avoid since years with success.
My target is: generate, deliver, ready without any fiddeling around.
Best regards,

Peter Heintz

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1075
  • Karma: +28/-8
    • View Profile
Re: Document generation broken in v16.1
« Reply #32 on: August 02, 2024, 03:18:45 am »
Have used a similar approach to Geert for a number of years, generate rtf or word, save locally, if rtf convert to word, modify local copy, and, nowadays upload to SharePoint. I gave up generating PDFs long time ago.

Typical changes that in my experience need to be done after converting to word:
1) grammar and spelling, Sparx EA grammar and spelling features are far behind what Word can do.
2) format adjustments, such as maximising page usage and, at the same time, reducing document size, or fixing tables; Sparx never seems to get table formatting right to a publishable standard, specifically header row shading.
3) acknowledging contributors and adding document history.
4) writing executive summaries.

Improvements I would love, conditional formatting, specifically easily and dynamically change the page size and orientation based on a diagram’s page settings.


PeterHeintz

  • EA User
  • **
  • Posts: 965
  • Karma: +58/-18
    • View Profile
Re: Document generation broken in v16.1
« Reply #33 on: August 02, 2024, 04:20:24 pm »
Thank you Modesto Vega!
Exept your point one I managed all with my templates used directly to greate PDF and I intend to stay this way.
My final goal is to deliver in middterm future just the model to outr assessores and I whant to say “Hey if you need a document for whatever reason just go to the package and generate it yourself".

And currenly with PDF I am closer to what I need (less problems). All in common is that in V1701 digrams look odd. What is in PDF worse is that neither uses the horinzontal nor the vertical page space is used right. 
Best regards,

Peter Heintz

PeterHeintz

  • EA User
  • **
  • Posts: 965
  • Karma: +58/-18
    • View Profile
Re: Document generation broken in v16.1
« Reply #34 on: August 02, 2024, 09:35:09 pm »
A am still trying to find out what my PDF small page usage proble is. No I realized that I get an error when trining to open the PDF with Acrobart Reader I get an error message like:
The root object is missed or invalid.
Any idea on that?
Best regards,

Peter Heintz

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13212
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document generation broken in v16.1
« Reply #35 on: August 02, 2024, 10:02:10 pm »
A am still trying to find out what my PDF small page usage proble is. No I realized that I get an error when trining to open the PDF with Acrobart Reader I get an error message like:
The root object is missed or invalid.
Any idea on that?
I just tried it myself on v17 and got the same error message when Adobe tried to open the PDF.

The file did open in Chrome, but I did saw the same small page problem you mentioned.
The document generated perfectly (in A4) when using .docx

Looks like the PDF generator used by EA is broken.
Did you report this as a bug?

Geert

PeterHeintz

  • EA User
  • **
  • Posts: 965
  • Karma: +58/-18
    • View Profile
Re: Document generation broken in v16.1
« Reply #36 on: August 02, 2024, 10:31:39 pm »
I belief for V16 long time ago, but not for V17. Thank you! So it is for sure not a problem of my PC.
Best regards,

Peter Heintz

PeterHeintz

  • EA User
  • **
  • Posts: 965
  • Karma: +58/-18
    • View Profile
Re: Document generation broken in v16.1
« Reply #37 on: September 09, 2024, 06:59:43 pm »
Today I tested the PDF generation with build 1702.
Now the PDF report can also be opend with Acrobat Reader.
However still the usage of my A4 page seem to be  "letter" or something else.
In other word only round about 75% of the page size is used for content.
Any ida on this?
Best regards,

Peter Heintz

PeterHeintz

  • EA User
  • **
  • Posts: 965
  • Karma: +58/-18
    • View Profile
Re: Document generation broken in v16.1
« Reply #38 on: November 15, 2024, 01:53:30 am »
From my perspective the heading issue is now solved within the builds 1704 and 1629.
However the problem that PDF reports do only use ~75% of the page size still exist in both builds above.
And with V17 there is an additional issue with IBD diagrams with in V17 loos very odd.
I will rise a bug report!
Best regards,

Peter Heintz

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13212
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document generation broken in v16.1
« Reply #39 on: November 15, 2024, 02:01:37 am »
From my perspective the heading issue is now solved within the builds 1704 and 1629.
However the problem that PDF reports do only use ~75% of the page size still exist in both builds above.
And with V17 there is an additional issue with IBD diagrams with in V17 loos very odd.
I will rise a bug report!
Good to see there is progress. Keep pushing for the other open issues.

Geert

chrislro

  • EA User
  • **
  • Posts: 22
  • Karma: +2/-0
    • View Profile
Re: Document generation broken in v16.1, also 17!?
« Reply #40 on: November 30, 2024, 02:52:06 am »
:-\

I generated with EA17.0.1704 (64bit) a document to test it. Database content, template, styles and document generation settings are unchanged. Document is stored as a resource, output is Word format. The EA17 generated document fails with chapter order (order is mixed up), has duplicate content (some chapters are just present twice at different locations),  and some diagrams are messed up, too: Elements unexpectedly have a different size than shown in EA itself, arrows and connections are missing. Some diagrams are perfect.

As I don't want to review hundreds of pages of all generated documents, I will still stick with EA15.2.1650 for document generation. Maybe EA18 will fix it. But I start losing the hope  :'(