WordsPythonDocumentFormatReaderDocumentFormatReader概述 DocumentFormatReader 是 Aspose.Words for Python 中的一个类。继承自:Protocol。定义所有文档读取器必须实现的接口的协议。方法 签名描述load_file(filepath: Union[str, Path])load_stream(stream: BinaryIO)load_bytes(data: bytes)to_light_document() → ldm.Document