public interface ODFManifestPreferredViewMode extends ODFManifest
The manifest:preferred-view-mode attribute specifies a preference on how the author of the document would like the document to be presented upon the document being opened. This attribute is only applicable to the root file entry with the manifest:full-path 3.8.4 attribute value of "/". The defined values for the manifest:preferred-view-mode attribute are:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EDIT
edit: The author's preference is to open the document as an editable document.
|
static java.lang.String |
PRESENTATION_SLIDE_SHOW
The author's preference is to open the document as presentation slide show.
|
static java.lang.String |
READ_ONLY
The author's preference is to open the document as a read-only document.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getManifestPreferredViewMode()
Return a manifest:preferred-view-mode.
|
void |
setManifestPreferredViewMode(java.lang.String manifestPreferredViewMode)
Set a manifest:preferred-view-mode.
|
static final java.lang.String EDIT
static final java.lang.String PRESENTATION_SLIDE_SHOW
static final java.lang.String READ_ONLY
java.lang.String getManifestPreferredViewMode()
void setManifestPreferredViewMode(java.lang.String manifestPreferredViewMode)
manifestPreferredViewMode
- the manifest:preferred-view-mode to setCopyright © 2010 - No Magic Asia