Skip to content

aspose-page/Aspose.Page-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub

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.

Directory Description
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.
  • 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. 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");

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

About

Aspose.Page for Java Examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8