:: com :: sun :: star :: document ::

interface 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
6.1.3 Office Development - OpenOffice.org Application Environment - Using the Component Framework - Models - XViewDataSupplier
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