Specifies how many levels in the document outline to show expanded when the file is viewed.
WordProcessingBookmarksOptions()
public WordProcessingBookmarksOptions()
getBookmarksOutlineLevel()
public final int getBookmarksOutlineLevel()
Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
Returns:
int
setBookmarksOutlineLevel(int value)
public final void setBookmarksOutlineLevel(int value)
Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
Parameters:
Parameter
Type
Description
value
int
getHeadingsOutlineLevels()
public final int getHeadingsOutlineLevels()
Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
Returns:
int
setHeadingsOutlineLevels(int value)
public final void setHeadingsOutlineLevels(int value)
Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
Parameters:
Parameter
Type
Description
value
int
getExpandedOutlineLevels()
public final int getExpandedOutlineLevels()
Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
Returns:
int
setExpandedOutlineLevels(int value)
public final void setExpandedOutlineLevels(int value)
Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
Parameters:
Parameter
Type
Description
value
int
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.