{"id":269,"date":"2023-08-01T15:57:13","date_gmt":"2023-08-01T07:57:13","guid":{"rendered":""},"modified":"2024-05-06T11:54:02","modified_gmt":"2024-05-06T03:54:02","slug":"article-slug-154","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=269","title":{"rendered":"\u3010Foxit PDF SDK\u3011\u5982\u4f55\u5408\u5e76PDF\u6587\u4ef6\uff1f"},"content":{"rendered":"<p><span style=\"font-family:\u7b49\u7ebf\">\u4f7f\u7528<\/span> Foxit PDF SDK <span style=\"font-family:\u7b49\u7ebf\">\u5408\u5e76<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u7684\u65b9\u6cd5\u6709\u591a\u79cd<\/span><\/p>\n<p>1. <span style=\"font-family:\u7b49\u7ebf\">\u5c06\u9875\u9762\u4ece\u5176\u4ed6<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u5bfc\u5165\u5230\u76ee\u6807<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6<\/span><\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; <span style=\"font-family:\u7b49\u7ebf\">\u9002\u7528\u7248\u672c\uff1a<\/span>V6.x<span style=\"font-family:\u7b49\u7ebf\">\u6216\u66f4\u9ad8\u7248\u672c<\/span><\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; <span style=\"font-family:\u7b49\u7ebf\">\u76f8\u5173\u63a5\u53e3\uff1a<\/span>foxit::pdf::PDFDoc::StartImportPages<span style=\"font-family:\u7b49\u7ebf\">\u6216<\/span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foxit::pdf::PDFDoc::StartImportPagesFromFilePath<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; <span style=\"font-family:\u7b49\u7ebf\">\u5bfc\u5165\u9875\u9762\u6807\u5fd7\uff1a<\/span><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><img decoding=\"async\" src=\"https:\/\/support.fuxinsoft.cn\/wp-content\/uploads\/2023\/08\/3e8a0953e682e5ba08f11995a555c2e6.png\" title=\"1690876450689579.png\" alt=\"1.png\"\/><\/p>\n<p>&nbsp; &nbsp; &nbsp; Demo<span style=\"font-family:\u7b49\u7ebf\">\u6f14\u793a\uff1a\u8bf7\u53c2\u8003<\/span>Foxit PDF SDK<span style=\"font-family:\u7b49\u7ebf\">\u5305\u4e2d\u7684\u7b80\u5355\u6f14\u793a<\/span> <span style=\"font-family:\u7b49\u7ebf\">\u201c<\/span>page_organization<span style=\"font-family:\u7b49\u7ebf\">\u201d<\/span><\/p>\n<p><span style=\"font-family:\u7b49\u7ebf\">&nbsp; &nbsp; &nbsp; &nbsp;\u8bf7\u6ce8\u610f\uff1a<\/span><\/p>\n<p style=\"margin-left:.25in\">&#8211;<span style=\"font:9px &#39;Times New Roman&#39;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-family:\u7b49\u7ebf\">\u5728\u5bf9<\/span> API StartImportPages() <span style=\"font-family:\u7b49\u7ebf\">\u6216<\/span> StartImportPagesFromFilePath() <span style=\"font-family:\u7b49\u7ebf\">\u7684\u4e00\u6b21\u8c03\u7528\u4e2d\uff0c\u53ea\u80fd\u5904\u7406<\/span> 2 <span style=\"font-family:\u7b49\u7ebf\">\u4e2a<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\uff08\u4e0d\u80fd\u4e00\u6b21\u5408\u5e76\u591a\u4e2a<\/span>PDF<span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\uff09<\/span><\/p>\n<p style=\"margin-left:.25in\">&#8211;<span style=\"font:9px &#39;Times New Roman&#39;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-family:\u7b49\u7ebf\">\u9664\u4e86\u56fe\u5c42\u4e4b\u5916\uff0c\u65e0\u6cd5\u6307\u5b9a\u5c06\u5176\u4ed6\u4fe1\u606f\u6216<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u9875\u9762\u6216<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u6863\u4e2d\u7684\u54ea\u4e2a\u5bf9\u8c61\u5bfc\u5165\u5230\u76ee\u6807<\/span> PDF<span style=\"font-family:\u7b49\u7ebf\">\u4e2d<\/span><\/p>\n<p>2. <span style=\"font-family:\u7b49\u7ebf\">\u4ece<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u4e2d\u63d0\u53d6\u9875\u9762\uff0c\u7136\u540e\u5c06\u63d0\u53d6\u7684\u9875\u9762\u63d2\u5165\u5230\u76ee\u6807<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u4e2d<\/span><\/p>\n<p style=\"text-indent:13px\"><span style=\"font-family:\u7b49\u7ebf\">\u9002\u7528\u7248\u672c\uff1a<\/span>v7.1<span style=\"font-family:\u7b49\u7ebf\">\u6216\u66f4\u9ad8\u7248\u672c<\/span><\/p>\n<p style=\"text-indent:13px\"><span style=\"font-family:\u7b49\u7ebf\">\u76f8\u5173<\/span>API<span style=\"font-family:\u7b49\u7ebf\">\uff1a<\/span>foxit::pdf::PDFDoc::StartExtractPages<span style=\"font-family:\u7b49\u7ebf\">\u548c<\/span>foxit::pdf::PDFDoc::InsertDocument<\/p>\n<p style=\"text-indent:13px\"><span style=\"font-family:\u7b49\u7ebf\">\u63d0\u53d6\u9875\u9762\u9009\u9879\uff1a<\/span><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><img decoding=\"async\" src=\"https:\/\/support.fuxinsoft.cn\/wp-content\/uploads\/2023\/08\/7544fa5f01eaa336aa7e42e02cdfb66b.png\" title=\"1690876518344182.png\" alt=\"Picture2.png\"\/><\/p>\n<p style=\"text-indent:13px\"><span style=\"font-family:\u7b49\u7ebf\">\u63d2\u5165\u6587\u6863\u9009\u9879\uff1a<\/span><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><img decoding=\"async\" src=\"https:\/\/support.fuxinsoft.cn\/wp-content\/uploads\/2023\/08\/76cd8da33aa06d7dcb35cc815a90b821.png\" title=\"1690876545976560.png\" alt=\"Picture3.png\"\/><\/p>\n<p style=\"text-indent:13px\">&nbsp; Demo<span style=\"font-family:\u7b49\u7ebf\">\u6f14\u793a\uff1a\u8bf7\u53c2\u8003<\/span>Foxit PDF SDK<span style=\"font-family: \u7b49\u7ebf\">\u5305\u4e2d\u7684\u7b80\u5355\u6f14\u793a\u201c<\/span>page_organization<span style=\"font-family:\u7b49\u7ebf\">\u201d<\/span><\/p>\n<p style=\"text-indent:13px\"><span style=\"font-family:\u7b49\u7ebf\">&nbsp; \u8bf7\u6ce8\u610f\uff1a<\/span><\/p>\n<p style=\"margin-left:.25in\">&#8211;<span style=\"font:9px &#39;Times New Roman&#39;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-family:\u7b49\u7ebf\">\u5728\u5bf9<\/span> API StartExtractPages() <span style=\"font-family:\u7b49\u7ebf\">\u7684\u4e00\u6b21\u8c03\u7528\u4e2d\uff0c\u53ea\u80fd\u4ece<\/span> 1 <span style=\"font-family:\u7b49\u7ebf\">\u4e2a<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u4e2d\u63d0\u53d6\u9875\u9762\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728\u5bf9<\/span> InsertDocument() <span style=\"font-family:\u7b49\u7ebf\">\u7684\u4e00\u6b21\u8c03\u7528\u4e2d\uff0c\u53ea\u80fd\u5c06\u9875\u9762\u4ece<\/span> 1 <span style=\"font-family:\u7b49\u7ebf\">\u4e2a<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u63d2\u5165\u5230\u53e6\u4e00\u4e2a<\/span> PDF <span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u3002\uff08\u4e0d\u80fd\u4e00\u6b21\u5408\u5e76\u591a\u4e2a<\/span>PDF<span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\uff09<\/span><\/p>\n<p style=\"margin-left:.25in\">&#8211;<span style=\"font:9px &#39;Times New Roman&#39;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-family:\u7b49\u7ebf\">\u8c03\u7528<\/span> API StartExtractPages() <span style=\"font-family:\u7b49\u7ebf\">\u540e\uff0c\u88ab\u63d0\u53d6\u7684\u6587\u6863\u5c06\u4f1a\u88ab\u751f\u6210<\/span><\/p>\n<p style=\"margin-left:.25in\">&#8211;<span style=\"font:9px &#39;Times New Roman&#39;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-family:\u7b49\u7ebf\">\u53ef\u4ee5\u6307\u5b9a\u662f\u5426\u63d0\u53d6\u4e0d\u540c\u7684\u5bf9\u8c61\u6216\u4fe1\u606f\u3002\u4f46\u5728\u5411\u76ee\u6807<\/span>PDF<span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u63d2\u5165<\/span>PDF<span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u65f6\uff0c\u53ea\u80fd\u6307\u5b9a\u662f\u5426\u5411\u76ee\u6807<\/span>PDF<span style=\"font-family:\u7b49\u7ebf\">\u6587\u4ef6\u63d2\u5165\u9644\u4ef6\u6587\u4ef6\u3002<\/span><\/p>\n<p>3.&nbsp;<span style=\"font-family:\u7b49\u7ebf\">\u4f7f\u7528\u7c7b\u7ec4\u5408<\/span><\/p>\n<p>&nbsp; &nbsp;&nbsp;<span style=\"font-family:\u7b49\u7ebf\">\u9002\u7528\u7248\u672c\uff1a<\/span>v7.4<span style=\"font-family:\u7b49\u7ebf\">\u4ee5\u4e0a\u7248\u672c<\/span><\/p>\n<p>&nbsp; &nbsp;&nbsp;<span style=\"font-family:\u7b49\u7ebf\">\u76f8\u5173<\/span>API<span style=\"font-family:\u7b49\u7ebf\">\uff1a<\/span> <span style=\"font-family:\u7b49\u7ebf\">\u7c7b<\/span>foxit::pdf::Combination<\/p>\n<p>&nbsp; &nbsp;&nbsp;<span style=\"font-family:\u7b49\u7ebf\">\u5408\u5e76\u6587\u6863\u9009\u9879\uff1a<\/span><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><img decoding=\"async\" src=\"https:\/\/support.fuxinsoft.cn\/wp-content\/uploads\/2023\/08\/cf79efc73df042641d81351fe66d1c7f.png\" title=\"1690876594761551.png\" alt=\"Picture4.png\"\/><\/p>\n<p>&nbsp; &nbsp; &nbsp; Demo<span style=\"font-family:\u7b49\u7ebf\">\u6f14\u793a\uff1a<\/span>Foxit PDF SDK <span style=\"font-family:\u7b49\u7ebf\">\u5305\u4e2d\u5c1a\u672a\u63d0\u4f9b\u3002<\/span> Combination<span style=\"font-family:\u7b49\u7ebf\">\u7c7b\u7684<\/span>API<span style=\"font-family:\u7b49\u7ebf\">\u5f88\u5bb9\u6613\u7406\u89e3\uff0c\u6240\u4ee5<\/span>Combination<span style=\"font-family:\u7b49\u7ebf\">\u7c7b\u7684<\/span>API<span style=\"font-family:\u7b49\u7ebf\">\u8bf7\u53c2\u8003<\/span>API<span style=\"font-family:\u7b49\u7ebf\">\u53c2\u8003<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp;<span style=\"font-family: \u7b49\u7ebf;\">\u8bf7\u6ce8\u610f\uff1a\u53ef\u4ee5\u4e00\u6b21\u5408\u5e76\u591a\u4e2a<\/span> PDF <span style=\"font-family: \u7b49\u7ebf;\">\u6587\u4ef6<\/span><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><\/p>\n<p style=\"text-align: left; text-indent: 2em;\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 Foxit PDF SDK \u5408\u5e76 PDF \u6587\u4ef6\u7684\u65b9\u6cd5\u6709\u591a\u79cd 1. \u5c06\u9875\u9762\u4ece\u5176\u4ed6 PDF \u6587\u4ef6\u5bfc\u5165\u5230\u76ee\u6807  [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-269","post","type-post","status-publish","format-standard","hentry","category-software-development-kit"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"","_links":{"self":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=269"}],"version-history":[{"count":0,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/269\/revisions"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}