Skip to content

Unable to Load Word Document from Stream in IronWord #1

Description

@mpietrowicz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions