LibreOffice Module sw (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXTextDocument Class Referencefinal

#include <unotxdoc.hxx>

Inheritance diagram for SwXTextDocument:
[legend]
Collaboration diagram for SwXTextDocument:
[legend]

Classes

class  Impl
 

Public Member Functions

 SwXTextDocument (SwDocShell *pShell)
 
void NotifyRefreshListeners ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual css::uno::Reference< css::text::XText > SAL_CALL getText () override
 
rtl::Reference< SwXBodyTextgetBodyText ()
 
virtual void SAL_CALL reformat () override
 
virtual sal_Bool SAL_CALL attachResource (const OUString &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual OUString SAL_CALL getURL () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs () override
 
virtual void SAL_CALL connectController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual void SAL_CALL disconnectController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual void SAL_CALL lockControllers () override
 
virtual void SAL_CALL unlockControllers () override
 
virtual sal_Bool SAL_CALL hasControllersLocked () override
 
virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController () override
 
virtual void SAL_CALL setCurrentController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL close (sal_Bool bDeliverOwnership) override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getLineNumberingProperties () override
 
virtual css::uno::Reference< css::container::XIndexReplace > SAL_CALL getChapterNumberingRules () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getNumberingRules () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getFootnotes () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getFootnoteSettings () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getEndnotes () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getEndnoteSettings () override
 
css::uno::Reference< css::container::XIndexAccess > SAL_CALL getContentControls () override
 
virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor () override
 
virtual sal_Int32 SAL_CALL replaceAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL createSearchDescriptor () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL findAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findFirst (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findNext (const css::uno::Reference< css::uno::XInterface > &xStartAt, const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPagePrintSettings () override
 
virtual void SAL_CALL setPagePrintSettings (const css::uno::Sequence< css::beans::PropertyValue > &aSettings) override
 
virtual void SAL_CALL printPages (const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getReferenceMarks () override
 
virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getTextFields () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFieldMasters () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getEmbeddedObjects () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getBookmarks () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextSections () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextTables () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getGraphicObjects () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFrames () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getStyleFamilies () override
 
virtual css::uno::Reference< css::style::XAutoStyles > SAL_CALL getAutoStyles () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &ServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getDrawPage () override
 
virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getDrawPages () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getDocumentIndexes () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &rPropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &rPropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &rPropertyName) override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks () override
 
virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getRedlines () override
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL updateLinks () override
 
virtual sal_Int32 SAL_CALL getRendererCount (const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRenderer (sal_Int32 nRenderer, const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 
virtual void SAL_CALL render (sal_Int32 nRenderer, const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getXForms () override
 
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages (::sal_Int16 nScriptTypes, ::sal_Int16 nCount) override
 retrieve languages already used in current document More...
 
virtual css::uno::Reference< css::text::XFlatParagraphIterator > SAL_CALL getFlatParagraphIterator (::sal_Int32 nTextMarkupType, sal_Bool bAutomatic) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
void SAL_CALL addPasteEventListener (const ::css::uno::Reference<::css::text::XPasteListener > &xListener) override
 
void SAL_CALL removePasteEventListener (const ::css::uno::Reference<::css::text::XPasteListener > &xListener) override
 
virtual void paintTile (VirtualDevice &rDevice, int nOutputWidth, int nOutputHeight, int nTilePosX, int nTilePosY, tools::Long nTileWidth, tools::Long nTileHeight) override
 
virtual Size getDocumentSize () override
 
virtual void setPart (int nPart, bool bAllowChangeFocus=true) override
 
virtual int getParts () override
 
virtual int getPart () override
 
virtual OUString getPartName (int nPart) override
 
virtual OUString getPartHash (int nPart) override
 
virtual VclPtr< vcl::WindowgetDocWindow () override
 
virtual void initializeForTiledRendering (const css::uno::Sequence< css::beans::PropertyValue > &rArguments) override
 
virtual void postKeyEvent (int nType, int nCharCode, int nKeyCode) override
 
virtual void postMouseEvent (int nType, int nX, int nY, int nCount, int nButtons, int nModifier) override
 
virtual void setTextSelection (int nType, int nX, int nY) override
 
virtual css::uno::Reference< css::datatransfer::XTransferable > getSelection () override
 
virtual void setGraphicSelection (int nType, int nX, int nY) override
 
virtual void resetSelection () override
 
virtual OUString getPartPageRectangles () override
 
virtual void setClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &xClipboard) override
 
virtual bool isMimeTypeSupported () override
 
virtual void setClientVisibleArea (const tools::Rectangle &rRectangle) override
 
virtual void setClientZoom (int nTilePixelWidth_, int nTilePixelHeight_, int nTileTwipWidth_, int nTileTwipHeight_) override
 
virtual PointerStyle getPointer () override
 
void getTrackedChanges (tools::JsonWriter &) override
 
void getTrackedChangeAuthors (tools::JsonWriter &rJsonWriter) override
 
void getRulerState (tools::JsonWriter &rJsonWriter) override
 
void getPostIts (tools::JsonWriter &rJsonWriter) override
 
virtual void executeFromFieldEvent (const StringMap &aArguments) override
 
std::vector< basegfx::B2DRangegetSearchResultRectangles (const char *pPayload) override
 
virtual void SAL_CALL paintTile (const ::css::uno::Any &Parent, ::sal_Int32 nOutputWidth, ::sal_Int32 nOutputHeight, ::sal_Int32 nTilePosX, ::sal_Int32 nTilePosY, ::sal_Int32 nTileWidth, ::sal_Int32 nTileHeight) override
 
void executeContentControlEvent (const StringMap &aArguments) override
 
void getCommandValues (tools::JsonWriter &rJsonWriter, std::string_view rCommand) override
 
OString getViewRenderState () override
 
bool supportsCommand (std::u16string_view rCommand) override
 
void Invalidate ()
 
void Reactivate (SwDocShell *pNewDocShell)
 
SwXDocumentPropertyHelperGetPropertyHelper ()
 
bool IsValid () const
 
void InitNewDoc ()
 
SwUnoCursorCreateCursorForSearch (css::uno::Reference< css::text::XTextCursor > &xCursor)
 
SwUnoCursorFindAny (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc, css::uno::Reference< css::text::XTextCursor > &xCursor, bool bAll, sal_Int32 &nResult, css::uno::Reference< css::uno::XInterface > const &xLastResult)
 
SwDocShellGetDocShell ()
 
- Public Member Functions inherited from SvxFmMSFactory
 SvxFmMSFactory ()
 
virtual ~SvxFmMSFactory ()
 
virtual ::com::sun::star::uno::Reference<::com::sun::star::uno::XInterface > SAL_CALL createInstance (const OUString &ServiceSpecifier) override
 
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
- Public Member Functions inherited from SvxUnoDrawMSFactory
 SvxUnoDrawMSFactory () noexcept
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from SvxUnoDrawMSFactory
static css::uno::Reference< css::uno::XInterface > createTextField (std::u16string_view aServiceSpecifier)
 
static bool createEvent (const SdrModel *pDoc, const SdrHint *pSdrHint, css::document::EventObject &aEvent)
 

Private Member Functions

void GetNumberFormatter ()
 
css::uno::Reference< css::uno::XInterface > create (OUString const &rServiceName, css::uno::Sequence< css::uno::Any > const *arguments)
 
SfxViewShellGuessViewShell (bool &rbIsSwSrcView, const css::uno::Reference< css::frame::XController > &rController=css::uno::Reference< css::frame::XController >())
 
SwDocGetRenderDoc (SfxViewShell *&rpView, const css::uno::Any &rSelection, bool bIsPDFExport)
 
SfxViewShellGetRenderView (bool &rbIsSwSrcView, const css::uno::Sequence< css::beans::PropertyValue > &rxOptions, bool bIsPDFExport)
 
virtual SdrModelgetSdrModelFromUnoModel () const override
 abstract SdrModel provider More...
 
virtual ~SwXTextDocument () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::document::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::document::XEventListener > &xListener) override
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 
std::deque< std::unique_ptr< UnoActionContext, o3tl::default_delete< UnoActionContext > > > maActionArr
 
const SfxItemPropertySetm_pPropSet
 
SwDocShellm_pDocShell
 
bool m_bObjectValid
 
rtl::Reference< SwFmDrawPagem_xDrawPage
 
rtl::Reference< SwXBodyTextm_xBodyText
 
css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg
 
css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules
 
css::uno::Reference< css::container::XIndexAccess > mxXFootnotes
 
css::uno::Reference< css::beans::XPropertySetmxXFootnoteSettings
 
css::uno::Reference< css::container::XIndexAccess > mxXEndnotes
 
css::uno::Reference< css::beans::XPropertySetmxXEndnoteSettings
 
css::uno::Reference< css::container::XIndexAccess > mxXContentControls
 
css::uno::Reference< css::container::XNameAccess > mxXReferenceMarks
 
css::uno::Reference< css::container::XEnumerationAccess > mxXTextFieldTypes
 
css::uno::Reference< css::container::XNameAccess > mxXTextFieldMasters
 
css::uno::Reference< css::container::XNameAccess > mxXTextSections
 
css::uno::Reference< css::container::XNameAccess > mxXBookmarks
 
css::uno::Reference< css::container::XNameAccess > mxXTextTables
 
css::uno::Reference< css::container::XNameAccess > mxXTextFrames
 
css::uno::Reference< css::container::XNameAccess > mxXGraphicObjects
 
css::uno::Reference< css::container::XNameAccess > mxXEmbeddedObjects
 
css::uno::Reference< css::container::XNameAccess > mxXStyleFamilies
 
css::uno::Reference< css::style::XAutoStyles > mxXAutoStyles
 
css::uno::Reference< css::container::XIndexReplace > mxXChapterNumbering
 
css::uno::Reference< css::container::XIndexAccess > mxXDocumentIndexes
 
css::uno::Reference< css::beans::XPropertySetmxXLineNumberingProperties
 
css::uno::Reference< css::container::XNameAccess > mxLinkTargetSupplier
 
css::uno::Reference< css::container::XEnumerationAccess > mxXRedlines
 
SfxViewFramem_pHiddenViewFrame
 
rtl::Reference< SwXDocumentPropertyHelpermxPropertyHelper
 
std::unique_ptr< SwPrintUIOptionsm_pPrintUIOptions
 
std::unique_ptr< SwRenderDatam_pRenderData
 
OUString maBuildId
 
bool m_bApplyPagePrintSettingsFromXPagePrintable
 

Additional Inherited Members

- Protected Member Functions inherited from SvxUnoDrawMSFactory
virtual SdrModelgetSdrModelFromUnoModel () const=0
 
 ~SvxUnoDrawMSFactory ()
 

Detailed Description

Definition at line 135 of file unotxdoc.hxx.

Constructor & Destructor Documentation

◆ ~SwXTextDocument()

SwXTextDocument::~SwXTextDocument ( )
overrideprivatevirtual

Definition at line 388 of file unotxdoc.cxx.

References InitNewDoc(), m_pPrintUIOptions, m_pRenderData, and m_xNumFormatAgg.

◆ SwXTextDocument()

SwXTextDocument::SwXTextDocument ( SwDocShell pShell)

Definition at line 369 of file unotxdoc.cxx.

References m_pImpl.

Member Function Documentation

◆ acquire()

void SAL_CALL SwXTextDocument::acquire ( )
overridevirtualnoexcept

Definition at line 336 of file unotxdoc.cxx.

References SfxBaseModel::acquire().

◆ addEventListener() [1/3]

virtual void SAL_CALL SfxBaseModel::addEventListener ( const css::uno::Reference< css::document::XEventListener > &  xListener)
private

◆ addEventListener() [2/3]

virtual void SAL_CALL SfxBaseModel::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
private

◆ addEventListener() [3/3]

void SwXTextDocument::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 572 of file unotxdoc.cxx.

References SfxBaseModel::addEventListener().

◆ addPasteEventListener()

void SwXTextDocument::addPasteEventListener ( const ::css::uno::Reference<::css::text::XPasteListener > &  xListener)
override

◆ addPropertyChangeListener()

void SwXTextDocument::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 2146 of file unotxdoc.cxx.

◆ addRefreshListener()

void SAL_CALL SwXTextDocument::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 2210 of file unotxdoc.cxx.

References m_pImpl.

◆ addVetoableChangeListener()

void SwXTextDocument::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 2158 of file unotxdoc.cxx.

◆ attachResource()

sal_Bool SwXTextDocument::attachResource ( const OUString &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overridevirtual

Definition at line 525 of file unotxdoc.cxx.

References SfxBaseModel::attachResource(), and aURL.

◆ close()

void SwXTextDocument::close ( sal_Bool  bDeliverOwnership)
overridevirtual

◆ connectController()

void SwXTextDocument::connectController ( const css::uno::Reference< css::frame::XController > &  xController)
overridevirtual

Definition at line 540 of file unotxdoc.cxx.

References SfxBaseModel::connectController(), and xController.

◆ create()

css::uno::Reference< css::uno::XInterface > SwXTextDocument::create ( OUString const &  rServiceName,
css::uno::Sequence< css::uno::Any > const *  arguments 
)
private

◆ createClone()

uno::Reference< util::XCloneable > SwXTextDocument::createClone ( )
overridevirtual

◆ CreateCursorForSearch()

SwUnoCursor * SwXTextDocument::CreateCursorForSearch ( css::uno::Reference< css::text::XTextCursor > &  xCursor)

Definition at line 685 of file unotxdoc.cxx.

References SwXBodyText::CreateTextCursor(), getText(), and m_xBodyText.

Referenced by FindAny(), and replaceAll().

◆ createInstance()

Reference< XInterface > SwXTextDocument::createInstance ( const OUString &  ServiceSpecifier)
overridevirtual

Reimplemented from SvxFmMSFactory.

Definition at line 1683 of file unotxdoc.cxx.

References create().

◆ createInstanceWithArguments()

Reference< XInterface > SwXTextDocument::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual

Reimplemented from SvxUnoDrawMSFactory.

Definition at line 1688 of file unotxdoc.cxx.

References create().

◆ createReplaceDescriptor()

Reference< util::XReplaceDescriptor > SwXTextDocument::createReplaceDescriptor ( )
overridevirtual

Definition at line 680 of file unotxdoc.cxx.

◆ createSearchDescriptor()

Reference< util::XSearchDescriptor > SwXTextDocument::createSearchDescriptor ( )
overridevirtual

Definition at line 761 of file unotxdoc.cxx.

◆ disconnectController()

void SwXTextDocument::disconnectController ( const css::uno::Reference< css::frame::XController > &  xController)
overridevirtual

Definition at line 545 of file unotxdoc.cxx.

References SfxBaseModel::disconnectController(), and xController.

◆ dispose()

void SwXTextDocument::dispose ( void  )
overridevirtual

Definition at line 550 of file unotxdoc.cxx.

References SfxBaseModel::dispose(), and maActionArr.

◆ executeContentControlEvent()

void SwXTextDocument::executeContentControlEvent ( const StringMap aArguments)
override

◆ executeFromFieldEvent()

void SwXTextDocument::executeFromFieldEvent ( const StringMap aArguments)
overridevirtual

◆ findAll()

Reference< XIndexAccess > SwXTextDocument::findAll ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc)
overridevirtual

Definition at line 875 of file unotxdoc.cxx.

References SwXTextRanges::Create(), and FindAny().

◆ FindAny()

SwUnoCursor * SwXTextDocument::FindAny ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc,
css::uno::Reference< css::text::XTextCursor > &  xCursor,
bool  bAll,
sal_Int32 &  nResult,
css::uno::Reference< css::uno::XInterface > const &  xLastResult 
)

◆ findFirst()

Reference< XInterface > SwXTextDocument::findFirst ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc)
overridevirtual

Definition at line 888 of file unotxdoc.cxx.

References sw::CreateParentXText(), FindAny(), SwDocShell::GetDoc(), and m_pDocShell.

◆ findNext()

Reference< XInterface > SwXTextDocument::findNext ( const css::uno::Reference< css::uno::XInterface > &  xStartAt,
const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc 
)
overridevirtual

Definition at line 908 of file unotxdoc.cxx.

References sw::CreateParentXText(), FindAny(), SwDocShell::GetDoc(), and m_pDocShell.

◆ getArgs()

Sequence< beans::PropertyValue > SwXTextDocument::getArgs ( )
overridevirtual

Definition at line 535 of file unotxdoc.cxx.

References SfxBaseModel::getArgs().

◆ getAutoStyles()

uno::Reference< style::XAutoStyles > SwXTextDocument::getAutoStyles ( )
overridevirtual

Definition at line 1278 of file unotxdoc.cxx.

References IsValid(), m_pDocShell, and mxXAutoStyles.

◆ getAvailableServiceNames()

Sequence< OUString > SwXTextDocument::getAvailableServiceNames ( )
overridevirtual

◆ getBodyText()

rtl::Reference< SwXBodyText > SwXTextDocument::getBodyText ( )

Definition at line 452 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and m_xBodyText.

Referenced by getText().

◆ getBookmarks()

Reference< XNameAccess > SwXTextDocument::getBookmarks ( )
overridevirtual

Definition at line 1206 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXBookmarks.

Referenced by SwXLinkTargetSupplier::getByName().

◆ getChapterNumberingRules()

Reference< XIndexReplace > SwXTextDocument::getChapterNumberingRules ( )
overridevirtual

Definition at line 595 of file unotxdoc.cxx.

References IsValid(), m_pDocShell, and mxXChapterNumbering.

◆ getCommandValues()

void SwXTextDocument::getCommandValues ( tools::JsonWriter rJsonWriter,
std::string_view  rCommand 
)
override
See also
vcl::ITiledRenderable::getCommandValues().

Definition at line 423 of file loktxdoc.cxx.

References aArguments, aMap, INetURLObject::decode(), INetURLObject::GetParam(), o3tl::getToken(), m_pDocShell, nIndex, o3tl::starts_with(), and INetURLObject::WithCharset.

◆ getContentControls()

Reference< XIndexAccess > SwXTextDocument::getContentControls ( )
override

Definition at line 668 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXContentControls.

◆ getCurrentController()

Reference< frame::XController > SwXTextDocument::getCurrentController ( )
overridevirtual

Definition at line 495 of file unotxdoc.cxx.

References SfxBaseModel::getCurrentController().

◆ getCurrentSelection()

Reference< XInterface > SwXTextDocument::getCurrentSelection ( )
overridevirtual

◆ GetDocShell()

SwDocShell * SwXTextDocument::GetDocShell ( )
inline

◆ getDocumentIndexes()

Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes ( )
overridevirtual

Definition at line 1754 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXDocumentIndexes.

◆ getDocumentLanguages()

uno::Sequence< lang::Locale > SAL_CALL SwXTextDocument::getDocumentLanguages ( ::sal_Int16  nScriptTypes,
::sal_Int16  nCount 
)
overridevirtual

◆ getDocumentSize()

Size SwXTextDocument::getDocumentSize ( )
overridevirtual
See also
vcl::ITiledRenderable::getDocumentSize().

Definition at line 3159 of file unotxdoc.cxx.

References DOCUMENTBORDER, SwViewShell::GetDocSize(), SwDocShell::GetWrtShell(), Size::Height(), m_pDocShell, and Size::Width().

◆ getDocWindow()

VclPtr< vcl::Window > SwXTextDocument::getDocWindow ( )
overridevirtual
See also
vcl::ITiledRenderable::getDocWindow().

Definition at line 3604 of file unotxdoc.cxx.

References SwView::GetEditWin(), SfxLokHelper::getInPlaceDocWindow(), SwDocShell::GetView(), and m_pDocShell.

Referenced by postKeyEvent().

◆ getDrawPage()

Reference< drawing::XDrawPage > SwXTextDocument::getDrawPage ( )
overridevirtual

◆ getDrawPages()

uno::Reference< drawing::XDrawPages > SAL_CALL SwXTextDocument::getDrawPages ( )
overridevirtual

Definition at line 1366 of file unotxdoc.cxx.

◆ getEmbeddedObjects()

Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects ( )
overridevirtual

◆ getEndnotes()

Reference< XIndexAccess > SwXTextDocument::getEndnotes ( )
overridevirtual

Definition at line 644 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXEndnotes.

◆ getEndnoteSettings()

Reference< XPropertySet > SwXTextDocument::getEndnoteSettings ( )
overridevirtual

Definition at line 656 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXEndnoteSettings.

◆ getFlatParagraphIterator()

uno::Reference< text::XFlatParagraphIterator > SAL_CALL SwXTextDocument::getFlatParagraphIterator ( ::sal_Int32  nTextMarkupType,
sal_Bool  bAutomatic 
)
overridevirtual

◆ getFootnotes()

Reference< XIndexAccess > SwXTextDocument::getFootnotes ( )
overridevirtual

Definition at line 619 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXFootnotes.

◆ getFootnoteSettings()

Reference< XPropertySet > SAL_CALL SwXTextDocument::getFootnoteSettings ( )
overridevirtual

Definition at line 632 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXFootnoteSettings.

◆ getGraphicObjects()

Reference< XNameAccess > SwXTextDocument::getGraphicObjects ( )
overridevirtual

◆ getImplementationName()

OUString SwXTextDocument::getImplementationName ( )
overridevirtual

Definition at line 1715 of file unotxdoc.cxx.

◆ getLineNumberingProperties()

Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties ( )
overridevirtual

Definition at line 582 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXLineNumberingProperties.

◆ getLinks()

Reference< XNameAccess > SwXTextDocument::getLinks ( )
overridevirtual

Definition at line 2170 of file unotxdoc.cxx.

References mxLinkTargetSupplier.

◆ GetNumberFormatter()

void SwXTextDocument::GetNumberFormatter ( )
private

◆ getNumberingRules()

Reference< XIndexAccess > SwXTextDocument::getNumberingRules ( )
overridevirtual

Definition at line 607 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXNumberingRules.

◆ getPagePrintSettings()

Sequence< beans::PropertyValue > SwXTextDocument::getPagePrintSettings ( )
overridevirtual

◆ getPart()

int SwXTextDocument::getPart ( )
overridevirtual
See also
vcl::ITiledRenderable::getPart().

Definition at line 3581 of file unotxdoc.cxx.

References SwView::getPart(), SwDocShell::GetView(), and m_pDocShell.

◆ getPartHash()

OUString SwXTextDocument::getPartHash ( int  nPart)
overridevirtual
See also
vcl::ITiledRenderable::getPartHash().

Definition at line 3597 of file unotxdoc.cxx.

References SwResId().

◆ getPartName()

OUString SwXTextDocument::getPartName ( int  nPart)
overridevirtual
See also
vcl::ITiledRenderable::getPartName().

Definition at line 3592 of file unotxdoc.cxx.

References SwResId().

◆ getPartPageRectangles()

OUString SwXTextDocument::getPartPageRectangles ( )
overridevirtual
See also
vcl::ITiledRenderable::getPartPageRectangles().

Definition at line 3190 of file unotxdoc.cxx.

References SwCursorShell::getPageRectangles(), SwDocShell::GetWrtShell(), and m_pDocShell.

◆ getParts()

int SwXTextDocument::getParts ( )
overridevirtual
See also
vcl::ITiledRenderable::getParts().

Definition at line 3179 of file unotxdoc.cxx.

References SwCursorShell::GetPageCnt(), SwDocShell::GetWrtShell(), and m_pDocShell.

◆ getPointer()

PointerStyle SwXTextDocument::getPointer ( )
overridevirtual
See also
vcl::ITiledRenderable::getPointer().

Definition at line 3269 of file unotxdoc.cxx.

References SwView::GetEditWin(), vcl::Window::GetPointer(), SwWrtShell::GetView(), SwDocShell::GetWrtShell(), and m_pDocShell.

◆ getPostIts()

void SwXTextDocument::getPostIts ( tools::JsonWriter rJsonWriter)
override

◆ getPropertyDefault()

Any SAL_CALL SwXTextDocument::getPropertyDefault ( const OUString &  rPropertyName)
overridevirtual

◆ GetPropertyHelper()

SwXDocumentPropertyHelper * SwXTextDocument::GetPropertyHelper ( )

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SwXTextDocument::getPropertySetInfo ( )
overridevirtual

Definition at line 1767 of file unotxdoc.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.

◆ getPropertyState()

PropertyState SAL_CALL SwXTextDocument::getPropertyState ( const OUString &  rPropertyName)
overridevirtual

◆ getPropertyStates()

Sequence< PropertyState > SAL_CALL SwXTextDocument::getPropertyStates ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

Definition at line 2258 of file unotxdoc.cxx.

References nCount.

◆ getPropertyValue()

Any SwXTextDocument::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 1966 of file unotxdoc.cxx.

References Any, comphelper::containerToSequence(), eMode, FmFormModel::GetAutoControlFocus(), SfxObjectShell::GetBasicContainer(), SfxItemPropertyMap::getByName(), SwDoc::GetDefault(), SfxObjectShell::GetDialogContainer(), SwDocShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentStatistics(), SwDoc::GetNumberFormatter(), SwDoc::GetNumRuleTable(), FmFormModel::GetOpenInDesignMode(), GetPropertyHelper(), SfxItemPropertySet::getPropertyMap(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlinePassword(), SwDoc::GetTOIAutoMarkURL(), IDocumentStatistics::GetUpdatedDocStat(), SvNumberFormatter::GetYear2000(), index, SwPostItHelper::INSERTED, SwDoc::IsInReading(), IDocumentRedlineAccess::IsShowChanges(), SwDocShell::IsTemplate(), IsValid(), m_pDocShell, m_pPropSet, maBuildId, mxPropertyHelper, SwDocStat::nChar, SfxItemPropertyMapEntry::nMemberId, SwPostItHelper::NONE, SwDocStat::nPara, nValue, SfxItemPropertyMapEntry::nWID, SwDocStat::nWord, On, SfxPoolItem::QueryValue(), ShowDelete, ShowInsert, ShowMask, SW_MOD, WID_DOC_APPLY_FORM_DESIGN_MODE, WID_DOC_AUTO_MARK_URL, WID_DOC_AUTOMATIC_CONTROL_FOCUS, WID_DOC_BASIC_LIBRARIES, WID_DOC_BUILDID, WID_DOC_CHANGES_PASSWORD, WID_DOC_CHANGES_RECORD, WID_DOC_CHANGES_SHOW, WID_DOC_CHAR_COUNT, WID_DOC_DIALOG_LIBRARIES, WID_DOC_FORBIDDEN_CHARS, WID_DOC_HAS_VALID_SIGNATURES, WID_DOC_HIDE_TIPS, WID_DOC_INTEROP_GRAB_BAG, WID_DOC_ISTEMPLATEID, WID_DOC_LOCK_UPDATES, WID_DOC_PARA_COUNT, WID_DOC_REDLINE_DISPLAY, WID_DOC_RUNTIME_UID, WID_DOC_TWO_DIGIT_YEAR, WID_DOC_VBA_DOCOBJ, WID_DOC_WORD_COUNT, and WID_DOC_WORD_SEPARATOR.

◆ getRedlines()

Reference< XEnumerationAccess > SwXTextDocument::getRedlines ( )
overridevirtual

Definition at line 2179 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), m_pDocShell, and mxXRedlines.

◆ getReferenceMarks()

Reference< XNameAccess > SwXTextDocument::getReferenceMarks ( )
overridevirtual

Definition at line 1158 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXReferenceMarks.

◆ GetRenderDoc()

SwDoc * SwXTextDocument::GetRenderDoc ( SfxViewShell *&  rpView,
const css::uno::Any &  rSelection,
bool  bIsPDFExport 
)
private

◆ getRenderer()

uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer ( sal_Int32  nRenderer,
const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  xOptions 
)
overridevirtual

◆ getRendererCount()

sal_Int32 SAL_CALL SwXTextDocument::getRendererCount ( const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  xOptions 
)
overridevirtual

◆ GetRenderView()

SfxViewShell * SwXTextDocument::GetRenderView ( bool &  rbIsSwSrcView,
const css::uno::Sequence< css::beans::PropertyValue > &  rxOptions,
bool  bIsPDFExport 
)
private

Definition at line 2339 of file unotxdoc.cxx.

References GuessViewShell(), uno::Any::Value, and xController.

Referenced by getRenderer(), getRendererCount(), and render().

◆ getRulerState()

void SwXTextDocument::getRulerState ( tools::JsonWriter rJsonWriter)
override

Definition at line 3331 of file unotxdoc.cxx.

References SwView::GetHRuler(), SwDocShell::GetView(), and m_pDocShell.

◆ getSdrModelFromUnoModel()

SdrModel & SwXTextDocument::getSdrModelFromUnoModel ( ) const
overrideprivatevirtual

◆ getSearchResultRectangles()

std::vector< basegfx::B2DRange > SwXTextDocument::getSearchResultRectangles ( const char *  pPayload)
override
See also
vcl::ITiledRenderable::getSearchResultRectangles().

Definition at line 3419 of file unotxdoc.cxx.

References sw::search::SearchResultLocator::findForPayload(), SwDocShell::GetDoc(), m_pDocShell, sw::search::LocationResult::maRectangles, and sw::search::LocationResult::mbFound.

◆ getSelection()

uno::Reference< datatransfer::XTransferable > SwXTextDocument::getSelection ( )
overridevirtual

◆ getSomething()

sal_Int64 SAL_CALL SwXTextDocument::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

◆ getStyleFamilies()

Reference< XNameAccess > SwXTextDocument::getStyleFamilies ( )
overridevirtual

Definition at line 1266 of file unotxdoc.cxx.

References IsValid(), m_pDocShell, and mxXStyleFamilies.

◆ getSupportedServiceNames()

Sequence< OUString > SwXTextDocument::getSupportedServiceNames ( )
overridevirtual

Definition at line 1732 of file unotxdoc.cxx.

References m_pDocShell.

◆ getText()

Reference< XText > SwXTextDocument::getText ( )
overridevirtual

Definition at line 447 of file unotxdoc.cxx.

References getBodyText().

Referenced by CreateCursorForSearch().

◆ getTextFieldMasters()

Reference< XNameAccess > SwXTextDocument::getTextFieldMasters ( )
overridevirtual

Definition at line 1182 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXTextFieldMasters.

◆ getTextFields()

Reference< XEnumerationAccess > SwXTextDocument::getTextFields ( )
overridevirtual

Definition at line 1170 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXTextFieldTypes.

◆ getTextFrames()

Reference< XNameAccess > SwXTextDocument::getTextFrames ( )
overridevirtual

Definition at line 1254 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXTextFrames.

Referenced by SwXLinkTargetSupplier::getByName().

◆ getTextSections()

Reference< XNameAccess > SwXTextDocument::getTextSections ( )
overridevirtual

Definition at line 1218 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXTextSections.

Referenced by SwXLinkTargetSupplier::getByName().

◆ getTextTables()

Reference< XNameAccess > SwXTextDocument::getTextTables ( )
overridevirtual

Definition at line 1230 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and mxXTextTables.

Referenced by SwXLinkTargetSupplier::getByName().

◆ getTrackedChangeAuthors()

void SwXTextDocument::getTrackedChangeAuthors ( tools::JsonWriter rJsonWriter)
override
See also
vcl::ITiledRenderable::getTrackedChangeAuthors().

Definition at line 3326 of file unotxdoc.cxx.

References SW_MOD.

◆ getTrackedChanges()

void SwXTextDocument::getTrackedChanges ( tools::JsonWriter rJson)
override

◆ getTypes()

Sequence< uno::Type > SAL_CALL SwXTextDocument::getTypes ( )
overridevirtual

◆ getUnoTunnelId()

const Sequence< sal_Int8 > & SwXTextDocument::getUnoTunnelId ( )
static

Definition at line 273 of file unotxdoc.cxx.

References comphelper::UnoIdInit::getSeq().

◆ getURL()

OUString SwXTextDocument::getURL ( )
overridevirtual

Definition at line 530 of file unotxdoc.cxx.

References SfxBaseModel::getURL().

◆ getViewRenderState()

OString SwXTextDocument::getViewRenderState ( )
override

◆ getXForms()

Reference< XNameContainer > SAL_CALL SwXTextDocument::getXForms ( )
overridevirtual

Definition at line 3076 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), SwDoc::getXForms(), and m_pDocShell.

◆ GuessViewShell()

SfxViewShell * SwXTextDocument::GuessViewShell ( bool &  rbIsSwSrcView,
const css::uno::Reference< css::frame::XController > &  rController = css::uno::Reference< css::frame::XController >() 
)
private

◆ hasControllersLocked()

sal_Bool SwXTextDocument::hasControllersLocked ( )
overridevirtual

Definition at line 489 of file unotxdoc.cxx.

References maActionArr.

◆ initializeForTiledRendering()

void SwXTextDocument::initializeForTiledRendering ( const css::uno::Sequence< css::beans::PropertyValue > &  rArguments)
overridevirtual

◆ InitNewDoc()

void SwXTextDocument::InitNewDoc ( )

◆ Invalidate()

void SwXTextDocument::Invalidate ( )

◆ isMimeTypeSupported()

bool SwXTextDocument::isMimeTypeSupported ( )
overridevirtual

◆ IsValid()

bool SwXTextDocument::IsValid ( ) const
inline

◆ lockControllers()

void SwXTextDocument::lockControllers ( )
overridevirtual

Definition at line 471 of file unotxdoc.cxx.

References SwDocShell::GetDoc(), IsValid(), m_pDocShell, and maActionArr.

◆ NotifyRefreshListeners()

void SwXTextDocument::NotifyRefreshListeners ( )

Definition at line 2188 of file unotxdoc.cxx.

References m_pImpl.

Referenced by refresh().

◆ paintTile() [1/2]

void SAL_CALL SwXTextDocument::paintTile ( const ::css::uno::Any &  Parent,
::sal_Int32  nOutputWidth,
::sal_Int32  nOutputHeight,
::sal_Int32  nTilePosX,
::sal_Int32  nTilePosY,
::sal_Int32  nTileWidth,
::sal_Int32  nTileHeight 
)
overridevirtual

Definition at line 3846 of file unotxdoc.cxx.

References SL::aData, paintTile(), and Parent.

◆ paintTile() [2/2]

void SwXTextDocument::paintTile ( VirtualDevice rDevice,
int  nOutputWidth,
int  nOutputHeight,
int  nTilePosX,
int  nTilePosY,
tools::Long  nTileWidth,
tools::Long  nTileHeight 
)
overridevirtual

◆ postKeyEvent()

void SwXTextDocument::postKeyEvent ( int  nType,
int  nCharCode,
int  nKeyCode 
)
overridevirtual
See also
vcl::ITiledRenderable::postKeyEvent().

Definition at line 3711 of file unotxdoc.cxx.

References getDocWindow(), nType, and SfxLokHelper::postKeyEventAsync().

◆ postMouseEvent()

void SwXTextDocument::postMouseEvent ( int  nType,
int  nX,
int  nY,
int  nCount,
int  nButtons,
int  nModifier 
)
overridevirtual

◆ printPages()

void SwXTextDocument::printPages ( const css::uno::Sequence< css::beans::PropertyValue > &  xOptions)
overridevirtual

◆ queryInterface()

Any SAL_CALL SwXTextDocument::queryInterface ( const css::uno::Type &  aType)
overridevirtual

◆ Reactivate()

void SwXTextDocument::Reactivate ( SwDocShell pNewDocShell)

Definition at line 1395 of file unotxdoc.cxx.

References Invalidate(), m_bObjectValid, and m_pDocShell.

◆ reformat()

void SwXTextDocument::reformat ( )
overridevirtual

Definition at line 464 of file unotxdoc.cxx.

References IsValid().

◆ refresh()

void SwXTextDocument::refresh ( )
overridevirtual

◆ release()

void SAL_CALL SwXTextDocument::release ( )
overridevirtualnoexcept

Definition at line 341 of file unotxdoc.cxx.

References SfxBaseModel::release().

◆ removeEventListener() [1/3]

virtual void SAL_CALL SfxBaseModel::removeEventListener ( const css::uno::Reference< css::document::XEventListener > &  xListener)
private

◆ removeEventListener() [2/3]

virtual void SAL_CALL SfxBaseModel::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
private

◆ removeEventListener() [3/3]

void SwXTextDocument::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 577 of file unotxdoc.cxx.

References SfxBaseModel::removeEventListener().

◆ removePasteEventListener()

void SwXTextDocument::removePasteEventListener ( const ::css::uno::Reference<::css::text::XPasteListener > &  xListener)
override

◆ removePropertyChangeListener()

void SwXTextDocument::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 2152 of file unotxdoc.cxx.

◆ removeRefreshListener()

void SAL_CALL SwXTextDocument::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 2220 of file unotxdoc.cxx.

References m_pImpl.

◆ removeVetoableChangeListener()

void SwXTextDocument::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 2164 of file unotxdoc.cxx.

◆ render()

void SAL_CALL SwXTextDocument::render ( sal_Int32  nRenderer,
const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  xOptions 
)
overridevirtual

◆ replaceAll()

sal_Int32 SwXTextDocument::replaceAll ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc)
overridevirtual

◆ resetSelection()

void SwXTextDocument::resetSelection ( )
overridevirtual
See also
vcl::ITiledRenderable::resetSelection().

Definition at line 3838 of file unotxdoc.cxx.

References SwDocShell::GetWrtShell(), m_pDocShell, and SwWrtShell::ResetSelect().

◆ setClientVisibleArea()

void SwXTextDocument::setClientVisibleArea ( const tools::Rectangle rRectangle)
overridevirtual
See also
vcl::ITiledRenderable::setClientVisibleArea().

Definition at line 3229 of file unotxdoc.cxx.

References tools::Rectangle::GetHeight(), SwDocShell::GetView(), SwDocShell::GetWrtShell(), and m_pDocShell.

◆ setClientZoom()

void SwXTextDocument::setClientZoom ( int  nTilePixelWidth_,
int  nTilePixelHeight_,
int  nTileTwipWidth_,
int  nTileTwipHeight_ 
)
overridevirtual

◆ setClipboard()

void SwXTextDocument::setClipboard ( const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &  xClipboard)
overridevirtual
See also
vcl::ITiledRenderable::setClipboard().

Definition at line 3201 of file unotxdoc.cxx.

References SwView::GetEditWin(), SwDocShell::GetView(), m_pDocShell, and vcl::Window::SetClipboard().

◆ setCurrentController()

void SwXTextDocument::setCurrentController ( const css::uno::Reference< css::frame::XController > &  xController)
overridevirtual

Definition at line 500 of file unotxdoc.cxx.

References SfxBaseModel::setCurrentController(), and xController.

◆ setGraphicSelection()

void SwXTextDocument::setGraphicSelection ( int  nType,
int  nX,
int  nY 
)
overridevirtual

◆ setPagePrintSettings()

void SwXTextDocument::setPagePrintSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aSettings)
overridevirtual

