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]

Public Member Functions

 OControlTransferData ()
 
 OControlTransferData (const css::uno::Reference< css::datatransfer::XTransferable > &_rxTransferable)
 
const DataFlavorExVectorGetDataFlavorExVector () const
 
void addSelectedEntry (std::unique_ptr< weld::TreeIter > xEntry)
 
void setFocusEntry (bool _bFocusEntry)
 
size_t onEntryRemoved (weld::TreeView *pView, weld::TreeIter *_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 (const weld::TreeView *pTreeBox, const weld::TreeIter *pRoot)
 
void buildListFromPath (const weld::TreeView *pTreeBox, weld::TreeIter *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
 
bool m_bFocusEntry
 

Private Attributes

DataFlavorExVector m_aCurrentFormats
 

Detailed Description

Definition at line 119 of file fmexch.hxx.

Constructor & Destructor Documentation

svxform::OControlTransferData::OControlTransferData ( )

Definition at line 102 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 194 of file fmexch.cxx.

References m_aHiddenControlModels.

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

void svxform::OControlTransferData::addSelectedEntry ( std::unique_ptr< weld::TreeIter xEntry)

Definition at line 184 of file fmexch.cxx.

References m_aSelectedEntries.

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

void svxform::OControlTransferData::buildListFromPath ( const weld::TreeView pTreeBox,
weld::TreeIter pRoot 
)
void svxform::OControlTransferData::buildPathFormat ( const weld::TreeView pTreeBox,
const weld::TreeIter pRoot 
)
const DataFlavorExVector & svxform::OControlTransferData::GetDataFlavorExVector ( ) const
inline

Definition at line 190 of file fmexch.hxx.

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 183 of file fmexch.hxx.

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

size_t svxform::OControlTransferData::onEntryRemoved ( weld::TreeView pView,
weld::TreeIter _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 172 of file fmexch.cxx.

References weld::TreeView::iter_compare(), and m_aSelectedEntries.

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

const ListBoxEntrySet& svxform::OControlTransferData::selected ( ) const
inline
void svxform::OControlTransferData::setFocusEntry ( bool  _bFocusEntry)

Definition at line 189 of file fmexch.cxx.

References m_bFocusEntry.

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

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

Definition at line 164 of file fmexch.hxx.

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 122 of file fmexch.hxx.

Referenced by updateFormats().

css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > svxform::OControlTransferData::m_aHiddenControlModels
protected
ListBoxEntrySet svxform::OControlTransferData::m_aSelectedEntries
protected
bool svxform::OControlTransferData::m_bFocusEntry
protected

Definition at line 135 of file fmexch.hxx.

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

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

Definition at line 132 of file fmexch.hxx.

Referenced by svxform::OControlExchange::GetData(), and updateFormats().


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