Optional
Readonly
defaultThe file types for which the factory should be the default.
Optional
Readonly
defaultThe file types for which the factory should be the default for rendering, if that is different than the default factory (which may be for editing) If undefined, then it will fall back on the default file type.
Readonly
fileThe file types the widget can view.
Optional
Readonly
labelThe label of the widget to display in dialogs. If not given, name is used instead.
Optional
Readonly
modelThe name of the document model type.
Readonly
nameThe name of the widget to display in dialogs.
Readonly
primaryThe primary file type of the widget.
Optional
Readonly
toolbarA function returning a list of toolbar items to add to the toolbar.
Optional
widget: WidgetOptional
Readonly
translatorThe application language translator.
The options used to initialize a document widget factory.
This interface is intended to be used by mime renderer extensions to define a document opener that uses its renderer factory.