mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Creaded Upload Interface; Also added Wrapper around HaDocument to reload the Document
This commit is contained in:
19
HaWeb/FileHelpers/HaDocumentWrapper.cs
Normal file
19
HaWeb/FileHelpers/HaDocumentWrapper.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user