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

unpublished service CellValueBinding
Usage Restrictions
not published
Description
defines the binding to a single cell in a table document

Read/Write access to the cell represented by this component is supported, as well as active broadcasting of value changes.

The binding supports exchanging double values, string values.

The component cannot be instantiated at a global service factory, instead it's usually provided by a document instance.

See also
::com::sun::star::document::OfficeDocument

Included Services - Summary
::com::sun::star::form::binding::ValueBinding

ensures the basic functionality for binding to a value

Exported Interfaces - Summary
::com::sun::star::util::XModifyBroadcaster

allows notifications of changes in the content of the underlying cell. (details)

::com::sun::star::lang::XInitialization

allows setting initial, creation-time properties of the component (details)

Properties' Summary
[ readonly bound ] CellAddress
BoundCell
specifies the cell within a document whose value is reflected by the binding.  
Included Services - Details
::com::sun::star::form::binding::ValueBinding
Description
ensures the basic functionality for binding to a value
Exported Interfaces - Details
::com::sun::star::util::XModifyBroadcaster
Description
allows notifications of changes in the content of the underlying cell.

Note that this interface is already optionally allowed in the underlying service (::com::sun::star::form::binding::ValueBinding), but it loses it's optionality here.

::com::sun::star::lang::XInitialization
Description
allows setting initial, creation-time properties of the component

This interface is used to initialize the component after creation. It has to be used exactly once in the life time of the component, every second call to ::com::sun::star::lang::XInitialization::initialize will throw an exception.

The arguments passed to the ::com::sun::star::lang::XInitialization::initialize method must be instances of ::com::sun::star::beans::NamedValue, where the ::com::sun::star::beans::NamedValue::Name denotes the type of information to initialize, and the ::com::sun::star::beans::NamedValue::Value the inital value.

The following aspects of the components can be initialized:

  • BoundCell
    specifies the address of the cell to bind this instance to. Must be a CellAddress instance.

Properties' Details
BoundCell
[ readonly bound ] CellAddress BoundCell;
Description
specifies the cell within a document whose value is reflected by the binding.

 
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.