def _getTrailerString(self, compressed=1):
        """_getTrailerString(self, compressed=1) -> PyObject *"""
        if self.isClosed:
            raise ValueError("operation illegal for closed doc")

        return _fitz.Document__getTrailerString(self, compressed)