20#include <config_feature_desktop.h>
63#define ShellClass_SwWebView
64#define ShellClass_Text
76 GetStaticInterface()->RegisterChildWindow(SvxSearchDialogWrapper::GetChildWindowId());
77 GetStaticInterface()->RegisterChildWindow(SfxInfoBarContainerChild::GetChildWindowId());
79 GetStaticInterface()->RegisterObjectBar(
SFX_OBJECTBAR_TOOLS, SfxVisibilityFlags::Standard|SfxVisibilityFlags::Server,
80 ToolbarId::Webtools_Toolbox);
95#if HAVE_FEATURE_DESKTOP
97 bool bUpdateTable =
false;
109 if ( nNewSelectionType == _nSelectionType )
128 if (eId != ToolbarId::None)
133 for (
i = 0;
true; ++
i )
136 if ( !(
dynamic_cast< const SwBaseShell *
>( pSfxShell ) !=
nullptr ||
143 OSL_ENSURE( pSfxShell,
"My Shell is lost in space" );
144 rDispatcher.
Pop( *pSfxShell, SfxDispatcherPopFlags::POP_UNTIL | SfxDispatcherPopFlags::POP_DELETE);
148 bool bInitFormShell =
false;
151 bInitFormShell =
true;
156 bool bSetExtInpCntxt =
false;
157 _nSelectionType = nNewSelectionType;
227 bSetExtInpCntxt =
true;
250 if( bSetExtInpCntxt &&
GetWrtShell().HasReadonlySel() )
251 bSetExtInpCntxt =
false;
256 ( InputContextFlags::Text |
257 InputContextFlags::ExtText ))
260 InputContextFlags::ExtText )) );
283 if (
GetDocShell()->GetDoc()->IsOLEPrtNotifyPending() )
InputContextFlags GetOptions() const
void SetOptions(InputContextFlags nOptions)
void InvalidateAll(bool bWithMsg)
ToolbarId GetObjectBarId(sal_uInt16 nPos) const
void Pop(SfxShell &rShell, SfxDispatcherPopFlags nMode=SfxDispatcherPopFlags::NONE)
void Push(SfxShell &rShell)
SfxShell * GetShell(sal_uInt16 nIdx) const
SfxBindings & GetBindings()
SfxDispatcher * GetDispatcher()
SfxViewFrame & GetViewFrame() const
SwDoc * GetDoc()
returns Doc. But be careful!
void PrtOLENotify(bool bAll)
SfxShell subclass that is used while interacting with the editeng-based text of a shape.
void UpdateTable()
update fields of a listing
SwFrameFormat * GetTableFormat()
void UpdatePointer(const Point &, sal_uInt16 nButtons=0)
void SetShellMode(ShellMode eSet)
SwXTextView * GetUNOObject_Impl()
SwWrtShell & GetWrtShell() const
virtual SdrView * GetDrawView() const override
SelectionType GetSelectionType() const
virtual FmFormShell * GetFormShell() override
void SetFormShell(FmFormShell *pSh)
const SwFrameFormat * GetLastTableFrameFormat() const
void SetSelectionType(SelectionType nSet)
void ImpSetVerb(SelectionType nSelType)
void SetLastTableFrameFormat(const SwFrameFormat *pSet)
void SetShell(SfxShell *pS)
SwDocShell * GetDocShell()
SwView_Impl * GetViewImpl()
virtual void SelectShell() override
SwWebView(SfxViewFrame &rFrame, SfxViewShell *)
virtual ~SwWebView() override
SelectionType GetSelectionType() const
void SetInputContext(const InputContext &rInputContext)
Point PixelToLogic(const Point &rDevicePt) const
Point GetPointerPosPixel()
constexpr OUStringLiteral IsReadOnly(u"IsReadOnly")
#define SFX_OBJECTBAR_OBJECT
#define SFX_OBJECTBAR_TOOLS
#define SFX_IMPL_INTERFACE(Class, SuperClass)
#define SFX_VIEW_REGISTRATION(DocClass)
SFX_IMPL_NAMED_VIEWFACTORY(SwWebView, "Default")