File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ var Page = (function PageClosure() {
84
84
return obj ;
85
85
},
86
86
get content () {
87
- return shadow ( this , 'content' , this .getPageProp ('Contents' ) );
87
+ return this .getPageProp ('Contents' );
88
88
},
89
89
get resources () {
90
90
return shadow (this , 'resources' , this .inheritPageProp ('Resources' ));
@@ -131,21 +131,22 @@ var Page = (function PageClosure() {
131
131
},
132
132
getContentStream : function Page_getContentStream () {
133
133
var content = this .content ;
134
+ var stream ;
134
135
if (isArray (content )) {
135
136
// fetching items
136
137
var xref = this .xref ;
137
138
var i , n = content .length ;
138
139
var streams = [];
139
140
for (i = 0 ; i < n ; ++i )
140
141
streams .push (xref .fetchIfRef (content [i ]));
141
- content = new StreamsSequenceStream (streams );
142
+ stream = new StreamsSequenceStream (streams );
142
143
} else if (isStream (content )) {
143
- content . reset () ;
144
- } else if (! content ) {
144
+ stream = content ;
145
+ } else {
145
146
// replacing non-existent page content with empty one
146
- content = new NullStream ();
147
+ stream = new NullStream ();
147
148
}
148
- return content ;
149
+ return stream ;
149
150
},
150
151
getOperatorList : function Page_getOperatorList (handler ) {
151
152
var self = this ;
Original file line number Diff line number Diff line change
1
+ http://mirrors.ctan.org/info/lshort/english/lshort.pdf
Original file line number Diff line number Diff line change 170
170
"rounds" : 1 ,
171
171
"type" : " eq"
172
172
},
173
+ {
174
+ "id" : " issue3115" ,
175
+ "file" : " pdfs/issue3115.pdf" ,
176
+ "md5" : " ea10f4131202b9b8f2a6cb7770d3f185" ,
177
+ "rounds" : 1 ,
178
+ "type" : " eq" ,
179
+ "link" : true ,
180
+ "lastPage" : 1
181
+ },
173
182
{ "id" : " thuluthfont-text" ,
174
183
"file" : " pdfs/ThuluthFeatures.pdf" ,
175
184
"md5" : " b7e18bf7a3d6a9c82aefa12d721072fc" ,
You can’t perform that action at this time.
0 commit comments