def __init__(self, streams): self.streams = streams self.istream = 0 PSStackParser.__init__(self, None) return
def seek(self, pos): self.fillfp() PSStackParser.seek(self, pos) return
def __init__(self, cmap, fp): PSStackParser.__init__(self, fp) self.cmap = cmap self._in_cmap = False return
def __init__(self, data): PSStackParser.__init__(self, data) self._cid2unicode = {} return
def __init__(self, fp): PSStackParser.__init__(self, fp) self.doc = None self.fallback = False return
def __init__(self, doc, fp): PSStackParser.__init__(self, fp) self.doc = doc self.doc.set_parser(self) return
def __init__(self, cmap, fp): PSStackParser.__init__(self, fp) self.cmap = cmap # some ToUnicode maps don't have "begincmap" keyword. self._in_cmap = True return
def __init__(self, fp): PSStackParser.__init__(self, fp) self.doc = None return
def __init__(self, streams, debug=0): self.streams = streams self.istream = 0 PSStackParser.__init__(self, None, debug=debug) return
def __init__(self, fp): PSStackParser.__init__(self, fp) self.doc = None self.fallback = False
def __init__(self, doc, fp, debug=0): PSStackParser.__init__(self, fp, debug=debug) self.doc = doc self.doc.set_parser(self) return
def __init__(self, data, doc): PSStackParser.__init__(self, StringIO(data)) self.doc = doc return
def __init__(self, fp, dbg=False): PSStackParser.__init__(self, fp, dbg) self.doc = None self.fallback = False return
def __init__(self, cmap, fp, debug=0): PSStackParser.__init__(self, fp, debug=debug) self.cmap = cmap self.in_cmap = False return