LibreOffice: OfficeDocumentView Service Reference

LibreOffice LibreOffice 7.4 SDK API Reference

Loading...
Searching...
No Matches
Exported Interfaces | List of all members
OfficeDocumentView Service Referencepublished

specifies a view of a standard office document. More...

Inheritance diagram for OfficeDocumentView:

## Exported Interfaces
interface | com::sun::star::view::XSelectionSupplier
| This mandatory interface gives access to the current user selection within this office document view.
interface | com::sun::star::view::XViewSettingsSupplier
| This optional interface gives access to the view properties within this control for an office document.
interface | com::sun::star::view::XControlAccess
| Within this office document view, this optional interface gives access to the controls which belong to specified control models.

## Additional Inherited Members
Public Member Functions inherited from XSelectionSupplier
boolean | select ([in] any xSelection) raises ( com::sun::star::lang::IllegalArgumentException )
| selects the object represented by xSelection if it is known and selectable in this object.
any | getSelection ()
void | addSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener)
| registers an event listener, which is called when the selection changes.
void | removeSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener)
| unregisters an event listener which was registered with XSelectionSupplier::addSelectionChangeListener().
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.
Protected Member Functions inherited from XViewSettingsSupplier
com::sun::star::beans::XPropertySet | getViewSettings ()
Protected Member Functions inherited from XControlAccess
com::sun::star::awt::XControl | getControl ([in] com::sun::star::awt::XControlModel xModel) raises ( com::sun::star::container::NoSuchElementException )
| is called to get the control from the specified control model.

## Detailed Description

specifies a view of a standard office document.

## Exported Interfaces

## ◆ com::sun::star::view::XControlAccess

interface com::sun::star::view::XControlAccess
| optional

Within this office document view, this optional interface gives access to the controls which belong to specified control models.

## ◆ com::sun::star::view::XSelectionSupplier

interface com::sun::star::view::XSelectionSupplier

This mandatory interface gives access to the current user selection within this office document view.

The type of the selection depends on the actual document type.

## ◆ com::sun::star::view::XViewSettingsSupplier

interface com::sun::star::view::XViewSettingsSupplier
| optional

This optional interface gives access to the view properties within this control for an office document.

See also
  ViewSettings

The documentation for this service was generated from the following file:

- com/sun/star/view/OfficeDocumentView.idl