RtfFileReader

General

RtfFileReader és una classe en Aspose.Words per a Python.

Llegeix arxius RTF (format OLE2) i produeix les mateixes estructures de dades.

Mètodes

SignatureDescription
__init__()
load_file(filepath: Union[str, Path])Load .rtf from file path.
load_stream(stream: BinaryIO)Load .rtf from stream.
load_bytes(data: bytes)Load .rtf from bytes.
to_light_document()ldm.DocumentBuild a light_document_model.Document from the loaded RTF file.
 Català