Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Rob7795 on April 09, 2009, 10:30:02 am
-
Hi, I'm trying to get the RTF document generated for my model to contain a suitable caption for all tables and diagrams inserted into the document, and then have a "list of tables" and "list of figures" on the contents page.
I've not found an explicit way of inserting the tables into the template, so I've performed a copy&paste from a real RTF document that has them. I've done a similar thing for the "captions" to tables and diagrams/figures.
It seems to work - mostly. The tables are inserted into the output RTF file, but table numbers are repeated (not unique), and I don't get any entries for the diagrams.
My text for a table caption is:
Table { SEQ Table \* ARABIC } - table name
and my text for a figure/diagram caption is:
FIgure { SEQ Figure \* ARABIC } - diagram name
Has anyone got experience in this area?
Cheers, Rob.
-
With the RTF report generator; there is only minimal support for the full Word-macro set. Only key fields such as Dates are really supported.
-
A solved this problem by inserting a RTF file with the field to the template.
-
I think I've achieved that by applying styles in the RTF template, then allowed word to generate the table of figures by relying on the style.
I haven't used RTFs for a long time now, and am struggling to find an example.
-
I think I've achieved that by applying styles in the RTF template, then allowed word to generate the table of figures by relying on the style.
That's how we do it as well.
Geert