models

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiError

type ApiError struct {
	Code        string    `json:"Code,omitempty"`
	Message     string    `json:"Message,omitempty"`
	Description string    `json:"Description,omitempty"`
	DateTime    time.Time `json:"DateTime,omitempty"`
	InnerError  *ApiError `json:"InnerError,omitempty"`
}

type ApiErrorResponse

type ApiErrorResponse struct {
	RequestId string    `json:"RequestId,omitempty"`
	Error_    *ApiError `json:"Error,omitempty"`
}

type BmpConvertOptions

type BmpConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Bmp convert options

type BmpLoadOptions

type BmpLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Bmp load options

type CadLoadOptions

type CadLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Options for loading CAD documents

type CadLoadOptionsDrawType

type CadLoadOptionsDrawType struct {
}

Gets or sets type of drawing.

type Cf2LoadOptions

type Cf2LoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Cf2 load options

type ConsumptionResult

type ConsumptionResult struct {
	// Amount of used credits
	Credit float32 `json:"Credit"`
	// Amount of MBs processed
	Quantity float32 `json:"Quantity"`
}

Metered license consumption information

type ConvertOptions

type ConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
}

ConvertOptions base

type ConvertSettings

type ConvertSettings struct {
	// StorageName which contains the file
	StorageName string `json:"StorageName,omitempty"`
	// Gets or sets absolute path to a file in the storage
	FilePath string `json:"FilePath"`
	// Gets or sets requested conversion format
	Format string `json:"Format"`
	// Gets or sets format specific load options for source file
	LoadOptions *LoadOptions `json:"LoadOptions,omitempty"`
	// Gets or sets format specific convert options for output file
	ConvertOptions *ConvertOptions `json:"ConvertOptions,omitempty"`
	// Gets or sets converted file save path
	OutputPath string `json:"OutputPath,omitempty"`
	// The path to directory containing custom fonts in storage
	FontsPath string `json:"FontsPath,omitempty"`
}

Defines conversion request

type CsvLoadOptions

type CsvLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Delimiter of a Csv file
	Separator string `json:"Separator"`
	// True means the file contains several encodings
	IsMultiEncoded bool `json:"IsMultiEncoded"`
	// Indicates whether text is formula if it starts with \"=\"
	HasFormula bool `json:"HasFormula"`
	// Indicates whether the string in the file is converted to numeric. Default is True
	ConvertNumericData bool `json:"ConvertNumericData"`
	// Indicates whether the string in the file is converted to date. Default is True
	ConvertDateTimeData bool `json:"ConvertDateTimeData"`
	// File encoding
	Encoding string `json:"Encoding,omitempty"`
}

Csv document load options

type DcmConvertOptions

type DcmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Dcm convert options

type DcmLoadOptions

type DcmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Dcm load options

type DgnLoadOptions

type DgnLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Dgn load options

type DiagramLoadOptions

type DiagramLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Diagram document load options

type DiscUsage

type DiscUsage struct {
	// Application used disc space.
	UsedSize int64 `json:"UsedSize"`
	// Total disc space.
	TotalSize int64 `json:"TotalSize"`
}

Class for disc space information.

type DjvuConvertOptions

type DjvuConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Djvu convert options

type DngConvertOptions

type DngConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Dng convert options

type DngLoadOptions

type DngLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Dng load options

type DocConvertOptions

type DocConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Doc convert options

type DocLoadOptions

type DocLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Doc load options

type DocmConvertOptions

type DocmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Docm convert options

type DocmLoadOptions

type DocmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Docm load options

type DocumentMetadata

type DocumentMetadata struct {
	// Document file type
	FileType string `json:"FileType,omitempty"`
	// Gets pages count if applicable to the current document format
	PageCount int32 `json:"PageCount"`
	// Document bytes size
	Size int64 `json:"Size"`
	// Returns detected width if applicable to the current document format
	Width int32 `json:"Width"`
	// Returns detected height if applicable to the current document format
	Height int32 `json:"Height"`
	// Returns detected horizontal resolution if applicable to the current document format
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Returns detected vertical resolution if applicable to the current document format
	VerticalResolution int32 `json:"VerticalResolution"`
	// Returns detected bits per pixel if applicable to the current document format
	BitsPerPixel int32 `json:"BitsPerPixel"`
	// Returns document title width if applicable to the current document format
	Title string `json:"Title,omitempty"`
	// Returns detected document author if applicable to the current document format
	Author string `json:"Author,omitempty"`
	// Returns detected document creation date if it's applicable to the current document format
	CreatedDate time.Time `json:"CreatedDate"`
	// Returns detected document modification date if applicable to the current document format
	ModifiedDate time.Time `json:"ModifiedDate"`
	// Returns list of layer names if applicable to the current document format
	Layers []string `json:"Layers,omitempty"`
	// Is document password protected
	IsPasswordProtected bool `json:"IsPasswordProtected"`
}

Contains a document metadata

type DocxConvertOptions

type DocxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Docx convert options

type DocxLoadOptions

type DocxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Docx load options

type DotConvertOptions

type DotConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Dot convert options

type DotLoadOptions

type DotLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Dot load options

type DotmConvertOptions

type DotmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Dotm convert options

type DotmLoadOptions

type DotmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Dotm load options

type DotxConvertOptions

type DotxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Dotx convert options

type DotxLoadOptions

type DotxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Dotx load options

type DwfLoadOptions

type DwfLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Dwf load options

type DwfxLoadOptions

type DwfxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Dwfx load options

type DwgLoadOptions

type DwgLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Dwg load options

type DwtLoadOptions

type DwtLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Dwt load options

type DxfLoadOptions

type DxfLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Dxf load options

type EBookConvertOptions

type EBookConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions                   `json:"WatermarkOptions,omitempty"`
	PageSize         *EBookConvertOptionsPageSize        `json:"PageSize"`
	PageOrientation  *EBookConvertOptionsPageOrientation `json:"PageOrientation"`
}

Ebook convert options

type EBookConvertOptionsPageOrientation

type EBookConvertOptionsPageOrientation struct {
}

Specifies page orientation

type EBookConvertOptionsPageSize

type EBookConvertOptionsPageSize struct {
}

Specifies page size

type EmailLoadOptions

type EmailLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Options for loading Email documents

type EmfConvertOptions

type EmfConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Emf convert options

type EmfLoadOptions

type EmfLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Emf load options

type EmlLoadOptions

type EmlLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Eml load options

type EmlxLoadOptions

type EmlxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Emlx load options

type ErrorDetails

type ErrorDetails struct {
	// The request id
	RequestId string `json:"RequestId,omitempty"`
	// Date
	Date time.Time `json:"Date"`
}

The error details

type FieldLabel

type FieldLabel struct {
	Field *FieldLabelField `json:"Field"`
	// The label e.g. \"Sender\"
	Label string `json:"Label,omitempty"`
}

Represents field label

type FieldLabelField

type FieldLabelField struct {
}

The field name

type FileVersion

type FileVersion struct {
	// File or folder name.
	Name string `json:"Name,omitempty"`
	// True if it is a folder.
	IsFolder bool `json:"IsFolder"`
	// File or folder last modified DateTime.
	ModifiedDate time.Time `json:"ModifiedDate,omitempty"`
	// File or folder size.
	Size int64 `json:"Size"`
	// File or folder path.
	Path string `json:"Path,omitempty"`
	// File Version ID.
	VersionId string `json:"VersionId,omitempty"`
	// Specifies whether the file is (true) or is not (false) the latest version of an file.
	IsLatest bool `json:"IsLatest"`
}

File Version

type FileVersions

type FileVersions struct {
	// File versions FileVersion.
	Value []FileVersion `json:"Value,omitempty"`
}

File versions FileVersion.

type FilesList

type FilesList struct {
	// Files and folders contained by folder StorageFile.
	Value []StorageFile `json:"Value,omitempty"`
}

Files list

type FilesUploadResult

type FilesUploadResult struct {
	// List of uploaded file names
	Uploaded []string `json:"Uploaded,omitempty"`
	// List of errors.
	Errors []ModelError `json:"Errors,omitempty"`
}

File upload result

type GifConvertOptions

type GifConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Gif convert options

type GifLoadOptions

type GifLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Gif load options

type IcoConvertOptions

type IcoConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Ico convert options

type IcoLoadOptions

type IcoLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Ico load options

type IfcLoadOptions

type IfcLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Ifc load options

type IgsLoadOptions

type IgsLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Igs load options

type ImageConvertOptions

type ImageConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Options for to Image conversion

type ImageConvertOptionsFlipMode

type ImageConvertOptionsFlipMode struct {
}

Image flip mode

type ImageLoadOptions

type ImageLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Image document load options

type J2cConvertOptions

type J2cConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

J2c convert options

type J2cLoadOptions

type J2cLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

J2c load options

type J2kConvertOptions

type J2kConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

J2k convert options

type J2kLoadOptions

type J2kLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

J2k load options

type Jp2ConvertOptions

type Jp2ConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

Jp2 convert options

type Jp2LoadOptions

type Jp2LoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Jp2 load options

type JpegConvertOptions

type JpegConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

Jpeg convert options

type JpegLoadOptions

type JpegLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Jpeg load options

type JpfConvertOptions

type JpfConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

Jpf convert options

type JpfLoadOptions

type JpfLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Jpf load options

type JpgConvertOptions

type JpgConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

Jpg convert options

type JpgLoadOptions

type JpgLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Jpg load options

type JpmConvertOptions

type JpmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

Jpm convert options

type JpmLoadOptions

type JpmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Jpm load options

type JpxConvertOptions

type JpxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
	Quality int32 `json:"Quality"`
}

Jpx convert options

type JpxLoadOptions

type JpxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Jpx load options

type LicenseInfo

type LicenseInfo struct {
	// True, if license was applied and valid, otherwise False
	IsLicensed bool `json:"IsLicensed"`
}

Current license information

type LoadOptions

type LoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
}

Load document options

type MhtLoadOptions

type MhtLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Mht load options

type MobiLoadOptions

type MobiLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Mobi load options

type ModelError

type ModelError struct {
	// Code
	Code string `json:"Code,omitempty"`
	// Message
	Message string `json:"Message,omitempty"`
	// Description
	Description string `json:"Description,omitempty"`
	// Inner Error
	InnerError *ErrorDetails `json:"InnerError,omitempty"`
}

Error

type MsgLoadOptions

type MsgLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Msg load options

type ObjectExist

type ObjectExist struct {
	// Indicates that the file or folder exists.
	Exists bool `json:"Exists"`
	// True if it is a folder, false if it is a file.
	IsFolder bool `json:"IsFolder"`
}

Object exists

type OdgConvertOptions

type OdgConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Odg convert options

type OdgLoadOptions

type OdgLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Odg load options

type OdpConvertOptions

type OdpConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Odp convert options

type OdpLoadOptions

type OdpLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Odp load options

type OdsConvertOptions

type OdsConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Ods convert options

type OdsLoadOptions

type OdsLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Ods load options

type OdtConvertOptions

type OdtConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Odt convert options

type OdtLoadOptions

type OdtLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Odt load options

type OneLoadOptions

type OneLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Note document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Note document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
}

One document load options

type OperationResult

type OperationResult struct {
	Id       string                  `json:"Id"`
	Method   string                  `json:"Method"`
	Status   string                  `json:"Status"`
	Created  time.Time               `json:"Created,omitempty"`
	Started  time.Time               `json:"Started,omitempty"`
	Failed   time.Time               `json:"Failed,omitempty"`
	Canceled time.Time               `json:"Canceled,omitempty"`
	Finished time.Time               `json:"Finished,omitempty"`
	Result   []StoredConvertedResult `json:"Result,omitempty"`
	Error_   string                  `json:"Error,omitempty"`
}

Operation status result

type OstLoadOptions

type OstLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Ost load options

type OtpConvertOptions

type OtpConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Otp convert options

type OtpLoadOptions

type OtpLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Otp load options

type OtsConvertOptions

type OtsConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Ots convert options

type OtsLoadOptions

type OtsLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Ots load options

type OttConvertOptions

type OttConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Ott convert options

type OttLoadOptions

type OttLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

Ott load options

type PdfConvertOptions

type PdfConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width in pixels after conversion
	Width int32 `json:"Width"`
	// Desired page height in pixels after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Desired page top margin in pixels after conversion
	MarginTop int32 `json:"MarginTop"`
	// Desired page bottom margin in pixels after conversion
	MarginBottom int32 `json:"MarginBottom"`
	// Desired page left margin in pixels after conversion
	MarginLeft int32 `json:"MarginLeft"`
	// Desired page right margin in pixels after conversion
	MarginRight int32                       `json:"MarginRight"`
	PdfFormat   *PdfConvertOptionsPdfFormat `json:"PdfFormat"`
	// Remove Pdf-A Compliance
	RemovePdfaCompliance bool `json:"RemovePdfaCompliance"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// Linearize PDF Document for the Web
	Linearize bool `json:"Linearize"`
	// Link duplicate streams
	LinkDuplicateStreams bool `json:"LinkDuplicateStreams"`
	// Remove unused objects
	RemoveUnusedObjects bool `json:"RemoveUnusedObjects"`
	// Remove unused streams
	RemoveUnusedStreams bool `json:"RemoveUnusedStreams"`
	// If CompressImages set to true, all images in the document are recompressed. The compression is defined by the ImageQuality property.
	CompressImages bool `json:"CompressImages"`
	// Value in percent where 100% is unchanged quality and image size. To decrease the image size, use ImageQuality less than 100
	ImageQuality int32 `json:"ImageQuality"`
	// Make fonts not embedded if set to true
	UnembedFonts bool `json:"UnembedFonts"`
	// Convert a PDF from RGB colorspace to Grayscale
	Grayscale bool `json:"Grayscale"`
	// Specify whether position of the document's window will be centered on the screen. Default: false.
	CenterWindow bool                        `json:"CenterWindow"`
	Direction    *PdfConvertOptionsDirection `json:"Direction"`
	// Specifying whether document's window title bar should display document title. Default: false.
	DisplayDocTitle bool `json:"DisplayDocTitle"`
	// Specify whether document window must be resized to fit the first displayed page. Default: false.
	FitWindow bool `json:"FitWindow"`
	// Specify whether menu bar should be hidden when document is active. Default: false.
	HideMenuBar bool `json:"HideMenuBar"`
	// Specifying whether toolbar should be hidden when document is active. Default: false.
	HideToolBar bool `json:"HideToolBar"`
	// Specify whether user interface elements should be hidden when document is active. Default: false.
	HideWindowUI          bool                                    `json:"HideWindowUI"`
	NonFullScreenPageMode *PdfConvertOptionsNonFullScreenPageMode `json:"NonFullScreenPageMode"`
	PageLayout            *PdfConvertOptionsPageLayout            `json:"PageLayout"`
	PageMode              *PdfConvertOptionsPageMode              `json:"PageMode"`
	Rotate                *PdfConvertOptionsRotate                `json:"Rotate"`
	PageSize              *EBookConvertOptionsPageSize            `json:"PageSize"`
	PageOrientation       *EBookConvertOptionsPageOrientation     `json:"PageOrientation"`
}

Options for to PDF conversion

type PdfConvertOptionsDirection

type PdfConvertOptionsDirection struct {
}

Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R.

type PdfConvertOptionsNonFullScreenPageMode

type PdfConvertOptionsNonFullScreenPageMode struct {
}

Sets page mode, specifying how to display the document on exiting full-screen mode.

type PdfConvertOptionsPageLayout

type PdfConvertOptionsPageLayout struct {
}

Sets page layout which shall be used when the document is opened.

type PdfConvertOptionsPageMode

type PdfConvertOptionsPageMode struct {
}

Sets page mode, specifying how document should be displayed when opened.

type PdfConvertOptionsPdfFormat

type PdfConvertOptionsPdfFormat struct {
}

Set the pdf format of the converted document.

type PdfConvertOptionsRotate

type PdfConvertOptionsRotate struct {
}

Rotate page

type PdfLoadOptions

type PdfLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Remove embedded files
	RemoveEmbeddedFiles bool `json:"RemoveEmbeddedFiles"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide annotations in Pdf documents
	HidePdfAnnotations bool `json:"HidePdfAnnotations"`
	// Flatten all the fields of the PDF form
	FlattenAllFields bool `json:"FlattenAllFields"`
}

