File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ include("debugIO.jl")
46
46
end
47
47
end
48
48
49
+
50
+
49
51
@testset " General File Opening 3" begin
50
52
@test begin
51
53
filename= " 3.pdf"
@@ -61,6 +63,28 @@ include("debugIO.jl")
61
63
end
62
64
end
63
65
66
+ @testset " Hybrid x-ref" begin
67
+ @test begin
68
+ filename= " A1947-14.pdf"
69
+ println (filename)
70
+ isfile (filename)||
71
+ download (" http://lawmin.nic.in/ld/P-ACT/1947/A1947-14.pdf" ,filename)
72
+ doc = pdDocOpen (filename)
73
+ try
74
+ npage= pdDocGetPageCount (doc)
75
+ for i= 1 : npage
76
+ page = pdDocGetPage (doc, i)
77
+ if pdPageIsEmpty (page)== false
78
+ pdPageGetContentObjects (page)
79
+ end
80
+ end
81
+ finally
82
+ pdDocClose (doc)
83
+ end
84
+ length (utilPrintOpenFiles ())== 0
85
+ end
86
+ end
87
+
64
88
@testset " Test RunLengthDecode" begin
65
89
@test begin
66
90
filename= " 582.pdf"
You can’t perform that action at this time.
0 commit comments