LibreOffice Module svx (master) 1
|
#include <fmexch.hxx>
Public Member Functions | |
OControlTransferData () | |
OControlTransferData (const css::uno::Reference< css::datatransfer::XTransferable > &_rxTransferable) | |
const DataFlavorExVector & | GetDataFlavorExVector () 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 ListBoxEntrySet & | selected () 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 |
Definition at line 113 of file fmexch.hxx.
svxform::OControlTransferData::OControlTransferData | ( | ) |
Definition at line 96 of file fmexch.cxx.
svxform::OControlTransferData::OControlTransferData | ( | const css::uno::Reference< css::datatransfer::XTransferable > & | _rxTransferable | ) |
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().
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().
void svxform::OControlTransferData::buildListFromPath | ( | const weld::TreeView * | pTreeBox, |
const weld::TreeIter * | pRoot | ||
) |
Definition at line 229 of file fmexch.cxx.
References weld::TreeView::iter_nth_child(), m_aControlPaths, m_aSelectedEntries, and weld::TreeView::make_iterator().
Referenced by svxform::NavigatorTree::implAcceptDataTransfer().
void svxform::OControlTransferData::buildPathFormat | ( | const weld::TreeView * | pTreeBox, |
const weld::TreeIter * | pRoot | ||
) |
Definition at line 193 of file fmexch.cxx.
References weld::TreeView::get_iter_index_in_parent(), weld::TreeView::iter_compare(), weld::TreeView::iter_parent(), m_aControlPaths, m_aSelectedEntries, and weld::TreeView::make_iterator().
Referenced by svxform::NavigatorTree::implPrepareExchange().
|
inline |
Definition at line 184 of file fmexch.hxx.
Referenced by svxform::NavigatorTree::implExecuteDataTransfer().
|
inline |
Definition at line 180 of file fmexch.hxx.
Referenced by svxform::NavigatorTree::implAcceptDataTransfer(), and svxform::NavigatorTree::implExecuteDataTransfer().
|
inline |
Definition at line 177 of file fmexch.hxx.
Referenced by svxform::NavigatorTree::implExecuteDataTransfer().
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.
_pEntry |
Definition at line 166 of file fmexch.cxx.
References m_aSelectedEntries.
Referenced by svxform::NavigatorTree::ModelHasRemoved().
|
inline |
Definition at line 175 of file fmexch.hxx.
Referenced by svxform::NavigatorTree::implAcceptDataTransfer(), and svxform::NavigatorTree::implExecuteDataTransfer().
void svxform::OControlTransferData::setFocusEntry | ( | bool | _bFocusEntry | ) |
Definition at line 183 of file fmexch.cxx.
References m_bFocusEntry.
Referenced by svxform::NavigatorTree::implPrepareExchange().
|
inline |
Definition at line 158 of file fmexch.hxx.
Referenced by svxform::NavigatorTree::implPrepareExchange().
|
protected |
Definition at line 140 of file fmexch.cxx.
References svxform::OControlExchange::getControlPathFormatId(), svxform::OControlExchange::getFieldExchangeFormatId(), svxform::OControlExchange::getHiddenControlModelsFormatId(), svxform::lcl_fillDataFlavorEx(), m_aControlPaths, m_aCurrentFormats, m_aHiddenControlModels, m_aSelectedEntries, and m_xFormsRoot.
|
protected |
Definition at line 121 of file fmexch.hxx.
Referenced by svxform::OControlExchange::AddSupportedFormats(), buildListFromPath(), buildPathFormat(), svxform::OControlExchange::GetData(), and updateFormats().
|
private |
Definition at line 116 of file fmexch.hxx.
Referenced by updateFormats().
|
protected |
Definition at line 123 of file fmexch.hxx.
Referenced by addHiddenControlsFormat(), svxform::OControlExchange::AddSupportedFormats(), svxform::OControlExchange::GetData(), and updateFormats().
|
protected |
Definition at line 119 of file fmexch.hxx.
Referenced by addSelectedEntry(), svxform::OControlExchange::AddSupportedFormats(), buildListFromPath(), buildPathFormat(), onEntryRemoved(), and updateFormats().
|
protected |
Definition at line 129 of file fmexch.hxx.
Referenced by svxform::OControlExchange::AddSupportedFormats(), and setFocusEntry().
|
protected |
Definition at line 126 of file fmexch.hxx.
Referenced by svxform::OControlExchange::GetData(), and updateFormats().