Next / Previous / Contents / TCC Help System / NM Tech homepage

33.4. RowLabel.foRowSpan()

This service routine returns a number-rows-spanned attribute as a dictionary when there are multiple physical rows, or an empty dictionary if there is one physical row per logical row.

cbchistlib.py
# - - -   R o w L a b e l . f o R o w S p a n

    def foRowSpan(self, spanCount):
        '''Produce a number-rows-spanned attribute if necessary.
        '''
        if spanCount > 1:
            return fo.dash(numberRowsSpanned=str(spanCount))
        else:
            return {}