You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java client for [Api2Pdf REST API](https://www.api2pdf.com/documentation)
5
+
Java client for [Api2Pdf REST API](https://www.api2pdf.com/documentation/v2)
6
6
7
-
Api2Pdf.com is a REST API for instantly generating PDF documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), and images. The API also supports merge / concatenation of two or more PDFs. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, and **LibreOffice**.
7
+
Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, and adding bookmarks to PDFs. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.
8
8
9
9
-[Installation](#installation)
10
10
-[Resources](#resources)
@@ -21,7 +21,7 @@ The Java client library is available as a Maven Package and can be installed wit
21
21
<dependency>
22
22
<groupId>com.api2pdf.client</groupId>
23
23
<artifactId>api2pdf</artifactId>
24
-
<version>1.0.4</version>
24
+
<version>2.0.0</version>
25
25
</dependency>
26
26
</dependencies>
27
27
@@ -55,37 +55,37 @@ All usage starts by importing the api2pdf library and creating a new object.
55
55
Once you initialize the client, you can make calls like so:
Convert any office file to PDF, image file to PDF, email file to PDF, HTML to Word, HTML to Excel, and PDF to HTML. Any file that can be reasonably opened by LibreOffice should be convertible. Additionally, we have an endpoint for generating a *thumbnail* of the first page of your PDF or Office Document. This is great for generating an image preview of your files to users.
165
177
166
178
You must provide a url to the file. Our engine will consume the file at that URL and convert it to the PDF.
167
179
168
180
**Convert Microsoft Office Document or Image to PDF (load PDF in browser window (true or false) and specify a file name)**
## <aname="merge"></a>Merge / Concatenate Two or More PDFs
224
+
## <aname="merge"></a>PdfSharp
178
225
179
226
To use the merge endpoint, supply a list of urls to existing PDFs. The engine will consume all of the PDFs and merge them into a single PDF, in the order in which they were provided in the list.
180
227
181
228
**Merge PDFs from array of URLs to existing PDFs (load PDF in browser window (true or false) and specify a file name)****
Copy file name to clipboardExpand all lines: api2pdf/pom.xml
+3-4
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,12 @@
9
9
<artifactId>
10
10
api2pdf
11
11
</artifactId>
12
-
<version>1.0.3</version>
12
+
<version>2.0.0</version>
13
13
<name>
14
14
api2pdf
15
15
</name>
16
16
<description>
17
-
Api2Pdf is a powerful PDF generation API with no rate limits or file size constraints.
18
-
Generate PDFs from HTML, URLs, images, office documents, and more.
17
+
This client library is a wrapper for the Api2Pdf.com REST API. See full REST api documentation at https://www.api2pdf.com/documentation/v2. Api2Pdf is a powerful API that supports HTML to PDF, URL to PDF, HTML to Image, URL to Image, Thumbnail / image preview of an Office file, Office files (Word to PDF), HTML to Docx, HTML to excel, PDF to HTML, merge PDFs together, add bookmarks to PDFs, add passwords to PDFs
0 commit comments