19#ifndef INCLUDED_SFX2_VIEWFRM_HXX
20#define INCLUDED_SFX2_VIEWFRM_HXX
51 std::unique_ptr<struct SfxViewFrame_Impl>
m_pImpl;
75 SAL_DLLPRIVATE
void KillDispatcher_Impl();
86 static void InitInterface_Impl();
88 void AppendContainsMacrosInfobar();
105 void DoActivate(
bool bMDI);
118 { m_nAdjustPosPixelLock++; }
120 { m_nAdjustPosPixelLock--; }
123 bool inplaceEditModeChange );
125 bool IsVisible()
const;
127 void Enable(
bool bEnable );
129 virtual void Activate(
bool bUI )
override;
136 SAL_DLLPRIVATE
const SvBorder& GetBorderPixelImpl()
const;
137 SAL_DLLPRIVATE
void InvalidateBorderImpl(
const SfxViewShell *pSh );
148 void SetModalMode(
bool );
149 bool IsInModalMode()
const;
150 void Resize(
bool bForce=
false);
152 void SetChildWindow(sal_uInt16 nId,
bool bVisible,
bool bSetFocus=
true);
153 void ToggleChildWindow(sal_uInt16);
154 bool HasChildWindow(sal_uInt16);
155 bool KnowsChildWindow(sal_uInt16);
156 void ShowChildWindow(sal_uInt16,
bool bVisible=
true);
167 const OUString& sPrimaryMessage,
168 const OUString& sSecondaryMessage,
170 bool bShowCloseButton=
true);
171 void RemoveInfoBar(std::u16string_view sId);
172 void UpdateInfoBar(std::u16string_view sId,
const OUString& sPrimaryMessage,
173 const OUString& sSecondaryMessage,
175 bool HasInfoBarWithID(std::u16string_view sId);
176 void AppendReadOnlyInfobar();
178 SAL_DLLPRIVATE
void GetDocNumber_Impl();
180 SAL_DLLPRIVATE
void ReleaseObjectShell_Impl();
185 SAL_DLLPRIVATE
void ExecView_Impl(
SfxRequest &rReq );
187 SAL_DLLPRIVATE
void ExecHistory_Impl(
SfxRequest &rReq );
189 SAL_DLLPRIVATE
void ForceOuterResize_Impl();
190 SAL_DLLPRIVATE
void UpdateDocument_Impl();
192 SAL_DLLPRIVATE
void LockObjectShell_Impl();
194 SAL_DLLPRIVATE
void MakeActive_Impl(
bool bActivate );
195 SAL_DLLPRIVATE
const Size& GetMargin_Impl()
const;
196 SAL_DLLPRIVATE OUString GetActualPresentationURL_Impl()
const;
197 SAL_DLLPRIVATE
void MiscExec_Impl(
SfxRequest &);
198 SAL_DLLPRIVATE
void MiscState_Impl(
SfxItemSet &);
200 SAL_DLLPRIVATE
void AddDispatchMacroToBasic_Impl(
const OUString& sMacro);
203 SAL_DLLPRIVATE
void INetExecute_Impl(
SfxRequest &);
204 SAL_DLLPRIVATE
void INetState_Impl(
SfxItemSet &);
206 SAL_DLLPRIVATE
void SetCurViewId_Impl(
const SfxInterfaceId i_nID );
209 SAL_DLLPRIVATE
bool SwitchToViewShell_Impl( sal_uInt16 nNo,
bool bIsIndex =
false );
210 SAL_DLLPRIVATE
void PopShellAndSubShells_Impl(
SfxViewShell& i_rViewShell );
211 SAL_DLLPRIVATE
void SaveCurrentViewData_Impl(
const SfxInterfaceId i_nNewViewId );
230 SAL_DLLPRIVATE
static SfxViewShell* LoadViewIntoFrame_Impl(
232 const css::uno::Reference< css::frame::XFrame >& i_rFrame,
233 const css::uno::Sequence< css::beans::PropertyValue >& i_rLoadArgs,
253 SAL_DLLPRIVATE
static SfxViewFrame* LoadViewIntoFrame_Impl_NoThrow(
255 const css::uno::Reference< css::frame::XFrame >& i_rFrame,
static void GetDefaultTargetList(TargetList &)
Class representing a single InfoBar to be added in a SfxInfoBarContainerWindow.
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint)
The class SfxShell is the base class for all classes, which provide the functionality of the form <Sl...
virtual void Activate(bool bMDI)
Virtual method that is called when enabling the SfxShell instance, in order to give the Subclasses th...
SfxViewFrame * GetFrame() const
This method returns a pointer to the <SfxViewFrame> to which this SfxShell instance is associated or ...
virtual void Deactivate(bool bMDI)
Virtual method that is called when disabling the SfxShell instance, to give the Subclasses the opport...
void SetViewShell_Impl(SfxViewShell *pView)
virtual SfxObjectShell * GetObjectShell()
SfxDispatcher * GetDispatcher() const
This method returns a pointer to the <SfxDispatcher>, when the SfxShell is currently <UI-active> or a...
SfxViewFrame * GetFrame() const
SfxViewFrameItem(SfxViewFrame *pViewFrame)
void LockAdjustPosSizePixel()
ImplSVHelpData * m_pHelpData
DECL_DLLPRIVATE_LINK(EventButtonHandler, weld::Button &, void)
static void GetTargetList(TargetList &rList)
DECL_DLLPRIVATE_LINK(DonationHandler, weld::Button &, void)
SfxBindings & GetBindings()
DECL_DLLPRIVATE_LINK(HiddenTrackChangesHandler, weld::Button &, void)
DECL_DLLPRIVATE_LINK(SignDocumentHandler, weld::Button &, void)
DECL_DLLPRIVATE_LINK(HyphenationMissingHandler, weld::Button &, void)
const SfxBindings & GetBindings() const
SfxDispatcher * GetDispatcher()
std::unique_ptr< CommandPopupHandler > m_pCommandPopupHandler
sal_uInt16 m_nAdjustPosPixelLock
DECL_DLLPRIVATE_LINK(MacroButtonHandler, weld::Button &, void)
SfxObjectShellRef m_xObjSh
SfxBindings * m_pBindings
std::unique_ptr< SfxDispatcher > m_pDispatcher
static SfxViewFrame * LoadDocumentIntoFrame(SfxObjectShell const &i_rDoc, const css::uno::Reference< css::frame::XFrame > &i_rFrameItem)
DECL_DLLPRIVATE_LINK(GetInvolvedHandler, weld::Button &, void)
DECL_DLLPRIVATE_LINK(SwitchReadOnlyHandler, weld::Button &, void)
ImplSVWinData * m_pWinData
DECL_DLLPRIVATE_LINK(RefreshMasterPasswordHdl, weld::Button &, void)
DECL_DLLPRIVATE_LINK(WhatsNewHandler, weld::Button &, void)
void UnlockAdjustPosSizePixel()
std::unique_ptr< struct SfxViewFrame_Impl > m_pImpl
DECL_DLLPRIVATE_STATIC_LINK(SfxViewFrame, HelpMasterPasswordHdl, weld::Button &, void)
One SfxViewShell more or less represents one edit window for a document, there can be multiple ones f...
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
::std::vector< OUString > TargetList
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
constexpr auto SFX_INTERFACE_SFXVIEWFRM
#define SFX_DECL_INTERFACE(nId)
#define SAL_WARN_UNUSED_RESULT
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)