diff options
author | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-02-26 19:20:23 -0500 |
---|---|---|
committer | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-02-26 19:20:23 -0500 |
commit | 094b766c7d3097180a6022273001d08672456ef8 (patch) | |
tree | fe75302bf0ea6675356ca7b00529f9f25ab543f5 /src/documents/Documents.ts | |
parent | 0fce0d7db0986f31a4f1013e42609da382c027e1 (diff) |
transition from ImageBox to PDFNode. Annotations also now indexable per page, similar to stickies/area selection
Diffstat (limited to 'src/documents/Documents.ts')
-rw-r--r-- | src/documents/Documents.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/documents/Documents.ts b/src/documents/Documents.ts index 56ebbf565..657856801 100644 --- a/src/documents/Documents.ts +++ b/src/documents/Documents.ts @@ -135,14 +135,14 @@ export namespace Documents { let PDFProto = new Document(); PDFProtoId = PDFProto.Id; PDFProto.Set(KeyStore.Title, new TextField("PDF PROTO")); - PDFProto.Set(KeyStore.X, new NumberField(0)); + PDFProto.Set(KeyStore.X, new NumberField(0)); PDFProto.Set(KeyStore.Y, new NumberField(0)); PDFProto.Set(KeyStore.Width, new NumberField(300)); - PDFProto.Set(KeyStore.Height, new NumberField(300)); - PDFProto.Set(KeyStore.Layout, new TextField(PDFNode.LayoutString())); + PDFProto.Set(KeyStore.Height, new NumberField(300)); + PDFProto.Set(KeyStore.Layout, new TextField(PDFNode.LayoutString())); PDFProto.Set(KeyStore.LayoutKeys, new ListField([KeyStore.Data])); Server.AddDocument(PDFProto); - return PDFProto; + return PDFProto; } return Server.GetDocument(PDFProtoId, true)!; } |