You can use M2Doc to access a specific medini analyze checklist. Access the checklist
hierarchically, or include .eAllContents() to access all task items, including
subitems, as a flat list, as shown in this example.
{m:for cli | myChecklist.eAllContents(checklist::StaticCheckListItem)}...{m:endfor}
Create a variable for your checklist, then in your report configuration in medini
analyze, assign the checklist to your variable. You can now access all objects in your
checklist. Remember that you can start medini analyze in debug mode to identify
the various attributes. See Identifying available object properties in medini analyze for more
information.
You can find an example of using the checklist as a source in M2Doc in the medini analyze online support site.
If you use headlines in your checklist, you can use M2Doc to reflect this special formatting in your output file. The following methods distinguish betweeen task items and headlines.
isHeadline()returns whether or not the item is a headline.isCheckable()returns whether or not the item is a task item.
In addition, getLevel() returns the level in the checklist that the item
has. Note that levels start at 0. Both headlines and top-level task items
have level 0. Each succeeding sublevel is incremented by one.
You can use the information returned by these methods to apply a custom format to task items in your report.