Creaded Upload Interface; Also added Wrapper around HaDocument to reload the Document

This commit is contained in:
schnulller
2022-06-04 23:18:40 +02:00
parent 37b794ea05
commit 9712574e13
21 changed files with 1043 additions and 268 deletions

View File

@@ -0,0 +1,19 @@
namespace HaWeb.FileHelpers;
using HaDocument.Interfaces;
public class HaDocumentWrapper : IHaDocumentWrappper {
public ILibrary Library;
public HaDocumentWrapper() {
Library = HaDocument.Document.Create(new HaWeb.Settings.HaDocumentOptions());
}
public ILibrary SetLibrary() {
Library = HaDocument.Document.Create(new HaWeb.Settings.HaDocumentOptions());
return Library;
}
public ILibrary GetLibrary() {
return Library;
}
}