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 (const weld::TreeView *pView, const 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, const 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 113 of file fmexch.hxx.

Constructor & Destructor Documentation

◆ OControlTransferData() [1/2]

svxform::OControlTransferData::OControlTransferData ( )

Definition at line 96 of file fmexch.cxx.

◆ OControlTransferData() [2/2]

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

Member Function Documentation

◆ addHiddenControlsFormat()

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

Definition at line 188 of file fmexch.cxx.

References m_aHiddenControlModels.

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

◆ addSelectedEntry()

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

Definition at line 178 of file fmexch.cxx.

References m_aSelectedEntries.

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

◆ buildListFromPath()

void svxform::OControlTransferData::buildListFromPath ( const weld::TreeView pTreeBox,
const weld::TreeIter pRoot 
)

◆ buildPathFormat()

void svxform::OControlTransferData::buildPathFormat ( const weld::TreeView pTreeBox,
const weld::TreeIter pRoot 
)

◆ GetDataFlavorExVector()

const DataFlavorExVector & svxform::OControlTransferData::GetDataFlavorExVector ( ) const
inline

Definition at line 184 of file fmexch.hxx.

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

◆ getFormsRoot()

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

◆ hiddenControls()

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

Definition at line 177 of file fmexch.hxx.

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

◆ onEntryRemoved()

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

References m_aSelectedEntries.

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

◆ selected()

const ListBoxEntrySet & svxform::OControlTransferData::selected ( ) const
inline

◆ setFocusEntry()

void svxform::OControlTransferData::setFocusEntry ( bool  _bFocusEntry)

Definition at line 183 of file fmexch.cxx.

References m_bFocusEntry.

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

◆ setFormsRoot()

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

Definition at line 158 of file fmexch.hxx.

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

◆ updateFormats()

void svxform::OControlTransferData::updateFormats ( )
protected

Member Data Documentation

◆ m_aControlPaths

css::uno::Sequence< css::uno::Sequence< sal_uInt32 > > svxform::OControlTransferData::m_aControlPaths
protected

◆ m_aCurrentFormats

DataFlavorExVector svxform::OControlTransferData::m_aCurrentFormats
private

Definition at line 116 of file fmexch.hxx.

Referenced by updateFormats().

◆ m_aHiddenControlModels

css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > svxform::OControlTransferData::m_aHiddenControlModels
protected

◆ m_aSelectedEntries

ListBoxEntrySet svxform::OControlTransferData::m_aSelectedEntries
protected

◆ m_bFocusEntry

bool svxform::OControlTransferData::m_bFocusEntry
protected

Definition at line 129 of file fmexch.hxx.

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

◆ m_xFormsRoot

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

Definition at line 126 of file fmexch.hxx.

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


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