21#include <svx/strings.hrc>
29#include <svx/svxids.hrc>
32#include <bitmaps.hlst>
34#include <com/sun/star/beans/XPropertySet.hpp>
35#include <com/sun/star/lang/XServiceInfo.hpp>
50 :pEntryData( pInsertedEntryData )
64 :pEntryData( pAffectedEntryData )
74 :pEntryData( pRemovedEntryData )
85 ,aNewName(
std::move( _aNewName ))
117 [&pItem](
const std::unique_ptr<FmEntryData>& rEntryData) { return rEntryData.get() == pItem; });
147 :pParent( pParentData )
151 newObject( _rxIFace );
179 for(
size_t i = 0;
i < nEntryCount;
i++ )
182 std::unique_ptr<FmEntryData> pNewChildData = pChildData->
Clone();
183 pChildList->insert( std::move(pNewChildData),
size_t(-1) );
195 if(
this == pEntryData)
229 Reference< XPropertySet > xSet(m_xForm, UNO_QUERY);
253 return std::unique_ptr<FmEntryData>(
new FmFormData( *
this ));
259 if(
this == pEntryData)
272 m_xFormComponent( _rxComponent )
280 Reference< XPropertySet > xSet(m_xFormComponent, UNO_QUERY);
302 return std::unique_ptr<FmEntryData>(
new FmControlData( *
this ));
309 OUString aImage(RID_SVXBMP_CONTROL);
321 aImage = RID_SVXBMP_BUTTON;
325 aImage = RID_SVXBMP_FIXEDTEXT;
329 aImage = RID_SVXBMP_EDITBOX;
333 aImage = RID_SVXBMP_RADIOBUTTON;
337 aImage = RID_SVXBMP_CHECKBOX;
341 aImage = RID_SVXBMP_LISTBOX;
345 aImage = RID_SVXBMP_COMBOBOX;
349 aImage = RID_SVXBMP_NAVIGATIONBAR;
353 aImage = RID_SVXBMP_GROUPBOX;
357 aImage = RID_SVXBMP_IMAGEBUTTON;
361 aImage = RID_SVXBMP_FILECONTROL;
365 aImage = RID_SVXBMP_HIDDEN;
369 aImage = RID_SVXBMP_DATEFIELD;
373 aImage = RID_SVXBMP_TIMEFIELD;
377 aImage = RID_SVXBMP_NUMERICFIELD;
381 aImage = RID_SVXBMP_CURRENCYFIELD;
385 aImage = RID_SVXBMP_PATTERNFIELD;
389 aImage = RID_SVXBMP_IMAGECONTROL;
393 aImage = RID_SVXBMP_FORMATTEDFIELD;
397 aImage = RID_SVXBMP_GRID;
401 aImage = RID_SVXBMP_SCROLLBAR;
405 aImage = RID_SVXBMP_SPINBUTTON;
416 if(
this == pEntryData)
442 :
SfxDockingWindow(_pBindings, _pMgr, _pParent,
"FormNavigator",
"svx/ui/formnavigator.ui")
444 , m_xNavigatorTree(new
NavigatorTree(m_xBuilder->weld_tree_view(
"treeview")))
471 if( !pState || SID_FM_FMEXPLORER_CONTROL != nSID )
474 if( eState >= SfxItemState::DEFAULT )
488 SfxDockingWindow::GetFocus();
505 if ( ( eAlign == SfxChildAlignment::TOP ) || ( eAlign == SfxChildAlignment::BOTTOM ) )
513 if ( ( _eAlign == SfxChildAlignment::LEFT ) || ( _eAlign == SfxChildAlignment::RIGHT ) || ( _eAlign == SfxChildAlignment::NOALIGNMENT ) )
520 NavigatorFrameManager::NavigatorFrameManager(
vcl::Window* _pParent, sal_uInt16 _nId,
const css::uno::Reference< css::form::XFormComponent > & GetFormComponent() const
virtual ~FmControlData() override
css::uno::Reference< css::form::XFormComponent > m_xFormComponent
OUString GetImage() const
FmControlData(const css::uno::Reference< css::form::XFormComponent > &_rxComponent, FmFormData *_pParent)
void ModelReplaced(const css::uno::Reference< css::form::XFormComponent > &_rxNew)
virtual std::unique_ptr< FmEntryData > Clone() override
virtual bool IsEqualWithoutChildren(FmEntryData *pEntryData) override
void removeNoDelete(FmEntryData *pItem)
FmEntryData * at(size_t Index)
std::vector< std::unique_ptr< FmEntryData > > maEntryDataList
void insert(std::unique_ptr< FmEntryData > pItem, size_t Index)
const OUString & GetText() const
virtual bool IsEqualWithoutChildren(FmEntryData *pEntryData)
FmEntryData(FmEntryData *pParentData, const css::uno::Reference< css::uno::XInterface > &_rIFace)
FmEntryDataList * GetChildList() const
std::unique_ptr< FmEntryDataList > pChildList
void newObject(const css::uno::Reference< css::uno::XInterface > &_rxIFace)
FmEntryData * GetParent() const
const OUString & GetNormalImage() const
css::uno::Reference< css::beans::XPropertySet > m_xProperties
void SetText(const OUString &rText)
css::uno::Reference< css::container::XChild > m_xChild
css::uno::Reference< css::uno::XInterface > m_xNormalizedIFace
virtual std::unique_ptr< FmEntryData > Clone()=0
virtual ~FmNavClearedHint() override
FmNavInsertedHint(FmEntryData *pInsertedEntryData, sal_uInt32 nRelPos)
virtual ~FmNavInsertedHint() override
virtual ~FmNavModelReplacedHint() override
FmNavModelReplacedHint(FmEntryData *pAffectedEntryData)
FmNavNameChangedHint(FmEntryData *pData, OUString aNewName)
virtual ~FmNavNameChangedHint() override
virtual ~FmNavRemovedHint() override
FmNavRemovedHint(FmEntryData *pInsertedEntryData)
void Initialize(SfxChildWinInfo *pInfo)
virtual void FillInfo(SfxChildWinInfo &) const
virtual bool Close() override
void SetFloatingSize(const Size &rSize)
virtual Size CalcDockingSize(SfxChildAlignment)
virtual void dispose() override
OUString SvxResId(TranslateId aId)
virtual void SetText(const OUString &rStr) override
virtual void SetHelpId(const OUString &) override
constexpr OUStringLiteral FM_PROP_NAME
constexpr OUStringLiteral HID_FORM_NAVIGATOR_WIN
std::unique_ptr< sal_Int32[]> pData
SFX_IMPL_DOCKINGWINDOW(SwNavigatorWrapper, SID_NAVIGATOR)