Add missing pagesCount
getter to IPDFLinkService
and SimpleLinkService
This commit is contained in:
parent
9e9426c354
commit
df8d9f45f9
@ -20,6 +20,11 @@
|
|||||||
* @interface
|
* @interface
|
||||||
*/
|
*/
|
||||||
class IPDFLinkService {
|
class IPDFLinkService {
|
||||||
|
/**
|
||||||
|
* @returns {number}
|
||||||
|
*/
|
||||||
|
get pagesCount() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @returns {number}
|
* @returns {number}
|
||||||
*/
|
*/
|
||||||
|
@ -408,12 +408,22 @@ function isValidExplicitDestination(dest) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements {IPDFLinkService}
|
||||||
|
*/
|
||||||
class SimpleLinkService {
|
class SimpleLinkService {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.externalLinkTarget = null;
|
this.externalLinkTarget = null;
|
||||||
this.externalLinkRel = null;
|
this.externalLinkRel = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns {number}
|
||||||
|
*/
|
||||||
|
get pagesCount() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @returns {number}
|
* @returns {number}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user