LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
svxform::OControlTransferData Class Reference

#include <fmexch.hxx>

Inheritance diagram for svxform::OControlTransferData:
[legend]
Collaboration diagram for svxform::OControlTransferData:
[legend]

Public Member Functions

 OControlTransferData ()
 
 OControlTransferData (const css::uno::Reference< css::datatransfer::XTransferable > &_rxTransferable)
 
const DataFlavorExVectorGetDataFlavorExVector () const
 
void addSelectedEntry (SvTreeListEntry *_pEntry)
 
void setFocusEntry (SvTreeListEntry *_pFocusEntry)
 
size_t onEntryRemoved (SvTreeListEntry *_pEntry)
 notifies the data transfer object that a certain entry has been removed from the owning tree More...
 
void setFormsRoot (const css::uno::Reference< css::form::XForms > &_rxFormsRoot)
 
void buildPathFormat (SvTreeListBox const *pTreeBox, SvTreeListEntry const *pRoot)
 
void buildListFromPath (SvTreeListBox const *pTreeBox, SvTreeListEntry *pRoot)
 
void addHiddenControlsFormat (const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > &seqInterfaces)
 
const ListBoxEntrySetselected () const
 
const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > & hiddenControls () const
 
const css::uno::Reference< css::form::XForms > & getFormsRoot () const
 

Protected Member Functions

void updateFormats ()
 

Protected Attributes

ListBoxEntrySet m_aSelectedEntries
 
css::uno::Sequence< css::uno::Sequence< sal_uInt32 > > m_aControlPaths
 
css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > m_aHiddenControlModels
 
css::uno::Reference< css::form::XForms > m_xFormsRoot
 
SvTreeListEntrym_pFocusEntry
 

Private Attributes

DataFlavorExVector m_aCurrentFormats
 

Detailed Description

Definition at line 122 of file fmexch.hxx.

Constructor & Destructor Documentation

svxform::OControlTransferData::OControlTransferData ( )

Definition at line 112 of file fmexch.cxx.

svxform::OControlTransferData::OControlTransferData ( const css::uno::Reference< css::datatransfer::XTransferable > &  _rxTransferable)

Member Function Documentation

void svxform::OControlTransferData::addHiddenControlsFormat ( const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > &  seqInterfaces)

Definition at line 203 of file fmexch.cxx.

References m_aHiddenControlModels.

Referenced by svxform::NavigatorTree::implPrepareExchange().

void svxform::OControlTransferData::addSelectedEntry ( SvTreeListEntry _pEntry)

Definition at line 191 of file fmexch.cxx.

References m_aSelectedEntries.

Referenced by svxform::NavigatorTree::implPrepareExchange().

void svxform::OControlTransferData::buildListFromPath ( SvTreeListBox const *  pTreeBox,
SvTreeListEntry pRoot 
)
void svxform::OControlTransferData::buildPathFormat ( SvTreeListBox const *  pTreeBox,
SvTreeListEntry const *  pRoot 
)
const DataFlavorExVector & svxform::OControlTransferData::GetDataFlavorExVector ( ) const
inline

Definition at line 193 of file fmexch.hxx.

References m_aCurrentFormats, and updateFormats().

Referenced by svxform::NavigatorTree::implExecuteDataTransfer().

const css::uno::Reference< css::form::XForms >& svxform::OControlTransferData::getFormsRoot ( ) const
inline
const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > >& svxform::OControlTransferData::hiddenControls ( ) const
inline

Definition at line 186 of file fmexch.hxx.

References m_aHiddenControlModels.

Referenced by svxform::NavigatorTree::implExecuteDataTransfer().

size_t svxform::OControlTransferData::onEntryRemoved ( SvTreeListEntry _pEntry)

notifies the data transfer object that a certain entry has been removed from the owning tree

In case the removed entry is part of the transfer object's selection, the entry is removed from the selection.

Parameters
_pEntry
Returns
the number of entries remaining in the selection.

Definition at line 184 of file fmexch.cxx.

References m_aSelectedEntries.

Referenced by svxform::NavigatorTree::ModelHasRemoved().

const ListBoxEntrySet& svxform::OControlTransferData::selected ( ) const
inline
void svxform::OControlTransferData::setFocusEntry ( SvTreeListEntry _pFocusEntry)

Definition at line 197 of file fmexch.cxx.

References m_pFocusEntry.

Referenced by svxform::NavigatorTree::implPrepareExchange().

void svxform::OControlTransferData::setFormsRoot ( const css::uno::Reference< css::form::XForms > &  _rxFormsRoot)
inline

Definition at line 167 of file fmexch.hxx.

References m_xFormsRoot.

Referenced by svxform::NavigatorTree::implPrepareExchange().

void svxform::OControlTransferData::updateFormats ( )
protected

Member Data Documentation

css::uno::Sequence< css::uno::Sequence< sal_uInt32 > > svxform::OControlTransferData::m_aControlPaths
protected
DataFlavorExVector svxform::OControlTransferData::m_aCurrentFormats
private

Definition at line 125 of file fmexch.hxx.

Referenced by GetDataFlavorExVector(), and updateFormats().

css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > svxform::OControlTransferData::m_aHiddenControlModels
protected
ListBoxEntrySet svxform::OControlTransferData::m_aSelectedEntries
protected
SvTreeListEntry* svxform::OControlTransferData::m_pFocusEntry
protected

Definition at line 138 of file fmexch.hxx.

Referenced by svxform::OControlExchange::AddSupportedFormats(), and setFocusEntry().

css::uno::Reference< css::form::XForms > svxform::OControlTransferData::m_xFormsRoot
protected

The documentation for this class was generated from the following files: