在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → jsPDF插件分享,将Html转PDF文件.zip

jsPDF插件分享,将Html转PDF文件.zip

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:4.05M
  • 下载次数:7
  • 浏览次数:72
  • 发布时间:2021-11-30
  • 实例类别:一般编程问题
  • 发 布 人:js2021
  • 文件格式:.zip
  • 所需积分:2
 

实例介绍

【实例简介】
使用的jsPDF插件,将Html转PDF文件,分享出来,希望对大家能有帮助,下载后直接引用资源开始转换之旅。
【实例截图】
【核心代码】
16359648043023706846.zip
└── jsPDF-master
├── bower.json
├── build.js
├── CNAME
├── CODE_OF_CONDUCT.md
├── dist
│   ├── jspdf.debug.js
│   └── jspdf.min.js
├── docs
│   ├── examples_js_editor.js.html
│   ├── examples_js_test_harness.js.html
│   ├── FontObject.html
│   ├── getting_started.md
│   ├── global.html
│   ├── index.html
│   ├── jsPDF.html
│   ├── jspdf.js.html
│   ├── libs_css_colors.js.html
│   ├── libs_html2pdf.js.html
│   ├── libs_require_require.js.html
│   ├── old-tests_libs_qunit.js.html
│   ├── plugins_acroform.js.html
│   ├── plugins_addhtml.js.html
│   ├── plugins_addimage.js.html
│   ├── plugins_annotations.js.html
│   ├── plugins_autoprint.js.html
│   ├── plugins_cell.js.html
│   ├── plugins_context2d.js.html
│   ├── plugins_from_html.js.html
│   ├── plugins_outline.js.html
│   ├── plugins_split_text_to_size.js.html
│   ├── plugins_svg.js.html
│   ├── plugins_viewerpreferences.js.html
│   ├── plugins_xmp_metadata.js.html
│   ├── PubSub.html
│   ├── scripts
│   │   ├── linenumber.js
│   │   └── prettify
│   │   ├── Apache-License-2.0.txt
│   │   ├── lang-css.js
│   │   └── prettify.js
│   ├── specs_utils_compare.js.html
│   ├── specs_utils_reference-server.js.html
│   ├── styles
│   │   ├── jsdoc.css
│   │   └── prettify.css
│   └── test_libs_qunit.js.html
├── examples
│   ├── annotation
│   │   ├── test_annotation_2.html
│   │   ├── test_annotation.html
│   │   ├── test_annotation-magFactor.pdf
│   │   └── test_annotation.pdf
│   ├── basic.html
│   ├── bootstrap
│   │   ├── css
│   │   │   ├── bootstrap.css
│   │   │   ├── bootstrap.min.css
│   │   │   ├── bootstrap-responsive.css
│   │   │   └── bootstrap-responsive.min.css
│   │   ├── img
│   │   │   ├── glyphicons-halflings.png
│   │   │   └── glyphicons-halflings-white.png
│   │   └── js
│   │   ├── bootstrap.js
│   │   └── bootstrap.min.js
│   ├── canvg_context2d
│   │   └── bar_graph_with_text_and_lines.html
│   ├── context2d
│   │   ├── test_context2d.html
│   │   └── test_context2d_paths.html
│   ├── css
│   │   ├── editor.css
│   │   ├── main.css
│   │   └── smoothness
│   │   ├── images
│   │   │   ├── ui-bg_flat_0_aaaaaa_40x100.png
│   │   │   ├── ui-bg_flat_75_ffffff_40x100.png
│   │   │   ├── ui-bg_glass_55_fbf9ee_1x400.png
│   │   │   ├── ui-bg_glass_65_ffffff_1x400.png
│   │   │   ├── ui-bg_glass_75_dadada_1x400.png
│   │   │   ├── ui-bg_glass_75_e6e6e6_1x400.png
│   │   │   ├── ui-bg_glass_95_fef1ec_1x400.png
│   │   │   ├── ui-bg_highlight-soft_75_cccccc_1x100.png
│   │   │   ├── ui-icons_222222_256x240.png
│   │   │   ├── ui-icons_2e83ff_256x240.png
│   │   │   ├── ui-icons_454545_256x240.png
│   │   │   ├── ui-icons_888888_256x240.png
│   │   │   └── ui-icons_cd0a0a_256x240.png
│   │   └── jquery-ui-1.8.17.custom.css
│   ├── downloadify.html
│   ├── html2pdf
│   │   ├── auto_break.html
│   │   ├── examples.css
│   │   ├── images
│   │   │   └── favicon.png
│   │   ├── lists.html
│   │   ├── page_break.html
│   │   ├── pdf2.html
│   │   ├── pdf.html
│   │   ├── showcase.html
│   │   ├── showcase_supported_html.html
│   │   ├── simple.html
│   │   ├── tables.html
│   │   └── total_mess.html
│   ├── images
│   │   ├── 24_bit.png
│   │   ├── 32_bit.png
│   │   ├── grayscale_16bpc.png
│   │   ├── grayscale_8bpc.png
│   │   ├── grayscale_alpha_16_bpc.png
│   │   ├── grayscale_alpha_8bpc.png
│   │   ├── grid.png
│   │   ├── jpg.jpg
│   │   ├── png8_flat.png
│   │   ├── png8_trans.png
│   │   ├── RGB_16bpc.png
│   │   ├── RGBA_16bpc.png
│   │   └── tiny_png_indexed.png
│   ├── images.html
│   ├── jaxer.html
│   ├── js
│   │   ├── acroforms.js
│   │   ├── autoprint.js
│   │   ├── basic.js
│   │   ├── circles.js
│   │   ├── editor.js
│   │   ├── font-faces.js
│   │   ├── font-size.js
│   │   ├── from-html.js
│   │   ├── html2canvas.js
│   │   ├── images.js
│   │   ├── images_png.js
│   │   ├── jquery
│   │   │   ├── jquery-1.7.1.min.js
│   │   │   └── jquery-ui-1.8.17.custom.min.js
│   │   ├── kitchen-sink.js
│   │   ├── landscape.js
│   │   ├── lines.js
│   │   ├── rectangles.js
│   │   ├── string-splitting.js
│   │   ├── test_harness.js
│   │   ├── text-colors.js
│   │   ├── theme-ambiance.js
│   │   ├── triangles.js
│   │   ├── two-page.js
│   │   └── user-input.js
│   ├── jspdf.PLUGINTEMPLATE.js
│   ├── null-logo-trans.png
│   ├── octocat.jpg
│   ├── octocat.png
│   ├── outline
│   │   ├── test_outline.html
│   │   └── test_outline.pdf
│   ├── runner.html
│   ├── test_from_html_css_page_breaks.html
│   ├── test_from_html.html
│   ├── test_insert_page.html
│   └── thinking-monkey.jpg
├── HOTFIX_README.md
├── index.html
├── ISSUE_TEMPLATE.md
├── jsdoc.json
├── jspdf.js
├── karma.conf.js
├── libs
│   ├── adler32cs.js
│   ├── canvg_context2d
│   │   ├── canvg.js
│   │   ├── libs
│   │   │   ├── rgbcolor.js
│   │   │   └── StackBlur.js
│   │   └── README.md
│   ├── css_colors.js
│   ├── Deflater.js
│   ├── Downloadify
│   │   ├── images
│   │   │   └── download.png
│   │   ├── js
│   │   │   ├── downloadify.min.js
│   │   │   └── swfobject.js
│   │   ├── LICENSE.txt
│   │   ├── media
│   │   │   └── downloadify.swf
│   │   ├── README.textile
│   │   ├── src
│   │   │   ├── com
│   │   │   │   └── dynamicflash
│   │   │   │   └── util
│   │   │   │   ├── Base64.as
│   │   │   │   └── tests
│   │   │   │   └── Base64Test.as
│   │   │   ├── Downloadify.as
│   │   │   └── downloadify.js
│   │   └── test.html
│   ├── html2canvas
│   │   ├── dist
│   │   │   └── html2canvas.js
│   │   ├── LICENSE
│   │   ├── readme.md
│   │   └── src
│   │   ├── clone.js
│   │   ├── color.js
│   │   ├── core.js
│   │   ├── dummyimagecontainer.js
│   │   ├── fallback.js
│   │   ├── font.js
│   │   ├── fontmetrics.js
│   │   ├── framecontainer.js
│   │   ├── gradientcontainer.js
│   │   ├── imagecontainer.js
│   │   ├── imageloader.js
│   │   ├── lineargradientcontainer.js
│   │   ├── log.js
│   │   ├── nodecontainer.js
│   │   ├── nodeparser.js
│   │   ├── promise.js
│   │   ├── proxyimagecontainer.js
│   │   ├── proxy.js
│   │   ├── pseudoelementcontainer.js
│   │   ├── renderer.js
│   │   ├── renderers
│   │   │   └── canvas.js
│   │   ├── stackingcontext.js
│   │   ├── support.js
│   │   ├── svgcontainer.js
│   │   ├── svgnodecontainer.js
│   │   ├── textcontainer.js
│   │   ├── utils.js
│   │   ├── webkitgradientcontainer.js
│   │   └── xhr.js
│   ├── html2pdf.js
│   ├── png_support
│   │   ├── png.js
│   │   └── zlib.js
│   ├── polyfill.js
│   ├── README
│   ├── require
│   │   ├── config.js
│   │   └── require.js
│   └── ttffont.js
├── main.js
├── MIT-LICENSE.txt
├── package.json
├── plugins
│   ├── acroform.js
│   ├── addhtml.js
│   ├── addimage.js
│   ├── annotations.js
│   ├── arabic.js
│   ├── autoprint.js
│   ├── canvas.js
│   ├── cell.js
│   ├── context2d.js
│   ├── from_html.js
│   ├── javascript.js
│   ├── outline.js
│   ├── png_support.js
│   ├── setlanguage.js
│   ├── split_text_to_size.js
│   ├── standard_fonts_metrics.js
│   ├── svg.js
│   ├── total_pages.js
│   ├── ttfsupport.js
│   ├── utf8.js
│   ├── vfs.js
│   ├── viewerpreferences.js
│   └── xmp_metadata.js
├── README.md
├── RELEASE.md
├── saucelabs.karma.conf.js
├── tests
│   ├── acroform
│   │   ├── reference
│   │   │   ├── checkbox.pdf
│   │   │   ├── combobox.pdf
│   │   │   ├── listbox.pdf
│   │   │   ├── password.pdf
│   │   │   ├── pushbutton.pdf
│   │   │   ├── radiogroup.pdf
│   │   │   └── textfield.pdf
│   │   └── standard.spec.js
│   ├── addhtml
│   │   ├── reference
│   │   │   └── html-output.pdf
│   │   └── standard.spec.js
│   ├── addimage
│   │   ├── filetypeRecognition.spec.js
│   │   ├── getImageProperties.spec.js
│   │   ├── jpeg.spec.js
│   │   ├── png.spec.js
│   │   ├── reference
│   │   │   ├── blackpixel.pdf
│   │   │   ├── colortype_1_grayscale_8_bit_png.pdf
│   │   │   ├── colortype_2_rgb_16_bit_png.pdf
│   │   │   ├── colortype_2_rgb_8_bit_png.pdf
│   │   │   ├── colortype_3_indexed_multi_colour_alpha_8_bit_png.pdf
│   │   │   ├── colortype_3_indexed_single_colour_alpha_4_bit_png.pdf
│   │   │   ├── colortype_3_indexed_single_colour_alpha_8_bit_png.pdf
│   │   │   ├── colortype_4_grayscale_alpha_16_bit_png.pdf
│   │   │   ├── colortype_4_grayscale_alpha_8_bit_png.pdf
│   │   │   ├── colortype_6_rgba_16_bit_png.pdf
│   │   │   ├── colortype_6_rgba_8_bit_png.pdf
│   │   │   ├── jpg.pdf
│   │   │   ├── rotation-45.pdf
│   │   │   └── rotation-90.pdf
│   │   └── standard.spec.js
│   ├── annotations
│   │   ├── reference
│   │   │   ├── closed.pdf
│   │   │   ├── freetext.pdf
│   │   │   └── open.pdf
│   │   └── standard.spec.js
│   ├── autoprint
│   │   ├── reference
│   │   │   ├── autoprint-js.pdf
│   │   │   └── autoprint-nc.pdf
│   │   └── standard.spec.js
│   ├── init
│   │   ├── reference
│   │   │   ├── cm.pdf
│   │   │   ├── compress.pdf
│   │   │   ├── em.pdf
│   │   │   ├── ex.pdf
│   │   │   ├── in.pdf
│   │   │   ├── landscape.pdf
│   │   │   ├── mm.pdf
│   │   │   ├── pc.pdf
│   │   │   ├── properties.pdf
│   │   │   ├── pt.pdf
│   │   │   └── px.pdf
│   │   └── standard.spec.js
│   ├── outline
│   │   ├── reference
│   │   │   ├── bookmark-in.pdf
│   │   │   ├── bookmark-mm.pdf
│   │   │   └── bookmark-pt.pdf
│   │   └── standard.spec.js
│   ├── pages
│   │   ├── display-mode.spec.js
│   │   ├── reference
│   │   │   ├── 2pages.pdf
│   │   │   ├── 3pages.pdf
│   │   │   ├── continuous.pdf
│   │   │   ├── fullscreen.pdf
│   │   │   ├── outlines.pdf
│   │   │   ├── single.pdf
│   │   │   ├── thumbs.pdf
│   │   │   ├── twoleft.pdf
│   │   │   ├── tworight.pdf
│   │   │   ├── zoom-2x.pdf
│   │   │   ├── zoom-3x.pdf
│   │   │   ├── zoom-full-height.pdf
│   │   │   ├── zoom-full-page.pdf
│   │   │   ├── zoom-full-width.pdf
│   │   │   └── zoom-original.pdf
│   │   └── standard.spec.js
│   ├── README.md
│   ├── setlanguage
│   │   ├── reference
│   │   │   └── enUS.pdf
│   │   └── standard.spec.js
│   ├── shapes
│   │   ├── reference
│   │   │   ├── circles.pdf
│   │   │   ├── fill-color.pdf
│   │   │   ├── line.pdf
│   │   │   ├── lines.pdf
│   │   │   └── rectangles.pdf
│   │   └── standard.spec.js
│   ├── text
│   │   ├── reference
│   │   │   ├── alignment.pdf
│   │   │   ├── alternating-text-styling.pdf
│   │   │   ├── angle.pdf
│   │   │   ├── blank.pdf
│   │   │   ├── color.pdf
│   │   │   ├── different-sizes.pdf
│   │   │   ├── font-faces.pdf
│   │   │   ├── letter-spacing.pdf
│   │   │   ├── line-break.pdf
│   │   │   ├── red-black.pdf
│   │   │   ├── standard.pdf
│   │   │   ├── stroke.pdf
│   │   │   └── two-page.pdf
│   │   └── standard.spec.js
│   ├── unicode
│   │   ├── arabic.spec.js
│   │   ├── japanese.spec.js
│   │   ├── reference
│   │   │   ├── arabic.pdf
│   │   │   ├── japanese-kana-nani.pdf
│   │   │   ├── russian-1line.pdf
│   │   │   └── russian-2line.pdf
│   │   └── standard.spec.js
│   ├── utils
│   │   ├── compare.js
│   │   └── reference-server.js
│   └── viewerpreferences
│   ├── reference
│   │   ├── FitWindow.pdf
│   │   ├── HideMenubar.pdf
│   │   ├── HideToolbar.pdf
│   │   ├── HideWindowUI.pdf
│   │   ├── PrintPageRange.pdf
│   │   └── ViewAreaMediaBox.pdf
│   └── standard.spec.js
└── yarn.lock

70 directories, 338 files

标签:

实例下载地址

jsPDF插件分享,将Html转PDF文件.zip

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警