Skip to content

Create a Reader for .doc, .docx, and .pdf files #46

@GStefanowich

Description

@GStefanowich

There are currently two unimplemented template files (for reading .doc and .docx, and .pdf files, respectively)

  • .odt files
  • .doc files
  • .docx files
  • .pdf files
  • .ppt files
  • .pptx files

Reading Word documents and PDF files are a bit less straight-forward than plaintext files. A library that is compatible with the license for this project may be advisible.

public sealed class PdfReader : ILineReader
{
/// <inheritdoc />
public IAsyncEnumerable<string?> ReadLineAsync(CancellationToken cancellation = default)
=> throw new NotImplementedException();
/// <inheritdoc />
public ValueTask DisposeAsync()
=> ValueTask.CompletedTask;
}

public sealed class DocumentReader : ILineReader
{
/// <inheritdoc />
public IAsyncEnumerable<string?> ReadLineAsync(CancellationToken cancellation = default)
=> throw new NotImplementedException();
/// <inheritdoc />
public ValueTask DisposeAsync()
=> ValueTask.CompletedTask;
}

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