Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: document ::
interface XViewDataSupplier
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XViewDataSupplier
Description gives access to some properties describing all open views to a document Each view is described by a sequence< ::com::sun::star::beans::PropertyValue > . Through this interface the state of all open views can be retrieved and restored later. These states can also be made persistent so that a document loader can create all views of the correct types and restore their state to the state when the document was saved. Developers Guide 9.7.3 Drawing Documents and Presentation Documents - Drawing and Presentation Document Controller - Other Drawing-Specific View Settings 6.1.3 Office Development - OpenOffice.org Application Environment - Using the Component Framework - Models - XViewDataSupplier 7.5 Text Documents - Text Document Controller

Methods' Summary
getViewData | retrieve informations about currently opened view to restore it later
setViewData | restore all views which will be represented by given data argument

Methods' Details
getViewData
::com::sun::star::container::XIndexAccess getViewData(); |  |
Description retrieve informations about currently opened view to restore it later Returns a ::com::sun::star::container::XIndexAccess , that gives access to a list of ::com::sun::star::beans::PropertyValue for every open view. May NULL if no view is currently available.
setViewData
void setViewData( | [in] ::com::sun::star::container::XIndexAccess | Data );
Description restore all views which will be represented by given data argument Parameter Data a list of ::com::sun::star::beans::PropertyValue s with information about last opened views to restore it NULL isn't allowed here.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.