I am encountering an issue when trying to load a Word document from a stream using IronWord. The WordDocument class does not appear to have a constructor that accepts a Stream as a parameter. This is a critical limitation for applications that process documents in-memory without writing them to disk.
Expected Behavior:
IronWord should provide a way to load a Word document directly from a Stream, such as a FileStream or MemoryStream, to allow for efficient document processing.
Actual Behavior:
Currently, the only available constructor for WordDocument requires a file path. This forces developers to first write the stream to a temporary file before loading it, which adds unnecessary overhead.
I am encountering an issue when trying to load a Word document from a stream using IronWord. The WordDocument class does not appear to have a constructor that accepts a Stream as a parameter. This is a critical limitation for applications that process documents in-memory without writing them to disk.
Expected Behavior:
IronWord should provide a way to load a Word document directly from a Stream, such as a FileStream or MemoryStream, to allow for efficient document processing.
Actual Behavior:
Currently, the only available constructor for WordDocument requires a file path. This forces developers to first write the stream to a temporary file before loading it, which adds unnecessary overhead.