diff options
| author | bob <bcz@cs.brown.edu> | 2019-03-08 11:44:28 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-03-08 11:44:28 -0500 |
| commit | c4eff83d814b1f9b94b7fc75ca06e8f0474de20d (patch) | |
| tree | 02efbc5b170add4641982909ce12b2e0369ae5bb /src/fields | |
| parent | 4796d17b089824df4455788c564414526c08eaa4 (diff) | |
working version of pdfs with annotations.
Diffstat (limited to 'src/fields')
| -rw-r--r-- | src/fields/InkField.ts | 1 | ||||
| -rw-r--r-- | src/fields/KeyStore.ts | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/fields/InkField.ts b/src/fields/InkField.ts index a475e2aae..1108a04a5 100644 --- a/src/fields/InkField.ts +++ b/src/fields/InkField.ts @@ -13,6 +13,7 @@ export interface StrokeData { color: string; width: string; tool: InkTool; + page: number; } export type StrokeMap = Map<string, StrokeData>; diff --git a/src/fields/KeyStore.ts b/src/fields/KeyStore.ts index 259d1acaf..f67257093 100644 --- a/src/fields/KeyStore.ts +++ b/src/fields/KeyStore.ts @@ -4,6 +4,7 @@ export namespace KeyStore { export const Prototype = new Key("Prototype"); export const X = new Key("X"); export const Y = new Key("Y"); + export const Page = new Key("Page"); export const Title = new Key("Title"); export const Author = new Key("Author"); export const PanX = new Key("PanX"); @@ -27,5 +28,7 @@ export namespace KeyStore { export const ActiveFrame = new Key("ActiveFrame"); export const DocumentText = new Key("DocumentText"); export const Thumbnail = new Key("Thumbnail"); + export const CurPage = new Key("CurPage"); + export const NumPages = new Key("NumPages"); export const Ink = new Key("Ink"); } |
