Products

Home Forums eaDocX queries Sorting table within a section

Home Forums eaDocX queries Sorting table within a section

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6982
    Roos Bultink
    Participant

    Hi,

    I’m trying to figure out how to rearrange the order of the tables within a section. For instance, the order of the tables for events is now (one table for each type of event): End – Intermediate – Start (alphabetical order). I want is to be: Start – Intermediate – End (order of appearance/more logical to me). Rearranging this in the word doc does not fix it, it is overwritten after regeneration of the document. Did I miss out on how to do this?

    #6983
    eadocX Support
    Participant

    We had some issues with this, where eaDocX had
    – a list of elements to print,
    – all are children of the same package/element,
    – they have a profile which says to print each type of element as ‘table’
    Question is: how to control the order of printing of the tables?
    We used to find the first ‘table’ element, and then gather all the elements of the same type together in the first table, then move down the list to get the first one of the next type, then print all those.
    The problem with this is that the order of the elements in the package is not meaningful: it’s probably just the order in which they were created.
    So now, to make it deterministic, and so that we don’t need the user to specify more information, the tables are printed in alphabetical order of the element type (Activity, Requirement, Use Case), and within each element type, by stereotype.
    So Event elements will print , , as you observed.
    Question is, where and how do you say that
    , , is the right sequence for Events ?
    Simplest solution, if you want to control the sequence is to make sub-packages for each of the element types and/or stereotypes. Then eaDocX will respect the order of the Packages.
    This is how I usually do it, as it has the additional benefit of making the model easier to read, and I get a Package heading before each table, and a chance to put some Notes into each Package to say what <> events are.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download