NotesCommentsLayoutingOptions

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.INotesCommentsLayoutingOptions

public class NotesCommentsLayoutingOptions implements INotesCommentsLayoutingOptions

Provides options that control the look of layouting of notes and comments in exported document.

Constructors

ConstructorDescription
NotesCommentsLayoutingOptions()Default constructor.

Methods

MethodDescription
getShowCommentsByNoAuthor()Gets or sets the visibility of comments that do not have an author.
setShowCommentsByNoAuthor(boolean value)Gets or sets the visibility of comments that do not have an author.
getNotesPosition()Gets or sets the position of the notes on the page.
setNotesPosition(int value)Gets or sets the position of the notes on the page.
getCommentsPosition()Gets or sets the position of the comments on the page.
setCommentsPosition(int value)Gets or sets the position of the comments on the page.
getCommentsAreaColor()Gets or sets the color of comments area (Applies only if comments are displayed on the right).
setCommentsAreaColor(Integer value)Gets or sets the color of comments area (Applies only if comments are displayed on the right).
getCommentsAreaWidth()Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
setCommentsAreaWidth(int value)Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).

NotesCommentsLayoutingOptions()

public NotesCommentsLayoutingOptions()

Default constructor.

getShowCommentsByNoAuthor()

public final boolean getShowCommentsByNoAuthor()

Gets or sets the visibility of comments that do not have an author. If true then comments will be displayed. (Applies only if comments are displayed).


Default value is false.

Returns: boolean

setShowCommentsByNoAuthor(boolean value)

public final void setShowCommentsByNoAuthor(boolean value)

Gets or sets the visibility of comments that do not have an author. If true then comments will be displayed. (Applies only if comments are displayed).


Default value is false.

Parameters:

ParameterTypeDescription
valueboolean

getNotesPosition()

public final int getNotesPosition()

Gets or sets the position of the notes on the page.


Default is NotesPositions.None.

Returns: int

setNotesPosition(int value)

public final void setNotesPosition(int value)

Gets or sets the position of the notes on the page.


Default is NotesPositions.None.

Parameters:

ParameterTypeDescription
valueint

getCommentsPosition()

public final int getCommentsPosition()

Gets or sets the position of the comments on the page.


Default is CommentsPositions#None.

Returns: int

setCommentsPosition(int value)

public final void setCommentsPosition(int value)

Gets or sets the position of the comments on the page.


Default is CommentsPositions#None.

Parameters:

ParameterTypeDescription
valueint

getCommentsAreaColor()

public final Integer getCommentsAreaColor()

Gets or sets the color of comments area (Applies only if comments are displayed on the right).


Default is java.lang.Integer#BLUE.BLUE.

Returns: java.lang.Integer

setCommentsAreaColor(Integer value)

public final void setCommentsAreaColor(Integer value)

Gets or sets the color of comments area (Applies only if comments are displayed on the right).


Default is java.lang.Integer#BLUE.BLUE.

Parameters:

ParameterTypeDescription
valuejava.lang.Integer

getCommentsAreaWidth()

public final int getCommentsAreaWidth()

Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).


Minimal and default value is 150.

Returns: int

setCommentsAreaWidth(int value)

public final void setCommentsAreaWidth(int value)

Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).


Minimal and default value is 150.

Parameters:

ParameterTypeDescription
valueint