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/XContentControlsSupplier.hpp>
33#include <com/sun/star/text/XTextSectionsSupplier.hpp>
34#include <com/sun/star/text/XLineNumberingProperties.hpp>
35#include <com/sun/star/text/XChapterNumberingSupplier.hpp>
36#include <com/sun/star/text/XPagePrintable.hpp>
37#include <com/sun/star/text/XTextFieldsSupplier.hpp>
38#include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp>
39#include <com/sun/star/text/XTextTablesSupplier.hpp>
40#include <com/sun/star/text/XDocumentIndexesSupplier.hpp>
41#include <com/sun/star/text/XBookmarksSupplier.hpp>
42#include <com/sun/star/text/XTextDocument.hpp>
43#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
44#include <com/sun/star/text/XReferenceMarksSupplier.hpp>
45#include <com/sun/star/text/XTextFramesSupplier.hpp>
46#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
47#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
48#include <com/sun/star/util/XReplaceable.hpp>
49#include <com/sun/star/util/XRefreshable.hpp>
50#include <com/sun/star/util/XLinkUpdate.hpp>
51#include <com/sun/star/view/XRenderable.hpp>
52#include <com/sun/star/lang/XServiceInfo.hpp>
53#include <com/sun/star/beans/XPropertySet.hpp>
54#include <com/sun/star/beans/XPropertyState.hpp>
55#include <com/sun/star/xforms/XFormsSupplier.hpp>
56#include <com/sun/star/text/XFlatParagraphIteratorProvider.hpp>
57#include <com/sun/star/document/XDocumentLanguages.hpp>
58#include <com/sun/star/util/XCloneable.hpp>
59#include <o3tl/deleter.hxx>
60#include <rtl/ref.hxx>
61#include <svx/fmdmod.hxx>
65#include <com/sun/star/tiledrendering/XTiledRenderable.hpp>
66#include <com/sun/star/text/XPasteBroadcaster.hpp>
67
68#include "unobaseclass.hxx"
69#include "viewopt.hxx"
70
71#include <deque>
72
73class SwDoc;
74class SwDocShell;
76class SwXBodyText;
77class SwFmDrawPage;
78class SwUnoCursor;
80class SfxViewFrame;
81class SfxViewShell;
83class SwPrintData;
84class SwRenderData;
85class SwViewShell;
87namespace com::sun::star::container { class XNameContainer; }
88namespace com::sun::star::frame { class XController; }
89namespace com::sun::star::lang { struct Locale; }
90namespace com::sun::star::uno { class XAggregation; }
91
92namespace com::sun::star::util { class XReplaceDescriptor; }
93
94typedef cppu::ImplInheritanceHelper
95<
97 css::text::XTextDocument,
98 css::text::XLineNumberingProperties,
99 css::text::XChapterNumberingSupplier,
100 css::text::XNumberingRulesSupplier,
101 css::text::XFootnotesSupplier,
102 css::text::XEndnotesSupplier,
103 css::text::XContentControlsSupplier,
104 css::util::XReplaceable,
105 css::text::XPagePrintable,
106 css::text::XReferenceMarksSupplier,
107 css::text::XTextTablesSupplier,
108 css::text::XTextFramesSupplier,
109 css::text::XBookmarksSupplier,
110 css::text::XTextSectionsSupplier,
111 css::text::XTextGraphicObjectsSupplier,
112 css::text::XTextEmbeddedObjectsSupplier,
113 css::text::XTextFieldsSupplier,
114 css::style::XStyleFamiliesSupplier,
115 css::style::XAutoStylesSupplier,
116 css::lang::XServiceInfo,
117 css::drawing::XDrawPageSupplier,
118 css::drawing::XDrawPagesSupplier,
119 css::text::XDocumentIndexesSupplier,
120 css::beans::XPropertySet,
121 css::beans::XPropertyState,
122 css::document::XLinkTargetSupplier,
123 css::document::XRedlinesSupplier,
124 css::util::XRefreshable,
125 css::util::XLinkUpdate,
126 css::view::XRenderable,
127 css::xforms::XFormsSupplier,
128 css::text::XFlatParagraphIteratorProvider,
129 css::document::XDocumentLanguages,
130 css::util::XCloneable,
131 css::text::XPasteBroadcaster
132>
134
136 public SvxFmMSFactory,
137 public vcl::ITiledRenderable,
138 public css::tiledrendering::XTiledRenderable
139{
140private:
141 class Impl;
143
144 std::deque<std::unique_ptr<UnoActionContext, o3tl::default_delete<UnoActionContext>>> maActionArr;
145
147
150
152
154 css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg;
155
156 css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules;
157 css::uno::Reference< css::container::XIndexAccess > mxXFootnotes;
158 css::uno::Reference< css::beans::XPropertySet > mxXFootnoteSettings;
159 css::uno::Reference< css::container::XIndexAccess > mxXEndnotes;
160 css::uno::Reference< css::beans::XPropertySet > mxXEndnoteSettings;
161 css::uno::Reference< css::container::XIndexAccess > mxXContentControls;
162 css::uno::Reference< css::container::XNameAccess > mxXReferenceMarks;
163 css::uno::Reference< css::container::XEnumerationAccess > mxXTextFieldTypes;
164 css::uno::Reference< css::container::XNameAccess > mxXTextFieldMasters;
165 css::uno::Reference< css::container::XNameAccess > mxXTextSections;
166 css::uno::Reference< css::container::XNameAccess > mxXBookmarks;
167 css::uno::Reference< css::container::XNameAccess > mxXTextTables;
168 css::uno::Reference< css::container::XNameAccess > mxXTextFrames;
169 css::uno::Reference< css::container::XNameAccess > mxXGraphicObjects;
170 css::uno::Reference< css::container::XNameAccess > mxXEmbeddedObjects;
171 css::uno::Reference< css::container::XNameAccess > mxXStyleFamilies;
172 mutable css::uno::Reference< css::style::XAutoStyles > mxXAutoStyles;
173 css::uno::Reference< css::container::XIndexReplace > mxXChapterNumbering;
174 css::uno::Reference< css::container::XIndexAccess > mxXDocumentIndexes;
175
176 css::uno::Reference< css::beans::XPropertySet > mxXLineNumberingProperties;
177 css::uno::Reference< css::container::XNameAccess > mxLinkTargetSupplier;
178 css::uno::Reference< css::container::XEnumerationAccess > mxXRedlines;
179
180 //temporary frame to enable PDF export if no valid view is available
183
184 std::unique_ptr<SwPrintUIOptions> m_pPrintUIOptions;
185 std::unique_ptr<SwRenderData> m_pRenderData;
186
187 void GetNumberFormatter();
188
189 css::uno::Reference<css::uno::XInterface> create(
190 OUString const & rServiceName,
191 css::uno::Sequence<css::uno::Any> const * arguments);
192
193 // used for XRenderable implementation
194 SfxViewShell * GuessViewShell( /* out */ bool &rbIsSwSrcView, const css::uno::Reference< css::frame::XController >& rController = css::uno::Reference< css::frame::XController >() );
195 SwDoc * GetRenderDoc( SfxViewShell *&rpView, const css::uno::Any& rSelection, bool bIsPDFExport );
196 SfxViewShell * GetRenderView( bool &rbIsSwSrcView, const css::uno::Sequence< css::beans::PropertyValue >& rxOptions, bool bIsPDFExport );
197
198 OUString maBuildId;
199
200 // boolean for XPagePrintable
201 // set in XPagePrintable::printPages(..) to indicate that the PagePrintSettings
202 // has to be applied in XRenderable::getRenderer(..) through which the printing
203 // is implemented.
205
208
210 virtual SdrModel& getSdrModelFromUnoModel() const override;
211
212 virtual ~SwXTextDocument() override;
213public:
215
216 void NotifyRefreshListeners();
217 virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
218 virtual void SAL_CALL acquire( ) noexcept override;
219 virtual void SAL_CALL release( ) noexcept override;
220
221 //XWeak
222 virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
223
224 static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
225
226 //XUnoTunnel
227 virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
228
229 //XTextDocument
230 virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
231 rtl::Reference< SwXBodyText > getBodyText();
232 virtual void SAL_CALL reformat() override;
233
234 //XModel
235 virtual sal_Bool SAL_CALL attachResource( const OUString& aURL, const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) override;
236 virtual OUString SAL_CALL getURL( ) override;
237 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs( ) override;
238 virtual void SAL_CALL connectController( const css::uno::Reference< css::frame::XController >& xController ) override;
239 virtual void SAL_CALL disconnectController( const css::uno::Reference< css::frame::XController >& xController ) override;
240 virtual void SAL_CALL lockControllers( ) override;
241 virtual void SAL_CALL unlockControllers( ) override;
242 virtual sal_Bool SAL_CALL hasControllersLocked( ) override;
243 virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController( ) override;
244 virtual void SAL_CALL setCurrentController( const css::uno::Reference< css::frame::XController >& xController ) override;
245 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection( ) override;
246
247 //XComponent
248 virtual void SAL_CALL dispose() override;
249 virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
250 virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) override;
251
252 //XCloseable
253 virtual void SAL_CALL close( sal_Bool bDeliverOwnership ) override;
254
255 //XLineNumberingProperties
256 virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getLineNumberingProperties() override;
257
258 //XChapterNumberingSupplier
259 virtual css::uno::Reference< css::container::XIndexReplace > SAL_CALL getChapterNumberingRules() override;
260
261 //XNumberingRulesSupplier
262 virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getNumberingRules() override;
263
264 //XFootnotesSupplier
265 virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getFootnotes() override;
266 virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getFootnoteSettings() override;
267
268 //XEndnotesSupplier
269 virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getEndnotes() override;
270 virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getEndnoteSettings() override;
271
272 // XContentControlsSupplier
273 css::uno::Reference<css::container::XIndexAccess> SAL_CALL getContentControls() override;
274
275 //XReplaceable
276 virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor() override;
277 virtual sal_Int32 SAL_CALL replaceAll(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc) override;
278
279 //XSearchable
280 virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL createSearchDescriptor() override;
281 virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL findAll(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc) override;
282 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findFirst(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc) override;
283 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;
284
285 //XPagePrintable
286 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPagePrintSettings() override;
287 virtual void SAL_CALL setPagePrintSettings(const css::uno::Sequence< css::beans::PropertyValue >& aSettings) override;
288 virtual void SAL_CALL printPages(const css::uno::Sequence< css::beans::PropertyValue >& xOptions) override;
289
290 //XReferenceMarksSupplier
291 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getReferenceMarks() override;
292
293 // css::text::XTextFieldsSupplier
294 virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getTextFields() override;
295 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFieldMasters() override;
296
297 // css::text::XTextEmbeddedObjectsSupplier
298 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getEmbeddedObjects() override;
299
300 // css::text::XBookmarksSupplier
301 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getBookmarks() override;
302
303 // css::text::XTextSectionsSupplier
304 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextSections() override;
305
306 // css::text::XTextTablesSupplier
307 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextTables() override;
308
309 // css::text::XTextGraphicObjectsSupplier
310 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getGraphicObjects() override;
311
312 // css::text::XTextFramesSupplier
313 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFrames() override;
314
315 //XStyleFamiliesSupplier
316 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getStyleFamilies() override;
317
318 //XAutoStylesSupplier
319 virtual css::uno::Reference< css::style::XAutoStyles > SAL_CALL getAutoStyles( ) override;
320
321 //XMultiServiceFactory
322 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& ServiceSpecifier) override;
323 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& ServiceSpecifier,
324 const css::uno::Sequence< css::uno::Any >& Arguments) override;
325 virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
326
327 //XServiceInfo
328 virtual OUString SAL_CALL getImplementationName() override;
329 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
330 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
331
332 // css::drawing::XDrawPageSupplier
333 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getDrawPage() override;
334
335 // css::drawing::XDrawPagesSupplier
336 virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getDrawPages() override;
337
338 // css::text::XDocumentIndexesSupplier
339 virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getDocumentIndexes() override;
340
341 //XPropertySet
342 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
343 virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
344 virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
345 virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
346 virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
347 virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
348 virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
349
350 //XPropertyState
351 virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& rPropertyName ) override;
352 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& rPropertyNames ) override;
353 virtual void SAL_CALL setPropertyToDefault( const OUString& rPropertyName ) override;
354 virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& rPropertyName ) override;
355
356 //XLinkTargetSupplier
357 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override;
358
359 //XRedlinesSupplier
360 virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getRedlines( ) override;
361
362 // css::util::XRefreshable
363 virtual void SAL_CALL refresh() override;
364 virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > & l) override;
365 virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > & l) override;
366
367 // css::util::XLinkUpdate,
368 virtual void SAL_CALL updateLinks( ) override;
369
370 // css::view::XRenderable
371 virtual sal_Int32 SAL_CALL getRendererCount( const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
372 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;
373 virtual void SAL_CALL render( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
374
375 // css::xforms::XFormsSupplier
376 virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getXForms( ) override;
377
378 // css::document::XDocumentLanguages
379 virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages( ::sal_Int16 nScriptTypes, ::sal_Int16 nCount ) override;
380
381 // css::text::XFlatParagraphIteratorProvider:
382 virtual css::uno::Reference< css::text::XFlatParagraphIterator > SAL_CALL getFlatParagraphIterator(::sal_Int32 nTextMarkupType, sal_Bool bAutomatic ) override;
383
384 // css::util::XCloneable
385 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
386
387 // css::text::XPasteBroadcaster
388 void SAL_CALL addPasteEventListener(
389 const ::css::uno::Reference<::css::text::XPasteListener>& xListener) override;
390 void SAL_CALL removePasteEventListener(
391 const ::css::uno::Reference<::css::text::XPasteListener>& xListener) override;
392
394 virtual void paintTile( VirtualDevice &rDevice,
395 int nOutputWidth,
396 int nOutputHeight,
397 int nTilePosX,
398 int nTilePosY,
399 tools::Long nTileWidth,
400 tools::Long nTileHeight ) override;
402 virtual Size getDocumentSize() override;
404 virtual void setPart(int nPart, bool bAllowChangeFocus = true) override;
406 virtual int getParts() override;
408 virtual int getPart() override;
410 virtual OUString getPartName(int nPart) override;
412 virtual OUString getPartHash(int nPart) override;
414 virtual VclPtr<vcl::Window> getDocWindow() override;
416 virtual void initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& rArguments) override;
418 virtual void postKeyEvent(int nType, int nCharCode, int nKeyCode) override;
420 virtual void postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier) override;
422 virtual void setTextSelection(int nType, int nX, int nY) override;
424 virtual css::uno::Reference<css::datatransfer::XTransferable> getSelection() override;
426 virtual void setGraphicSelection(int nType, int nX, int nY) override;
428 virtual void resetSelection() override;
430 virtual OUString getPartPageRectangles() override;
432 virtual void setClipboard(const css::uno::Reference<css::datatransfer::clipboard::XClipboard>& xClipboard) override;
434 virtual bool isMimeTypeSupported() override;
436 virtual void setClientVisibleArea(const tools::Rectangle& rRectangle) override;
438 virtual void setClientZoom(int nTilePixelWidth_, int nTilePixelHeight_, int nTileTwipWidth_, int nTileTwipHeight_) override;
440 virtual PointerStyle getPointer() override;
442 void getTrackedChanges(tools::JsonWriter&) override;
444 void getTrackedChangeAuthors(tools::JsonWriter& rJsonWriter) override;
445
446 void getRulerState(tools::JsonWriter& rJsonWriter) override;
448 void getPostIts(tools::JsonWriter& rJsonWriter) override;
449
451 virtual void executeFromFieldEvent(const StringMap& aArguments) override;
452
454 std::vector<basegfx::B2DRange> getSearchResultRectangles(const char* pPayload) override;
455
456 // css::tiledrendering::XTiledRenderable
457 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;
458
460 void executeContentControlEvent(const StringMap& aArguments) override;
461
463 void getCommandValues(tools::JsonWriter& rJsonWriter, std::string_view rCommand) override;
464
466 bool supportsCommand(std::u16string_view rCommand) override;
467
468 void Invalidate();
469 void Reactivate(SwDocShell* pNewDocShell);
470 SwXDocumentPropertyHelper * GetPropertyHelper ();
471 bool IsValid() const {return m_bObjectValid;}
472
473 void InitNewDoc();
474
475 SwUnoCursor* CreateCursorForSearch(css::uno::Reference< css::text::XTextCursor > & xCursor);
476 SwUnoCursor* FindAny(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc,
477 css::uno::Reference< css::text::XTextCursor > & xCursor, bool bAll,
478 sal_Int32& nResult,
479 css::uno::Reference< css::uno::XInterface > const & xLastResult);
480
481 SwDocShell* GetDocShell() {return m_pDocShell;}
482};
483
484class SwXLinkTargetSupplier final : public cppu::WeakImplHelper
485<
486 css::container::XNameAccess,
487 css::lang::XServiceInfo
488>
489{
491 OUString m_sTables;
492 OUString m_sFrames;
493 OUString m_sGraphics;
494 OUString m_sOLEs;
495 OUString m_sSections;
496 OUString m_sOutlines;
497 OUString m_sBookmarks;
499
500public:
502 virtual ~SwXLinkTargetSupplier() override;
503
504 //XNameAccess
505 virtual css::uno::Any SAL_CALL getByName(const OUString& Name) override;
506 virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
507 virtual sal_Bool SAL_CALL hasByName(const OUString& Name) override;
508
509 //XElementAccess
510 virtual css::uno::Type SAL_CALL getElementType( ) override;
511 virtual sal_Bool SAL_CALL hasElements( ) override;
512
513 //XServiceInfo
514 virtual OUString SAL_CALL getImplementationName() override;
515 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
516 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
517
518 void Invalidate() {m_pxDoc = nullptr;}
519};
520
521class SwXLinkNameAccessWrapper final : public cppu::WeakImplHelper
522<
523 css::beans::XPropertySet,
524 css::container::XNameAccess,
525 css::lang::XServiceInfo,
526 css::document::XLinkTargetSupplier
527>
528{
529 css::uno::Reference< css::container::XNameAccess > m_xRealAccess;
531 const OUString m_sLinkSuffix;
532 const OUString m_sLinkDisplayName;
534
535public:
536 SwXLinkNameAccessWrapper(css::uno::Reference< css::container::XNameAccess > const & xAccess,
537 OUString aLinkDisplayName, OUString sSuffix);
539 OUString aLinkDisplayName, OUString sSuffix);
540 virtual ~SwXLinkNameAccessWrapper() override;
541
542 //XNameAccess
543 virtual css::uno::Any SAL_CALL getByName(const OUString& Name) override;
544 virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
545 virtual sal_Bool SAL_CALL hasByName(const OUString& Name) override;
546
547 //XElementAccess
548 virtual css::uno::Type SAL_CALL getElementType( ) override;
549 virtual sal_Bool SAL_CALL hasElements( ) override;
550
551 //XPropertySet
552 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
553 virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
554 virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
555 virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
556 virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
557 virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
558 virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
559
560 //XLinkTargetSupplier
561 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override;
562
563 //XServiceInfo
564 virtual OUString SAL_CALL getImplementationName() override;
565 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
566 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
567
568};
569
570class SwXOutlineTarget final : public cppu::WeakImplHelper
571<
572 css::beans::XPropertySet,
573 css::lang::XServiceInfo
574>
575{
579 const sal_Int32 m_nOutlineLevel;
580
581public:
582 SwXOutlineTarget(OUString aOutlineText, OUString aActualText,
583 const sal_Int32 nOutlineLevel);
584 virtual ~SwXOutlineTarget() override;
585
586 //XPropertySet
587 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
588 virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
589 virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
590 virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
591 virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
592 virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
593 virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
594
595 //XServiceInfo
596 virtual OUString SAL_CALL getImplementationName() override;
597 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
598 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
599};
600
601class SwXDrawingObjectTarget final : public cppu::WeakImplHelper
602<
603 css::beans::XPropertySet,
604 css::lang::XServiceInfo
605>
606{
609
610public:
611 SwXDrawingObjectTarget(OUString aDrawingObjectText);
612 virtual ~SwXDrawingObjectTarget() override;
613
614 //XPropertySet
615 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
616 virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
617 virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
618 virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
619 virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
620 virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
621 virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
622
623 //XServiceInfo
624 virtual OUString SAL_CALL getImplementationName() override;
625 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
626 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
627};
628
629
632};
633
635{
636 css::uno::Reference < css::uno::XInterface > m_xDashTable;
637 css::uno::Reference < css::uno::XInterface > m_xGradientTable;
638 css::uno::Reference < css::uno::XInterface > m_xHatchTable;
639 css::uno::Reference < css::uno::XInterface > m_xBitmapTable;
640 css::uno::Reference < css::uno::XInterface > m_xTransGradientTable;
641 css::uno::Reference < css::uno::XInterface > m_xMarkerTable;
642 css::uno::Reference < css::uno::XInterface > m_xDrawDefaults;
643
645public:
647 virtual ~SwXDocumentPropertyHelper() override;
648 css::uno::Reference<css::uno::XInterface> GetDrawTable(SwCreateDrawTable nWhich);
649 void Invalidate();
650
651 virtual void onChange() override;
652};
653
654// The class SwViewOptionAdjust_Impl is used to adjust the SwViewOption of
655// the current SwViewShell so that fields are not printed as commands and
656// hidden characters are always invisible. Hidden text and place holders
657// should be printed according to the current print options.
658// After printing the view options are restored
660{
663public:
664 SwViewOptionAdjust_Impl( SwViewShell& rSh, const SwViewOption &rViewOptions );
666 void AdjustViewOptions( SwPrintData const* const pPrtOptions, bool setShowPlaceHoldersInPDF );
667 bool checkShell( const SwViewShell& rCompare ) const
668 { return &rCompare == m_pShell; }
670};
671
672#endif
673
674/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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 SdrModel & getSdrModelFromUnoModel() const=0
Definition: doc.hxx:195
A class that stores temporary data that is needed for rendering the document.
Definition: printdata.hxx:204
void AdjustViewOptions(SwPrintData const *const pPrtOptions, bool setShowPlaceHoldersInPDF)
Definition: unotxdoc.cxx:4678
SwViewOption m_aOldViewOptions
Definition: unotxdoc.hxx:662
SwViewShell * m_pShell
Definition: unotxdoc.hxx:661
void DontTouchThatViewShellItSmellsFunny()
Definition: unotxdoc.hxx:669
bool checkShell(const SwViewShell &rCompare) const
Definition: unotxdoc.hxx:667
SwViewOptionAdjust_Impl(SwViewShell &rSh, const SwViewOption &rViewOptions)
Definition: unotxdoc.cxx:4662
SwXDocumentPropertyHelper(SwDoc &rDoc)
Definition: unotxdoc.cxx:4581
css::uno::Reference< css::uno::XInterface > m_xBitmapTable
Definition: unotxdoc.hxx:639
css::uno::Reference< css::uno::XInterface > m_xTransGradientTable
Definition: unotxdoc.hxx:640
css::uno::Reference< css::uno::XInterface > m_xHatchTable
Definition: unotxdoc.hxx:638
virtual void onChange() override
Definition: unotxdoc.cxx:4656
css::uno::Reference< css::uno::XInterface > GetDrawTable(SwCreateDrawTable nWhich)
Definition: unotxdoc.cxx:4591
css::uno::Reference< css::uno::XInterface > m_xDrawDefaults
Definition: unotxdoc.hxx:642
css::uno::Reference< css::uno::XInterface > m_xDashTable
Definition: unotxdoc.hxx:636
virtual ~SwXDocumentPropertyHelper() override
Definition: unotxdoc.cxx:4587
css::uno::Reference< css::uno::XInterface > m_xGradientTable
Definition: unotxdoc.hxx:637
css::uno::Reference< css::uno::XInterface > m_xMarkerTable
Definition: unotxdoc.hxx:641
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxdoc.cxx:4530
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxdoc.cxx:4524
OUString m_sDrawingObjectText
Definition: unotxdoc.hxx:608
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:607
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4554
virtual ~SwXDrawingObjectTarget() override
Definition: unotxdoc.cxx:4520
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxdoc.cxx:4544
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxdoc.cxx:4549
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4564
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxdoc.cxx:4536
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4559
SwXDrawingObjectTarget(OUString aDrawingObjectText)
Definition: unotxdoc.cxx:4514
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4569
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4574
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
Definition: unotxdoc.cxx:4221
virtual sal_Bool SAL_CALL hasElements() override
Definition: unotxdoc.cxx:4327
SwXTextDocument * m_pxDoc
Definition: unotxdoc.hxx:533
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:530
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
Definition: unotxdoc.cxx:4270
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxdoc.cxx:4400
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxdoc.cxx:4347
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxdoc.cxx:4341
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override
Definition: unotxdoc.cxx:4416
const OUString m_sLinkDisplayName
Definition: unotxdoc.hxx:532
css::uno::Reference< css::container::XNameAccess > m_xRealAccess
Definition: unotxdoc.hxx:529
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
Definition: unotxdoc.cxx:4146
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4431
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4408
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unotxdoc.cxx:4322
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4426
const OUString m_sLinkSuffix
Definition: unotxdoc.hxx:531
SwXLinkNameAccessWrapper(css::uno::Reference< css::container::XNameAccess > const &xAccess, OUString aLinkDisplayName, OUString sSuffix)
virtual ~SwXLinkNameAccessWrapper() override
Definition: unotxdoc.cxx:4142
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxdoc.cxx:4404
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4412
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxdoc.cxx:4384
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4421
virtual ~SwXLinkTargetSupplier() override
Definition: unotxdoc.cxx:3998
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4112
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4117
OUString m_sDrawingObjects
Definition: unotxdoc.hxx:498
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
Definition: unotxdoc.cxx:4082
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unotxdoc.cxx:4096
SwXTextDocument * m_pxDoc
Definition: unotxdoc.hxx:490
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
Definition: unotxdoc.cxx:4002
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
Definition: unotxdoc.cxx:4070
virtual sal_Bool SAL_CALL hasElements() override
Definition: unotxdoc.cxx:4102
SwXLinkTargetSupplier(SwXTextDocument &rxDoc)
Definition: unotxdoc.cxx:3985
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4107
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4492
OUString m_sActualText
Definition: unotxdoc.hxx:578
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxdoc.cxx:4462
const sal_Int32 m_nOutlineLevel
Definition: unotxdoc.hxx:579
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxdoc.cxx:4482
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxdoc.cxx:4507
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxdoc.cxx:4450
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:576
OUString m_sOutlineText
Definition: unotxdoc.hxx:577
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxdoc.cxx:4487
SwXOutlineTarget(OUString aOutlineText, OUString aActualText, const sal_Int32 nOutlineLevel)
Definition: unotxdoc.cxx:4437
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxdoc.cxx:4477
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxdoc.cxx:4497
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxdoc.cxx:4502
virtual ~SwXOutlineTarget() override
Definition: unotxdoc.cxx:4446
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxdoc.cxx:4456
std::deque< std::unique_ptr< UnoActionContext, o3tl::default_delete< UnoActionContext > > > maActionArr
Definition: unotxdoc.hxx:144
css::uno::Reference< css::container::XNameAccess > mxXTextFrames
Definition: unotxdoc.hxx:168
css::uno::Reference< css::container::XNameAccess > mxXBookmarks
Definition: unotxdoc.hxx:166
css::uno::Reference< css::beans::XPropertySet > mxXLineNumberingProperties
Definition: unotxdoc.hxx:176
rtl::Reference< SwFmDrawPage > m_xDrawPage
Definition: unotxdoc.hxx:151
css::uno::Reference< css::container::XNameAccess > mxXReferenceMarks
Definition: unotxdoc.hxx:162
css::uno::Reference< css::container::XNameAccess > mxXTextFieldMasters
Definition: unotxdoc.hxx:164
const SfxItemPropertySet * m_pPropSet
Definition: unotxdoc.hxx:146
css::uno::Reference< css::container::XIndexAccess > mxXFootnotes
Definition: unotxdoc.hxx:157
css::uno::Reference< css::container::XNameAccess > mxXTextTables
Definition: unotxdoc.hxx:167
css::uno::Reference< css::beans::XPropertySet > mxXEndnoteSettings
Definition: unotxdoc.hxx:160
SfxViewFrame * m_pHiddenViewFrame
Definition: unotxdoc.hxx:181
css::uno::Reference< css::container::XNameAccess > mxXEmbeddedObjects
Definition: unotxdoc.hxx:170
std::unique_ptr< SwRenderData > m_pRenderData
Definition: unotxdoc.hxx:185
css::uno::Reference< css::container::XNameAccess > mxXGraphicObjects
Definition: unotxdoc.hxx:169
SwDocShell * m_pDocShell
Definition: unotxdoc.hxx:148
css::uno::Reference< css::container::XNameAccess > mxXTextSections
Definition: unotxdoc.hxx:165
rtl::Reference< SwXDocumentPropertyHelper > mxPropertyHelper
Definition: unotxdoc.hxx:182
std::unique_ptr< SwPrintUIOptions > m_pPrintUIOptions
Definition: unotxdoc.hxx:184
css::uno::Reference< css::container::XNameAccess > mxLinkTargetSupplier
Definition: unotxdoc.hxx:177
css::uno::Reference< css::container::XNameAccess > mxXStyleFamilies
Definition: unotxdoc.hxx:171
OUString maBuildId
Definition: unotxdoc.hxx:198
css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules
Definition: unotxdoc.hxx:156
css::uno::Reference< css::style::XAutoStyles > mxXAutoStyles
Definition: unotxdoc.hxx:172
css::uno::Reference< css::container::XEnumerationAccess > mxXRedlines
Definition: unotxdoc.hxx:178
css::uno::Reference< css::container::XEnumerationAccess > mxXTextFieldTypes
Definition: unotxdoc.hxx:163
css::uno::Reference< css::container::XIndexAccess > mxXDocumentIndexes
Definition: unotxdoc.hxx:174
css::uno::Reference< css::container::XIndexAccess > mxXContentControls
Definition: unotxdoc.hxx:161
css::uno::Reference< css::beans::XPropertySet > mxXFootnoteSettings
Definition: unotxdoc.hxx:158
::sw::UnoImplPtr< Impl > m_pImpl
Definition: unotxdoc.hxx:141
css::uno::Reference< css::container::XIndexReplace > mxXChapterNumbering
Definition: unotxdoc.hxx:173
bool m_bApplyPagePrintSettingsFromXPagePrintable
Definition: unotxdoc.hxx:204
css::uno::Reference< css::container::XIndexAccess > mxXEndnotes
Definition: unotxdoc.hxx:159
SwDocShell * GetDocShell()
Definition: unotxdoc.hxx:481
css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg
Definition: unotxdoc.hxx:154
rtl::Reference< SwXBodyText > m_xBodyText
Definition: unotxdoc.hxx:153
Type
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
css::uno::Reference< css::deployment::XPackageRegistry > create(css::uno::Reference< css::deployment::XPackageRegistry > const &xRootRegistry, OUString const &context, OUString const &cachePath, css::uno::Reference< css::uno::XComponentContext > const &xComponentContext)
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.
long Long
PointerStyle
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
unsigned char sal_Bool
signed char sal_Int8
cppu::ImplInheritanceHelper< SfxBaseModel, css::text::XTextDocument, css::text::XLineNumberingProperties, css::text::XChapterNumberingSupplier, css::text::XNumberingRulesSupplier, css::text::XFootnotesSupplier, css::text::XEndnotesSupplier, css::text::XContentControlsSupplier, 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:133
SwCreateDrawTable
Definition: unotxdoc.hxx:630
std::map< OUString, OUString > StringMap