diff --git a/english/java/com.groupdocs.viewer.options/_index.md b/english/java/com.groupdocs.viewer.options/_index.md index 40fffd443..d49d3de99 100644 --- a/english/java/com.groupdocs.viewer.options/_index.md +++ b/english/java/com.groupdocs.viewer.options/_index.md @@ -38,6 +38,7 @@ For more details on configuring the logging system in GroupDocs.Viewer and custo | [LoadOptions](../com.groupdocs.viewer.options/loadoptions) | Provides options that are used to open a file. | | [MailStorageOptions](../com.groupdocs.viewer.options/mailstorageoptions) | Provides options for rendering Mail storage (Lotus Notes, MBox) data files. | | [OutlookOptions](../com.groupdocs.viewer.options/outlookoptions) | Provides options for rendering Outlook data files. | +| [PdfOptimizationOptions](../com.groupdocs.viewer.options/pdfoptimizationoptions) | Use this class to specify PDF optimization options to apply to the output PDF file. | | [PdfOptions](../com.groupdocs.viewer.options/pdfoptions) | Provides options for rendering PDF documents. | | [PdfViewOptions](../com.groupdocs.viewer.options/pdfviewoptions) | Provides options for rendering documents into PDF format. | | [Permissions](../com.groupdocs.viewer.options/permissions) | Defines PDF document permissions. | diff --git a/english/java/com.groupdocs.viewer.options/field/_index.md b/english/java/com.groupdocs.viewer.options/field/_index.md index 8dfad810a..d2aecc7d5 100644 --- a/english/java/com.groupdocs.viewer.options/field/_index.md +++ b/english/java/com.groupdocs.viewer.options/field/_index.md @@ -3,7 +3,7 @@ title: Field second_title: GroupDocs.Viewer for Java API Reference description: Represents email message fields e46g46 From To Subject etc. type: docs -weight: 37 +weight: 38 url: /java/com.groupdocs.viewer.options/field/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/imagequality/_index.md b/english/java/com.groupdocs.viewer.options/imagequality/_index.md index cda5db0be..2323213eb 100644 --- a/english/java/com.groupdocs.viewer.options/imagequality/_index.md +++ b/english/java/com.groupdocs.viewer.options/imagequality/_index.md @@ -3,7 +3,7 @@ title: ImageQuality second_title: GroupDocs.Viewer for Java API Reference description: The quality of images in the output HTML contained by the PDF documents. type: docs -weight: 38 +weight: 39 url: /java/com.groupdocs.viewer.options/imagequality/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/imaxsizeoptions/_index.md b/english/java/com.groupdocs.viewer.options/imaxsizeoptions/_index.md index 2ba73e707..43b5dde5a 100644 --- a/english/java/com.groupdocs.viewer.options/imaxsizeoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/imaxsizeoptions/_index.md @@ -3,7 +3,7 @@ title: IMaxSizeOptions second_title: GroupDocs.Viewer for Java API Reference description: Limits of image size options interface. type: docs -weight: 36 +weight: 37 url: /java/com.groupdocs.viewer.options/imaxsizeoptions/ ---``` public interface IMaxSizeOptions diff --git a/english/java/com.groupdocs.viewer.options/pagesize/_index.md b/english/java/com.groupdocs.viewer.options/pagesize/_index.md index 91f58579c..71d89e2ae 100644 --- a/english/java/com.groupdocs.viewer.options/pagesize/_index.md +++ b/english/java/com.groupdocs.viewer.options/pagesize/_index.md @@ -3,7 +3,7 @@ title: PageSize second_title: GroupDocs.Viewer for Java API Reference description: The size of the page. type: docs -weight: 39 +weight: 40 url: /java/com.groupdocs.viewer.options/pagesize/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/pdfoptimizationoptions/_index.md b/english/java/com.groupdocs.viewer.options/pdfoptimizationoptions/_index.md new file mode 100644 index 000000000..21db24ab5 --- /dev/null +++ b/english/java/com.groupdocs.viewer.options/pdfoptimizationoptions/_index.md @@ -0,0 +1,518 @@ +--- +title: PdfOptimizationOptions +second_title: GroupDocs.Viewer for Java API Reference +description: Use this class to specify PDF optimization options to apply to the output PDF file. +type: docs +weight: 21 +url: /java/com.groupdocs.viewer.options/pdfoptimizationoptions/ +--- +**Inheritance:** +java.lang.Object +``` +public class PdfOptimizationOptions +``` + +Use this class to specify PDF optimization options to apply to the output PDF file. + +These optimization options are supported for any input file formats which are supported for export to PDF. + +Example usage: + +``` + + try (Viewer viewer = new Viewer("sample.docx")) { + PdfViewOptions viewOptions = new PdfViewOptions(); + viewOptions.setPdfOptimizationOptions(new PdfOptimizationOptions()); + viewOptions.getPdfOptimizationOptions().setLinearize(true); + viewOptions.getPdfOptimizationOptions().setRemoveAnnotations(true); + viewOptions.getPdfOptimizationOptions().setRemoveFormFields(true); + viewOptions.getPdfOptimizationOptions().setConvertToGrayScale(true); + viewOptions.getPdfOptimizationOptions().setSubsetFonts(true); + viewOptions.getPdfOptimizationOptions().setCompressImages(true); + viewOptions.getPdfOptimizationOptions().setImageQuality(50); + viewOptions.getPdfOptimizationOptions().setResizeImages(true); + viewOptions.getPdfOptimizationOptions().setMaxResolution(50); + viewOptions.getPdfOptimizationOptions().setRemovePrivateInfo(true); + viewOptions.getPdfOptimizationOptions().setUnembedFonts(true); + viewOptions.getPdfOptimizationOptions().setLinkDuplicateStreams(true); + viewOptions.getPdfOptimizationOptions().setAllowReusePageContent(true); + + viewer.view(viewOptions); + } + +``` +## Constructors + +| Constructor | Description | +| --- | --- | +| [PdfOptimizationOptions()](#PdfOptimizationOptions--) | Sets up default values of MaxResolution option to 300 and ImageQuality option to 100. | +## Methods + +| Method | Description | +| --- | --- | +| [isLinearize()](#isLinearize--) | Optimizes output PDF for online browsing with a web browser. | +| [setLinearize(boolean linearize)](#setLinearize-boolean-) | Sets whether to optimize output PDF for online browsing with a web browser. | +| [isRemoveAnnotations()](#isRemoveAnnotations--) | Annotations can be deleted when they are unnecessary. | +| [setRemoveAnnotations(boolean removeAnnotations)](#setRemoveAnnotations-boolean-) | Sets whether to remove unnecessary annotations from the PDF. | +| [isRemoveFormFields()](#isRemoveFormFields--) | If the PDF document contains AcroForms, we can try to reduce the file size by flattening form fields. | +| [setRemoveFormFields(boolean removeFormFields)](#setRemoveFormFields-boolean-) | Sets whether to remove form fields from the PDF. | +| [isConvertToGrayScale()](#isConvertToGrayScale--) | PDF file is composed of Text, Image, Attachment, Annotations, Graphs and other objects. | +| [setConvertToGrayScale(boolean convertToGrayScale)](#setConvertToGrayScale-boolean-) | Sets whether to convert the PDF to grayscale. | +| [isSubsetFonts()](#isSubsetFonts--) | Every font used to display text on the page contains set of glyphs for font characters. | +| [setSubsetFonts(boolean subsetFonts)](#setSubsetFonts-boolean-) | Sets whether to subset the fonts in the PDF. | +| [isCompressImages()](#isCompressImages--) | If the source PDF file contains images, consider compressing the images and setting their quality. | +| [setCompressImages(boolean compressImages)](#setCompressImages-boolean-) | Sets whether to compress the images in the PDF. | +| [getImageQuality()](#getImageQuality--) | If the source PDF file contains images, consider compressing the images and setting their quality. | +| [setImageQuality(int imageQuality)](#setImageQuality-int-) | Sets the image quality for compressing the images in the PDF. | +| [isResizeImages()](#isResizeImages--) | Can be used with CompressImages option to resize the images with a lower resolution. | +| [setResizeImages(boolean resizeImages)](#setResizeImages-boolean-) | Sets whether to resize the images in the PDF. | +| [getMaxResolution()](#getMaxResolution--) | Can be used with CompressImages option to resize the images with a lower resolution. | +| [setMaxResolution(int maxResolution)](#setMaxResolution-int-) | Sets the maximum resolution for resizing the images in the PDF. | +| [isOptimizeSpreadsheets()](#isOptimizeSpreadsheets--) | Optimize Excel spreadsheets border lines and fonts for smaller output file size. | +| [setOptimizeSpreadsheets(boolean optimizeSpreadsheets)](#setOptimizeSpreadsheets-boolean-) | Sets whether to optimize the spreadsheets in the PDF. | +| [isRemovePrivateInfo()](#isRemovePrivateInfo--) | Remove private information (page piece info) if set to true. | +| [setRemovePrivateInfo(boolean removePrivateInfo)](#setRemovePrivateInfo-boolean-) | Sets whether to remove private information from the PDF. | +| [isUnembedFonts()](#isUnembedFonts--) | If the document uses embedded fonts it means that all font data is placed in the document. | +| [setUnembedFonts(boolean unembedFonts)](#setUnembedFonts-boolean-) | Sets whether to unembed the embedded fonts in the PDF. | +| [isLinkDuplicateStreams()](#isLinkDuplicateStreams--) | Sometimes a document contains several identical resource streams (for example images). | +| [setLinkDuplicateStreams(boolean linkDuplicateStreams)](#setLinkDuplicateStreams-boolean-) | Sets whether to link duplicate streams in the PDF. | +| [isAllowReusePageContent()](#isAllowReusePageContent--) | If this property is set to true, the page content will be reused when optimizing the document for identical pages. | +| [setAllowReusePageContent(boolean allowReusePageContent)](#setAllowReusePageContent-boolean-) | Sets whether to allow reusing page content in the PDF. | +| [isRemoveUnusedStreams()](#isRemoveUnusedStreams--) | Sometimes a document contains unused resource streams. | +| [setRemoveUnusedStreams(boolean removeUnusedStreams)](#setRemoveUnusedStreams-boolean-) | Sets whether to remove unused streams from the PDF. | +| [isRemoveUnusedObjects()](#isRemoveUnusedObjects--) | A PDF document sometimes contains the PDF objects that are not referenced from any other object in the document. | +| [setRemoveUnusedObjects(boolean removeUnusedObjects)](#setRemoveUnusedObjects-boolean-) | Sets whether to remove unused objects from the PDF. | +### PdfOptimizationOptions() {#PdfOptimizationOptions--} +``` +public PdfOptimizationOptions() +``` + + +Sets up default values of MaxResolution option to 300 and ImageQuality option to 100. + +### isLinearize() {#isLinearize--} +``` +public boolean isLinearize() +``` + + +Optimizes output PDF for online browsing with a web browser. + +**Returns:** +boolean - true if the output PDF is optimized for online browsing, false otherwise. +### setLinearize(boolean linearize) {#setLinearize-boolean-} +``` +public void setLinearize(boolean linearize) +``` + + +Sets whether to optimize output PDF for online browsing with a web browser. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| linearize | boolean | true to optimize the output PDF for online browsing, false otherwise. | + +### isRemoveAnnotations() {#isRemoveAnnotations--} +``` +public boolean isRemoveAnnotations() +``` + + +Annotations can be deleted when they are unnecessary. When they are needed but do not require additional editing, they can be flattened. It will reduce the file size. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if annotations are removed, false otherwise. +### setRemoveAnnotations(boolean removeAnnotations) {#setRemoveAnnotations-boolean-} +``` +public void setRemoveAnnotations(boolean removeAnnotations) +``` + + +Sets whether to remove unnecessary annotations from the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| removeAnnotations | boolean | true to remove unnecessary annotations, false otherwise. | + +### isRemoveFormFields() {#isRemoveFormFields--} +``` +public boolean isRemoveFormFields() +``` + + +If the PDF document contains AcroForms, we can try to reduce the file size by flattening form fields. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if form fields are removed, false otherwise. +### setRemoveFormFields(boolean removeFormFields) {#setRemoveFormFields-boolean-} +``` +public void setRemoveFormFields(boolean removeFormFields) +``` + + +Sets whether to remove form fields from the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| removeFormFields | boolean | true to remove form fields, false otherwise. | + +### isConvertToGrayScale() {#isConvertToGrayScale--} +``` +public boolean isConvertToGrayScale() +``` + + +PDF file is composed of Text, Image, Attachment, Annotations, Graphs and other objects. You may come across a requirement to convert a PDF from RGB colorspace to grayscale so that it would be faster while printing those PDF files. Also when the file is converted to grayscale, the size of the document is also reduced but with this change, the quality of the document may drop. Currently, this feature is supported by the Pre-Flight feature of Adobe Acrobat. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if the PDF is converted to grayscale, false otherwise. +### setConvertToGrayScale(boolean convertToGrayScale) {#setConvertToGrayScale-boolean-} +``` +public void setConvertToGrayScale(boolean convertToGrayScale) +``` + + +Sets whether to convert the PDF to grayscale. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| convertToGrayScale | boolean | true to convert the PDF to grayscale, false otherwise. | + +### isSubsetFonts() {#isSubsetFonts--} +``` +public boolean isSubsetFonts() +``` + + +Every font used to display text on the page contains set of glyphs for font characters. PDF specification supports "font subset" i.e. font with only those glyphs which are used. This may cause issues when text should be updated (since probably required glyphs are absent in the font), but for the document which is not planned to change this allows to decrease size. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if fonts are subsetted, false otherwise. +### setSubsetFonts(boolean subsetFonts) {#setSubsetFonts-boolean-} +``` +public void setSubsetFonts(boolean subsetFonts) +``` + + +Sets whether to subset the fonts in the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| subsetFonts | boolean | true to subset the fonts, false otherwise. | + +### isCompressImages() {#isCompressImages--} +``` +public boolean isCompressImages() +``` + + +If the source PDF file contains images, consider compressing the images and setting their quality. In order to enable image compression, set this option to true. All the images in a document will be re-compressed. The compression is defined by the ImageQuality property, which is the value of the quality in percent. 100% is unchanged quality. To decrease image quality, set the ImageQuality property less than 100. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if images are compressed, false otherwise. +### setCompressImages(boolean compressImages) {#setCompressImages-boolean-} +``` +public void setCompressImages(boolean compressImages) +``` + + +Sets whether to compress the images in the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| compressImages | boolean | true to compress the images, false otherwise. | + +### getImageQuality() {#getImageQuality--} +``` +public int getImageQuality() +``` + + +If the source PDF file contains images, consider compressing the images and setting their quality. In order to enable image compression, set CompressImages option to true. All the images in a document will be re-compressed. The compression is defined by the ImageQuality property, which is the value of the quality in percent. 100% is unchanged quality. To decrease image quality, set the CompressImages option to true and ImageQuality property less than 100. + +***Note:** The default value is 100 .* + +**Returns:** +int - the image quality (value between 1 and 100). +### setImageQuality(int imageQuality) {#setImageQuality-int-} +``` +public void setImageQuality(int imageQuality) +``` + + +Sets the image quality for compressing the images in the PDF. + +***Note:** The default value is 100 .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| imageQuality | int | the image quality (value between 1 and 100). | + +### isResizeImages() {#isResizeImages--} +``` +public boolean isResizeImages() +``` + + +Can be used with CompressImages option to resize the images with a lower resolution. In this case, we should set CompressImage to true, ResizeImages to true and MaxResolution to the appropriate value. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if images are resized, false otherwise. +### setResizeImages(boolean resizeImages) {#setResizeImages-boolean-} +``` +public void setResizeImages(boolean resizeImages) +``` + + +Sets whether to resize the images in the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| resizeImages | boolean | true to resize the images, false otherwise. | + +### getMaxResolution() {#getMaxResolution--} +``` +public int getMaxResolution() +``` + + +Can be used with CompressImages option to resize the images with a lower resolution. In this case, we should set CompressImage to true, ResizeImages to true and MaxResolution to the appropriate value. + +***Note:** The default value is 300 .* + +**Returns:** +int - the maximum resolution for the images. +### setMaxResolution(int maxResolution) {#setMaxResolution-int-} +``` +public void setMaxResolution(int maxResolution) +``` + + +Sets the maximum resolution for resizing the images in the PDF. + +***Note:** The default value is 300 .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| maxResolution | int | the maximum resolution for the images. | + +### isOptimizeSpreadsheets() {#isOptimizeSpreadsheets--} +``` +public boolean isOptimizeSpreadsheets() +``` + + +Optimize Excel spreadsheets border lines and fonts for smaller output file size. + +*The output PDF will not include embedded Arial and Times New Roman fonts with characters 32-127.* + +***Note:** The default value is false .* + +**Returns:** +boolean - true if spreadsheets are optimized, false otherwise. +### setOptimizeSpreadsheets(boolean optimizeSpreadsheets) {#setOptimizeSpreadsheets-boolean-} +``` +public void setOptimizeSpreadsheets(boolean optimizeSpreadsheets) +``` + + +Sets whether to optimize the spreadsheets in the PDF. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| optimizeSpreadsheets | boolean | true to optimize the spreadsheets, false otherwise. | + +### isRemovePrivateInfo() {#isRemovePrivateInfo--} +``` +public boolean isRemovePrivateInfo() +``` + + +Remove private information (page piece info) if set to true. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if private information is removed, false otherwise. +### setRemovePrivateInfo(boolean removePrivateInfo) {#setRemovePrivateInfo-boolean-} +``` +public void setRemovePrivateInfo(boolean removePrivateInfo) +``` + + +Sets whether to remove private information from the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| removePrivateInfo | boolean | true to remove private information, false otherwise. | + +### isUnembedFonts() {#isUnembedFonts--} +``` +public boolean isUnembedFonts() +``` + + +If the document uses embedded fonts it means that all font data is placed in the document. The advantage is that the document is viewable regardless of whether the font is installed on the user\\u2019s machine or not. But embedding fonts makes the document larger. The unembed fonts method removes all embedded fonts. This decreases the document size but the document may become unreadable if the correct font is not installed. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if embedded fonts are unembedded, false otherwise. +### setUnembedFonts(boolean unembedFonts) {#setUnembedFonts-boolean-} +``` +public void setUnembedFonts(boolean unembedFonts) +``` + + +Sets whether to unembed the embedded fonts in the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| unembedFonts | boolean | true to unembed the embedded fonts, false otherwise. | + +### isLinkDuplicateStreams() {#isLinkDuplicateStreams--} +``` +public boolean isLinkDuplicateStreams() +``` + + +Sometimes a document contains several identical resource streams (for example images). This may happen for example when a document is concatenated with itself. The output document contains two independent copies of the same resource stream. We analyze all resource streams and compare them. If streams are duplicated they are merged, that is, only one copy is left, references are changed appropriately and copies of the object are removed. Sometimes this decreases the document size. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if duplicate streams are linked, false otherwise. +### setLinkDuplicateStreams(boolean linkDuplicateStreams) {#setLinkDuplicateStreams-boolean-} +``` +public void setLinkDuplicateStreams(boolean linkDuplicateStreams) +``` + + +Sets whether to link duplicate streams in the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| linkDuplicateStreams | boolean | true to link duplicate streams, false otherwise. | + +### isAllowReusePageContent() {#isAllowReusePageContent--} +``` +public boolean isAllowReusePageContent() +``` + + +If this property is set to true, the page content will be reused when optimizing the document for identical pages. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if page content is reused, false otherwise. +### setAllowReusePageContent(boolean allowReusePageContent) {#setAllowReusePageContent-boolean-} +``` +public void setAllowReusePageContent(boolean allowReusePageContent) +``` + + +Sets whether to allow reusing page content in the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| allowReusePageContent | boolean | true to allow reusing page content, false otherwise. | + +### isRemoveUnusedStreams() {#isRemoveUnusedStreams--} +``` +public boolean isRemoveUnusedStreams() +``` + + +Sometimes a document contains unused resource streams. These streams are not \\u201cunused objects\\u201d because they are referenced from a page\\u2019s resource dictionary. This may happen in cases where an image has been removed from the page but not from the page resources. Also, this situation often occurs when pages are extracted from the document and document pages have \\u201ccommon\\u201d resources, that is, the same Resources object. Page contents are analyzed in order to determine if a resource stream is used or not. Unused streams are removed. Sometimes this decreases the document size. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if unused streams are removed, false otherwise. +### setRemoveUnusedStreams(boolean removeUnusedStreams) {#setRemoveUnusedStreams-boolean-} +``` +public void setRemoveUnusedStreams(boolean removeUnusedStreams) +``` + + +Sets whether to remove unused streams from the PDF. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| removeUnusedStreams | boolean | true to remove unused streams, false otherwise. | + +### isRemoveUnusedObjects() {#isRemoveUnusedObjects--} +``` +public boolean isRemoveUnusedObjects() +``` + + +A PDF document sometimes contains the PDF objects that are not referenced from any other object in the document. This may happen, for example, when a page is removed from the document page tree but the page object itself isn\\u2019t removed. Removing these objects doesn\\u2019t make the document invalid but rather shrinks it. + +***Note:** The default value is false .* + +**Returns:** +boolean - true if unused objects are removed, false otherwise. +### setRemoveUnusedObjects(boolean removeUnusedObjects) {#setRemoveUnusedObjects-boolean-} +``` +public void setRemoveUnusedObjects(boolean removeUnusedObjects) +``` + + +Sets whether to remove unused objects from the PDF. + +***Note:** The default value is false .* + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| removeUnusedObjects | boolean | true to remove unused objects, false otherwise. | + diff --git a/english/java/com.groupdocs.viewer.options/pdfoptions/_index.md b/english/java/com.groupdocs.viewer.options/pdfoptions/_index.md index 32fd3ab99..215ab626b 100644 --- a/english/java/com.groupdocs.viewer.options/pdfoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/pdfoptions/_index.md @@ -3,7 +3,7 @@ title: PdfOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options for rendering PDF documents. type: docs -weight: 21 +weight: 22 url: /java/com.groupdocs.viewer.options/pdfoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/pdfviewoptions/_index.md b/english/java/com.groupdocs.viewer.options/pdfviewoptions/_index.md index ba4e1a97d..b12f75b05 100644 --- a/english/java/com.groupdocs.viewer.options/pdfviewoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/pdfviewoptions/_index.md @@ -3,7 +3,7 @@ title: PdfViewOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options for rendering documents into PDF format. type: docs -weight: 22 +weight: 23 url: /java/com.groupdocs.viewer.options/pdfviewoptions/ --- **Inheritance:** @@ -151,7 +151,7 @@ This option is supported for any input file formats which are supported for conv [Supported document formats]: https://docs.groupdocs.com/viewer/net/supported-document-formats/ **Returns:** -com.groupdocs.viewer.options.PdfOptimizationOptions - PdfOptimizationOptions object or null. +[PdfOptimizationOptions](../../com.groupdocs.viewer.options/pdfoptimizationoptions) - PdfOptimizationOptions object or null. ### setPdfOptimizationOptions(PdfOptimizationOptions pdfOptimizationOptions) {#setPdfOptimizationOptions-com.groupdocs.viewer.options.PdfOptimizationOptions-} ``` public void setPdfOptimizationOptions(PdfOptimizationOptions pdfOptimizationOptions) @@ -168,7 +168,7 @@ This option is supported for any input file formats which are supported for conv **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| pdfOptimizationOptions | com.groupdocs.viewer.options.PdfOptimizationOptions | PdfOptimizationOptions object or null. | +| pdfOptimizationOptions | [PdfOptimizationOptions](../../com.groupdocs.viewer.options/pdfoptimizationoptions) | PdfOptimizationOptions object or null. | ### getImageMaxWidth() {#getImageMaxWidth--} ``` diff --git a/english/java/com.groupdocs.viewer.options/permissions/_index.md b/english/java/com.groupdocs.viewer.options/permissions/_index.md index 37e77eaa8..9080aa858 100644 --- a/english/java/com.groupdocs.viewer.options/permissions/_index.md +++ b/english/java/com.groupdocs.viewer.options/permissions/_index.md @@ -3,7 +3,7 @@ title: Permissions second_title: GroupDocs.Viewer for Java API Reference description: Defines PDF document permissions. type: docs -weight: 23 +weight: 24 url: /java/com.groupdocs.viewer.options/permissions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/pngviewoptions/_index.md b/english/java/com.groupdocs.viewer.options/pngviewoptions/_index.md index f42b22ef0..f6479287c 100644 --- a/english/java/com.groupdocs.viewer.options/pngviewoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/pngviewoptions/_index.md @@ -3,7 +3,7 @@ title: PngViewOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options for rendering documents into PNG format. type: docs -weight: 24 +weight: 25 url: /java/com.groupdocs.viewer.options/pngviewoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/position/_index.md b/english/java/com.groupdocs.viewer.options/position/_index.md index 9669d436a..98f60850e 100644 --- a/english/java/com.groupdocs.viewer.options/position/_index.md +++ b/english/java/com.groupdocs.viewer.options/position/_index.md @@ -3,7 +3,7 @@ title: Position second_title: GroupDocs.Viewer for Java API Reference description: Defines watermark position. type: docs -weight: 40 +weight: 41 url: /java/com.groupdocs.viewer.options/position/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/projectmanagementoptions/_index.md b/english/java/com.groupdocs.viewer.options/projectmanagementoptions/_index.md index db73e59cc..61d7de41a 100644 --- a/english/java/com.groupdocs.viewer.options/projectmanagementoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/projectmanagementoptions/_index.md @@ -3,7 +3,7 @@ title: ProjectManagementOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options for rendering project management files. type: docs -weight: 25 +weight: 26 url: /java/com.groupdocs.viewer.options/projectmanagementoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/rotation/_index.md b/english/java/com.groupdocs.viewer.options/rotation/_index.md index b61a2b5b5..21fab5ea4 100644 --- a/english/java/com.groupdocs.viewer.options/rotation/_index.md +++ b/english/java/com.groupdocs.viewer.options/rotation/_index.md @@ -3,7 +3,7 @@ title: Rotation second_title: GroupDocs.Viewer for Java API Reference description: Defines page rotation in degrees. type: docs -weight: 41 +weight: 42 url: /java/com.groupdocs.viewer.options/rotation/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/security/_index.md b/english/java/com.groupdocs.viewer.options/security/_index.md index 039da6763..761b2f2df 100644 --- a/english/java/com.groupdocs.viewer.options/security/_index.md +++ b/english/java/com.groupdocs.viewer.options/security/_index.md @@ -3,7 +3,7 @@ title: Security second_title: GroupDocs.Viewer for Java API Reference description: Provides PDF document security options. type: docs -weight: 26 +weight: 27 url: /java/com.groupdocs.viewer.options/security/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/size/_index.md b/english/java/com.groupdocs.viewer.options/size/_index.md index efd87ada9..4031d841f 100644 --- a/english/java/com.groupdocs.viewer.options/size/_index.md +++ b/english/java/com.groupdocs.viewer.options/size/_index.md @@ -3,7 +3,7 @@ title: Size second_title: GroupDocs.Viewer for Java API Reference description: Watermark size. type: docs -weight: 27 +weight: 28 url: /java/com.groupdocs.viewer.options/size/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/spreadsheetoptions/_index.md b/english/java/com.groupdocs.viewer.options/spreadsheetoptions/_index.md index 1b96f7fdb..bf02a4c10 100644 --- a/english/java/com.groupdocs.viewer.options/spreadsheetoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/spreadsheetoptions/_index.md @@ -3,7 +3,7 @@ title: SpreadsheetOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options for rendering spreadsheets. type: docs -weight: 28 +weight: 29 url: /java/com.groupdocs.viewer.options/spreadsheetoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/textoptions/_index.md b/english/java/com.groupdocs.viewer.options/textoptions/_index.md index a313f5efa..e6b9d3393 100644 --- a/english/java/com.groupdocs.viewer.options/textoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/textoptions/_index.md @@ -3,7 +3,7 @@ title: TextOptions second_title: GroupDocs.Viewer for Java API Reference description: Text files splitting to pages options. type: docs -weight: 29 +weight: 30 url: /java/com.groupdocs.viewer.options/textoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/textoverflowmode/_index.md b/english/java/com.groupdocs.viewer.options/textoverflowmode/_index.md index 51d1234ea..63967033f 100644 --- a/english/java/com.groupdocs.viewer.options/textoverflowmode/_index.md +++ b/english/java/com.groupdocs.viewer.options/textoverflowmode/_index.md @@ -3,7 +3,7 @@ title: TextOverflowMode second_title: GroupDocs.Viewer for Java API Reference description: Defines text overflow mode for rendering spreadsheet documents into HTML. type: docs -weight: 42 +weight: 43 url: /java/com.groupdocs.viewer.options/textoverflowmode/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/tile/_index.md b/english/java/com.groupdocs.viewer.options/tile/_index.md index daa34cf8e..b9decf0a3 100644 --- a/english/java/com.groupdocs.viewer.options/tile/_index.md +++ b/english/java/com.groupdocs.viewer.options/tile/_index.md @@ -3,7 +3,7 @@ title: Tile second_title: GroupDocs.Viewer for Java API Reference description: Represents drawing region. type: docs -weight: 30 +weight: 31 url: /java/com.groupdocs.viewer.options/tile/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/timeunit/_index.md b/english/java/com.groupdocs.viewer.options/timeunit/_index.md index aea8d0f8d..cb0f22e72 100644 --- a/english/java/com.groupdocs.viewer.options/timeunit/_index.md +++ b/english/java/com.groupdocs.viewer.options/timeunit/_index.md @@ -3,7 +3,7 @@ title: TimeUnit second_title: GroupDocs.Viewer for Java API Reference description: Time unit of the project duration. type: docs -weight: 43 +weight: 44 url: /java/com.groupdocs.viewer.options/timeunit/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/viewinfooptions/_index.md b/english/java/com.groupdocs.viewer.options/viewinfooptions/_index.md index d8e315032..630d9b89b 100644 --- a/english/java/com.groupdocs.viewer.options/viewinfooptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/viewinfooptions/_index.md @@ -3,7 +3,7 @@ title: ViewInfoOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options used for retrieving information about view. type: docs -weight: 31 +weight: 32 url: /java/com.groupdocs.viewer.options/viewinfooptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/viewoptions/_index.md b/english/java/com.groupdocs.viewer.options/viewoptions/_index.md index 15aa6cb7b..e0a531555 100644 --- a/english/java/com.groupdocs.viewer.options/viewoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/viewoptions/_index.md @@ -3,7 +3,7 @@ title: ViewOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides rendering options. type: docs -weight: 32 +weight: 33 url: /java/com.groupdocs.viewer.options/viewoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/visiorenderingoptions/_index.md b/english/java/com.groupdocs.viewer.options/visiorenderingoptions/_index.md index ee56273da..4c6b3abd2 100644 --- a/english/java/com.groupdocs.viewer.options/visiorenderingoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/visiorenderingoptions/_index.md @@ -3,7 +3,7 @@ title: VisioRenderingOptions second_title: GroupDocs.Viewer for Java API Reference description: The Visio files processing documents view options. type: docs -weight: 33 +weight: 34 url: /java/com.groupdocs.viewer.options/visiorenderingoptions/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/watermark/_index.md b/english/java/com.groupdocs.viewer.options/watermark/_index.md index 8feb2b3ff..98211e5e8 100644 --- a/english/java/com.groupdocs.viewer.options/watermark/_index.md +++ b/english/java/com.groupdocs.viewer.options/watermark/_index.md @@ -3,7 +3,7 @@ title: Watermark second_title: GroupDocs.Viewer for Java API Reference description: Represents text watermark. type: docs -weight: 34 +weight: 35 url: /java/com.groupdocs.viewer.options/watermark/ --- **Inheritance:** diff --git a/english/java/com.groupdocs.viewer.options/wordprocessingoptions/_index.md b/english/java/com.groupdocs.viewer.options/wordprocessingoptions/_index.md index e50ef3aff..a3194cabb 100644 --- a/english/java/com.groupdocs.viewer.options/wordprocessingoptions/_index.md +++ b/english/java/com.groupdocs.viewer.options/wordprocessingoptions/_index.md @@ -3,7 +3,7 @@ title: WordProcessingOptions second_title: GroupDocs.Viewer for Java API Reference description: Provides options for rendering word processing documents. type: docs -weight: 35 +weight: 36 url: /java/com.groupdocs.viewer.options/wordprocessingoptions/ --- **Inheritance:**