首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏技术社区

    前端【vue】实现文档在线预览功能,在线预览pdf、word、xls、ppt等office文件

    Please download the PDF to view it: Download PDF </object> 1 2 六、PDFObject PDFObject实际上也是通过标签实现的直接上代码 <! head> <title>Show PDF</title> <meta charset="utf-8" /> <script type="text/javascript" src='<em>pdfobject</em>.min.js ){ // PDF嵌入到网页 <em>PDFObject</em>.embed("index.pdf", "#pdf_viewer" ); } else { location.href = "/canvas"; } // 还可以通过以下代码进行判断是否支持<em>PDFObject</em>预览 if(<em>PDFObject</em>.supportsPDFs){ console.log

    29.6K21编辑于 2022-06-17
  • 来自专栏业余草

    web版pdf在线阅读器

    content="text/html; charset=utf-8" /> <title>pdf在线阅读器</title> <script type="text/javascript" src="js/<em>pdfobject</em>.min.js " ></script> <script type="text/javascript"> window.onload = function (){ var success = new PDFObject

    4.7K10发布于 2019-01-21
  • 来自专栏全栈程序员必看

    怎么用浏览器在线打开pdf文件_PDF文件怎么编辑

    PDFObject PDFobject可以帮助你在页面直接嵌入pdf文件,有时候有些项目需要动态地嵌入PDF文件。 PDFObject为此而设计的,他能够快速和容易的嵌入PDF文件,PDFObject使用JavaScript来产生相同的符合标准的 标记,然后插入 到您的HTML元素的选择。

    8.8K60编辑于 2022-09-20
  • 来自专栏Cell的前端专栏

    hexo-theme-next @modified LRH

    2 3 4 5 6 7 8 9 10 11 12 13 14 15 pdf: enable: false # Default height height: 500px pdfobject : cdn: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js #cdn: //cdnjs.cloudflare.com/ajax/ libs/pdfobject/2.1.1/pdfobject.min.js # Mermaid tag mermaid: enable: false # Available themes: default

    42420编辑于 2022-02-25
  • Dify+Firecrawl+Playwright实现半自动抓取及LLM舆情分析

    给页面 JS 一点加载时间 pdf_url = None # 尝试方法 1:直接查找 <embed> embed = page.locator("embed.pdfobject = page.frame_locator("iframe").first.frame() embed_in_iframe = frame.locator("embed.pdfobject

    3.4K10编辑于 2025-05-27
  • 来自专栏日积月累1024

    PDF Explained(翻译)第三章 文件结构

    pdfobject ::= Null | Boolean of bool | Integer of int | Real of real | String of string | Name of string | Array of pdfobject array | Dictionary of (string, pdfobject) //array Array of (string, pdfobject) pairs | Stream of (pdfobject, bytes) //Stream dictionary and stream data | Indirect of int 例如,对象<< /Kids [

    1.9K40发布于 2021-07-16
  • 来自专栏python3

    Unity3D读取PDF文件内容

    { foreach (PdfName name in xobj.Keys) { PdfObject

    2.1K30发布于 2020-01-07
  • Hexo之Next主题美化代码

    transition: tabs: false labels: true border_radius: 0 # PDF tag, requires two plugins: pdfObject and pdf.js # pdfObject will try to load pdf files natively, if failed, pdf.js will be used. # The following `cdn` setting is only for pdfObject, because cdn for pdf.js might be blocked by CORS policy. # So, you : //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js # pdfobject: //cdnjs.cloudflare.com/ajax/libs /pdfobject/2.1.1/pdfobject.min.js pdfobject: # Mermaid # mermaid: //cdn.jsdelivr.net/npm/mermaid

    2.4K20编辑于 2022-12-28
领券