aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 9770e5cdc..2ea3cdfdb 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -11,6 +11,7 @@ import { CollectionView, CollectionViewType } from "../views/collections/Collect
import { FieldView } from "../views/nodes/FieldView";
import { HtmlField } from "../../fields/HtmlField";
import { WebView } from "../views/nodes/WebView";
+import { PresentationView } from "../views/PresentationView";
export interface DocumentOptions {
x?: number;
@@ -190,4 +191,13 @@ export namespace Documents {
export function DockDocument(config: string, options: DocumentOptions, id?: string) {
return CollectionDocument(config, CollectionViewType.Docking, options, id)
}
+
+ /*
+ export function PresentationDocument(documents: Array<Document>, options: DocumentOptions, id?: string) {
+ let doc = GetCollectionPrototype().MakeDelegate(id);
+ setupOptions(doc, options);
+ doc.SetData(KeyStore.Data, documents, ListField);
+ doc.SetNumber(KeyStore.ViewType, CollectionViewType);
+ return doc;
+ }*/
} \ No newline at end of file