XPSConvertParams Class Documentation

class XPSConvertParams

Namespace:datalogics_interface

Detailed Description

Class that works with XPS conversion parameters.

The XML Paper Specification (XPS) is a standard document format that Microsoft created in 2006 as an alternative to the PDF format. The XPS format is intended to be a simple but secure file format, without embedded images or video clips, and easy to share and print.

NOTE: This class is only available on Windows or Linux.

Constructor & Destructor Documentation

XPSConvertParams

XPSConvertParams()

Set up default parameters for XPS conversion.

XPSConvertParams

XPSConvertParams(const std::string & settings_file)

Parameters

settings_file: const std::string &

Set up default parameters for XPS conversion.

~XPSConvertParams

~XPSConvertParams()

Member Function Documentation

get_settings_file

std::string get_settings_file()

Returns:

std::string

The file system path to the .joboptions file.

Gets the path to the .joboptions settings file used for XPS conversion.

By default, the Standard.joboptions file located in the Resources directory is used.

set_settings_file

void set_settings_file(const std::string & path)

Parameters

path: const std::string &

The file system path to the .joboptions file.

Returns:

void

Sets the path to the .joboptions settings file used for XPS conversion.

By default, the Standard.joboptions file located in the Resources directory is used. The default file will be used if the specified file is not found.