LibreOffice Module sw (master)  1
unotxdoc.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SW_INC_UNOTXDOC_HXX
20 #define INCLUDED_SW_INC_UNOTXDOC_HXX
21 
22 #include "swdllapi.h"
23 #include <sfx2/sfxbasemodel.hxx>
24 
25 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
26 #include <com/sun/star/style/XAutoStylesSupplier.hpp>
27 #include <com/sun/star/document/XLinkTargetSupplier.hpp>
28 #include <com/sun/star/document/XRedlinesSupplier.hpp>
29 #include <com/sun/star/text/XNumberingRulesSupplier.hpp>
30 #include <com/sun/star/text/XFootnotesSupplier.hpp>
31 #include <com/sun/star/text/XEndnotesSupplier.hpp>
32 #include <com/sun/star/text/XTextSectionsSupplier.hpp>
33 #include <com/sun/star/text/XLineNumberingProperties.hpp>
34 #include <com/sun/star/text/XChapterNumberingSupplier.hpp>
35 #include <com/sun/star/text/XPagePrintable.hpp>
36 #include <com/sun/star/text/XTextFieldsSupplier.hpp>
37 #include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp>
38 #include <com/sun/star/text/XTextTablesSupplier.hpp>
39 #include <com/sun/star/text/XDocumentIndexesSupplier.hpp>
40 #include <com/sun/star/text/XBookmarksSupplier.hpp>
41 #include <com/sun/star/text/XTextDocument.hpp>
42 #include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
43 #include <com/sun/star/text/XReferenceMarksSupplier.hpp>
44 #include <com/sun/star/text/XTextFramesSupplier.hpp>
45 #include <com/sun/star/drawing/XDrawPageSupplier.hpp>
46 #include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
47 #include <com/sun/star/util/XReplaceable.hpp>
48 #include <com/sun/star/util/XRefreshable.hpp>
49 #include <com/sun/star/util/XLinkUpdate.hpp>
50 #include <com/sun/star/view/XRenderable.hpp>
51 #include <com/sun/star/lang/XServiceInfo.hpp>
52 #include <com/sun/star/beans/XPropertySet.hpp>
53 #include <com/sun/star/beans/XPropertyState.hpp>
54 #include <com/sun/star/xforms/XFormsSupplier.hpp>
55 #include <com/sun/star/text/XFlatParagraphIteratorProvider.hpp>
56 #include <com/sun/star/document/XDocumentLanguages.hpp>
57 #include <com/sun/star/util/XCloneable.hpp>
58 #include <o3tl/deleter.hxx>
59 #include <rtl/ref.hxx>
60 #include <svx/fmdmod.hxx>
62 #include <cppuhelper/implbase.hxx>
63 #include <vcl/ITiledRenderable.hxx>
64 #include <com/sun/star/tiledrendering/XTiledRenderable.hpp>
65 #include <com/sun/star/text/XPasteBroadcaster.hpp>
66 
67 #include "unobaseclass.hxx"
68 #include "viewopt.hxx"
69 
70 #include <deque>
71 
72 class SwDoc;
73 class SwDocShell;
74 class UnoActionContext;
75 class SwXBodyText;
76 class SwXDrawPage;
77 class SwUnoCursor;
79 class SfxViewFrame;
80 class SfxViewShell;
81 class SwPrintUIOptions;
82 class SwPrintData;
83 class SwRenderData;
84 class SwViewShell;
85 class SfxItemPropertySet;
86 namespace com::sun::star::container { class XNameContainer; }
87 namespace com::sun::star::frame { class XController; }
88 namespace com::sun::star::lang { struct Locale; }
89 namespace com::sun::star::uno { class XAggregation; }
90 
91 namespace com::sun::star::util { class XReplaceDescriptor; }
92 
93 typedef cppu::ImplInheritanceHelper
94 <
96  css::text::XTextDocument,
97  css::text::XLineNumberingProperties,
98  css::text::XChapterNumberingSupplier,
99  css::text::XNumberingRulesSupplier,
100  css::text::XFootnotesSupplier,
101  css::text::XEndnotesSupplier,
102  css::util::XReplaceable,
103  css::text::XPagePrintable,
104  css::text::XReferenceMarksSupplier,
105  css::text::XTextTablesSupplier,
106  css::text::XTextFramesSupplier,
107  css::text::XBookmarksSupplier,
108  css::text::XTextSectionsSupplier,
109  css::text::XTextGraphicObjectsSupplier,
110  css::text::XTextEmbeddedObjectsSupplier,
111  css::text::XTextFieldsSupplier,
112  css::style::XStyleFamiliesSupplier,
113  css::style::XAutoStylesSupplier,
114  css::lang::XServiceInfo,
115  css::drawing::XDrawPageSupplier,
116  css::drawing::XDrawPagesSupplier,
117  css::text::XDocumentIndexesSupplier,
118  css::beans::XPropertySet,
119  css::beans::XPropertyState,
120  css::document::XLinkTargetSupplier,
121  css::document::XRedlinesSupplier,
122  css::util::XRefreshable,
123  css::util::XLinkUpdate,
124  css::view::XRenderable,
125  css::xforms::XFormsSupplier,
126  css::text::XFlatParagraphIteratorProvider,
127  css::document::XDocumentLanguages,
128  css::util::XCloneable,
129  css::text::XPasteBroadcaster
130 >
132 
134  public SvxFmMSFactory,
135  public vcl::ITiledRenderable,
136  public css::tiledrendering::XTiledRenderable
137 {
138 private:
139  class Impl;
141 
142  std::deque<std::unique_ptr<UnoActionContext, o3tl::default_delete<UnoActionContext>>> maActionArr;
143 
145 
148 
150 
152  css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg;
153 
154  css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules;
155  css::uno::Reference< css::container::XIndexAccess > mxXFootnotes;
156  css::uno::Reference< css::beans::XPropertySet > mxXFootnoteSettings;
157  css::uno::Reference< css::container::XIndexAccess > mxXEndnotes;
158  css::uno::Reference< css::beans::XPropertySet > mxXEndnoteSettings;
159  css::uno::Reference< css::container::XNameAccess > mxXReferenceMarks;
160  css::uno::Reference< css::container::XEnumerationAccess > mxXTextFieldTypes;
161  css::uno::Reference< css::container::XNameAccess > mxXTextFieldMasters;
162  css::uno::Reference< css::container::XNameAccess > mxXTextSections;
163  css::uno::Reference< css::container::XNameAccess > mxXBookmarks;
164  css::uno::Reference< css::container::XNameAccess > mxXTextTables;
165  css::uno::Reference< css::container::XNameAccess > mxXTextFrames;
166  css::uno::Reference< css::container::XNameAccess > mxXGraphicObjects;
167  css::uno::Reference< css::container::XNameAccess > mxXEmbeddedObjects;
168  css::uno::Reference< css::container::XNameAccess > mxXStyleFamilies;
169  mutable css::uno::Reference< css::style::XAutoStyles > mxXAutoStyles;
170  css::uno::Reference< css::container::XIndexReplace > mxXChapterNumbering;
171  css::uno::Reference< css::container::XIndexAccess > mxXDocumentIndexes;
172 
173  css::uno::Reference< css::beans::XPropertySet > mxXLineNumberingProperties;
174  css::uno::Reference< css::container::XNameAccess > mxLinkTargetSupplier;
175  css::uno::Reference< css::container::XEnumerationAccess > mxXRedlines;
176 
177  //temporary frame to enable PDF export if no valid view is available
180 
181  std::unique_ptr<SwPrintUIOptions> m_pPrintUIOptions;
182  std::unique_ptr<SwRenderData> m_pRenderData;
183 
184  void GetNumberFormatter();
185 
186  css::uno::Reference<css::uno::XInterface> create(
187  OUString const & rServiceName,
188  css::uno::Sequence<css::uno::Any> const * arguments);
189 
190  // used for XRenderable implementation
191  SfxViewShell * GuessViewShell( /* out */ bool &rbIsSwSrcView, const css::uno::Reference< css::frame::XController >& rController = css::uno::Reference< css::frame::XController >() );
192  SwDoc * GetRenderDoc( SfxViewShell *&rpView, const css::uno::Any& rSelection, bool bIsPDFExport );
193  SfxViewShell * GetRenderView( bool &rbIsSwSrcView, const css::uno::Sequence< css::beans::PropertyValue >& rxOptions, bool bIsPDFExport );
194 
195  OUString maBuildId;
196 
197  // boolean for XPagePrintable
198  // set in XPagePrintable::printPages(..) to indicate that the PagePrintSettings
199  // has to be applied in XRenderable::getRenderer(..) through which the printing
200  // is implemented.
202 
205 
207  virtual SdrModel& getSdrModelFromUnoModel() const override;
208 
209  virtual ~SwXTextDocument() override;
210 public:
211  SwXTextDocument(SwDocShell* pShell);
212 
213  void NotifyRefreshListeners();
214  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
215  virtual void SAL_CALL acquire( ) noexcept override;
216  virtual void SAL_CALL release( ) noexcept override;
217 
218  //XWeak
219  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
220 
221  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
222 
223  //XUnoTunnel
224  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
225 
226  //XTextDocument
227  virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
228  virtual void SAL_CALL reformat() override;
229 
230  //XModel
231  virtual sal_Bool SAL_CALL attachResource( const OUString& aURL, const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) override;
232  virtual OUString SAL_CALL getURL( ) override;
233  virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs( ) override;
234  virtual void SAL_CALL connectController( const css::uno::Reference< css::frame::XController >& xController ) override;
235  virtual void SAL_CALL disconnectController( const css::uno::Reference< css::frame::XController >& xController ) override;
236  virtual void SAL_CALL lockControllers( ) override;
237  virtual void SAL_CALL unlockControllers( ) override;
238  virtual sal_Bool SAL_CALL hasControllersLocked( ) override;
239  virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController( ) override;
240  virtual void SAL_CALL setCurrentController( const css::uno::Reference< css::frame::XController >& xController ) override;
241  virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection( ) override;
242 
243  //XComponent
244  virtual void SAL_CALL dispose() override;
245  virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
246  virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
247 
248  //XCloseable
249  virtual void SAL_CALL close( sal_Bool bDeliverOwnership ) override;
250 
251  //XLineNumberingProperties
252  virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getLineNumberingProperties() override;
253 
254  //XChapterNumberingSupplier
255  virtual css::uno::Reference< css::container::XIndexReplace > SAL_CALL getChapterNumberingRules() override;
256 
257  //XNumberingRulesSupplier
258  virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getNumberingRules() override;
259 
260  //XFootnotesSupplier
261  virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getFootnotes() override;
262  virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getFootnoteSettings() override;
263 
264  //XEndnotesSupplier
265  virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getEndnotes() override;
266  virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getEndnoteSettings() override;
267 
268  //XReplaceable
269  virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor() override;
270  virtual sal_Int32 SAL_CALL replaceAll(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc) override;
271 
272  //XSearchable
273  virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL createSearchDescriptor() override;
274  virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL findAll(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc) override;
275  virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findFirst(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc) override;
276  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;
277 
278  //XPagePrintable
279  virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPagePrintSettings() override;
280  virtual void SAL_CALL setPagePrintSettings(const css::uno::Sequence< css::beans::PropertyValue >& aSettings) override;
281  virtual void SAL_CALL printPages(const css::uno::Sequence< css::beans::PropertyValue >& xOptions) override;
282 
283  //XReferenceMarksSupplier
284  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getReferenceMarks() override;
285 
286  // css::text::XTextFieldsSupplier
287  virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getTextFields() override;
288  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFieldMasters() override;
289 
290  // css::text::XTextEmbeddedObjectsSupplier
291  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getEmbeddedObjects() override;
292 
293  // css::text::XBookmarksSupplier
294  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getBookmarks() override;
295 
296  // css::text::XTextSectionsSupplier
297  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextSections() override;
298 
299  // css::text::XTextTablesSupplier
300  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextTables() override;
301 
302  // css::text::XTextGraphicObjectsSupplier
303  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getGraphicObjects() override;
304 
305  // css::text::XTextFramesSupplier
306  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFrames() override;
307 
308  //XStyleFamiliesSupplier
309  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getStyleFamilies() override;
310 
311  //XAutoStylesSupplier
312  virtual css::uno::Reference< css::style::XAutoStyles > SAL_CALL getAutoStyles( ) override;
313 
314  //XMultiServiceFactory
315  virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& ServiceSpecifier) override;
316  virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& ServiceSpecifier,
317  const css::uno::Sequence< css::uno::Any >& Arguments) override;
318  virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
319 
320  //XServiceInfo
321  virtual OUString SAL_CALL getImplementationName() override;
322  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
323  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
324 
325  // css::drawing::XDrawPageSupplier
326  virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getDrawPage() override;
327 
328  // css::drawing::XDrawPagesSupplier
329  virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getDrawPages() override;
330 
331  // css::text::XDocumentIndexesSupplier
332  virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getDocumentIndexes() override;
333 
334  //XPropertySet
335  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
336  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
337  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
338  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
339  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
340  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
341  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
342 
343  //XPropertyState
344  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& rPropertyName ) override;
345  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& rPropertyNames ) override;
346  virtual void SAL_CALL setPropertyToDefault( const OUString& rPropertyName ) override;
347  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& rPropertyName ) override;
348 
349  //XLinkTargetSupplier
350  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override;
351 
352  //XRedlinesSupplier
353  virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getRedlines( ) override;
354 
355  // css::util::XRefreshable
356  virtual void SAL_CALL refresh() override;
357  virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > & l) override;
358  virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > & l) override;
359 
360  // css::util::XLinkUpdate,
361  virtual void SAL_CALL updateLinks( ) override;
362 
363  // css::view::XRenderable
364  virtual sal_Int32 SAL_CALL getRendererCount( const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
365  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;
366  virtual void SAL_CALL render( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
367 
368  // css::xforms::XFormsSupplier
369  virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getXForms( ) override;
370 
371  // css::document::XDocumentLanguages
372  virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages( ::sal_Int16 nScriptTypes, ::sal_Int16 nCount ) override;
373 
374  // css::text::XFlatParagraphIteratorProvider:
375  virtual css::uno::Reference< css::text::XFlatParagraphIterator > SAL_CALL getFlatParagraphIterator(::sal_Int32 nTextMarkupType, sal_Bool bAutomatic ) override;
376 
377  // css::util::XCloneable
378  virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
379 
380  // css::text::XPasteBroadcaster
381  void SAL_CALL addPasteEventListener(
382  const ::css::uno::Reference<::css::text::XPasteListener>& xListener) override;
383  void SAL_CALL removePasteEventListener(
384  const ::css::uno::Reference<::css::text::XPasteListener>& xListener) override;
385 
387  virtual void paintTile( VirtualDevice &rDevice,
388  int nOutputWidth,
389  int nOutputHeight,
390  int nTilePosX,
391  int nTilePosY,
392  tools::Long nTileWidth,
393  tools::Long nTileHeight ) override;
395  virtual Size getDocumentSize() override;
397  virtual void setPart(int nPart, bool bAllowChangeFocus = true) override;
399  virtual int getParts() override;
401  virtual int getPart() override;
403  virtual OUString getPartName(int nPart) override;
405  virtual OUString getPartHash(int nPart) override;
407  virtual VclPtr<vcl::Window> getDocWindow() override;
409  virtual void initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& rArguments) override;
411  virtual void postKeyEvent(int nType, int nCharCode, int nKeyCode) override;
413  virtual void postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier) override;
415  virtual void setTextSelection(int nType, int nX, int nY) override;
417  virtual css::uno::Reference<css::datatransfer::XTransferable> getSelection() override;
419  virtual void setGraphicSelection(int nType, int nX, int nY) override;
421  virtual void resetSelection() override;
423  virtual OUString getPartPageRectangles() override;
425  virtual void setClipboard(const css::uno::Reference<css::datatransfer::clipboard::XClipboard>& xClipboard) override;
427  virtual bool isMimeTypeSupported() override;
429  virtual void setClientVisibleArea(const tools::Rectangle& rRectangle) override;
431  virtual void setClientZoom(int nTilePixelWidth_, int nTilePixelHeight_, int nTileTwipWidth_, int nTileTwipHeight_) override;
433  virtual PointerStyle getPointer() override;
435  void getTrackedChanges(tools::JsonWriter&) override;
437  void getTrackedChangeAuthors(tools::JsonWriter& rJsonWriter) override;
438 
439  void getRulerState(tools::JsonWriter& rJsonWriter) override;
441  void getPostIts(tools::JsonWriter& rJsonWriter) override;
442 
444  virtual void executeFromFieldEvent(const StringMap& aArguments) override;
445 
447  std::vector<basegfx::B2DRange> getSearchResultRectangles(const char* pPayload) override;
448 
449  // css::tiledrendering::XTiledRenderable
450  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;
451 
453  void executeContentControlEvent(const StringMap& aArguments) override;
454 
455  void Invalidate();
456  void Reactivate(SwDocShell* pNewDocShell);
457  SwXDocumentPropertyHelper * GetPropertyHelper ();
458  bool IsValid() const {return m_bObjectValid;}
459 
460  void InitNewDoc();
461 
462  SwUnoCursor* CreateCursorForSearch(css::uno::Reference< css::text::XTextCursor > & xCursor);
463  SwUnoCursor* FindAny(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc,
464  css::uno::Reference< css::text::XTextCursor > & xCursor, bool bAll,
465  sal_Int32& nResult,
466  css::uno::Reference< css::uno::XInterface > const & xLastResult);
467 
468  SwDocShell* GetDocShell() {return m_pDocShell;}
469 };
470 
471 class SwXLinkTargetSupplier final : public cppu::WeakImplHelper
472 <
473  css::container::XNameAccess,
474  css::lang::XServiceInfo
475 >
476 {
478  OUString m_sTables;
479  OUString m_sFrames;
480  OUString m_sGraphics;
481  OUString m_sOLEs;
482  OUString m_sSections;
483  OUString m_sOutlines;
484  OUString m_sBookmarks;
486 
487 public:
489  virtual ~SwXLinkTargetSupplier() override;
490 
491  //XNameAccess
492  virtual css::uno::Any SAL_CALL getByName(const OUString& Name) override;
493  virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
494  virtual sal_Bool SAL_CALL hasByName(const OUString& Name) override;
495 
496  //XElementAccess
497  virtual css::uno::Type SAL_CALL getElementType( ) override;
498  virtual sal_Bool SAL_CALL hasElements( ) override;
499 
500  //XServiceInfo
501  virtual OUString SAL_CALL getImplementationName() override;
502  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
503  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
504 
505  void Invalidate() {m_pxDoc = nullptr;}
506 };
507 
508 class SwXLinkNameAccessWrapper final : public cppu::WeakImplHelper
509 <
510  css::beans::XPropertySet,
511  css::container::XNameAccess,
512  css::lang::XServiceInfo,
513  css::document::XLinkTargetSupplier
514 >
515 {
516  css::uno::Reference< css::container::XNameAccess > m_xRealAccess;
518  const OUString m_sLinkSuffix;
519  const OUString m_sLinkDisplayName;
521 
522 public:
523  SwXLinkNameAccessWrapper(css::uno::Reference< css::container::XNameAccess > const & xAccess,
524  const OUString& rLinkDisplayName, const OUString& sSuffix);
526  const OUString& rLinkDisplayName, const OUString& sSuffix);
527  virtual ~SwXLinkNameAccessWrapper() override;
528 
529  //XNameAccess
530  virtual css::uno::Any SAL_CALL getByName(const OUString& Name) override;
531  virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
532  virtual sal_Bool SAL_CALL hasByName(const OUString& Name) override;
533 
534  //XElementAccess
535  virtual css::uno::Type SAL_CALL getElementType( ) override;
536  virtual sal_Bool SAL_CALL hasElements( ) override;
537 
538  //XPropertySet
539  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
540  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
541  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
542  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
543  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
544  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
545  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
546 
547  //XLinkTargetSupplier
548  virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override;
549 
550  //XServiceInfo
551  virtual OUString SAL_CALL getImplementationName() override;
552  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
553  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
554 
555 };
556 
557 class SwXOutlineTarget final : public cppu::WeakImplHelper
558 <
559  css::beans::XPropertySet,
560  css::lang::XServiceInfo
561 >
562 {
564  OUString m_sOutlineText;
565  OUString m_sActualText;
566  const sal_Int32 m_nOutlineLevel;
567 
568 public:
569  SwXOutlineTarget(const OUString& rOutlineText, const rtl::OUString &rActualText,
570  const sal_Int32 nOutlineLevel);
571  virtual ~SwXOutlineTarget() override;
572 
573  //XPropertySet
574  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
575  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
576  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
577  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
578  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
579  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
580  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
581 
582  //XServiceInfo
583  virtual OUString SAL_CALL getImplementationName() override;
584  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
585  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
586 };
587 
588 class SwXDrawingObjectTarget final : public cppu::WeakImplHelper
589 <
590  css::beans::XPropertySet,
591  css::lang::XServiceInfo
592 >
593 {
596 
597 public:
598  SwXDrawingObjectTarget(const OUString& rDrawingObjectText);
599  virtual ~SwXDrawingObjectTarget() override;
600 
601  //XPropertySet
602  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
603  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
604  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
605  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
606  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
607  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
608  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
609 
610  //XServiceInfo
611  virtual OUString SAL_CALL getImplementationName() override;
612  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
613  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
614 };
615 
616 
617 enum class SwCreateDrawTable {
619 };
620 
622 {
623  css::uno::Reference < css::uno::XInterface > m_xDashTable;
624  css::uno::Reference < css::uno::XInterface > m_xGradientTable;
625  css::uno::Reference < css::uno::XInterface > m_xHatchTable;
626  css::uno::Reference < css::uno::XInterface > m_xBitmapTable;
627  css::uno::Reference < css::uno::XInterface > m_xTransGradientTable;
628  css::uno::Reference < css::uno::XInterface > m_xMarkerTable;
629  css::uno::Reference < css::uno::XInterface > m_xDrawDefaults;
630 
632 public:
634  virtual ~SwXDocumentPropertyHelper() override;
635  css::uno::Reference<css::uno::XInterface> GetDrawTable(SwCreateDrawTable nWhich);
636  void Invalidate();
637 
638  virtual void onChange() override;
639 };
640 
641 // The class SwViewOptionAdjust_Impl is used to adjust the SwViewOption of
642 // the current SwViewShell so that fields are not printed as commands and
643 // hidden characters are always invisible. Hidden text and place holders
644 // should be printed according to the current print options.
645 // After printing the view options are restored
647 {
650 public:
651  SwViewOptionAdjust_Impl( SwViewShell& rSh, const SwViewOption &rViewOptions );
653  void AdjustViewOptions( SwPrintData const* const pPrtOptions, bool setShowPlaceHoldersInPDF );
654  bool checkShell( const SwViewShell& rCompare ) const
655  { return &rCompare == m_pShell; }
656  void DontTouchThatViewShellItSmellsFunny() { m_pShell = nullptr; }
657 };
658 
659 #endif
660 
661 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
Definition: unotxdoc.cxx:4047
Type
css::uno::Reference< css::container::XNameAccess > mxXTextFieldMasters
Definition: unotxdoc.hxx:161
rtl::Reference< SwXDrawPage > m_xDrawPage
Definition: unotxdoc.hxx:149
virtual ~SwXOutlineTarget() override
Definition: unotxdoc.cxx:4347
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxdoc.cxx:4363
const sal_Int32 m_nOutlineLevel
Definition: unotxdoc.hxx:566
std::map< OUString, OUString > StringMap
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4008
OUString m_sDrawingObjectText
Definition: unotxdoc.hxx:595
css::uno::Reference< css::container::XNameAccess > mxXTextSections
Definition: unotxdoc.hxx:162
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
Definition: unotxdoc.cxx:3983
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4313
virtual ~SwXLinkNameAccessWrapper() override
Definition: unotxdoc.cxx:4043
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override
Definition: unotxdoc.cxx:4317
signed char sal_Int8
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4465
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxdoc.cxx:4425
void DontTouchThatViewShellItSmellsFunny()
Definition: unotxdoc.hxx:656
css::uno::Reference< css::container::XNameAccess > mxXBookmarks
Definition: unotxdoc.hxx:163
long Long
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
Definition: unotxdoc.cxx:3971
SwXDrawingObjectTarget(const OUString &rDrawingObjectText)
Definition: unotxdoc.cxx:4415
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
Definition: unotxdoc.cxx:3903
Definition: doc.hxx:187
virtual sal_Bool SAL_CALL hasElements() override
Definition: unotxdoc.cxx:4003
SwViewShell * m_pShell
Definition: unotxdoc.hxx:648
virtual SdrModel & getSdrModelFromUnoModel() const =0
css::uno::Reference< css::container::XIndexReplace > mxXChapterNumbering
Definition: unotxdoc.hxx:170
SwDocShell * m_pDocShell
Definition: unotxdoc.hxx:146
void AdjustViewOptions(SwPrintData const *const pPrtOptions, bool setShowPlaceHoldersInPDF)
Definition: unotxdoc.cxx:4579
const OUString m_sLinkDisplayName
Definition: unotxdoc.hxx:519
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4388
OUString m_sOutlineText
Definition: unotxdoc.hxx:564
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4398
virtual ~SwXDocumentPropertyHelper() override
Definition: unotxdoc.cxx:4488
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxdoc.cxx:4431
bool m_bApplyPagePrintSettingsFromXPagePrintable
Definition: unotxdoc.hxx:201
css::uno::Reference< css::container::XNameAccess > mxXTextFrames
Definition: unotxdoc.hxx:165
css::uno::Reference< css::container::XIndexAccess > mxXDocumentIndexes
Definition: unotxdoc.hxx:171
css::uno::Reference< css::uno::XInterface > m_xMarkerTable
Definition: unotxdoc.hxx:628
SwXLinkNameAccessWrapper(css::uno::Reference< css::container::XNameAccess > const &xAccess, const OUString &rLinkDisplayName, const OUString &sSuffix)
A class that stores temporary data that is needed for rendering the document.
Definition: printdata.hxx:203
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4460
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxdoc.cxx:4305
cppu::ImplInheritanceHelper< SfxBaseModel, css::text::XTextDocument, css::text::XLineNumberingProperties, css::text::XChapterNumberingSupplier, css::text::XNumberingRulesSupplier, css::text::XFootnotesSupplier, css::text::XEndnotesSupplier, css::util::XReplaceable, css::text::XPagePrintable, css::text::XReferenceMarksSupplier, css::text::XTextTablesSupplier, css::text::XTextFramesSupplier, css::text::XBookmarksSupplier, css::text::XTextSectionsSupplier, css::text::XTextGraphicObjectsSupplier, css::text::XTextEmbeddedObjectsSupplier, css::text::XTextFieldsSupplier, css::style::XStyleFamiliesSupplier, css::style::XAutoStylesSupplier, css::lang::XServiceInfo, css::drawing::XDrawPageSupplier, css::drawing::XDrawPagesSupplier, css::text::XDocumentIndexesSupplier, css::beans::XPropertySet, css::beans::XPropertyState, css::document::XLinkTargetSupplier, css::document::XRedlinesSupplier, css::util::XRefreshable, css::util::XLinkUpdate, css::view::XRenderable, css::xforms::XFormsSupplier, css::text::XFlatParagraphIteratorProvider, css::document::XDocumentLanguages, css::util::XCloneable, css::text::XPasteBroadcaster > SwXTextDocumentBaseClass
Definition: unotxdoc.hxx:131
css::uno::Reference< css::container::XNameAccess > mxXReferenceMarks
Definition: unotxdoc.hxx:159
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
SwCreateDrawTable
Definition: unotxdoc.hxx:617
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxdoc.cxx:4248
std::deque< std::unique_ptr< UnoActionContext, o3tl::default_delete< UnoActionContext > > > maActionArr
Definition: unotxdoc.hxx:142
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4013
css::uno::Reference< css::container::XEnumerationAccess > mxXRedlines
Definition: unotxdoc.hxx:175
Reference< deployment::XPackageRegistry > create(Reference< deployment::XPackageRegistry > const &xRootRegistry, OUString const &context, OUString const &cachePath, Reference< XComponentContext > const &xComponentContext)
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxdoc.cxx:4383
SwXTextDocument * m_pxDoc
Definition: unotxdoc.hxx:520
std::unique_ptr< SwRenderData > m_pRenderData
Definition: unotxdoc.hxx:182
virtual ~SwXDrawingObjectTarget() override
Definition: unotxdoc.cxx:4421
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxdoc.cxx:4437
const OUString m_sLinkSuffix
Definition: unotxdoc.hxx:518
OUString m_sDrawingObjects
Definition: unotxdoc.hxx:485
css::uno::Reference< css::beans::XPropertySet > mxXLineNumberingProperties
Definition: unotxdoc.hxx:173
css::uno::Reference< css::container::XIndexAccess > mxXFootnotes
Definition: unotxdoc.hxx:155
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4327
virtual void onChange() override
Definition: unotxdoc.cxx:4557
css::uno::Reference< css::container::XNameAccess > m_xRealAccess
Definition: unotxdoc.hxx:516
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4403
OUString maBuildId
Definition: unotxdoc.hxx:195
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unotxdoc.cxx:3997
css::uno::Reference< css::container::XIndexAccess > mxXEndnotes
Definition: unotxdoc.hxx:157
SfxViewFrame * m_pHiddenViewFrame
Definition: unotxdoc.hxx:178
SwViewOption m_aOldViewOptions
Definition: unotxdoc.hxx:649
unsigned char sal_Bool
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxdoc.cxx:4357
css::uno::Reference< css::uno::XInterface > m_xHatchTable
Definition: unotxdoc.hxx:625
SwDocShell * GetDocShell()
Definition: unotxdoc.hxx:468
SwViewOptionAdjust_Impl(SwViewShell &rSh, const SwViewOption &rViewOptions)
Definition: unotxdoc.cxx:4563
css::uno::Reference< css::container::XNameAccess > mxLinkTargetSupplier
Definition: unotxdoc.hxx:174
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:594
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4309
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxdoc.cxx:4242
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:517
css::uno::Reference< css::beans::XPropertySet > mxXEndnoteSettings
Definition: unotxdoc.hxx:158
css::uno::Reference< css::uno::XInterface > m_xDrawDefaults
Definition: unotxdoc.hxx:629
css::uno::Reference< css::uno::XInterface > m_xTransGradientTable
Definition: unotxdoc.hxx:627
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unotxdoc.cxx:4223
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4018
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
Definition: unotxdoc.cxx:4122
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4322
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4332
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg
Definition: unotxdoc.hxx:152
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4455
css::uno::Reference< css::beans::XPropertySet > mxXFootnoteSettings
Definition: unotxdoc.hxx:156
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
Definition: unotxdoc.cxx:4171
bool checkShell(const SwViewShell &rCompare) const
Definition: unotxdoc.hxx:654
::sw::UnoImplPtr< Impl > m_pImpl
Definition: unotxdoc.hxx:139
css::uno::Reference< css::container::XEnumerationAccess > mxXTextFieldTypes
Definition: unotxdoc.hxx:160
SwXTextDocument * m_pxDoc
Definition: unotxdoc.hxx:477
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxdoc.cxx:4301
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:144
css::uno::Reference< css::uno::XInterface > m_xDashTable
Definition: unotxdoc.hxx:623
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4470
OUString m_sActualText
Definition: unotxdoc.hxx:565
css::uno::Reference< css::container::XNameAccess > mxXTextTables
Definition: unotxdoc.hxx:164
css::uno::Reference< css::container::XNameAccess > mxXStyleFamilies
Definition: unotxdoc.hxx:168
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxdoc.cxx:4378
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxdoc.cxx:4351
css::uno::Reference< css::uno::XInterface > m_xGradientTable
Definition: unotxdoc.hxx:624
css::uno::Reference< css::uno::XInterface > GetDrawTable(SwCreateDrawTable nWhich)
Definition: unotxdoc.cxx:4492
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4393
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4408
PointerStyle
css::uno::Reference< css::uno::XInterface > m_xBitmapTable
Definition: unotxdoc.hxx:626
SwXOutlineTarget(const OUString &rOutlineText, const rtl::OUString &rActualText, const sal_Int32 nOutlineLevel)
Definition: unotxdoc.cxx:4338
css::uno::Reference< css::container::XNameAccess > mxXEmbeddedObjects
Definition: unotxdoc.hxx:167
SwXLinkTargetSupplier(SwXTextDocument &rxDoc)
Definition: unotxdoc.cxx:3886
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:563
css::uno::Reference< css::container::XNameAccess > mxXGraphicObjects
Definition: unotxdoc.hxx:166
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxdoc.cxx:4445
css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules
Definition: unotxdoc.hxx:154
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4475
SwXDocumentPropertyHelper(SwDoc &rDoc)
Definition: unotxdoc.cxx:4482
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxdoc.cxx:4450
rtl::Reference< SwXBodyText > m_xBodyText
Definition: unotxdoc.hxx:151
rtl::Reference< SwXDocumentPropertyHelper > mxPropertyHelper
Definition: unotxdoc.hxx:179
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
std::unique_ptr< SwPrintUIOptions > m_pPrintUIOptions
Definition: unotxdoc.hxx:181
virtual sal_Bool SAL_CALL hasElements() override
Definition: unotxdoc.cxx:4228
virtual ~SwXLinkTargetSupplier() override
Definition: unotxdoc.cxx:3899
css::uno::Reference< css::style::XAutoStyles > mxXAutoStyles
Definition: unotxdoc.hxx:169
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxdoc.cxx:4285