26#include <com/sun/star/frame/XFrame.hpp>
27#include <com/sun/star/uno/Reference.hxx>
29#include <rtl/ustring.hxx>
33typedef ::std::vector< css::uno::Reference< css::frame::XFrame > >
TFrameContainer;
67 void append (
const css::uno::Reference< css::frame::XFrame >& xFrame );
68 void remove (
const css::uno::Reference< css::frame::XFrame >& xFrame );
69 void setActive (
const css::uno::Reference< css::frame::XFrame >& xFrame );
70 css::uno::Reference< css::frame::XFrame >
getActive ( )
const;
73 bool exist (
const css::uno::Reference< css::frame::XFrame >& xFrame )
const;
78 css::uno::Reference< css::frame::XFrame >
operator[]( sal_uInt32 nIndex )
const;
81 css::uno::Sequence< css::uno::Reference< css::frame::XFrame > >
getAllElements()
const;
void clear()
-****************************************************************************************************...
css::uno::Reference< css::frame::XFrame > operator[](sal_uInt32 nIndex) const
-****************************************************************************************************...
void append(const css::uno::Reference< css::frame::XFrame > &xFrame)
add/remove/mark container items
void setActive(const css::uno::Reference< css::frame::XFrame > &xFrame)
-****************************************************************************************************...
bool exist(const css::uno::Reference< css::frame::XFrame > &xFrame) const
checks and free memory
sal_uInt32 getCount() const
deprecated IndexAccess!
TFrameContainer m_aContainer
list to hold all frames
css::uno::Reference< css::frame::XFrame > searchOnAllChildrens(const OUString &sName) const
special helper for Frame::findFrame()
css::uno::Reference< css::frame::XFrame > getActive() const
-****************************************************************************************************...
FrameContainer()
constructor / destructor
void remove(const css::uno::Reference< css::frame::XFrame > &xFrame)
-****************************************************************************************************...
~FrameContainer()
-****************************************************************************************************...
css::uno::Sequence< css::uno::Reference< css::frame::XFrame > > getAllElements() const
replacement for deprecated index access
css::uno::Reference< css::frame::XFrame > m_xActiveFrame
one container item can be the current active frame. It's necessary for Desktop or Frame implementatio...
css::uno::Reference< css::frame::XFrame > searchOnDirectChildrens(std::u16string_view sName) const
-****************************************************************************************************...
::std::vector< css::uno::Reference< css::frame::XFrame > > TFrameContainer