public class OutlineOptions
extends java.lang.Object
To learn more, visit the Save a Document documentation article.
| Modifier and Type | Method and Description |
|---|---|
BookmarksOutlineLevelCollection |
getBookmarksOutlineLevels()
Allows to specify individual bookmarks outline level.
|
boolean |
getCreateMissingOutlineLevels()
Gets or sets a value determining whether or not to create missing outline levels when the document is exported.
|
boolean |
getCreateOutlinesForHeadingsInTables()
Specifies whether or not to create outlines for headings (paragraphs formatted with the Heading styles) inside tables.
|
int |
getDefaultBookmarksOutlineLevel()
Specifies the default level in the document outline at which to display Word bookmarks.
|
int |
getExpandedOutlineLevels()
Specifies how many levels in the document outline to show expanded when the file is viewed.
|
int |
getHeadingsOutlineLevels()
Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline.
|
void |
setCreateMissingOutlineLevels(boolean value)
Gets or sets a value determining whether or not to create missing outline levels when the document is exported.
|
void |
setCreateOutlinesForHeadingsInTables(boolean value)
Specifies whether or not to create outlines for headings (paragraphs formatted with the Heading styles) inside tables.
|
void |
setDefaultBookmarksOutlineLevel(int value)
Specifies the default level in the document outline at which to display Word bookmarks.
|
void |
setExpandedOutlineLevels(int value)
Specifies how many levels in the document outline to show expanded when the file is viewed.
|
void |
setHeadingsOutlineLevels(int value)
Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline.
|
public boolean getCreateMissingOutlineLevels()
Gets or sets a value determining whether or not to create missing outline levels when the document is exported.
Default value for this property is false.
boolean value.public void setCreateMissingOutlineLevels(boolean value)
Gets or sets a value determining whether or not to create missing outline levels when the document is exported.
Default value for this property is false.
value - The corresponding boolean value.public int getHeadingsOutlineLevels()
Specify 0 for no headings in the outline; specify 1 for one level of headings in the outline and so on.
Default is 0. Valid range is 0 to 9.
int value.public void setHeadingsOutlineLevels(int value)
Specify 0 for no headings in the outline; specify 1 for one level of headings in the outline and so on.
Default is 0. Valid range is 0 to 9.
value - The corresponding int value.public int getExpandedOutlineLevels()
Note that this options will not work when saving to XPS.
Specify 0 and the document outline will be collapsed; specify 1 and the first level items in the outline will be expanded and so on.
Default is 0. Valid range is 0 to 9.
int value.public void setExpandedOutlineLevels(int value)
Note that this options will not work when saving to XPS.
Specify 0 and the document outline will be collapsed; specify 1 and the first level items in the outline will be expanded and so on.
Default is 0. Valid range is 0 to 9.
value - The corresponding int value.public int getDefaultBookmarksOutlineLevel()
Individual bookmarks level could be specified using getBookmarksOutlineLevels() property.
Specify 0 and Word bookmarks will not be displayed in the document outline. Specify 1 and Word bookmarks will be displayed in the document outline at level 1; 2 for level 2 and so on.
Default is 0. Valid range is 0 to 9.
int value.public void setDefaultBookmarksOutlineLevel(int value)
Individual bookmarks level could be specified using getBookmarksOutlineLevels() property.
Specify 0 and Word bookmarks will not be displayed in the document outline. Specify 1 and Word bookmarks will be displayed in the document outline at level 1; 2 for level 2 and so on.
Default is 0. Valid range is 0 to 9.
value - The corresponding int value.public BookmarksOutlineLevelCollection getBookmarksOutlineLevels()
If bookmark level is not specified in this collection then getDefaultBookmarksOutlineLevel() / setDefaultBookmarksOutlineLevel(int) value is used.
BookmarksOutlineLevelCollection value.public boolean getCreateOutlinesForHeadingsInTables()
Default value is false.
boolean value.public void setCreateOutlinesForHeadingsInTables(boolean value)
Default value is false.
value - The corresponding boolean value.