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
Constructor | Description |
---|---|
NotesCommentsLayoutingOptions() | Default constructor. |
Methods
Method | Description |
---|---|
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(Color 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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
getCommentsAreaColor()
public final Color getCommentsAreaColor()
Gets or sets the color of comments area (Applies only if comments are displayed on the right).
Default is java.awt.Color#BLUE.BLUE.
Returns: java.awt.Color
setCommentsAreaColor(Color value)
public final void setCommentsAreaColor(Color value)
Gets or sets the color of comments area (Applies only if comments are displayed on the right).
Default is java.awt.Color#BLUE.BLUE.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color |
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:
Parameter | Type | Description |
---|---|---|
value | int |