Convert DOCX to XPS using Ruby

The GroupDocs.Conversion Cloud SDK for Ruby has been developed to help you get started with our document conversion REST API, which lets you seamlessly convert DOCX to XPS or any of your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, DOCX, XPS, HTML, CAD, raster images and many more.

Convert DOCX to XPS using Ruby


                    

Formats supported by Cloud SDK for Ruby

DOCX to TIFF DOCX to TIF DOCX to JPG DOCX to JPEG DOCX to PNG DOCX to GIF DOCX to BMP DOCX to ICO DOCX to PSD DOCX to WMF DOCX to EMF DOCX to DCM DOCX to DICOM DOCX to WEBP DOCX to SVG DOCX to JP2 DOCX to EMZ DOCX to WMZ DOCX to SVGZ DOCX to TGA DOCX to PSB DOCX to HTML DOCX to HTM DOCX to MHT DOCX to MHTML DOCX to DOC DOCX to DOCM DOCX to DOCX DOCX to DOT DOCX to DOTM DOCX to DOTX DOCX to RTF DOCX to ODT DOCX to OTT DOCX to TXT DOCX to MD DOCX to PDF DOCX to EPUB DOCX to XPS DOCX to TEX DOCX to PPT DOCX to PPS DOCX to PPTX DOCX to PPSX DOCX to ODP DOCX to OTP DOCX to POTX DOCX to POT DOCX to POTM DOCX to PPTM DOCX to PPSM DOCX to FODP

Advanced Document Conversion API Features

Convert DOCX to all common formats

Convert page by page DOCX or custom range of pages

Watermark pages

Get high quality XPS output files

Password protect output document

APIs are secured and require authentication

Convert a Multitude of Document Formats beside DOCX and XPS

GroupDocs.Conversion REST API has the capability to perform conversion on a number of document formats beside DOCX and XPS. The information about the formats supported by the API can be obtained by using the code mentioned below:

Get all the supported file formats - Ruby

# Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
# Getting instance of the API
api = GroupDocsConversionCloud::ConversionApi.from_keys($app_sid, $app_key)

$request = GroupDocsConversionCloud::GetSupportedConversionTypesRequest.new()

# Retrieve supported file formats
$response = api.get_supported_conversion_types($request)

# Display all the supported file formats
puts("= Supported File Formats =")
$response.each do |format|
    puts("#{format.source_format} to [#{format.target_formats.join(', ')}]")
end

Get Started to convert DOCX to XPS in No Time

GroupDocs.Conversion Cloud API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the REST API calls and lets you use GroupDocs.Conversion Cloud API features in a native way for your preferred language.

Security and Authentication

The GroupDocs.Conversion Cloud API is secured and requires authentication to convert DOCX to XPS. Users need to register at GroupDocs Cloud and get their app access key ID (appSID) and app secret access key. Authenticated requests require a signature and AppSID query parameters or OAuth 2.0 authorization header.

Easy Customization

GroupDocs.Conversion Cloud SDK is 100% tested and out of the box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of charge.

Support and Learning Resources

GroupDocs.Conversion Cloud also offers conversion of DOCX to XPS using other popular languages as listed below: