public abstract class BaseViewOptions extends Object
The BaseViewOptions class serves as the base for rendering options in GroupDocs.Viewer.
It allows you to customize the rendering behavior of the output HTML, PDF, PNG, and JPEG files when rendering
specific document formats.
Note: For internal usage.
HtmlViewOptions,
PdfViewOptions,
JpgViewOptions| Constructor and Description |
|---|
BaseViewOptions() |
| Modifier and Type | Method and Description |
|---|---|
ArchiveOptions |
getArchiveOptions()
Retrieves the archive files view options.
|
CadOptions |
getCadOptions()
Retrieves the CAD drawing view options.
|
String |
getDefaultFontName()
Default font to be used when a particular font used in the document can't be found.
|
EmailOptions |
getEmailOptions()
Retrieves the email messages view options.
|
MailStorageOptions |
getMailStorageOptions()
Retrieves the Lotus Notes storage data files view options.
|
OutlookOptions |
getOutlookOptions()
Retrieves the MS Outlook data files view options.
|
PdfOptions |
getPdfOptions()
Retrieves the PDF documents view options.
|
com.groupdocs.viewer.options.PresentationOptions |
getPresentationOptions()
Retrieves the view options for processing presentation documents.
|
ProjectManagementOptions |
getProjectManagementOptions()
Retrieves the project management files view options.
|
SpreadsheetOptions |
getSpreadsheetOptions()
Retrieves the spreadsheet files view options.
|
TextOptions |
getTextOptions()
Retrieves the options for splitting text files into pages.
|
VisioRenderingOptions |
getVisioRenderingOptions()
Retrieves the rendering options for processing Visio files when viewing documents.
|
com.groupdocs.viewer.options.WebDocumentOptions |
getWebDocumentOptions()
Gets the rendering options that allow customization of the appearance of the output HTML/PDF/PNG/JPEG
when rendering Web documents.
|
WordProcessingOptions |
getWordProcessingOptions()
The Word processing files view options.
|
boolean |
isCadOptionsInitialized_Internal() |
boolean |
isRenderComments()
Enables rendering comments.
|
boolean |
isRenderHiddenPages()
Enables rendering of hidden pages.
|
boolean |
isRenderNotes()
Enables rendering notes.
|
void |
setArchiveOptions(ArchiveOptions value)
Sets the archive files view options.
|
void |
setCadOptions(CadOptions value)
Sets the CAD drawing view options.
|
void |
setDefaultFontName(String value)
Default font to be used when a particular font used in the document can't be found.
|
void |
setEmailOptions(EmailOptions value)
Sets the email messages view options.
|
void |
setMailStorageOptions(MailStorageOptions mailStorageOptions)
Sets the Lotus Notes storage data files view options.
|
void |
setOutlookOptions(OutlookOptions value)
Sets the MS Outlook data files view options.
|
void |
setPdfOptions(PdfOptions value)
Retrieves the PDF documents view options.
|
void |
setPresentationOptions(com.groupdocs.viewer.options.PresentationOptions presentationOptions)
Sets the view options for processing presentation documents.
|
void |
setProjectManagementOptions(ProjectManagementOptions projectManagementOptions)
Sets the project management files view options.
|
void |
setRenderComments(boolean value)
Enables rendering comments.
|
void |
setRenderHiddenPages(boolean value)
Enables rendering of hidden pages.
|
void |
setRenderNotes(boolean value)
Enables rendering notes.
|
void |
setSpreadsheetOptions(SpreadsheetOptions value)
Sets the spreadsheet files view options.
|
void |
setTextOptions(TextOptions textOptions)
Sets the options for splitting text files into pages.
|
void |
setVisioRenderingOptions(VisioRenderingOptions visioRenderingOptions)
Sets the rendering options for processing Visio files when viewing documents.
|
void |
setWebDocumentOptions(com.groupdocs.viewer.options.WebDocumentOptions webDocumentOptions)
Sets the rendering options that allow customization of the appearance of the output HTML/PDF/PNG/JPEG
when rendering Web documents.
|
void |
setWordProcessingOptions(WordProcessingOptions wordProcessingOptions)
The Word processing files view options.
|
public final ArchiveOptions getArchiveOptions()
Retrieves the archive files view options.
For more information and code examples, see the documentation.
public final CadOptions getCadOptions()
Retrieves the CAD drawing view options.
For more information and code examples, see the Render CAD drawings and models as HTML, PDF, and image files and Specify rendering options for CAD files.
public final String getDefaultFontName()
Default font to be used when a particular font used in the document can't be found.
Use this property to set the default font for a document. GroupDocs.Viewer uses this font during rendering instead of any not installed fonts. For code examples, see the documentation.
public final EmailOptions getEmailOptions()
Retrieves the email messages view options.
For more information and code examples, see the documentation.
public MailStorageOptions getMailStorageOptions()
Retrieves the Lotus Notes storage data files view options.
public final OutlookOptions getOutlookOptions()
Retrieves the MS Outlook data files view options.
For more information and code examples, see the documentation.
public final PdfOptions getPdfOptions()
Retrieves the PDF documents view options.
For more information and code examples, see the documentation.
public com.groupdocs.viewer.options.PresentationOptions getPresentationOptions()
Retrieves the view options for processing presentation documents.
For more information and code examples, see the documentation.
public final ProjectManagementOptions getProjectManagementOptions()
Retrieves the project management files view options.
For more information and code examples, see the documentation.
public final SpreadsheetOptions getSpreadsheetOptions()
Retrieves the spreadsheet files view options.
For more information and code examples, see the Render Excel and Apple Numbers spreadsheets as HTML, PDF, and image files, Split a worksheet into pages, and Specify spreadsheet rendering options.
public TextOptions getTextOptions()
Retrieves the options for splitting text files into pages.
For more information and code examples, see the documentation.
public VisioRenderingOptions getVisioRenderingOptions()
Retrieves the rendering options for processing Visio files when viewing documents.
For more information and code examples, see the documentation.
public com.groupdocs.viewer.options.WebDocumentOptions getWebDocumentOptions()
Gets the rendering options that allow customization of the appearance of the output HTML/PDF/PNG/JPEG when rendering Web documents.
For more information and code examples, see the documentation.
public final WordProcessingOptions getWordProcessingOptions()
The Word processing files view options.
For more information and code examples, see the documentation.
public boolean isCadOptionsInitialized_Internal()
public final boolean isRenderComments()
Enables rendering comments.
By default, GroupDocs.Viewer does not render comments. To do this, set this property to
true if comments should be rendered, false otherwise.public final boolean isRenderHiddenPages()
Enables rendering of hidden pages.
Some files, such as presentations or spreadsheets, may contain hidden pages. By default, GroupDocs.Viewer does not render these pages. To do this, set this property to
true if hidden pages should be rendered, false otherwise.public final boolean isRenderNotes()
Enables rendering notes.
Some files, such as presentations or Microsoft project files, may contain notes. By default, GroupDocs.Viewer does not render notes. To do this, set this property to
true if notes should be rendered, false otherwise.public final void setArchiveOptions(ArchiveOptions value)
Sets the archive files view options.
For more information and code examples, see the documentation.
value - The archive files view options.public final void setCadOptions(CadOptions value)
Sets the CAD drawing view options.
For more information and code examples, see the Render CAD drawings and models as HTML, PDF, and image files and Specify rendering options for CAD files.
value - The CAD drawing view options.public final void setDefaultFontName(String value)
Default font to be used when a particular font used in the document can't be found.
Use this property to set the default font for a document. GroupDocs.Viewer uses this font during rendering instead of any not installed fonts. For code examples, see the documentation.
value - The name of the default font.public final void setEmailOptions(EmailOptions value)
Sets the email messages view options.
For more information and code examples, see the documentation.
value - Email messages view options.public void setMailStorageOptions(MailStorageOptions mailStorageOptions)
Sets the Lotus Notes storage data files view options.
mailStorageOptions - The Lotus Notes storage data files view options.public final void setOutlookOptions(OutlookOptions value)
Sets the MS Outlook data files view options.
For more information and code examples, see the documentation.
value - The MS Outlook data files view options to set.public final void setPdfOptions(PdfOptions value)
Retrieves the PDF documents view options.
For more information and code examples, see the documentation.
value - The PDF documents view options.public void setPresentationOptions(com.groupdocs.viewer.options.PresentationOptions presentationOptions)
Sets the view options for processing presentation documents.
For more information and code examples, see the documentation.
presentationOptions - The presentation view options for processing presentation documents.public final void setProjectManagementOptions(ProjectManagementOptions projectManagementOptions)
Sets the project management files view options.
For more information and code examples, see the documentation.
projectManagementOptions - The project management files view options to be set.public final void setRenderComments(boolean value)
Enables rendering comments.
By default, GroupDocs.Viewer does not render comments. To do this, set this property to
value - true if comments should be rendered, false otherwise.public final void setRenderHiddenPages(boolean value)
Enables rendering of hidden pages.
Some files, such as presentations or spreadsheets, may contain hidden pages. By default, GroupDocs.Viewer does not render these pages. To do this, set this property to
value - true if hidden pages should be rendered, false otherwise.public final void setRenderNotes(boolean value)
Enables rendering notes.
value - true if notes should be rendered, false otherwise.public final void setSpreadsheetOptions(SpreadsheetOptions value)
Sets the spreadsheet files view options.
For more information and code examples, see the Render Excel and Apple Numbers spreadsheets as HTML, PDF, and image files, Split a worksheet into pages, and Specify spreadsheet rendering options.
value - The spreadsheet files view options.public void setTextOptions(TextOptions textOptions)
Sets the options for splitting text files into pages.
For more information and code examples, see the documentation.
textOptions - The text file splitting options.public void setVisioRenderingOptions(VisioRenderingOptions visioRenderingOptions)
Sets the rendering options for processing Visio files when viewing documents.
For more information and code examples, see the documentation.
visioRenderingOptions - The Visio rendering options for processing Visio files.public void setWebDocumentOptions(com.groupdocs.viewer.options.WebDocumentOptions webDocumentOptions)
Sets the rendering options that allow customization of the appearance of the output HTML/PDF/PNG/JPEG when rendering Web documents.
For more information and code examples, see the documentation.
webDocumentOptions - The WebDocumentOptions object for customizing the rendering options.public final void setWordProcessingOptions(WordProcessingOptions wordProcessingOptions)
The Word processing files view options.
For more information and code examples, see the documentation.
wordProcessingOptions - The Word processing options for rendering Word documents.Copyright © 2024. All rights reserved.