docs/userguide/ch6_tables.py
changeset 4197 23596473c5b5
parent 3794 398ea04239b5
child 4252 fe660f227cac
equal deleted inserted replaced
4196:8d85d29f680f 4197:23596473c5b5
    85 $Table$ should split itself
    85 $Table$ should split itself
    86 by row before attempting to split itself by column when too little space is available in
    86 by row before attempting to split itself by column when too little space is available in
    87 the current drawing area and the caller wants the $Table$ to split.
    87 the current drawing area and the caller wants the $Table$ to split.
    88 Splitting a $Table$ by column is currently not implemented, so setting $splitByRow$ to $False$ will result in a $NotImplementedError$.""")
    88 Splitting a $Table$ by column is currently not implemented, so setting $splitByRow$ to $False$ will result in a $NotImplementedError$.""")
    89 
    89 
    90 disc("""The $repeatRows$ argument specifies the number of leading rows
    90 disc("""The $repeatRows$ argument specifies the number or a tuple of leading rows
    91 that should be repeated when the $Table$ is asked to split itself. The $repeatCols$ argument is currently ignored as a $Table$ cannot be split by column.""")
    91 that should be repeated when the $Table$ is asked to split itself. If it is a tuple it should specify which of the leading rows should be repeated; this allows
       
    92 for cases where the first appearance of the table hsa more leading rows than later split parts.
       
    93 The $repeatCols$ argument is currently ignored as a $Table$ cannot be split by column.""")
    92 heading4('$Table.setStyle(tblStyle)$')
    94 heading4('$Table.setStyle(tblStyle)$')
    93 disc("""
    95 disc("""
    94 This method applies a particular instance of class $TableStyle$ (discussed below)
    96 This method applies a particular instance of class $TableStyle$ (discussed below)
    95 to the $Table$ instance. This is the only way to get $tables$ to appear
    97 to the $Table$ instance. This is the only way to get $tables$ to appear
    96 in a nicely formatted way.
    98 in a nicely formatted way.