mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Annotations - Implement parsing of IRT, RT, State and StateModel
This commit is contained in:
parent
13ebfec903
commit
fe49f0f766
3 changed files with 369 additions and 14 deletions
|
@ -86,6 +86,29 @@ const AnnotationType = {
|
|||
REDACT: 26,
|
||||
};
|
||||
|
||||
const AnnotationStateModelType = {
|
||||
MARKED: 'Marked',
|
||||
REVIEW: 'Review',
|
||||
};
|
||||
|
||||
const AnnotationMarkedState = {
|
||||
MARKED: 'Marked',
|
||||
UNMARKED: 'Unmarked',
|
||||
};
|
||||
|
||||
const AnnotationReviewState = {
|
||||
ACCEPTED: 'Accepted',
|
||||
REJECTED: 'Rejected',
|
||||
CANCELLED: 'Cancelled',
|
||||
COMPLETED: 'Completed',
|
||||
NONE: 'None',
|
||||
};
|
||||
|
||||
const AnnotationReplyType = {
|
||||
GROUP: 'Group',
|
||||
REPLY: 'R',
|
||||
};
|
||||
|
||||
const AnnotationFlag = {
|
||||
INVISIBLE: 0x01,
|
||||
HIDDEN: 0x02,
|
||||
|
@ -910,6 +933,10 @@ export {
|
|||
AnnotationBorderStyleType,
|
||||
AnnotationFieldFlag,
|
||||
AnnotationFlag,
|
||||
AnnotationMarkedState,
|
||||
AnnotationReplyType,
|
||||
AnnotationReviewState,
|
||||
AnnotationStateModelType,
|
||||
AnnotationType,
|
||||
FontType,
|
||||
ImageKind,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue