(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.