1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @typedef {{
* name: string,
* size: number,
* readable: boolean,
* }}
*/
export let Attachment;
/** @enum {string} */
export const DisplayAnnotationsAction = {
DISPLAY_ANNOTATIONS: 'display-annotations',
HIDE_ANNOTATIONS: 'hide-annotations',
};
/**
* Enumeration of page fitting types.
* @enum {string}
*/
export const FittingType = {
NONE: 'none',
FIT_TO_PAGE: 'fit-to-page',
FIT_TO_WIDTH: 'fit-to-width',
FIT_TO_HEIGHT: 'fit-to-height',
};
/**
* @typedef {{
* messageId: string,
* namedDestinationView: (string|undefined),
* pageNumber: number,
* }}
*/
export let NamedDestinationMessageData;
/**
* Enumeration of save message request types. Must Match SaveRequestType in
* pdf/out_of_process_instance.h.
* @enum {number}
*/
export const SaveRequestType = {
ANNOTATION: 0,
ORIGINAL: 1,
EDITED: 2,
};
/** @typedef {{x: number, y: number}} */
export let Point;
|