Dplmatrix: Difference between revisions

Content added Content deleted
m (transcluding previously missing page)
m (Fixed typos)
Line 9: Line 9:
This function is a side entry into DPL.
This function is a side entry into DPL.


You pass an indented list and you get a matrix view back. With copy/paste you can easily transfer such a matrix to Excel and do some polishing there like turning column texts to vertical, highlight interesting cells etc..)
You pass an indented list and you get a matrix view back. With copy/paste you can easily transfer such a matrix to Excel and do some polishing there like turning column texts to vertical, highlight interesting cells etc…)


There are five parameters which MUST be given in the order listed here:
There are five parameters which MUST be given in the order listed here:
Line 15: Line 15:
# The symbol for cells which symbolize a link. Default is "x".
# The symbol for cells which symbolize a link. Default is "x".
# The symbol for cells which symbolize the absence of a link. Default is 'empty cell'.
# The symbol for cells which symbolize the absence of a link. Default is 'empty cell'.
# The mode ('normal' or 'flip'); default is 'normal'. When 'flip' is specified rows and columns will be exchanged.
# The mode ('normal' or 'flip'); default is 'normal'. When 'flip' is specified, rows and columns will be exchanged.
# The indented list.
# The indented list.
#* source items must start in column 1
#* source items must start in column 1
#* target items must be indented by at least one space
#* target items must be indented by at least one space
#* after the item name you can add ~~ and a 'label'. Row and column titles of the matrix will contain hyperlinks to the items. If lables are specified they will be used instead of the item names.
#* after the item name you can add ~~ and a 'label'. Row and column titles of the matrix will contain hyperlinks to the items. If labels are specified, they will be used instead of the item names.
#* lines which are empty or contain only spaces are silently ignored.
#* lines which are empty or contain only spaces are silently ignored.
#* if a source line is not followed by one or more target lines an empty table row (or column in flip mode) will be shown.
#* if a source line is not followed by one or more target lines an empty table row (or column in flip mode) will be shown.