Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: document ::
service OfficeDocument
Description abstract service which specifies a storable and printable document All major document-like components should support this service instead of simple components which supports a ::com::sun::star::frame::Controller or pure ::com::sun::star::awt::XWindow only. See also ::com::sun::star::frame::Controller

Exported Interfaces
::com::sun::star::frame::XModel | Description represents a component which is created from an URL and arguments It is a representation of a resource in the sense that it was created/loaded from the resource. The arguments are passed to the loader to modify its behavior.
::com::sun::star::util::XModifiable | Description a storable document should provide information about his modify state With this interface it's possible too, to reset the modify state. That can be neccessary to prevent code against problem during closing of the document without saving any changes.
::com::sun::star::frame::XStorable | Description offers a simple way to store a component to an URL This interface supports functionality to make a copy of current component by saving it to another location to commit made changes to convert it by saving it by using suitable filter name.
::com::sun::star::view::XPrintable | Description offers a way to print a component It's possible to specify wich printer should be used and of course print the document on it.
XEventBroadcaster | [ OPTIONAL ] Description makes it possible to register listeners which are called whenever a document event occurs
XEventsSupplier | [ OPTIONAL ] Description access to bound event handlers
XDocumentInfoSupplier | [ OPTIONAL ] Description document can provide a DocumentInfo Instead of the StandaloneDocumentInfo service the DocumentInfo will be available on an already opened document only.
XViewDataSupplier | [ OPTIONAL ] Description access to some properties describing all open views to a document
::com::sun::star::view::XPrintJobBroadcaster | [ OPTIONAL ] Description allows for getting information about a print job Since version OpenOffice.org 1.1.1

Properties' Summary
AutomaticControlFocus | [ OPTIONAL ] controls the focus behaviour of the form controls in the document
ApplyFormDesignMode | [ OPTIONAL ] controls the initial (on-load) behavior of the form controls in the document

Properties' Details
AutomaticControlFocus
boolean AutomaticControlFocus; [ OPTIONAL ] Description controls the focus behaviour of the form controls in the document If this flag is set to true , any view belonging to the document should focus the first control in the document. With this, you may control if your document works primarily as a form document.
ApplyFormDesignMode
boolean ApplyFormDesignMode; [ OPTIONAL ] Description controls the initial (on-load) behavior of the form controls in the document If set to true , upon loading the document, the form controls will be in design mode. If set to false , they will be alive (i.e., connected to the data source specified for the form they belong to). With this, you may control if your document works primarily as a form document.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.