#1 Re: mORMot 2 » Did TGDIDocument, TGDIDocumentSection & TGDIDocumentTable exist? » 2025-11-12 10:45:26

I used to always bring in external help to write small sections of code, then I thought I'd try ChatGPT / Gemini. After a few weeks, I was disillusioned. These LLMs are designed to give a quick answer no matter what. Conjecture, false statements and even lies were the order of the day... so I thought it would be good for me to do a bit more coding to slow down my digital dementia. bye Davide.

#2 Re: mORMot 2 » Did TGDIDocument, TGDIDocumentSection & TGDIDocumentTable exist? » 2025-11-12 08:40:27

sorry that was extracted from a example provided by gemini..... thats the prove that AI work with assumptions and is not useful for coding, sorry for your time i will solve my problems mit TGDIPages and Canvas greeting from Zurich

#3 mORMot 2 » Did TGDIDocument, TGDIDocumentSection & TGDIDocumentTable exist? » 2025-11-11 13:16:17

Davide
Replies: 4

Hello Arnaud,

I’m working with the PDF/GDI part of the mORMot ecosystem and I’m trying to clarify the current status of some older GDI document classes.

Specifically I’m looking for:

TGDIDocument

TGDIDocumentSection

TGDIDocumentTable

My questions:

Did these classes ever exist in mORMot (v1 or v2), or are they only part of internal or example code?

If they existed, in which unit/file were they defined?
(e.g. mORMotReport.pas, mormot.pdf.gdi, or elsewhere)

Are they still usable today, or were they removed/replaced in mORMot2?

If replaced, what would be the recommended way to build PDF content with sections and tables today using mORMot?

I want to build PDF documents with structured sections and tables, and I want to make sure I’m not searching for removed or deprecated components.

Thanks a lot for your guidance, and for the incredible work on mORMot.

Best regards and thanks a lot :-)
Davide

#4 mORMot 2 » Where can I find the "report" folder in mORMot2? » 2025-10-14 11:11:58

Davide
Replies: 1

Where can I find the "report" folder in mORMot2, and does it still include AppendRichEdit?

Hello Arnaud,

I’m currently working with mORMot2 and noticed that my cloned repository (https://github.com/synopse/mORMot2.git
) does not contain a src\report folder.

In earlier builds of mORMot2 (and in SynPDF 1.26), the PDF and RTF rendering functionality — including TPdfDocumentGDI.AppendRichEdit — was located under mormot.report.pdf.pas and related units.

Could you please clarify:

Where can I find the report folder in the current mORMot2 structure?

Does it still contain the AppendRichEdit method (for rendering RTF via TRichEdit.Handle into TPdfDocumentGDI)?

If it has been moved to another repository (e.g., SynPDF or a separate report module), could you please share the current location or recommended way to access it?

Thank you very much for your guidance and for maintaining this fantastic framework.

Best regards,
Davide

Board footer

Powered by FluxBB