public class NormalViewProperties extends java.lang.Object implements INormalViewProperties
Represents normal view properties. The normal view consists of three content regions: the slide itself, a side content region, and a bottom content region.
The following example shows how to configure ViewProperties.NormalViewProperties properties of a PowerPoint Presentation.//Instantiate a presentation object that represents a presentation file Presentation pres = new Presentation("demo.pptx"); try { pres.getViewProperties().getNormalViewProperties().setHorizontalBarState(SplitterBarStateType.Restored); pres.getViewProperties().getNormalViewProperties().setVerticalBarState(SplitterBarStateType.Maximized); pres.getViewProperties().getNormalViewProperties().getRestoredTop().setAutoAdjust(true); pres.getViewProperties().getNormalViewProperties().getRestoredTop().setDimensionSize(80); pres.getViewProperties().getNormalViewProperties().setShowOutlineIcons(true); pres.save("presentation_normal_view_state.pptx", SaveFormat.Pptx); } finally { if (pres != null) pres.dispose(); }
| Modifier and Type | Method and Description |
|---|---|
int |
getHorizontalBarState()
Specifies the state that the horizontal splitter bar should be shown in.
|
boolean |
getPreferSingleView()
Specifies whether the user prefers to see a full-window single-content region over the
standard normal view with three content regions.
|
INormalViewRestoredProperties |
getRestoredLeft()
This element specifies the sizing of the side content region of the normal view, when the region is of a variable
restored size(neither minimized nor maximized).
|
INormalViewRestoredProperties |
getRestoredTop()
This element specifies the sizing of the top slide region of the normal view, when the region is of a variable
restored size(neither minimized nor maximized).
|
boolean |
getShowOutlineIcons()
Specifies whether the application should show icons if displaying outline content in any
of the content regions of normal view mode.
|
boolean |
getSnapVerticalSplitter()
Specifies whether the vertical splitter should snap to a minimized state when the side
region is sufficiently small.
|
int |
getVerticalBarState()
Specifies the state that the vertical splitter bar should be shown in.
|
void |
setHorizontalBarState(int value)
Specifies the state that the horizontal splitter bar should be shown in.
|
void |
setPreferSingleView(boolean value)
Specifies whether the user prefers to see a full-window single-content region over the
standard normal view with three content regions.
|
void |
setShowOutlineIcons(boolean value)
Specifies whether the application should show icons if displaying outline content in any
of the content regions of normal view mode.
|
void |
setSnapVerticalSplitter(boolean value)
Specifies whether the vertical splitter should snap to a minimized state when the side
region is sufficiently small.
|
void |
setVerticalBarState(int value)
Specifies the state that the vertical splitter bar should be shown in.
|
public final boolean getShowOutlineIcons()
Specifies whether the application should show icons if displaying outline content in any
of the content regions of normal view mode.
Read/write boolean.
getShowOutlineIcons in interface INormalViewPropertiespublic final void setShowOutlineIcons(boolean value)
Specifies whether the application should show icons if displaying outline content in any
of the content regions of normal view mode.
Read/write boolean.
setShowOutlineIcons in interface INormalViewPropertiespublic final boolean getSnapVerticalSplitter()
Specifies whether the vertical splitter should snap to a minimized state when the side
region is sufficiently small.
Read/write boolean.
getSnapVerticalSplitter in interface INormalViewPropertiespublic final void setSnapVerticalSplitter(boolean value)
Specifies whether the vertical splitter should snap to a minimized state when the side
region is sufficiently small.
Read/write boolean.
setSnapVerticalSplitter in interface INormalViewPropertiespublic final int getVerticalBarState()
Specifies the state that the vertical splitter bar should be shown in. A vertical splitter bar separates the slide from the side content region.
getVerticalBarState in interface INormalViewPropertiespublic final void setVerticalBarState(int value)
Specifies the state that the vertical splitter bar should be shown in. A vertical splitter bar separates the slide from the side content region.
setVerticalBarState in interface INormalViewPropertiespublic final int getHorizontalBarState()
Specifies the state that the horizontal splitter bar should be shown in. A horizontal splitter bar separates the slide from the content region below the slide.
getHorizontalBarState in interface INormalViewPropertiespublic final void setHorizontalBarState(int value)
Specifies the state that the horizontal splitter bar should be shown in. A horizontal splitter bar separates the slide from the content region below the slide.
setHorizontalBarState in interface INormalViewPropertiespublic final boolean getPreferSingleView()
Specifies whether the user prefers to see a full-window single-content region over the
standard normal view with three content regions. If enabled, the application may choose
to display one of the content regions in the entire window.
Read/write boolean.
getPreferSingleView in interface INormalViewPropertiespublic final void setPreferSingleView(boolean value)
Specifies whether the user prefers to see a full-window single-content region over the
standard normal view with three content regions. If enabled, the application may choose
to display one of the content regions in the entire window.
Read/write boolean.
setPreferSingleView in interface INormalViewPropertiespublic final INormalViewRestoredProperties getRestoredLeft()
This element specifies the sizing of the side content region of the normal view, when the region is of a variable
restored size(neither minimized nor maximized).
Read opnly INormalViewRestoredProperties.
getRestoredLeft in interface INormalViewPropertiespublic final INormalViewRestoredProperties getRestoredTop()
This element specifies the sizing of the top slide region of the normal view, when the region is of a variable
restored size(neither minimized nor maximized).
Read only INormalViewRestoredProperties.
getRestoredTop in interface INormalViewPropertiesCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.