|
|
|
@ -189,7 +189,7 @@ var Annotation = (function AnnotationClosure() {
@@ -189,7 +189,7 @@ var Annotation = (function AnnotationClosure() {
|
|
|
|
|
data && |
|
|
|
|
(!data.annotationFlags || |
|
|
|
|
!(data.annotationFlags & 0x22)) && // Hidden or NoView
|
|
|
|
|
data.rect); // rectangle is nessessary
|
|
|
|
|
data.rect); // rectangle is necessary
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
isPrintable: function Annotation_isPrintable() { |
|
|
|
@ -198,7 +198,8 @@ var Annotation = (function AnnotationClosure() {
@@ -198,7 +198,8 @@ var Annotation = (function AnnotationClosure() {
|
|
|
|
|
data && |
|
|
|
|
data.annotationFlags && // Default: not printable
|
|
|
|
|
data.annotationFlags & 0x4 && // Print
|
|
|
|
|
data.rect); // rectangle is nessessary
|
|
|
|
|
!(data.annotationFlags & 0x2) && // Hidden
|
|
|
|
|
data.rect); // rectangle is necessary
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
loadResources: function Annotation_loadResources(keys) { |
|
|
|
@ -323,7 +324,9 @@ var Annotation = (function AnnotationClosure() {
@@ -323,7 +324,9 @@ var Annotation = (function AnnotationClosure() {
|
|
|
|
|
if (annotation.isViewable() || annotation.isPrintable()) { |
|
|
|
|
return annotation; |
|
|
|
|
} else { |
|
|
|
|
warn('unimplemented annotation type: ' + subtype); |
|
|
|
|
if (SUPPORTED_TYPES.indexOf(subtype) === -1) { |
|
|
|
|
warn('unimplemented annotation type: ' + subtype); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|