pdf-wrapper | unicode aware PDF writing library that uses the ruby | Document Editor library

 by   yob Ruby Version: Current License: No License

kandi X-RAY | pdf-wrapper Summary

kandi X-RAY | pdf-wrapper Summary

pdf-wrapper is a Ruby library typically used in Editor, Document Editor applications. pdf-wrapper has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

PDF::Wrapper is a PDF generation library that uses the cairo and pango native libraries to do the heavy lifting. It essentially just wraps these general purpose graphics libraries with some sugar that makes them a little easier to use for making PDFs. The idea is to lever the low level tools in those libraries (drawing shapes, laying out text, importing raster images, etc) to build some higher level tools - tables, text boxes, borders, lists, repeating elements (headers/footers), etc. The API started off roughly following that of PDF::Writer, but it has since diverged significantly. I've spent some time contributing to a pure Ruby PDF generation library (Prawn[and its elegant and simple API is having a strong effect on the direction I've been taking PDF::Wrapper. A key motivation for writing this library is cairo's support for Unicode in PDFs. All text functions in this library require UTF-8 input, although as a native English speaker I've only tested non ASCII text a little, so any feedback is welcome. There also seems to be a lack of English documentation available for the ruby bindings to cairo/pango, so I'm aiming to document the code as much as possible to provide worked examples for others. I'm learning as I go though, so if regular users of either library spot techniques that fail best practice, please let me know. It's early days, so the API is far from stable and I'm hesitant to write extensive documentation just yet. It's the price you pay for being an early adopter. The examples/ dir should have a range of sample code, and I'll try to keep it up to date. I welcome all feedback, feature requests, patches and suggestions. In particular, what high level widgets would you like to see? What do you use when building reports and documents in GUI programs?.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pdf-wrapper has a low active ecosystem.
              It has 20 star(s) with 2 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              pdf-wrapper has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pdf-wrapper is current.

            kandi-Quality Quality

              pdf-wrapper has 0 bugs and 0 code smells.

            kandi-Security Security

              pdf-wrapper has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pdf-wrapper code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pdf-wrapper does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              pdf-wrapper releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.
              It has 2353 lines of code, 135 functions and 30 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pdf-wrapper and discovered the below as its top functions. This is intended to give you an instant insight into pdf-wrapper implemented functionality, and help decide if they suit your requirements.
            • Build a string for a given string
            • Creates a cell .
            • Draw a layout from the layout .
            • Start the new page .
            • Shows text area .
            • Set the preferences for the current page
            • calculate the image
            • Draw a rectangle .
            • Adds a table to the table .
            • Determine the image of the image .
            Get all kandi verified functions for this library.

            pdf-wrapper Key Features

            No Key Features are available at this moment for pdf-wrapper.

            pdf-wrapper Examples and Code Snippets

            No Code Snippets are available at this moment for pdf-wrapper.

            Community Discussions

            QUESTION

            Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder
            Asked 2020-May-24 at 08:49

            I have issue with reading the values from the application.properties file and get the following errors,

            ...

            ANSWER

            Answered 2020-May-24 at 06:39

            Check that those properties are actually defined in application.properties. There is also an application-aws.properties file, if the properties are only in that file then you will need to tell Spring Boot to enable the aws profile with SPRING_PROFILES_ACTIVE=aws, or add the aws properties with empty values in application.properties.

            If no Spring Boot profile is activated, it will only use the properties defined in application.properties.

            If you enable the aws profile, it will use use properties from application.properties as defaults, and then any matching properties defined in application-aws.properties will override those from application.properties if defined.

            If what you are trying to do it only use those AWS properties when deployed to AWS, then you might need to make a Configuration object that holds those properties in it(which is a better practice than including properties with @Value in code), and make the AmazonS3 bean creation conditional on those properties being set.

            Given that your project structure is a standard Maven structure, convention over configuration should apply and there should be no need to try and explicitly include application.properties with additional class path configuration. I.e everything under /src/main/resources should be available on the class path and to the application at runtime.

            Source https://stackoverflow.com/questions/61982132

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pdf-wrapper

            The recommended installation method is via Rubygems.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/yob/pdf-wrapper.git

          • CLI

            gh repo clone yob/pdf-wrapper

          • sshUrl

            git@github.com:yob/pdf-wrapper.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link