11#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
13#include <AccessibilityIssue.hxx>
14#include <AccessibilityCheckStrings.hrc>
34 , m_pTextFootnote(nullptr)
158 OUString aDesc =
SwResId(STR_ENTER_ALT);
160 if (aNameDialog.run() ==
RET_OK)
172 OUString aDesc =
SwResId(STR_ENTER_ALT);
174 if (aNameDialog.run() ==
RET_OK)
186 OUString aDesc =
SwResId(STR_ENTER_DOCUMENT_TITLE);
188 if (aNameDialog.run() ==
RET_OK)
194 const uno::Reference<document::XDocumentPropertiesSupplier> xDPS(
195 pShell->
GetModel(), uno::UNO_QUERY_THROW);
196 const uno::Reference<document::XDocumentProperties> xDocumentProperties(
197 xDPS->getDocumentProperties());
198 xDocumentProperties->setTitle(aNameDialog.
GetName());
virtual const SwDrawModel * GetDrawModel() const =0
Draw Model and id accessors.
const SdrPage * GetPage(sal_uInt16 nPgNum) const
virtual void SetTitle(const OUString &rStr)
css::uno::Reference< css::frame::XModel3 > GetModel() const
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
const SwView * GetView() const
SwWrtShell * GetWrtShell()
Access to the SwWrtShell belonging to SwView.
void SetFlyFrameTitle(SwFlyFrameFormat &rFlyFrameFormat, const OUString &sNewTitle)
std::unique_ptr< sw::OnlineAccessibilityCheck > const & getOnlineAccessibilityCheck() const
const SwFlyFrameFormat * FindFlyByName(const OUString &rName, SwNodeType nNdTyp=SwNodeType::NONE) const
SwDocShell * GetDocShell()
void StartAllAction()
For all views of this document.
bool IsFrameSelected() const
SwContentNode * GetContentNode()
PaM is Point and Mark: a selection of the document model.
const SwPosition * GetMark() const
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
const SwPosition * GetPoint() const
const IDocumentDrawModelAccess & getIDocumentDrawModelAccess() const
Provides access to the document draw model interface.
virtual FmFormShell * GetFormShell() override
Used by the UI to modify the document model.
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
bool GotoDrawingObject(std::u16string_view rName)
bool GotoFly(const OUString &rName, FlyCntType eType=FLYCNTTYPE_ALL, bool bSelFrame=true)
bool GotoTable(const OUString &rName)
void GotoFootnoteAnchor(const SwTextFootnote &rTextFootnote)
virtual bool WarnSwitchToDesignModeDialog() const override
Switch to Design mode for Forms.
const SwView & GetView() const
AccessibilityIssue(sfx::AccessibilityIssueID eIssueID=sfx::AccessibilityIssueID::UNSPECIFIED)
SwTextFootnote * m_pTextFootnote
bool canQuickFixIssue() const override
IssueObject m_eIssueObject
void setIssueObject(IssueObject eIssueObject)
void gotoIssue() const override
bool canGotoIssue() const override
void setObjectID(OUString const &rID)
void quickFixIssue() const override
Dialog to specify the properties of date form field.
Marks a position in the document model.
OUString SwResId(TranslateId aId)