# Aspose.Page-for-Java **Repository Path**: william0598/Aspose.Page-for-Java ## Basic Information - **Project Name**: Aspose.Page-for-Java - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-01 - **Last Updated**: 2021-10-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README  # Java APIs for PS, EPS & XPS File Formats [Aspose.Page for Java](https://products.aspose.com/page/java) offers to creating & manipulate XPS documents. It also provides functionality to convert XPS, PS & EPS documents to image formats & PDF.
Directory | Description --------- | ----------- [Examples](Examples) | A collection of Java examples that help you learn the product features. ## 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. ## Supported Environments - **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 ## Get Started with Aspose.Page for Java Aspose hosts all Java APIs at the [Aspose Repository](https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-page). 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](https://docs.aspose.com/page/java/installation/) documentation page. ## Add Pages to Existing XPS Document ```java // 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"); ``` [Home](https://www.aspose.com/) | [Product Page](https://products.aspose.com/page/java) | [Docs](https://docs.aspose.com/page/java/) | [Demos](https://products.aspose.app/page/family) | [API Reference](https://apireference.aspose.com/page/java) | [Examples](https://github.com/aspose-page/Aspose.Page-for-Java) | [Blog](https://blog.aspose.com/category/page/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/page) | [Temporary License](https://purchase.aspose.com/temporary-license)