久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    1. <tfoot id='i1eYH'></tfoot>

    2. <legend id='i1eYH'><style id='i1eYH'><dir id='i1eYH'><q id='i1eYH'></q></dir></style></legend>

    3. <small id='i1eYH'></small><noframes id='i1eYH'>

          <bdo id='i1eYH'></bdo><ul id='i1eYH'></ul>

        <i id='i1eYH'><tr id='i1eYH'><dt id='i1eYH'><q id='i1eYH'><span id='i1eYH'><b id='i1eYH'><form id='i1eYH'><ins id='i1eYH'></ins><ul id='i1eYH'></ul><sub id='i1eYH'></sub></form><legend id='i1eYH'></legend><bdo id='i1eYH'><pre id='i1eYH'><center id='i1eYH'></center></pre></bdo></b><th id='i1eYH'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='i1eYH'><tfoot id='i1eYH'></tfoot><dl id='i1eYH'><fieldset id='i1eYH'></fieldset></dl></div>

        有沒有辦法讓 FPDF/FPDI 或 Zend_Pdf 支持解析大于

        Is there a way to make FPDF/FPDI or Zend_Pdf support the parsing of PDFs greater than 1.4?(有沒有辦法讓 FPDF/FPDI 或 Zend_Pdf 支持解析大于 1.4 的 PDF?)

          <small id='OscO8'></small><noframes id='OscO8'>

            <tbody id='OscO8'></tbody>
            <tfoot id='OscO8'></tfoot>
          1. <i id='OscO8'><tr id='OscO8'><dt id='OscO8'><q id='OscO8'><span id='OscO8'><b id='OscO8'><form id='OscO8'><ins id='OscO8'></ins><ul id='OscO8'></ul><sub id='OscO8'></sub></form><legend id='OscO8'></legend><bdo id='OscO8'><pre id='OscO8'><center id='OscO8'></center></pre></bdo></b><th id='OscO8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='OscO8'><tfoot id='OscO8'></tfoot><dl id='OscO8'><fieldset id='OscO8'></fieldset></dl></div>

                <legend id='OscO8'><style id='OscO8'><dir id='OscO8'><q id='OscO8'></q></dir></style></legend>

                  <bdo id='OscO8'></bdo><ul id='OscO8'></ul>
                  本文介紹了有沒有辦法讓 FPDF/FPDI 或 Zend_Pdf 支持解析大于 1.4 的 PDF?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試將現有的 PDF(以其他方式創建)添加到使用 FPDI 使用 FPDF 創建的 PDF.它似乎適用于大多數 PDF,但我收到以下錯誤:

                  I am trying to add an existing PDF (created otherwise) to a PDF created with FPDF using FPDI. It seems to work find for most PDFs, but I get the following error:

                  FPDF error: Unable to find xref table.
                  

                  經過一些測試,我發現如果我使用 1.4 或更低版本(Acrobat v5 或更低版本)的 PDF 版本,它似乎可以工作.查看文件似乎是因為 PDF 格式不同.

                  After some testing, I figured out that if I use a PDF version of 1.4 or lower (Acrobat v5 or lower) it seems to work. Looking at the file it seems to be because of a different PDF format.

                  是否有解決方法或解決方案?我可能有 10 000 多個用戶上傳的 PDF,其中一些是新工作的,其中一些不是.FPDI 只是死掉而不是導致某種錯誤甚至返回 false 也很煩人

                  Is there a work around or solution to this? I have probably 10 000+ PDFs uploaded by users, some of the new working, some of them not. It's also annoying that FPDI just dies instead of causing some kind of error or even returning false

                  我現在能想到的唯一解決方案是解析 PDF 文件的第一行以確定版本,然后只添加那些超過可用版本的版本.

                  The only solution I can think of right now is to parse the first line of the PDF file to determine the version and only add the ones that over versions that will work.

                  我也在 Zend_Pdf 中嘗試過,使用 Zend Framework 附帶的演示文件,結果如下:

                  I also tried this in Zend_Pdf and it had the following result, using the demo file that comes with the Zend Framework:

                  Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message 'Cross-reference streams are not supported yet.' in /Volumes/Documents/temp/ZendFramework-1.7.7/library/Zend/Pdf/Parser.php:331
                  Stack trace:
                  #0 /Volumes/Documents/temp/ZendFramework-1.7.7/library/Zend/Pdf/Parser.php(455): Zend_Pdf_Parser->_loadXRefTable('116')
                  #1 /Volumes/Documents/temp/ZendFramework-1.7.7/library/Zend/Pdf.php(297): Zend_Pdf_Parser->__construct('/Volumes/Docume...', Object(Zend_Pdf_ElementFactory_Proxy), true)
                  #2 /Volumes/Documents/temp/ZendFramework-1.7.7/library/Zend/Pdf.php(250): Zend_Pdf->__construct('/Volumes/Docume...', NULL, true)
                  #3 /Volumes/Documents/temp/ZendFramework-1.7.7/demos/Zend/Pdf/demo.php(37): Zend_Pdf::load('/Volumes/Docume...')
                  #4 {main}
                    thrown in /Volumes/Documents/temp/ZendFramework-1.7.7/library/Zend/Pdf/Parser.php on line 331
                  

                  是否無法解析大于 1.4 的 PDF?

                  Is it impossible to parse PDFs greater than 1.4?

                  推薦答案

                  我發現使用商業版的 FPDI PDF-Parser 解決了我的問題.我已經使用它一年了,還沒有任何無法解析的 PDF(除非 PDF 損壞或發生了其他奇怪的事情).

                  I found that using commerical version of FPDI PDF-Parser solved my problem. I've been using it for a year now and haven't had any PDFs it couln't parse (unless the PDF was corrupt or had something else weird going on).

                  這篇關于有沒有辦法讓 FPDF/FPDI 或 Zend_Pdf 支持解析大于 1.4 的 PDF?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                    <tfoot id='PIotK'></tfoot>
                  • <legend id='PIotK'><style id='PIotK'><dir id='PIotK'><q id='PIotK'></q></dir></style></legend>
                  • <small id='PIotK'></small><noframes id='PIotK'>

                          <bdo id='PIotK'></bdo><ul id='PIotK'></ul>
                            <tbody id='PIotK'></tbody>
                          <i id='PIotK'><tr id='PIotK'><dt id='PIotK'><q id='PIotK'><span id='PIotK'><b id='PIotK'><form id='PIotK'><ins id='PIotK'></ins><ul id='PIotK'></ul><sub id='PIotK'></sub></form><legend id='PIotK'></legend><bdo id='PIotK'><pre id='PIotK'><center id='PIotK'></center></pre></bdo></b><th id='PIotK'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='PIotK'><tfoot id='PIotK'></tfoot><dl id='PIotK'><fieldset id='PIotK'></fieldset></dl></div>

                            主站蜘蛛池模板: 天天干视频网 | 久久久久久国产精品 | 日韩区| 亚洲免费在线观看视频 | 天天干视频网 | 国产精品一区在线观看 | 亚洲性人人天天夜夜摸 | 正在播放一区二区 | 91九色porny首页最多播放 | 四虎影视一区二区 | 国产精品一区二区欧美 | 美女131mm久久爽爽免费 | 久久午夜剧场 | 国产亚洲一区二区三区 | 成人免费视频网站在线看 | 精品视频在线免费观看 | 欧美日韩一区二区在线观看 | 精品久久精品 | 天天搞夜夜操 | 天天弄 | 中文二区 | 五月综合久久 | 国产成人精品久久二区二区91 | 福利视频大全 | 涩涩视频网站在线观看 | 国产福利在线免费观看 | 老外几下就让我高潮了 | 日韩欧美视频 | 一区二区在线免费播放 | 国产视频第一页 | 亚洲精品中文字幕中文字幕 | 国产小u女发育末成年 | 999久久久免费精品国产 | a精品视频| 成人久草 | 国产黄色在线观看 | 视频三区 | 成人av免费网站 | www.天天干.com | 成人在线精品视频 | 国产激情小视频 |