◆ setPart()

void SwXTextDocument::setPart ( int  nPart,
bool  bAllowChangeFocus = true 
)
overridevirtual
See also
vcl::ITiledRenderable::setPart().

Definition at line 3168 of file unotxdoc.cxx.

References SwDocShell::GetWrtShell(), SwWrtShell::GotoPage(), and m_pDocShell.

◆ setPropertyToDefault()

void SAL_CALL SwXTextDocument::setPropertyToDefault ( const OUString &  rPropertyName)
overridevirtual

◆ setPropertyValue()

void SwXTextDocument::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 1773 of file unotxdoc.cxx.

References SfxRequest::AppendItem(), SfxPoolItem::Clone(), eMode, SwDocShell::Execute(), SwDoc::GetAttrPool(), SfxItemPropertyMap::getByName(), SwDoc::GetDefault(), SwDocShell::GetDoc(), SwDoc::GetDocumentRedlineManager(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentRedlineAccess(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), SfxItemPropertySet::getPropertyMap(), IDocumentRedlineAccess::GetRedlineFlags(), SwPostItHelper::INSERTED, SwDoc::IsInWriterfilterImport(), IsValid(), m_pDocShell, m_pPropSet, maBuildId, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nMemberId, SwPostItHelper::NONE, SfxItemPropertyMapEntry::nWID, On, FmFormModel::SetAutoControlFocus(), SwDoc::SetDefault(), SwDoc::SetDefaultPageMode(), IDocumentFieldsAccess::SetFieldsDirty(), sw::DocumentRedlineManager::SetHideRedlines(), SwDoc::SetInReading(), SwDoc::SetInWriterfilterImport(), FmFormModel::SetOpenInDesignMode(), IDocumentRedlineAccess::SetRedlineFlags(), IDocumentRedlineAccess::SetRedlinePassword(), SwDoc::SetTOIAutoMarkURL(), ShowDelete, ShowInsert, ShowMask, SW_MOD, WID_DOC_APPLY_FORM_DESIGN_MODE, WID_DOC_AUTO_MARK_URL, WID_DOC_AUTOMATIC_CONTROL_FOCUS, WID_DOC_BUILDID, WID_DOC_CHANGES_PASSWORD, WID_DOC_CHANGES_RECORD, WID_DOC_CHANGES_SHOW, WID_DOC_CHAR_COUNT, WID_DOC_DEFAULT_PAGE_MODE, WID_DOC_HIDE_TIPS, WID_DOC_INTEROP_GRAB_BAG, WID_DOC_LOCK_UPDATES, WID_DOC_PARA_COUNT, WID_DOC_REDLINE_DISPLAY, WID_DOC_TWO_DIGIT_YEAR, WID_DOC_WORD_COUNT, WID_DOC_WORD_SEPARATOR, and WID_DOC_WRITERFILTER.

◆ setTextSelection()

void SwXTextDocument::setTextSelection ( int  nType,
int  nX,
int  nY 
)
overridevirtual
See also
vcl::ITiledRenderable::setTextSelection().

Definition at line 3750 of file unotxdoc.cxx.

References SwView::GetEditWin(), SwDocShell::GetView(), m_pDocShell, nType, SwEditWin::SetCursorTwipPosition(), and LokChartHelper::setTextSelection().

◆ supportsCommand()

bool SwXTextDocument::supportsCommand ( std::u16string_view  rCommand)
override
See also
vcl::ITiledRenderable::supportsCommand().

Definition at line 413 of file loktxdoc.cxx.

References u.

◆ supportsService()

sal_Bool SwXTextDocument::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1727 of file unotxdoc.cxx.

References cppu::supportsService().

◆ unlockControllers()

void SwXTextDocument::unlockControllers ( )
overridevirtual

Definition at line 480 of file unotxdoc.cxx.

References maActionArr.

◆ updateLinks()

void SwXTextDocument::updateLinks ( )
overridevirtual

Member Data Documentation

◆ m_bApplyPagePrintSettingsFromXPagePrintable

bool SwXTextDocument::m_bApplyPagePrintSettingsFromXPagePrintable
private

Definition at line 204 of file unotxdoc.hxx.

Referenced by getRenderer(), and printPages().

◆ m_bObjectValid

bool SwXTextDocument::m_bObjectValid
private

Definition at line 149 of file unotxdoc.hxx.

Referenced by Invalidate(), and Reactivate().

◆ m_pDocShell

SwDocShell* SwXTextDocument::m_pDocShell
private

Definition at line 148 of file unotxdoc.hxx.

Referenced by addPasteEventListener(), close(), create(), createClone(), executeContentControlEvent(), executeFromFieldEvent(), FindAny(), findFirst(), findNext(), getAutoStyles(), getBodyText(), getBookmarks(), getChapterNumberingRules(), getCommandValues(), getContentControls(), getCurrentSelection(), getDocumentIndexes(), getDocumentLanguages(), getDocumentSize(), getDocWindow(), getDrawPage(), getEmbeddedObjects(), getEndnotes(), getEndnoteSettings(), getFlatParagraphIterator(), getFootnotes(), getFootnoteSettings(), getGraphicObjects(), getLineNumberingProperties(), GetNumberFormatter(), getNumberingRules(), getPagePrintSettings(), getPart(), getPartPageRectangles(), getParts(), getPointer(), getPostIts(), GetPropertyHelper(), getPropertyValue(), getRedlines(), getReferenceMarks(), GetRenderDoc(), getRenderer(), getRendererCount(), getRulerState(), getSdrModelFromUnoModel(), getSearchResultRectangles(), getSelection(), getSomething(), getStyleFamilies(), getSupportedServiceNames(), getTextFieldMasters(), getTextFields(), getTextFrames(), getTextSections(), getTextTables(), getTrackedChanges(), getViewRenderState(), getXForms(), GuessViewShell(), initializeForTiledRendering(), Invalidate(), isMimeTypeSupported(), lockControllers(), paintTile(), postMouseEvent(), printPages(), Reactivate(), refresh(), removePasteEventListener(), render(), replaceAll(), resetSelection(), setClientVisibleArea(), setClientZoom(), setClipboard(), setGraphicSelection(), setPagePrintSettings(), setPart(), setPropertyValue(), setTextSelection(), and updateLinks().

◆ m_pHiddenViewFrame

SfxViewFrame* SwXTextDocument::m_pHiddenViewFrame
private

Definition at line 181 of file unotxdoc.hxx.

Referenced by close(), getRendererCount(), and render().

◆ m_pImpl

::sw::UnoImplPtr<Impl> SwXTextDocument::m_pImpl
private

◆ m_pPrintUIOptions

std::unique_ptr<SwPrintUIOptions> SwXTextDocument::m_pPrintUIOptions
private

Definition at line 184 of file unotxdoc.hxx.

Referenced by getRenderer(), getRendererCount(), render(), and ~SwXTextDocument().

◆ m_pPropSet

const SfxItemPropertySet* SwXTextDocument::m_pPropSet
private

◆ m_pRenderData

std::unique_ptr<SwRenderData> SwXTextDocument::m_pRenderData
private

Definition at line 185 of file unotxdoc.hxx.

Referenced by GetRenderDoc(), getRenderer(), getRendererCount(), render(), and ~SwXTextDocument().

◆ m_xBodyText

rtl::Reference<SwXBodyText> SwXTextDocument::m_xBodyText
private

Definition at line 153 of file unotxdoc.hxx.

Referenced by CreateCursorForSearch(), getBodyText(), and InitNewDoc().

◆ m_xDrawPage

rtl::Reference<SwFmDrawPage> SwXTextDocument::m_xDrawPage
private

Definition at line 151 of file unotxdoc.hxx.

Referenced by getDrawPage(), and InitNewDoc().

◆ m_xNumFormatAgg

css::uno::Reference< css::uno::XAggregation > SwXTextDocument::m_xNumFormatAgg
private

◆ maActionArr

std::deque<std::unique_ptr<UnoActionContext, o3tl::default_delete<UnoActionContext> > > SwXTextDocument::maActionArr
private

Definition at line 144 of file unotxdoc.hxx.

Referenced by dispose(), hasControllersLocked(), lockControllers(), and unlockControllers().

◆ maBuildId

OUString SwXTextDocument::maBuildId
private

Definition at line 198 of file unotxdoc.hxx.

Referenced by getPropertyValue(), and setPropertyValue().

◆ mxLinkTargetSupplier

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxLinkTargetSupplier
private

Definition at line 177 of file unotxdoc.hxx.

Referenced by getLinks(), and InitNewDoc().

◆ mxPropertyHelper

rtl::Reference<SwXDocumentPropertyHelper> SwXTextDocument::mxPropertyHelper
private

Definition at line 182 of file unotxdoc.hxx.

Referenced by GetPropertyHelper(), getPropertyValue(), and InitNewDoc().

◆ mxXAutoStyles

css::uno::Reference< css::style::XAutoStyles > SwXTextDocument::mxXAutoStyles
mutableprivate

Definition at line 172 of file unotxdoc.hxx.

Referenced by getAutoStyles(), and InitNewDoc().

◆ mxXBookmarks

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXBookmarks
private

Definition at line 166 of file unotxdoc.hxx.

Referenced by getBookmarks(), and InitNewDoc().

◆ mxXChapterNumbering

css::uno::Reference< css::container::XIndexReplace > SwXTextDocument::mxXChapterNumbering
private

Definition at line 173 of file unotxdoc.hxx.

Referenced by getChapterNumberingRules(), and InitNewDoc().

◆ mxXContentControls

css::uno::Reference< css::container::XIndexAccess > SwXTextDocument::mxXContentControls
private

Definition at line 161 of file unotxdoc.hxx.

Referenced by getContentControls(), and InitNewDoc().

◆ mxXDocumentIndexes

css::uno::Reference< css::container::XIndexAccess > SwXTextDocument::mxXDocumentIndexes
private

Definition at line 174 of file unotxdoc.hxx.

Referenced by getDocumentIndexes(), and InitNewDoc().

◆ mxXEmbeddedObjects

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXEmbeddedObjects
private

Definition at line 170 of file unotxdoc.hxx.

Referenced by getEmbeddedObjects(), and InitNewDoc().

◆ mxXEndnotes

css::uno::Reference< css::container::XIndexAccess > SwXTextDocument::mxXEndnotes
private

Definition at line 159 of file unotxdoc.hxx.

Referenced by getEndnotes(), and InitNewDoc().

◆ mxXEndnoteSettings

css::uno::Reference< css::beans::XPropertySet > SwXTextDocument::mxXEndnoteSettings
private

Definition at line 160 of file unotxdoc.hxx.

Referenced by getEndnoteSettings(), and InitNewDoc().

◆ mxXFootnotes

css::uno::Reference< css::container::XIndexAccess > SwXTextDocument::mxXFootnotes
private

Definition at line 157 of file unotxdoc.hxx.

Referenced by getFootnotes(), and InitNewDoc().

◆ mxXFootnoteSettings

css::uno::Reference< css::beans::XPropertySet > SwXTextDocument::mxXFootnoteSettings
private

Definition at line 158 of file unotxdoc.hxx.

Referenced by getFootnoteSettings(), and InitNewDoc().

◆ mxXGraphicObjects

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXGraphicObjects
private

Definition at line 169 of file unotxdoc.hxx.

Referenced by getGraphicObjects(), and InitNewDoc().

◆ mxXLineNumberingProperties

css::uno::Reference< css::beans::XPropertySet > SwXTextDocument::mxXLineNumberingProperties
private

Definition at line 176 of file unotxdoc.hxx.

Referenced by getLineNumberingProperties(), and InitNewDoc().

◆ mxXNumberingRules

css::uno::Reference< css::container::XIndexAccess > SwXTextDocument::mxXNumberingRules
private

Definition at line 156 of file unotxdoc.hxx.

Referenced by getNumberingRules(), and InitNewDoc().

◆ mxXRedlines

css::uno::Reference< css::container::XEnumerationAccess > SwXTextDocument::mxXRedlines
private

Definition at line 178 of file unotxdoc.hxx.

Referenced by getRedlines(), and InitNewDoc().

◆ mxXReferenceMarks

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXReferenceMarks
private

Definition at line 162 of file unotxdoc.hxx.

Referenced by getReferenceMarks(), and InitNewDoc().

◆ mxXStyleFamilies

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXStyleFamilies
private

Definition at line 171 of file unotxdoc.hxx.

Referenced by getStyleFamilies(), and InitNewDoc().

◆ mxXTextFieldMasters

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXTextFieldMasters
private

Definition at line 164 of file unotxdoc.hxx.

Referenced by getTextFieldMasters(), and InitNewDoc().

◆ mxXTextFieldTypes

css::uno::Reference< css::container::XEnumerationAccess > SwXTextDocument::mxXTextFieldTypes
private

Definition at line 163 of file unotxdoc.hxx.

Referenced by getTextFields(), and InitNewDoc().

◆ mxXTextFrames

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXTextFrames
private

Definition at line 168 of file unotxdoc.hxx.

Referenced by getTextFrames(), and InitNewDoc().

◆ mxXTextSections

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXTextSections
private

Definition at line 165 of file unotxdoc.hxx.

Referenced by getTextSections(), and InitNewDoc().

◆ mxXTextTables

css::uno::Reference< css::container::XNameAccess > SwXTextDocument::mxXTextTables
private

Definition at line 167 of file unotxdoc.hxx.

Referenced by getTextTables(), and InitNewDoc().


The documentation for this class was generated from the following files: