CommonConvertOptions

Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions

All Implemented Interfaces: com.groupdocs.conversion.options.convert.IWatermarkedConvertOptions, com.groupdocs.conversion.options.convert.IPagedConvertOptions, com.groupdocs.conversion.options.convert.IPageRangedConvertOptions

public abstract class CommonConvertOptions<TFileType> extends ConvertOptions<TFileType> implements IWatermarkedConvertOptions, IPagedConvertOptions, IPageRangedConvertOptions

abstract generic common conversion options class.

Methods

Method Description
getWatermark()
setWatermark(WatermarkOptions watermark)
getPageNumber()
setPageNumber(int pageNumber)
getPagesCount()
setPagesCount(int pagesCount)
getPages()
setPages(List pages)

getWatermark()

public WatermarkOptions getWatermark()

Gets watermark specific options

Returns: WatermarkOptions

setWatermark(WatermarkOptions watermark)

public void setWatermark(WatermarkOptions watermark)

Sets watermark specific options

Parameters:

Parameter Type Description
watermark WatermarkOptions

getPageNumber()

public Integer getPageNumber()

Gets the page number to start conversion from.

Returns: java.lang.Integer

setPageNumber(int pageNumber)

public void setPageNumber(int pageNumber)

Sets the page number to start conversion from.

Parameters:

Parameter Type Description
pageNumber int

getPagesCount()

public Integer getPagesCount()

Gets number of pages to convert starting from PageNumber.

Returns: java.lang.Integer

setPagesCount(int pagesCount)

public void setPagesCount(int pagesCount)

Sets number of pages to convert starting from PageNumber.

Parameters:

Parameter Type Description
pagesCount int

getPages()

public List<Integer> getPages()

Gets The list of page indexes to be converted. Should be specified to convert specific pages.

Returns: java.util.List<java.lang.Integer>

setPages(List pages)

public void setPages(List<Integer> pages)

Sets the list of page indexes to be converted. Should be specified to convert specific pages.

Parameters:

Parameter Type Description
pages java.util.List<java.lang.Integer>