<dependency> <groupId>com.aspose</groupId> <artifactId>aspose-page</artifactId> <version>19.12</version> </dependency>
compile(group: 'com.aspose', name: 'aspose-page', version: '19.12')
<dependency org="com.aspose" name="aspose-page" rev="19.12"> <artifact name="aspose-page" ext="jar"/> </dependency>
libraryDependencies += "com.aspose" % "aspose-page" % "19.12"
Java APIs for PS, EPS & XPS File Formats
Aspose.Page for Java offers to creating & manipulate XPS documents. It also provides functionality to convert XPS, PS & EPS documents to image formats & PDF.
Manipulate XPS Documents via Java
- Create and edit XPS document.
- Add or remove pages of XPS document.
- Save XPS documents as raster images & PDF.
- Work with canvases, paths and glyphs elements.
- Create vector graphics shapes (Path element) using a set of primitives (elliptical arcs, Bezier curve segments and straight line segments).
- Create text strings (Glyphs element).
- Group elements (Canvas element) to manipulate a group as a whole.
- Manipulate the appearance of graphics and text strings.
- Use brushes of different types including solid color brush, image brush, visual brush and more.
- Specify colors in different color spaces including sRGB, scRGB and any space based on ICC profile.
- Work with multiple documents inside an XPS document.
- Preserve print tickets in opened XPS document if any.
- Add default print tickets into new XPS document or an opened one if there�re no tickets in it.
- Manipulate hyperlinks associated with XPS elements.
- Manipulate, save and convert XPS outline items.
Convert PostScript Files via Java
- Supports PostScript language levels 1-3 with an exception of font types: Type2 (CFF), Type14 (Chameleon), Types 9, 10, 11, 32 (CID-Keyed)
- Save PS & EPS as PDF & images.
- Microsoft Windows: Windows Desktop & Server (x86, x64)
- macOS: Mac OS X
- Linux: Ubuntu, OpenSUSE, CentOS, and others
- Java Versions:
J2SE 8.0 (1.8)or above
Aspose.Page Java APIs are hosted at the Aspose Repository. You can easily use Aspose.Page for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Page for Java from Maven Repository documentation page.
Add Pages to Existing XPS Document
// create new XPS Document XpsDocument doc = new XpsDocument("output.xps"); // insert an empty page at beginning of pages list doc.insertPage(1, true); // save resultant XPS document doc.save("output.xps");
|22.12||December 30, 2022|
|22.11||November 24, 2022|
|22.10||October 28, 2022|
|22.9||September 19, 2022|
|22.8||August 29, 2022|
|22.7||July 20, 2022|
|22.6||June 9, 2022|
|22.5||June 9, 2022|
|22.4||April 20, 2022|
|22.2||February 16, 2022|
|21.12||December 22, 2021|
|21.11||November 24, 2021|
|21.10||October 22, 2021|
|21.8||August 23, 2021|
|21.7||July 21, 2021|
|21.6||June 21, 2021|
|21.4||April 16, 2021|
|21.2||February 18, 2021|
|21.1||January 20, 2021|
|20.12||December 18, 2020|
|20.11||November 12, 2020|
|20.10||October 14, 2020|
|20.9||September 11, 2020|
|20.8||August 7, 2020|
|20.7||July 21, 2020|
|20.6||June 22, 2020|
|20.5||May 21, 2020|
|20.4||April 13, 2020|
|20.3||March 23, 2020|
|20.1||January 19, 2020|
|19.12||December 18, 2019|
|19.11||November 13, 2019|
|19.10||October 15, 2019|
|19.9||September 12, 2019|
|19.8||August 16, 2019|
|19.7||July 29, 2019|
|19.6||June 28, 2019|
Aspose Total Aspose Page Aspose Java API page java library page java class XPS EPS PS PDF BMP TIFF JPEG PNG postscript canvas path glyph vector bezier solid color brush image brush visual brush sRGB scRGB ICC print schema Type2 CFF Type14 Chameleon CID raster Windows Linux Mac J2SE Maven EPS to BMP EPS to EMF EPS to JPG EPS to PDF EPS to PNG EPS to TIFF EPS to WMF postscript to BMP postscript to JPG postscript to PDF postscript to PNG postscript to TIFF XPS to BMP XPS to JPG XPS to PDF XPS to PNG XPS to TIFF text image page gradient visual brush transparency tiled image horizontal gradient opacity mask