2026-06-05 15:58:03 +07:00
|
|
|
namespace QWERTYkez.WordProcessor;
|
|
|
|
|
|
|
|
|
|
public interface IWordReader
|
|
|
|
|
{
|
|
|
|
|
long DocumentSize { get; }
|
|
|
|
|
string? FilePath { get; }
|
|
|
|
|
bool IsValid { get; }
|
|
|
|
|
|
2026-08-03 16:11:54 +07:00
|
|
|
#if DEBUG
|
|
|
|
|
Body Body { get; }
|
|
|
|
|
#endif
|
|
|
|
|
|
2026-06-05 15:58:03 +07:00
|
|
|
ISet<string> FindPlaceholders();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool TryWrite(string destinationPath, Action<IWordWriter> action);
|
|
|
|
|
bool TryWrite(Action<IWordWriter> write, Action<IWordReader> read);
|
|
|
|
|
}
|