Pdf document load options

type PdlConvertOptions

type PdlConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
}

Page description langusge convert options

type PersonalStorageLoadOptions

type PersonalStorageLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Folder which to be processed Default is Inbox
	Folder string `json:"Folder,omitempty"`
	// Controls how many levels in depth to perform conversion
	Depth int32 `json:"Depth"`
}

Options for loading personal storage documents.

type PltLoadOptions

type PltLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Plt load options

type PngConvertOptions

type PngConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Png convert options

type PngLoadOptions

type PngLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Png load options

type PotmConvertOptions

type PotmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Potm convert options

type PotmLoadOptions

type PotmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Potm load options

type PotxConvertOptions

type PotxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Potx convert options

type PotxLoadOptions

type PotxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Potx load options

type PpsConvertOptions

type PpsConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Pps convert options

type PpsLoadOptions

type PpsLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Pps load options

type PpsmConvertOptions

type PpsmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Ppsm convert options

type PpsmLoadOptions

type PpsmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Ppsm load options

type PpsxConvertOptions

type PpsxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Ppsx convert options

type PpsxLoadOptions

type PpsxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Ppsx load options

type PptConvertOptions

type PptConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Ppt convert options

type PptLoadOptions

type PptLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Ppt load options

type PptmConvertOptions

type PptmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Pptm convert options

type PptmLoadOptions

type PptmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Pptm load options

type PptxConvertOptions

type PptxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Pptx convert options

type PptxLoadOptions

type PptxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Pptx load options

type PresentationConvertOptions

type PresentationConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom int32 `json:"Zoom"`
}

Options for to presentation conversion

type PresentationLoadOptions

type PresentationLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Slides document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Show hidden slides
	ShowHiddenSlides bool `json:"ShowHiddenSlides"`
}

Presentation document load options

type PsdConvertOptions

type PsdConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Bits count per color channel
	ChannelBitsCount int32 `json:"ChannelBitsCount"`
	// Color channels count
	ChannelsCount     int32                               `json:"ChannelsCount"`
	ColorMode         *PsdConvertOptionsColorMode         `json:"ColorMode"`
	CompressionMethod *PsdConvertOptionsCompressionMethod `json:"CompressionMethod"`
	// Psd file version
	Version int32 `json:"Version"`
}

Psd convert options

type PsdConvertOptionsColorMode

type PsdConvertOptionsColorMode struct {
}

Psd color mode

type PsdConvertOptionsCompressionMethod

type PsdConvertOptionsCompressionMethod struct {
}

Psd compression method

type PsdLoadOptions

type PsdLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Psd load options

type PstLoadOptions

type PstLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Option to display or hide the email header. Default: true
	DisplayHeader bool `json:"DisplayHeader"`
	// Option to display or hide \"from\" email address. Default: true
	DisplayFromEmailAddress bool `json:"DisplayFromEmailAddress"`
	// Option to display or hide \"to\" email address. Default: true
	DisplayToEmailAddress bool `json:"DisplayToEmailAddress"`
	// Option to display or hide \"Cc\" email address. Default: false
	DisplayCcEmailAddress bool `json:"DisplayCcEmailAddress"`
	// Option to display or hide \"Bcc\" email address. Default: false
	DisplayBccEmailAddress bool `json:"DisplayBccEmailAddress"`
	// Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
	TimeZoneOffset string `json:"TimeZoneOffset,omitempty"`
	// Option to convert attachments in source email or not. Default: false.
	ConvertAttachments bool `json:"ConvertAttachments"`
	// The mapping between email message field and field text representation
	FieldLabels []FieldLabel `json:"FieldLabels,omitempty"`
	// Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
	PreserveOriginalDate bool `json:"PreserveOriginalDate"`
}

Pst load options

type RtfConvertOptions

type RtfConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
	// Specifies whether the keywords for \"old readers\" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False.
	ExportImagesForOldReaders bool `json:"ExportImagesForOldReaders"`
}

Rtf convert options

type SpreadsheetConvertOptions

type SpreadsheetConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Spreadsheet сonvert options class

type SpreadsheetLoadOptions

type SpreadsheetLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Spreadsheet document load options

type StlLoadOptions

type StlLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Render specific CAD layouts
	LayoutNames []string `json:"LayoutNames,omitempty"`
	// Gets or sets a background color.
	BackgroundColor string                  `json:"BackgroundColor,omitempty"`
	DrawType        *CadLoadOptionsDrawType `json:"DrawType"`
}

Stl load options

type StorageExist

type StorageExist struct {
	// Shows that the storage exists.
	Exists bool `json:"Exists"`
}

Storage exists

type StorageFile

type StorageFile struct {
	// File or folder name.
	Name string `json:"Name,omitempty"`
	// True if it is a folder.
	IsFolder bool `json:"IsFolder"`
	// File or folder last modified DateTime.
	ModifiedDate time.Time `json:"ModifiedDate,omitempty"`
	// File or folder size.
	Size int64 `json:"Size"`
	// File or folder path.
	Path string `json:"Path,omitempty"`
}

File or folder information

type StoredConvertedResult

type StoredConvertedResult struct {
	// Name of converted item
	Name string `json:"Name,omitempty"`
	// Size of converted item
	Size int64 `json:"Size"`
	// Path of resource file in storage
	Path string `json:"Path,omitempty"`
	// Uri in the storage of the converted item
	Url string `json:"Url,omitempty"`
}

Contains single converted item. Result is provided as url to a storage

type SupportedFormat

type SupportedFormat struct {
	// Gets or sets source format
	SourceFormat string `json:"SourceFormat,omitempty"`
	// Gets or sets target formats
	TargetFormats []string `json:"TargetFormats,omitempty"`
}

Represents information about supported conversion for SourceFormat

type TifConvertOptions

type TifConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma       float64                        `json:"Gamma"`
	FlipMode    *ImageConvertOptionsFlipMode   `json:"FlipMode"`
	Compression *TiffConvertOptionsCompression `json:"Compression,omitempty"`
}

Tif convert options

type TifLoadOptions

type TifLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Tif load options

type TiffConvertOptions

type TiffConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma       float64                        `json:"Gamma"`
	FlipMode    *ImageConvertOptionsFlipMode   `json:"FlipMode"`
	Compression *TiffConvertOptionsCompression `json:"Compression,omitempty"`
}

Tiff convert options

type TiffConvertOptionsCompression

type TiffConvertOptionsCompression struct {
}

Set Tiff compression

type TiffLoadOptions

type TiffLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Tiff load options

type TsvConvertOptions

type TsvConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Tsv convert options

type TsvLoadOptions

type TsvLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Tsv load options

type TxtConvertOptions

type TxtConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
}

Txt convert options

type TxtLoadOptions

type TxtLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true.
	DetectNumberingWithWhitespaces bool                                 `json:"DetectNumberingWithWhitespaces"`
	TrailingSpacesOptions          *TxtLoadOptionsTrailingSpacesOptions `json:"TrailingSpacesOptions"`
	LeadingSpacesOptions           *TxtLoadOptionsLeadingSpacesOptions  `json:"LeadingSpacesOptions"`
	// Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null.
	Encoding string `json:"Encoding,omitempty"`
}

Txt document load options

type TxtLoadOptionsLeadingSpacesOptions

type TxtLoadOptionsLeadingSpacesOptions struct {
}

Gets or sets preferred option of a leading space handling. Default value is ConvertToIndent.

type TxtLoadOptionsTrailingSpacesOptions

type TxtLoadOptionsTrailingSpacesOptions struct {
}

Gets or sets preferred option of a trailing space handling. Default value is Trim.

type VdwLoadOptions

type VdwLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vdw load options

type VdxLoadOptions

type VdxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vdx load options

type VsdLoadOptions

type VsdLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vsd load options

type VsdmLoadOptions

type VsdmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vsdm load options

type VsdxLoadOptions

type VsdxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vsdx load options

type VssLoadOptions

type VssLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vss load options

type VssmLoadOptions

type VssmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vssm load options

type VssxLoadOptions

type VssxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vssx load options

type VstLoadOptions

type VstLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vst load options

type VstmLoadOptions

type VstmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vstm load options

type VstxLoadOptions

type VstxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vstx load options

type VsxLoadOptions

type VsxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vsx load options

type VtxLoadOptions

type VtxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Diagram document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Vtx load options

type WatermarkOptions

type WatermarkOptions struct {
	// Watermark text
	Text string `json:"Text,omitempty"`
	// Watermark font name if text watermark is applied
	FontName string `json:"FontName,omitempty"`
	// Watermark font name if text watermark is applied
	FontSize int32 `json:"FontSize"`
	// Watermark font bold style if text watermark is applied
	Bold bool `json:"Bold"`
	// Watermark font italic style if text watermark is applied
	Italic bool `json:"Italic"`
	// Watermark font color if text watermark is applied
	Color string `json:"Color,omitempty"`
	// Watermark width
	Width int32 `json:"Width"`
	// Watermark height
	Height int32 `json:"Height"`
	// Watermark top position
	Top int32 `json:"Top"`
	// Watermark left position
	Left int32 `json:"Left"`
	// Watermark rotation angle
	RotationAngle int32 `json:"RotationAngle"`
	// Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.
	Transparency float64 `json:"Transparency"`
	// Indicates that the watermark is stamped as background. If the value is true, the watermark is layed at the bottom. By default is false and the watermark is layed on top.
	Background bool `json:"Background"`
	// Image watermark
	Image string `json:"Image,omitempty"`
	// Auto scale the watermark. If the value is true the font size and the position is automatically calculated to fit the page size.
	AutoAlign bool `json:"AutoAlign"`
}

Options for settings watermark to the converted document

type WebConvertOptions

type WebConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// If true fixed layout will be used e.g. absolutely positioned html elements Default:  true
	FixedLayout bool `json:"FixedLayout"`
	// Show page borders when converting to fixed layout. Default is True
	FixedLayoutShowBorders bool `json:"FixedLayoutShowBorders"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
}

Options for to Html conversion

type WebLoadOptions

type WebLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Enable or disable generation of page numbering in converted document. Default: false
	PageNumbering bool `json:"PageNumbering"`
}

Html document load options

type WebpConvertOptions

type WebpConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
	// Indicates if the compression of the converted file will be lossless
	Lossless bool `json:"Lossless"`
}

Webp convert options

type WebpLoadOptions

type WebpLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Webp load options

type WmfConvertOptions

type WmfConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired image width after conversion
	Width int32 `json:"Width"`
	// Desired image height after conversion
	Height int32 `json:"Height"`
	// Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	HorizontalResolution int32 `json:"HorizontalResolution"`
	// Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96dpi
	VerticalResolution int32 `json:"VerticalResolution"`
	// Convert to grayscale image
	Grayscale bool `json:"Grayscale"`
	// Image rotation angle
	RotateAngle int32 `json:"RotateAngle"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
	// Adjust image brightness
	Brightness int32 `json:"Brightness"`
	// Adjust image contrast
	Contrast int32 `json:"Contrast"`
	// Adjust image gamma
	Gamma    float64                      `json:"Gamma"`
	FlipMode *ImageConvertOptionsFlipMode `json:"FlipMode"`
}

Wmf convert options

type WmfLoadOptions

type WmfLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
}

Wmf load options

type WordProcessingConvertOptions

type WordProcessingConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Desired page width after conversion
	Width int32 `json:"Width"`
	// Desired page height after conversion
	Height int32 `json:"Height"`
	// Desired page DPI after conversion. The default resolution is: 96dpi
	Dpi int32 `json:"Dpi"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
	Zoom               int32                                           `json:"Zoom"`
	PdfRecognitionMode *WordProcessingConvertOptionsPdfRecognitionMode `json:"PdfRecognitionMode"`
	PageSize           *WordProcessingConvertOptionsPageSize           `json:"PageSize"`
	PageOrientation    *EBookConvertOptionsPageOrientation             `json:"PageOrientation"`
}

Options for to word processing conversion

type WordProcessingConvertOptionsPageSize

type WordProcessingConvertOptionsPageSize struct {
}

Page size

type WordProcessingConvertOptionsPdfRecognitionMode

type WordProcessingConvertOptionsPdfRecognitionMode struct {
}

Recognition mode when converting from pdf

type WordProcessingLoadOptions

type WordProcessingLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Words document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
	AutoFontSubstitution bool `json:"AutoFontSubstitution"`
	// Substitute specific fonts when converting Words document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide markup and track changes for Word documents
	HideWordTrackedChanges bool `json:"HideWordTrackedChanges"`
	// Hide comments
	HideComments bool `json:"HideComments"`
	// Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
	BookmarksOutlineLevel int32 `json:"BookmarksOutlineLevel"`
	// Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
	HeadingsOutlineLevels int32 `json:"HeadingsOutlineLevels"`
	// Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
	ExpandedOutlineLevels int32 `json:"ExpandedOutlineLevels"`
}

WordProcessing document load options

type Xls2003ConvertOptions

type Xls2003ConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xls2003 convert options

type Xls2003LoadOptions

type Xls2003LoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xls2003 load options

type XlsConvertOptions

type XlsConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xls convert options

type XlsLoadOptions

type XlsLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xls load options

type XlsbConvertOptions

type XlsbConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xlsb convert options

type XlsbLoadOptions

type XlsbLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xlsb load options

type XlsmConvertOptions

type XlsmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xlsm convert options

type XlsmLoadOptions

type XlsmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xlsm load options

type XlsxConvertOptions

type XlsxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xlsx convert options

type XlsxLoadOptions

type XlsxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xlsx load options

type XltmConvertOptions

type XltmConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xltm convert options

type XltmLoadOptions

type XltmLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xltm load options

type XltxConvertOptions

type XltxConvertOptions struct {
	// Start conversion from FromPage page
	FromPage int32 `json:"FromPage"`
	// Number of pages to convert
	PagesCount int32 `json:"PagesCount"`
	// Convert specific pages. The list contains the page indexes of the pages to be converted
	Pages []int32 `json:"Pages,omitempty"`
	// Watermark specific options
	WatermarkOptions *WatermarkOptions `json:"WatermarkOptions,omitempty"`
	// Set this property if you want to protect the converted document with a password
	Password string `json:"Password,omitempty"`
	// Specifies the zoom level in percentage. Default is 100.
	Zoom int32 `json:"Zoom"`
	// If true, the input firstly is converted to PDF and after that to desired format
	UsePdf bool `json:"UsePdf"`
}

Xltx convert options

type XltxLoadOptions

type XltxLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// Default font for Cells document. The following font will be used if a font is missing.
	DefaultFont string `json:"DefaultFont,omitempty"`
	// Substitute specific fonts when converting Cells document.
	FontSubstitutes map[string]string `json:"FontSubstitutes,omitempty"`
	// Show grid lines when converting Excel files
	ShowGridLines bool `json:"ShowGridLines"`
	// Show hidden sheets when converting Excel files
	ShowHiddenSheets bool `json:"ShowHiddenSheets"`
	// If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
	OnePagePerSheet bool `json:"OnePagePerSheet"`
	// Convert specific range when converting to other than cells format. Example: \"D1:F8\"
	ConvertRange string `json:"ConvertRange,omitempty"`
	// Skips empty rows and columns when converting. Default is True.
	SkipEmptyRowsAndColumns bool `json:"SkipEmptyRowsAndColumns"`
	// Set password to unprotect protected document
	Password string `json:"Password,omitempty"`
	// Hide comments
	HideComments bool `json:"HideComments"`
}

Xltx load options

type XmlLoadOptions

type XmlLoadOptions struct {
	// The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
	Format string `json:"Format,omitempty"`
	// XSL document content to convert XML-FO using XSL
	XslFo string `json:"XslFo,omitempty"`
}

XML document load options

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL