Questions tagged [sejda]

Sejda is a set of tools built to easily perform tasks on existing PDF documents. Under the Sejda umbrella are a set of open source Java libraries, an open source command line interface and a web interface.

Sejda is a set of tools built to easily perform tasks like split, merge, rotate, etc on existing PDF documents. Under the Sejda umbrella are a set of open source Java libraries, an open source command line interface and a web interface.

Sejda homepage
Sejda web interface
Sejda source code
Sejda I/O
Sejda event studio

22 questions
2
votes
2 answers

Sejda-console split by text : set the output file name to the changed value?

I'm looking to use Sejda to burst a PDF file with payslips into individual payslip files. The split by text option perfectly splits the files per employee number (changing value on the page). I would like to include this changing value in the…
1
vote
0 answers

Merging PDF's with special characters in file name with Sejda Console via .CSV

I'm new to this forum and I'm not a programmer, so forgive me if I'm asking stupid questions... I'm trying to merge some pdf's to 1 pdf with Sejda Console using a .csv file, but when the .csv contains special characters (e.g. ø) Sejda returns with: …
Davy
  • 11
  • 2
1
vote
1 answer

Sejda merging PDFs from CSV filelist names

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…
Trimax
  • 2,035
  • 6
  • 30
  • 52
1
vote
1 answer

Adding the total number of pages to the page number in Sejda

I'm using the sejda-console to add page numbers to a PDF and I would like to include the total number of pages. For example, if my PDF has 20 pages, I would like it to say "page 1 of 20" on the first page and so on. How can I do this with sejda?
1
vote
1 answer

error attempting to merge PDFs with bookmark using sejda-console

I have downloaded sejda-console and want to use it to merge PDFs and create a table of contents bookmarking each of the merged PDF in the output document. I thought I understood the syntax, but I am encountering an error: $…
1
vote
1 answer

Resize multiple single PDF per command line

We have around 100 PDFs in a folder with different page sizes (i.e. A4, weirder ones) but all with the A4 length to width ratio. Now we need to resize all to the same size, namely A4. At the moment we have Sejda in use for merging some PDFs per…
InDubio
  • 57
  • 1
  • 9
1
vote
0 answers

SEJDA API: How can perform a simple pdf split by all pages?

I am trying to split a pdf by all pages grammatically, like this: SimpleSplitParameters params = new SimpleSplitParameters(PredefinedSetOfPages.ALL_PAGES); PdfFileSource pdfS =…
1
vote
1 answer

Extracting Page-level ASCII Text from a Collection of Multi-page PDFs?

I am trying to get page level ASCII text out of a series of multi-page PDFs. My current process is to split all of the PDFs with Sejda (an awesome tool) in batch and then extract text from the divided PDFs (in Sejda as batch) to corresponding text…
1
vote
3 answers

sejda-console.bat passing parameters with spaces

I am using sejda-console.bat and I am running into difficulties with parameters when there is a space involved. I am trying to use the simplesplit feature and I am calling the console as follows: call sejda-console.bat simplesplit -f %1 -o %~dp1 -s…
pentesh
  • 21
  • 3
0
votes
1 answer

Sejda HTML to PDF : how to keep thead on all pages where a table is displayed?

I'm using SEJDA API with PHP to convert HTML to PDF. In this HTML, I have multiple tables with a variable number of rows, and each of them have a variable height, with a variable number of columns, etc. Sometimes one (or more) table is long enough…
Vae
  • 521
  • 5
  • 16
0
votes
1 answer

adding watermark- limitation

I started using Sejda for adding watermark for large volume of pages. Unfortunately below exception shows up : Task failed. Reason was: TaskPermissionsException: Permission MODIFY is not granted. According to information from sejda sdk web, there…
dzakobo
  • 1
  • 1
0
votes
1 answer

How can I replace text in PDF using Sjeda?

I need to replace a specific text or tags in a PDF file and save it. I tried, iText, PDFBox and other libraries, but nothing works correctly. Currently am going to use Sejda SDK but I cannot find the code which actually does the replacement. They…
Imad Eddin
  • 41
  • 1
  • 4
0
votes
1 answer

Sejda-Console HTML to PDF Conversion

I am attempting to convert HTML documents to PDF format using a bash script. I've found that the Sejda converter does a good job of fully rendering the charts I need, but am having some trouble using it in the console rather than the web interface.…
0
votes
1 answer

Strange behaviour of sejda-console in batch for loop

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: for %%i in…
0
votes
1 answer

sejda-console creates the --output file as hidden attribute

I'm using the merge command of sejda-console 3.1 version for Windows in Win-7 command line window. Like this: > sejda-console merge -f D:\PDF_INPUT\1.pdf D:\PDF_INPUT\2.pdf -o D:\PDF_OUTPUT\merged_file.pdf The output file merged_file.pdfis created…
Trimax
  • 2,035
  • 6
  • 30
  • 52
1
2