The modifications can be to the PDF object structure like removing To be more specific, it is easily possible to read an existing PDF with HexaPDF and modify parts of Prawn is a library for generating content. The main difference between HexaPDF and Prawn is that HexaPDF is a full PDF library whereas HexaPDF itself is distributed via Rubygems and therefore easily installable via gem install On cmdparse, a command line parsing library. The hexapdf application has an additional dependency Written and provided by the HexaPDF authors. ).Īpart from Ruby itself the HexaPDF library has only one external dependency geom2d which is Platform supported by Ruby (Linux, macOS, Windows. HexaPDF works on all Ruby implementations that are CRuby compatible, e.g. Higher as prior versions are not supported! Official installation documentation for details. Since HexaPDF is written in Ruby, a working Ruby installation is needed - see the With example graphics and PDF files and tightly integrated into the rest of the website. It is recommend to use the HTML API documentation provided by the HexaPDF website as it is enhanced write ( " hello-world.pdf " )įor detailed information have a look at the HexaPDF website where you will the API font ( ' Helvetica ', size: 100 ) canvas. PDF file: require ' hexapdf ' doc = HexaPDF :: Document. Here is a "Hello World" example that shows how to create a simple When HexaPDF is used as a library, it can be used to do all the task that the command lineĪpplication does and much more. The applicationĬan be used to perform common tasks like merging PDF files, decrypting or encrypting PDF files and The HexaPDF distribution provides the library as well as the hexapdf application.
0 Comments
Leave a Reply. |