sejda | An extendible and configurable PDF manipulation layer library written in java | Document Editor library

 by   torakiki Java Version: v4.2.5 License: AGPL-3.0

kandi X-RAY | sejda Summary

kandi X-RAY | sejda Summary

sejda is a Java library typically used in Editor, Document Editor applications. sejda has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has high support. You can download it from GitHub, Maven.

An extendible and configurable PDF manipulation layer library written in java.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sejda has a highly active ecosystem.
              It has 439 star(s) with 62 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 29 open issues and 377 have been closed. On average issues are closed in 107 days. There are no pull requests.
              It has a positive sentiment in the developer community.
              The latest version of sejda is v4.2.5

            kandi-Quality Quality

              sejda has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              sejda is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              sejda releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed sejda and discovered the below as its top functions. This is intended to give you an instant insight into sejda implemented functionality, and help decide if they suit your requirements.
            • Entry point for execution .
            • Generate to csv .
            • Wrap a rawLabel into a list of lines
            • Returns a list of pages that match the given level .
            • Removes all pages from a list of page labels .
            • Try to convert a JPEG image to RGB .
            • Adds a page to the document .
            • Updates the form and returns the initial fields of the original form .
            • Update xmp metadata .
            • Creates a copy of the PDPage object .
            Get all kandi verified functions for this library.

            sejda Key Features

            No Key Features are available at this moment for sejda.

            sejda Examples and Code Snippets

            No Code Snippets are available at this moment for sejda.

            Community Discussions

            QUESTION

            Failed to bind properties under 'logging.level.org.quartz' to org.springframework.boot.logging.LogLevel
            Asked 2020-Apr-11 at 07:18

            After migrating to the latest release of Spring Boot 2.2.1 from 2.1, my tests started to fail due to binding exceptions involving Quartz Scheduler logging (btw, using Java 8). I have defined the log levels in my app properties file in compliance with Spring Boot docs, so I fail to see why the error is popping up. I am pretty sure there is some misconfiguration in the logging props or in the configuration class, since ALL the tests are failing on the same error, but simply cannot find it. Below are my error outputs and relevant files.

            Error log from Intellij:

            ...

            ANSWER

            Answered 2019-Nov-13 at 10:12

            The following two lines in the stack trace clearly say that logging.level.org.quartz is set to ON somewhere. Try checking your property files or IDE run configuration for this property. Enabling debug logging could help as well.

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

            QUESTION

            How to run a command using System.Diagnostics.Process?
            Asked 2019-Aug-05 at 19:55

            What is wrong with this code to run a command in command prompt? I try to run this code and it does not give any error and it does not do what it is supposed to do. It works fine if I copy the command to command prompt and run it manually?

            Thank you!

            ...

            ANSWER

            Answered 2019-Aug-05 at 16:49
            1. You are missing /C to send arguments to cmd.exe
            2. Add backslash after \bin\
            3. Wrap your command line arguments with quotes.

            So your code should look like:

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

            QUESTION

            Encrypted PDF using RC4 ignores permissions
            Asked 2019-Feb-03 at 00:55

            I'm facing an issue that I can't explain.

            I've made a PDF file and then decided to encrypt it using the old RC4 format. Once done, I get an "encrypted" file back.

            Reading the content of that file shows it has been encrypted, and the permissions are correct, ie:

            ...

            ANSWER

            Answered 2019-Jan-25 at 15:19

            Not all PDF software is created equal, this simply appears to be a bug in FireFox while not in Chrome with regard to respecting the intent of the document creator by restricting user access.

            I went through your instructions with my own PDF and when I open the resulting encrypted document in Acrobat DC, it correctly doesn't allow printing or exporting images. I can also confirm viewing the document properties that the permissions are set correctly. That tells me there's nothing wrong with the way the encrypted PDF was created but rather it's a problem with how this PDF viewer is respecting its permissions.

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

            QUESTION

            Strange behaviour of sejda-console in batch for loop
            Asked 2017-Nov-18 at 14:17

            I try to write a wrapper script for songbook generation using lilypond, latex and sejda-console (for the pdf part). Everything works so far, but I have a problem with sejda that is giving me nuts. Here is the relevant part of my code:

            ...

            ANSWER

            Answered 2017-Nov-18 at 14:17

            I'd suggest that sejda.bat is changing the current directory.

            Try

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

            QUESTION

            Access VBA Shell command not working
            Asked 2017-Jul-20 at 15:06

            so I'm trying to get a very simple shell command to execute a batch file that's created, but for some reason the shell command doesn't do anything.

            The batch file gets created and when I double click on the batch file it executes the script just fine, but if I try to call the shell command in VBA it appears that it tries to open a command window, but immediately closes it after, not producing any errors. This code used to work fine before I reformatted this laptop AND this code works on another system running Server 2012 R2 (I'm running windows 10)

            ...

            ANSWER

            Answered 2017-Jul-20 at 15:06

            Thanks to Andre I was able to get the script to work inside VBA's Shell command.

            By setting the PATH for my JRE to JAVA_HOME I was able to successfully launch the script.

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

            QUESTION

            Split and merge pdf files using PDFBOX produces large file
            Asked 2017-Jul-12 at 04:27

            I have this large print file in pdf that's contains 5544 pages and is about 36mb in size. The file is created by MS Word 2010 and contains only text and a logo on each letter/document.

            I split it into 5544 files and merge back into 2770 letters, based on keywords. Each letter is approx. 140-145kb.

            When I merge all the letters into a new pdf print file, still containing 5544 pages, the size of the file is grown to 396mb.

            All text extracting, splitting and merging is performed with calls to Apache PDFBox command-line tools from PHP, but result is the same when run from a console.

            Any idea how to reduce the file size of the letters and the final print file? It seems like PDFBox has just appended each letters in the final print file, instead creating a new pdf-document.

            It's only in the testing phase that all the documents are merged into the final print file, some of the documents will be send by email.

            I have also tried SAMBox (a fork of PDFBox) but with nearly the same result:

            pdfinfo Original.pdf Title: Printfile Author: Claus Hjort Bube Creator: Microsoft® Word 2010 Producer: Microsoft® Word 2010 CreationDate: Fri May 19 12:16:34 2017 CEST ModDate: Fri May 19 12:16:34 2017 CEST Tagged: yes UserProperties: no Suspects: no Form: none JavaScript: no Pages: 5544 Encrypted: no Page size: 595.32 x 841.92 pts (A4) Page rot: 0 File size: 36092281 bytes Optimized: no PDF version: 1.5

            pdfinfo PDFBox.pdf Title: Printfile Author: Claus Hjort Bube Creator: Microsoft® Word 2010 Producer: Microsoft® Word 2010 CreationDate: Fri May 19 12:16:34 2017 CEST ModDate: Fri May 19 12:16:34 2017 CEST Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 5544 Encrypted: no Page size: 595.32 x 841.92 pts (A4) Page rot: 0 File size: 396622354 bytes Optimized: no PDF version: 1.4

            pdfinfo SAMBox.pdf Creator: Sejda Console 3.2.17 Producer: SAMBox 1.1.8 (www.sejda.org) ModDate: Tue Jul 11 23:34:33 2017 CEST Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 5544 Encrypted: no Page size: 595.32 x 841.92 pts (A4) Page rot: 0 File size: 378779436 bytes Optimized: no PDF version: 1.7

            ...

            ANSWER

            Answered 2017-Jul-12 at 04:27

            That may sound sad but it is correct. When splitting, each file gets the resources (e.g. fonts and company logo graphic) it needs. When merged back, PDFBox does not know that these may be the same over the whole document, so these are now duplicated a lot.

            The only solution I see for you would be to use the PDFBox java API to create the mailing files and the final print file in one step, i.e. without creating single files that are merged back.

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

            QUESTION

            Not printing anything after for loop in a batch script
            Asked 2017-May-26 at 14:28

            Below is my batch script which is not executing the line after for loop end. It's not print echo end or the line after that. The line asciidoctor-pdf C:\Users\abc\Conversion_to_PDF\OutputFiles\*.adoc is causing it. But I am not sure with what the problem is.

            ...

            ANSWER

            Answered 2017-May-26 at 14:28

            QUESTION

            sejda-console creates the --output file as hidden attribute
            Asked 2017-May-19 at 06:09

            I'm using the merge command of sejda-console 3.1 version for Windows in Win-7 command line window. Like this:

            ...

            ANSWER

            Answered 2017-May-19 at 06:09

            That's an issue and has been fixed, just upgrade to a more recent version, 3.1.2 or higher

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

            QUESTION

            Sejda merging PDFs from CSV filelist names
            Asked 2017-Apr-05 at 07:31

            I recently installed sedja-console for merging pdf files from command line.

            The names of the input pdf files are in a CSV file named filelist-inputs.csv like this:

            ...

            ANSWER

            Answered 2017-Apr-05 at 07:31

            Sejda takes all the values in the CSV and generates a single merged PDF, there isn't any option or setting in Sejda to achieve what you asked, you will need some scripting to loop through the CSV lines, create a CSV per line and feed it to Sejda.

            The output file name merged[FILENUMBER####].pdf is literally used because the PDF merge task generates one output file and it expects an explicit output file name. Prefixes like [CURRENTPAGE] or [FILENUMBER] are valid when used as -p argument in tasks generating multiple output PDF files (split tasks etc).

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install sejda

            You can download it from GitHub, Maven.
            You can use sejda like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the sejda component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            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/torakiki/sejda.git

          • CLI

            gh repo clone torakiki/sejda

          • sshUrl

            git@github.com:torakiki/sejda.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