code: def split(self, availWidth, availHeight):
          
  
          logger.debug("*** split (%f, %f)", availWidth, availHeight)
  
          splitted = []
          if self.splitIndex:
              text1 = self.text[:self.splitIndex]
              text2 = self.text[self.splitIndex:]
              p1 = Paragraph(Text(text1), self.style, debug=self.debug)
              p2 = Paragraph(Text(text2), self.style, debug=self.debug, splitted=True)
              splitted = [p1, p2]
  
              logger.debug("*** text1 %s / text %s", len(text1), len(text2))
  
          logger.debug('*** return %s', self.splitted)
  
          return splitted
docs: Split ourselves in two paragraphs.