def __init__(self, text, style, angle, width, height, visible): Paragraph.__init__(self, text, style) self.my_width = width self.my_height = height self.visible = visible if angle == 90: self.angle = 270 elif angle == 270: self.angle = 90 else: self.angle = angle
def __init__( self, text, style, bulletText=None, caseSensitive=1, level=0, snum=None, parent_id=None, node=None, section_header_depth=2, ): # Issue 114: need to convert "&" to "&" and such. # Issue 140: need to make it plain text self.stext = re.sub(r'<[^>]*?>', '', unescape(text)) self.stext = self.stext.strip() self.level = int(level) self.snum = snum self.parent_id = parent_id self.node = node self.section_header_depth = section_header_depth Paragraph.__init__(self, text, style, bulletText)
def __init__(self, text, style, angle): Paragraph.__init__(self, text, style) self.angle = angle
def __init__ (self, text, style, angle): Paragraph.__init__(self, text, style) self.angle = angle
def __init__(self,key,text,*args,**kwds): self._label = text self._key = key Paragraph.__init__(self,text,*args,**kwds)
def __init__(self, key, text, *args, **kwds): self._label = text self._key = key Paragraph.__init__(self, text, *args, **kwds)
def __init__(self, text, width, height, style): Paragraph.__init__(self, text, style) self.wrap(width, height)
def __init__(self,target,style): Paragraph.__init__(self,target,style) self.target = target
def __init__(self,text,style,short=None,toc=None,outline=None): Paragraph.__init__(self,text,style) TOCMixin.__init__(self,short=short,toc=toc,outline=outline,level=style.name)