|
|
|
@ -904,8 +904,6 @@ var TEXT_LAYER_RENDER_DELAY = 200; // ms
@@ -904,8 +904,6 @@ var TEXT_LAYER_RENDER_DELAY = 200; // ms
|
|
|
|
|
* @implements {IRenderableView} |
|
|
|
|
*/ |
|
|
|
|
var PDFPageView = (function PDFPageViewClosure() { |
|
|
|
|
var CustomStyle = PDFJS.CustomStyle; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @constructs PDFPageView |
|
|
|
|
* @param {PDFPageViewOptions} options |
|
|
|
@ -1079,6 +1077,8 @@ var PDFPageView = (function PDFPageViewClosure() {
@@ -1079,6 +1077,8 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
cssTransform: function PDFPageView_transform(canvas, redrawAnnotations) { |
|
|
|
|
var CustomStyle = PDFJS.CustomStyle; |
|
|
|
|
|
|
|
|
|
// Scale canvas, canvas wrapper, and page container.
|
|
|
|
|
var width = this.viewport.width; |
|
|
|
|
var height = this.viewport.height; |
|
|
|
@ -1374,6 +1374,7 @@ var PDFPageView = (function PDFPageViewClosure() {
@@ -1374,6 +1374,7 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
beforePrint: function PDFPageView_beforePrint() { |
|
|
|
|
var CustomStyle = PDFJS.CustomStyle; |
|
|
|
|
var pdfPage = this.pdfPage; |
|
|
|
|
|
|
|
|
|
var viewport = pdfPage.getViewport(1); |
|
|
|
|