我从客户那里得到了PDF文件 . 该文件长达60页 . 我需要从第49页到第58页的中间读取数据 . 在ColdFusion中,有 cfpdf 标签允许读取pdf文档 . 这是我到目前为止的例子:

<cftry>
    <cfset mypdf = expandPath("./data.pdf")>
    <cfpdf action="read" source="#mypdf#" name="PDFInfo">

    <cfdump var="#PDFInfo#">

    <cfcatch type="any">
        <cfdump var="#cfcatch#">
    </cfcatch>
</cftry>

将文档转储到屏幕上后,有以下信息:

Author  [empty string]
CenterWindowOnScreen    no
ChangingDocument    Allowed
Commenting  Allowed
ContentExtraction   Allowed
CopyContent     Allowed 
PageSizes   
PDFDocumentarray
1   
PDFDocument - struct
height  792
width   612
2   
PDFDocument - struct
height  792
width   612
3   
PDFDocument - struct
height  792
width   612
4   
PDFDocument - struct
height  792
width   612

我以前从未使用过cfpdf,这对我来说是新的 . 我试图在网上搜索,但找不到关于如何从PDF文档中获取数据的示例 . 有没有一种很好的方法从文件/文档中的特定页面获取数据?此外,我想必须有一个循环,允许访问单个行数据 . 如果有人有这个问题的良好资源示例,请告诉我 . 谢谢 .