51 SFX_DECL_OBJECTFACTORY();
55 static
void InitInterface_Impl();
75 void UpdateRefDevice();
76 virtual
void Activate(
bool bMDI ) override;
77 virtual
void Deactivate(
bool bMDI ) override;
78 virtual
bool InitNew( const css::
uno::Reference< css::embed::XStorage >& xStorage ) override;
79 virtual
bool ImportFrom(
SfxMedium &rMedium,
80 css::
uno::Reference<css::text::XTextRange> const& xInsertPosition)
82 virtual
bool ConvertFrom(
SfxMedium &rMedium ) override;
83 virtual
bool Save() override;
84 virtual
bool SaveAsOwnFormat(
SfxMedium& rMedium ) override;
85 virtual
bool ConvertTo(
SfxMedium &rMedium ) override;
86 virtual
bool SaveCompleted( const css::
uno::Reference< css::embed::XStorage >& xStorage ) override;
88 virtual
bool Load(
SfxMedium &rMedium ) override;
89 virtual
bool LoadFrom(
SfxMedium& rMedium ) override;
90 virtual
bool SaveAs(
SfxMedium &rMedium ) override;
92 virtual ::
tools::Rectangle GetVisArea(sal_uInt16 nAspect) const override;
93 virtual
void Draw(
OutputDevice*, const
JobSetup& rSetup, sal_uInt16 nAspect,
bool bOutputForScreen) override;
95 virtual
Printer* GetDocumentPrinter() override;
96 virtual
void OnDocumentPrinterChanged(
Printer* pNewPrinter) override;
98 virtual
void FillClass(
SvGlobalName* pClassName,
SotClipboardFormatId* pFormat, OUString* pFullTypeName, sal_Int32 nFileFormat,
bool bTemplate = false ) const override;
99 virtual
void SetModified(
bool = true ) override;
114 void UpdateFontList();
118 void CancelSearching();
125 void UpdateTablePointers();
127 void GotoBookmark(std::u16string_view rBookmark);
146 bool CheckPageName(
weld::Window* pWin, OUString& rName );
149 void ApplySlotFilter()
const;
156 void OpenBookmark(
const OUString& rBookmarkURL );
177 bool IsNewPageNameValid( OUString & rInOutPageName,
bool bResetStringIfStandardName =
false );
185 bool IsPageNameUnique(std::u16string_view rPagName)
const;
202 void ClearUndoBuffer();
204 std::shared_ptr<model::ColorSet> GetThemeColors()
override;
207 static void setEditMode(
DrawViewShell* pDrawViewShell,
bool isMasterPage);
226#ifndef SV_DECL_DRAW_DOC_SHELL_DEFINED
227#define SV_DECL_DRAW_DOC_SHELL_DEFINED
SfxStyleFamily mnStyleFamily
DECL_DLLPRIVATE_LINK(RenameSlideHdl, AbstractSvxNameDialog &, bool)
::sd::ViewShell * mpViewShell
DECL_DLLPRIVATE_LINK(OnlineSpellCallback, SpellCallbackInfo &, void)
void Construct(bool bClipboard)
void SetStyleFamily(SfxStyleFamily nSF)
std::unique_ptr< FontList > mpFontList
VclPtr< SfxPrinter > mpPrinter
DocumentType GetDocumentType() const
SfxStyleFamily GetStyleFamily() const
std::unique_ptr< SfxUndoManager > mpUndoManager
void SetSlotFilter(bool bEnable=false, o3tl::span< sal_uInt16 const > pSIDs=o3tl::span< sal_uInt16 const >())
bool IsInDestruction() const
SdDrawDocument * GetDoc()
o3tl::span< sal_uInt16 const > mpFilterSIDs
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
Base class of the stacked shell hierarchy.
An SdWindow contains the actual working area of ViewShell.
#define SD_IF_SDDRAWDOCSHELL
::tools::SvRef< DrawDocShell > DrawDocShellRef
#define SFX_DECL_INTERFACE(nId)
void SetPrinter(IDocumentDeviceAccess *, SfxPrinter const *, bool bWeb)