34 for (std::unique_ptr<ScDPLabelData>
const & pLabelData : rLabelVector)
37 maItemValues.push_back(std::unique_ptr<ScItemValue>(pValue));
38 if (pLabelData->mbDataLayout)
43 if (pLabelData->mnOriginalDim < 0 && !pLabelData->mbDataLayout)
72 sal_uInt16 nCode = aCode.
GetCode();
76 int nEntry = mxControl->get_cursor_index();
78 mxControl->remove(nEntry);
IMPL_LINK(ScPivotLayoutTreeListLabel, KeyInputHdl, const KeyEvent &, rKeyEvent, bool)
std::unique_ptr< weld::TreeView > mxControl
void FillLabelFields(ScDPLabelDataVector &rLabelVector)
virtual void InsertEntryForSourceTarget(weld::TreeView &rSource, int nTarget) override
ScItemValue * GetItem(SCCOL nColumn)
std::vector< std::unique_ptr< ScItemValue > > maItemValues
bool IsDataElement(SCCOL nColumn)
virtual ~ScPivotLayoutTreeListLabel() override
ScPivotLayoutTreeListLabel(std::unique_ptr< weld::TreeView > xControl)
sal_uInt16 GetCode() const
virtual void remove(int pos)=0
virtual int get_selected_index() const=0
constexpr sal_uInt16 KEY_DELETE
#define LINK(Instance, Class, Member)
OUString toId(const void *pValue)
std::vector< std::unique_ptr< ScDPLabelData > > ScDPLabelDataVector