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.
# - - - 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 {}