Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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
OfficeDev - Component - Models - XViewDataSupplier
Drawings - Other Drawing Specific View Settings
Text - 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::PropertyValues with information about last opened views to restore it NULL isn't allowed here.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.