19#ifndef INCLUDED_SFX2_FRAME_HXX
20#define INCLUDED_SFX2_FRAME_HXX
26#include <com/sun/star/uno/Reference.h>
27#include <com/sun/star/uno/Any.hxx>
29#include <rtl/ustring.hxx>
68 friend class SfxFrameIterator;
80 static SfxFrame*
Create(
const css::uno::Reference< css::frame::XFrame >& xFrame );
81 static css::uno::Reference< css::frame::XFrame >
86 void CancelTransfers();
89 void SetPresentationMode(
bool bSet );
98 bool GetHasTitle()
const;
99 static void GetDefaultTargetList(
TargetList& );
102 const css::uno::Reference< css::frame::XFrame >&
103 GetFrameInterface()
const;
105 void AppearWithUpdate();
106 css::uno::Reference< css::frame::XController >
109 bool IsInPlace()
const;
111 SAL_DLLPRIVATE
void DoClose_Impl();
112 SAL_DLLPRIVATE
void SetFrameInterface_Impl(
const css::uno::Reference< css::frame::XFrame >& rFrame );
113 SAL_DLLPRIVATE
void ReleasingComponent_Impl();
114 SAL_DLLPRIVATE
void GetViewData_Impl();
115 SAL_DLLPRIVATE
void SetHasTitle(
bool );
116 SAL_DLLPRIVATE
bool PrepareClose_Impl(
bool bUI );
117 SAL_DLLPRIVATE
bool DocIsModified_Impl();
118 SAL_DLLPRIVATE
void SetCurrentViewFrame_Impl(
SfxViewFrame* );
119 bool IsClosing_Impl()
const;
120 SAL_DLLPRIVATE
void SetIsClosing_Impl();
125 SAL_DLLPRIVATE
bool IsAutoLoadLocked_Impl()
const;
127 SAL_DLLPRIVATE
static void InsertTopFrame_Impl(
SfxFrame* pFrame );
128 SAL_DLLPRIVATE
static void RemoveTopFrame_Impl(
SfxFrame* pFrame );
129 SAL_DLLPRIVATE
void SetOwnsBindings_Impl(
bool bSet );
130 SAL_DLLPRIVATE
bool OwnsBindings_Impl()
const;
132 SAL_DLLPRIVATE
void SetToolSpaceBorderPixel_Impl(
const SvBorder& );
134 SAL_DLLPRIVATE
void CreateWorkWindow_Impl();
135 SAL_DLLPRIVATE
void GrabFocusOnComponent_Impl();
137 SAL_DLLPRIVATE
void PrepareForDoc_Impl(
const SfxObjectShell& i_rDoc );
138 SAL_DLLPRIVATE
void LockResize_Impl(
bool bLock );
139 SAL_DLLPRIVATE
void SetMenuBarOn_Impl(
bool bOn );
140 SAL_DLLPRIVATE
bool IsMenuBarOn_Impl()
const;
142 SAL_DLLPRIVATE
bool IsMarkedHidden_Impl()
const;
144 SAL_DLLPRIVATE
void Construct_Impl();
163 virtual bool QueryValue( css::uno::Any& rVal,
sal_uInt8 nMemberId = 0 )
const override;
164 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
174 SfxUnoAnyItem( sal_uInt16 nWhich,
const css::uno::Any& rAny );
179 virtual bool QueryValue( css::uno::Any& rVal,
sal_uInt8 nMemberId = 0 )
const override;
180 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
185 css::uno::Reference< css::frame::XFrame >
191 SfxUnoFrameItem( sal_uInt16 nWhich, css::uno::Reference< css::frame::XFrame > i_xFrame );
192 const css::uno::Reference< css::frame::XFrame >&
197 virtual bool QueryValue( css::uno::Any& rVal,
sal_uInt8 nMemberId = 0 )
const override;
198 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
css::uno::Reference< css::lang::XComponent > m_xFrame
SfxFrame * GetFrame() const
virtual void Resize() override
VclPtr< vcl::Window > m_pWindow
std::unique_ptr< SfxFrame_Impl > m_pImpl
vcl::Window & GetWindow() const
const css::uno::Any & GetValue() const
const css::uno::Reference< css::frame::XFrame > & GetFrame() const
css::uno::Reference< css::frame::XFrame > m_xFrame
SystemWindow * GetSystemWindow() const
virtual std::shared_ptr< SfxDialogController > GetController() override
::std::vector< OUString > TargetList
SvCompatWeakRef< SfxFrame > SfxFrameWeakRef
::std::vector< OUString > TargetList
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
#define SAL_WARN_UNUSED_RESULT
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)