Instance Property

inViewingMode

A Boolean value indicating whether the document is in read-only mode.

Declaration

@property(getter=isInViewingMode, readonly) BOOL inViewingMode;

Discussion

The value of this property is YES if the document is in read-only "viewing mode," that is, if the document is locked. You can use this information to prevent certain kinds of user actions or changes when the user is viewing an old document revision.

See Also

Managing Document Status

documentEdited

A Boolean value indicating whether the document has changes that have not been saved.

fileNameExtensionWasHiddenInLastRunSavePanel

A Boolean value indicating whether the user chose to hide the name extension of the file that was selected in the Save panel for the document.