service OfficeDocument in module com::sun::star::document::

(Global Index)

Syntax

service OfficeDocument;

Description

This abstract service specifies a storable and printable document.

All major document-like components should support this service.

Exported Interfaces

com::sun::star::frame::XStorable

Description

offers a simple way to store a component to an URL.


com::sun::star::view::XPrintable

Description

represents something that can be printed.


com::sun::star::document::XEventsSupplier [ OPTIONAL ]

Description

access to bound event handlers. @optional


Property Summary

AutomaticControlFocus controls the focus behaviour of the form controls in the document

ApplyFormDesignMode controls the initial (on-load) behavior of the form controls in the document

Property Details



AutomaticControlFocus [ O P T I O N A L ]

Syntax

boolean AutomaticControlFocus;

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 [ O P T I O N A L ]

Syntax

boolean ApplyFormDesignMode;

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