Enums

Details

class GXPS.Error(value)

Bases: GLib.Enum

Error codes returned by GXPS functions.

SOURCE_NOT_FOUND = 0

Internal source file not found in XPS file

FONT = 1

Error loading fonts

IMAGE = 2

Error loading images

class GXPS.FileError(value)

Bases: GLib.Enum

Error codes returned by GXPS.File functions.

FILE_ERROR_INVALID = 0

The XPS is invalid.

class GXPS.PageError(value)

Bases: GLib.Enum

Error codes returned by GXPS.Page functions

INVALID = 0

The page is invalid.

RENDER = 1

Error rendering the page.

INVALID_ANCHOR = 2

Anchor is invalid for the page.