swunolocking1: #i105557#: unoobj.hxx: split out unotextrange.hxx:
move SwXTextRange, SwXTextRanges from unoobj.hxx to new unotextrange.hxx. move SwUnoInternalPaM to unotextrange.hxx.
This commit is contained in:
parent
3d404991d5
commit
e23c9ccd3e
34 changed files with 423 additions and 207 deletions
|
@ -31,7 +31,7 @@
|
|||
#define _UNOFRAME_HXX
|
||||
|
||||
#include <unoobj.hxx>
|
||||
#include <sfx2/objsh.hxx>
|
||||
#include <com/sun/star/beans/XPropertyState.hpp>
|
||||
#include <com/sun/star/container/XNamed.hpp>
|
||||
#include <com/sun/star/document/XEmbeddedObjectSupplier2.hpp>
|
||||
#include <com/sun/star/text/XTextFrame.hpp>
|
||||
|
@ -43,8 +43,14 @@
|
|||
#include <com/sun/star/container/XNameAccess.hpp>
|
||||
*/
|
||||
|
||||
#include <cppuhelper/implbase3.hxx>
|
||||
|
||||
#include <sfx2/objsh.hxx>
|
||||
|
||||
|
||||
class SwDoc;
|
||||
class SfxItemPropertSet;
|
||||
|
||||
/*-----------------12.02.98 11:21-------------------
|
||||
|
||||
--------------------------------------------------*/
|
||||
|
|
|
@ -35,46 +35,35 @@
|
|||
#include <unobaseclass.hxx>
|
||||
#include <unocrsr.hxx>
|
||||
#include <svtools/itemprop.hxx>
|
||||
#include <svtools/svarray.hxx>
|
||||
#include <frmfmt.hxx>
|
||||
#include <flyenum.hxx>
|
||||
#include <fldbas.hxx>
|
||||
#include <fmtcntnt.hxx>
|
||||
#include <pam.hxx>
|
||||
#include <toxe.hxx>
|
||||
#include <com/sun/star/text/XFootnote.hpp>
|
||||
#include <com/sun/star/text/XTextField.hpp>
|
||||
#include <com/sun/star/text/XTextRange.hpp>
|
||||
#include <com/sun/star/text/XText.hpp>
|
||||
#include <com/sun/star/text/XTextContent.hpp>
|
||||
#include <com/sun/star/container/XEnumerationAccess.hpp>
|
||||
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
|
||||
#include <com/sun/star/container/XIndexAccess.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/beans/XPropertyState.hpp>
|
||||
#include <com/sun/star/lang/XUnoTunnel.hpp>
|
||||
#include <com/sun/star/text/XTextRangeCompare.hpp>
|
||||
#include <com/sun/star/text/XRelativeTextContentInsert.hpp>
|
||||
#include <com/sun/star/text/XRelativeTextContentRemove.hpp>
|
||||
#include <com/sun/star/text/XTextAppendAndConvert.hpp>
|
||||
#include <com/sun/star/text/XRedline.hpp>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <cppuhelper/factory.hxx> // helper for factories
|
||||
|
||||
#include <cppuhelper/implbase1.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase3.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase4.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase5.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase6.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase8.hxx>
|
||||
#include <cppuhelper/implbase9.hxx>
|
||||
#include <cppuhelper/implbase10.hxx>
|
||||
#include <cppuhelper/weakref.hxx>
|
||||
|
||||
#include <unomid.h>
|
||||
|
||||
#include <IMark.hxx>
|
||||
|
||||
#include <deque>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
|
@ -110,19 +99,6 @@ void CollectFrameAtNode( SwClient& rClnt, const SwNodeIndex& rIdx,
|
|||
FrameDependSortList_t & rFrames,
|
||||
const bool _bAtCharAnchoredObjs );
|
||||
|
||||
/* -----------------29.04.98 07:35-------------------
|
||||
*
|
||||
* --------------------------------------------------*/
|
||||
class SwUnoInternalPaM : public SwPaM
|
||||
{
|
||||
SwUnoInternalPaM( const SwUnoInternalPaM& );
|
||||
public:
|
||||
SwUnoInternalPaM(SwDoc& rDoc);
|
||||
~SwUnoInternalPaM();
|
||||
|
||||
SwUnoInternalPaM& operator=(const SwPaM& rPaM);
|
||||
};
|
||||
|
||||
/*-----------------04.03.98 11:54-------------------
|
||||
Start/EndAction oder Start/EndAllAction
|
||||
--------------------------------------------------*/
|
||||
|
@ -149,8 +125,6 @@ class UnoActionRemoveContext
|
|||
/******************************************************************************
|
||||
*
|
||||
******************************************************************************/
|
||||
typedef com::sun::star::uno::Reference< com::sun::star::text::XTextRange > * XTextRangeRefPtr;
|
||||
SV_DECL_PTRARR(XTextRangeArr, XTextRangeRefPtr, 4, 4)
|
||||
|
||||
void ClientModify(SwClient* pClient, SfxPoolItem *pOld, SfxPoolItem *pNew);
|
||||
|
||||
|
@ -371,164 +345,6 @@ public:
|
|||
::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > CreateTextCursor(BOOL bIgnoreTables = sal_False);
|
||||
};
|
||||
|
||||
class SW_DLLPUBLIC SwXTextRange : public cppu::WeakImplHelper8
|
||||
<
|
||||
::com::sun::star::text::XTextRange,
|
||||
::com::sun::star::lang::XUnoTunnel,
|
||||
::com::sun::star::lang::XServiceInfo,
|
||||
::com::sun::star::container::XContentEnumerationAccess,
|
||||
::com::sun::star::beans::XPropertySet,
|
||||
::com::sun::star::beans::XPropertyState,
|
||||
::com::sun::star::container::XEnumerationAccess,
|
||||
::com::sun::star::text::XRedline
|
||||
>, private SwClient
|
||||
{
|
||||
friend class SwXText;
|
||||
enum RangePosition
|
||||
{
|
||||
RANGE_IN_TEXT, // 'normaler' ::com::sun::star::text::TextRange
|
||||
RANGE_IN_FRAME,// TextPosition wurde mit einem Rahmen angelegt, der kein Uno-Objekt besitzt
|
||||
RANGE_IN_CELL, // TextPosition wurde mit einer Zelle angelegt, die kein Uno-Objekt besitzt
|
||||
RANGE_IS_TABLE, // Anker einer Tabelle
|
||||
RANGE_INVALID // von NewInstance erzeugt
|
||||
} eRangePosition;
|
||||
|
||||
SwDoc* pDoc;
|
||||
SwTableBox* pBox;
|
||||
const SwStartNode* pBoxStartNode;
|
||||
SwDepend aObjectDepend; //Format der Tabelle oder des Rahmens anmelden
|
||||
const SfxItemPropertySet* m_pPropSet;
|
||||
//SwDepend aFrameDepend;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParentText;
|
||||
::sw::mark::IMark* pMark;
|
||||
|
||||
void _CreateNewBookmark(SwPaM& rPam);
|
||||
//TODO: new exception type for protected content
|
||||
void DeleteAndInsert(const String& rText, const bool bForceExpandHints)
|
||||
throw( ::com::sun::star::uno::RuntimeException );
|
||||
protected:
|
||||
virtual ~SwXTextRange();
|
||||
|
||||
public:
|
||||
SwXTextRange(SwPaM& rPam, const ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > & rxParent, enum RangePosition eRange = RANGE_IN_TEXT);
|
||||
// only for RANGE_IS_TABLE
|
||||
SwXTextRange(SwFrmFmt& rTblFmt);
|
||||
|
||||
TYPEINFO();
|
||||
|
||||
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
|
||||
|
||||
//XUnoTunnel
|
||||
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//XTextRange
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getStart(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual rtl::OUString SAL_CALL getString(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual void SAL_CALL setString(const rtl::OUString& aString) throw( ::com::sun::star::uno::RuntimeException );
|
||||
|
||||
//XContentEnumerationAccess
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL createContentEnumeration(const rtl::OUString& aServiceName) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getAvailableServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
|
||||
//XEnumerationAccess
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL createEnumeration(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
|
||||
//XElementAccess
|
||||
virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw(::com::sun::star::uno::RuntimeException);
|
||||
virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//XServiceInfo
|
||||
virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
|
||||
//XPropertySet
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//XPropertyState
|
||||
virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//XRedline
|
||||
virtual void SAL_CALL makeRedline( const ::rtl::OUString& RedlineType, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& RedlineProperties ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//SwClient
|
||||
virtual void Modify(SfxPoolItem *pOld, SfxPoolItem *pNew);
|
||||
BOOL GetPositions(SwPaM& rToFill) const;
|
||||
const SwDoc* GetDoc() const
|
||||
{ return pDoc; }
|
||||
SwDoc* GetDoc()
|
||||
{ return pDoc; }
|
||||
const ::sw::mark::IMark * GetBookmark() const
|
||||
{ return pMark; }
|
||||
|
||||
static BOOL XTextRangeToSwPaM(SwUnoInternalPaM& rToFill,
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange);
|
||||
static ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > CreateTextRangeFromPosition(
|
||||
SwDoc* pDoc,
|
||||
const SwPosition& rPos, const SwPosition* pMark);
|
||||
static ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > CreateParentXText(SwDoc* pDoc,
|
||||
const SwPosition& rPos);
|
||||
};
|
||||
|
||||
/* -----------------15.05.98 08:29-------------------
|
||||
*
|
||||
* --------------------------------------------------*/
|
||||
typedef cppu::WeakImplHelper3
|
||||
<
|
||||
::com::sun::star::container::XIndexAccess,
|
||||
::com::sun::star::lang::XUnoTunnel,
|
||||
::com::sun::star::lang::XServiceInfo
|
||||
>
|
||||
SwXTextRangesBaseClass;
|
||||
class SwXTextRanges : public SwXTextRangesBaseClass,
|
||||
public SwClient
|
||||
{
|
||||
XTextRangeArr* pRangeArr;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParentText;
|
||||
XTextRangeArr* GetRangesArray();
|
||||
SwUnoCrsr* GetCrsr() const { return (SwUnoCrsr*)GetRegisteredIn(); }
|
||||
protected:
|
||||
virtual ~SwXTextRanges();
|
||||
public:
|
||||
SwXTextRanges();
|
||||
SwXTextRanges(SwPaM* pCrsr);
|
||||
|
||||
|
||||
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
|
||||
|
||||
//XUnoTunnel
|
||||
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
|
||||
throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
|
||||
//XIndexAccess
|
||||
virtual sal_Int32 SAL_CALL getCount(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) throw( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException );
|
||||
|
||||
//XElementAccess
|
||||
virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw(::com::sun::star::uno::RuntimeException);
|
||||
virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//XServiceInfo
|
||||
virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
|
||||
//SwClient
|
||||
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);
|
||||
const SwUnoCrsr* GetCursor() const { return (const SwUnoCrsr*)GetRegisteredIn(); }
|
||||
};
|
||||
|
||||
/*-----------------12.02.98 08:01-------------------
|
||||
|
||||
|
|
|
@ -41,11 +41,14 @@
|
|||
#include <com/sun/star/table/XCellRange.hpp>
|
||||
#include <com/sun/star/sheet/XCellRangeData.hpp>
|
||||
#include <com/sun/star/table/XAutoFormattable.hpp>
|
||||
#include <cppuhelper/implbase10.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase7.hxx> // helper for implementations
|
||||
#include <cppuhelper/implbase5.hxx> // helper for implementations
|
||||
|
||||
#include <cppuhelper/implbase3.hxx>
|
||||
#include <cppuhelper/implbase5.hxx>
|
||||
#include <cppuhelper/implbase7.hxx>
|
||||
#include <cppuhelper/implbase10.hxx>
|
||||
|
||||
#include <comphelper/uno3.hxx>
|
||||
|
||||
#include <TextCursorHelper.hxx>
|
||||
|
||||
|
||||
|
|
376
sw/inc/unotextrange.hxx
Normal file
376
sw/inc/unotextrange.hxx
Normal file
|
@ -0,0 +1,376 @@
|
|||
/*************************************************************************
|
||||
*
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* Copyright 2008 by Sun Microsystems, Inc.
|
||||
*
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: unoobj.hxx,v $
|
||||
*
|
||||
* $Revision: 1.49 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
* OpenOffice.org is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License version 3
|
||||
* only, as published by the Free Software Foundation.
|
||||
*
|
||||
* OpenOffice.org is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License version 3 for more details
|
||||
* (a copy is included in the LICENSE file that accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* version 3 along with OpenOffice.org. If not, see
|
||||
* <http://www.openoffice.org/license.html>
|
||||
* for a copy of the LGPLv3 License.
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
#ifndef SW_UNOTEXTRANGE_HXX
|
||||
#define SW_UNOTEXTRANGE_HXX
|
||||
|
||||
#include <com/sun/star/lang/XUnoTunnel.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/beans/XPropertyState.hpp>
|
||||
#include <com/sun/star/container/XIndexAccess.hpp>
|
||||
#include <com/sun/star/container/XEnumerationAccess.hpp>
|
||||
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
|
||||
#include <com/sun/star/text/XTextRange.hpp>
|
||||
#include <com/sun/star/text/XRedline.hpp>
|
||||
|
||||
#include <cppuhelper/implbase3.hxx>
|
||||
#include <cppuhelper/implbase8.hxx>
|
||||
|
||||
#include <svtools/svarray.hxx>
|
||||
|
||||
#include <calbck.hxx>
|
||||
#include <pam.hxx>
|
||||
|
||||
|
||||
class String;
|
||||
class SfxItemPropertySet;
|
||||
class SwDoc;
|
||||
class SwStartNode;
|
||||
struct SwPosition;
|
||||
class SwPaM;
|
||||
class SwUnoCrsr;
|
||||
class SwFrmFmt;
|
||||
class SwTableBox;
|
||||
|
||||
namespace sw {
|
||||
namespace mark {
|
||||
class IMark;
|
||||
}
|
||||
}
|
||||
|
||||
/* -----------------29.04.98 07:35-------------------
|
||||
*
|
||||
* --------------------------------------------------*/
|
||||
class SwUnoInternalPaM
|
||||
: public SwPaM
|
||||
{
|
||||
|
||||
private:
|
||||
SwUnoInternalPaM(const SwUnoInternalPaM&);
|
||||
SwUnoInternalPaM& operator=(const SwPaM& rPaM);
|
||||
|
||||
public:
|
||||
SwUnoInternalPaM(SwDoc& rDoc);
|
||||
virtual ~SwUnoInternalPaM();
|
||||
|
||||
};
|
||||
|
||||
|
||||
typedef ::cppu::WeakImplHelper8
|
||||
< ::com::sun::star::lang::XUnoTunnel
|
||||
, ::com::sun::star::lang::XServiceInfo
|
||||
, ::com::sun::star::beans::XPropertySet
|
||||
, ::com::sun::star::beans::XPropertyState
|
||||
, ::com::sun::star::container::XEnumerationAccess
|
||||
, ::com::sun::star::container::XContentEnumerationAccess
|
||||
, ::com::sun::star::text::XTextRange
|
||||
, ::com::sun::star::text::XRedline
|
||||
> SwXTextRange_Base;
|
||||
|
||||
class SW_DLLPUBLIC SwXTextRange
|
||||
: public SwXTextRange_Base
|
||||
, private SwClient
|
||||
{
|
||||
|
||||
private:
|
||||
|
||||
friend class SwXText;
|
||||
|
||||
enum RangePosition
|
||||
{
|
||||
RANGE_IN_TEXT, // "ordinary" ::com::sun::star::text::TextRange
|
||||
RANGE_IN_FRAME, // position created with a frame that has no uno object
|
||||
RANGE_IN_CELL, // position created with a cell that has no uno object
|
||||
RANGE_IS_TABLE, // anchor of a table
|
||||
RANGE_INVALID // created by NewInstance
|
||||
} eRangePosition;
|
||||
|
||||
SwDoc* pDoc;
|
||||
SwTableBox* pBox;
|
||||
const SwStartNode* pBoxStartNode;
|
||||
SwDepend aObjectDepend; // register at format of table or frame
|
||||
const SfxItemPropertySet* m_pPropSet;
|
||||
//SwDepend aFrameDepend;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::text::XText >
|
||||
xParentText;
|
||||
::sw::mark::IMark* pMark;
|
||||
|
||||
void _CreateNewBookmark(SwPaM& rPam);
|
||||
//TODO: new exception type for protected content
|
||||
void DeleteAndInsert(const String& rText, const bool bForceExpandHints)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~SwXTextRange();
|
||||
|
||||
public:
|
||||
|
||||
SwXTextRange(SwPaM& rPam,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::text::XText > & xParent,
|
||||
enum RangePosition eRange = RANGE_IN_TEXT);
|
||||
// only for RANGE_IS_TABLE
|
||||
SwXTextRange(SwFrmFmt& rTblFmt);
|
||||
|
||||
BOOL GetPositions(SwPaM& rToFill) const;
|
||||
const SwDoc* GetDoc() const
|
||||
{ return pDoc; }
|
||||
SwDoc* GetDoc()
|
||||
{ return pDoc; }
|
||||
const ::sw::mark::IMark * GetBookmark() const
|
||||
{ return pMark; }
|
||||
|
||||
static BOOL XTextRangeToSwPaM(SwUnoInternalPaM& rToFill,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::text::XTextRange > & xTextRange);
|
||||
static ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::text::XTextRange > CreateTextRangeFromPosition(
|
||||
SwDoc* pDoc,
|
||||
const SwPosition& rPos, const SwPosition* pMark);
|
||||
static ::com::sun::star::uno::Reference< ::com::sun::star::text::XText >
|
||||
CreateParentXText(SwDoc* pDoc, const SwPosition& rPos);
|
||||
|
||||
TYPEINFO();
|
||||
|
||||
// SwClient
|
||||
virtual void Modify(SfxPoolItem *pOld, SfxPoolItem *pNew);
|
||||
|
||||
static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
|
||||
|
||||
// XUnoTunnel
|
||||
virtual sal_Int64 SAL_CALL getSomething(
|
||||
const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XServiceInfo
|
||||
virtual ::rtl::OUString SAL_CALL getImplementationName()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual sal_Bool SAL_CALL supportsService(
|
||||
const ::rtl::OUString& rServiceName)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
|
||||
getSupportedServiceNames()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XPropertySet
|
||||
virtual ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::beans::XPropertySetInfo > SAL_CALL
|
||||
getPropertySetInfo()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL setPropertyValue(
|
||||
const ::rtl::OUString& rPropertyName,
|
||||
const ::com::sun::star::uno::Any& rValue)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::beans::PropertyVetoException,
|
||||
::com::sun::star::lang::IllegalArgumentException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
|
||||
const ::rtl::OUString& rPropertyName)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL addPropertyChangeListener(
|
||||
const ::rtl::OUString& rPropertyName,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::beans::XPropertyChangeListener >& xListener)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL removePropertyChangeListener(
|
||||
const ::rtl::OUString& rPropertyName,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::beans::XPropertyChangeListener >& xListener)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL addVetoableChangeListener(
|
||||
const ::rtl::OUString& rPropertyName,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::beans::XVetoableChangeListener >& xListener)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL removeVetoableChangeListener(
|
||||
const ::rtl::OUString& rPropertyName,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::beans::XVetoableChangeListener >& xListener)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XPropertyState
|
||||
virtual ::com::sun::star::beans::PropertyState SAL_CALL
|
||||
getPropertyState(const ::rtl::OUString& rPropertyName)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Sequence<
|
||||
::com::sun::star::beans::PropertyState > SAL_CALL
|
||||
getPropertyStates(
|
||||
const ::com::sun::star::uno::Sequence<
|
||||
::rtl::OUString >& rPropertyNames)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL setPropertyToDefault(
|
||||
const ::rtl::OUString& rPropertyName)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault(
|
||||
const ::rtl::OUString& rPropertyName)
|
||||
throw (::com::sun::star::beans::UnknownPropertyException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XElementAccess
|
||||
virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual sal_Bool SAL_CALL hasElements()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XEnumerationAccess
|
||||
virtual ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::container::XEnumeration > SAL_CALL
|
||||
createEnumeration()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XContentEnumerationAccess
|
||||
virtual ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::container::XEnumeration > SAL_CALL
|
||||
createContentEnumeration(const ::rtl::OUString& rServiceName)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
|
||||
getAvailableServiceNames()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XTextRange
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText >
|
||||
SAL_CALL getText()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::text::XTextRange > SAL_CALL getStart()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::text::XTextRange > SAL_CALL getEnd()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::rtl::OUString SAL_CALL getString()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL setString(const ::rtl::OUString& rString)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XRedline
|
||||
virtual void SAL_CALL makeRedline(
|
||||
const ::rtl::OUString& rRedlineType,
|
||||
const ::com::sun::star::uno::Sequence<
|
||||
::com::sun::star::beans::PropertyValue >& RedlineProperties)
|
||||
throw (::com::sun::star::lang::IllegalArgumentException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
|
||||
};
|
||||
|
||||
/* -----------------15.05.98 08:29-------------------
|
||||
*
|
||||
* --------------------------------------------------*/
|
||||
typedef ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > *
|
||||
XTextRangeRefPtr;
|
||||
SV_DECL_PTRARR(XTextRangeArr, XTextRangeRefPtr, 4, 4)
|
||||
|
||||
typedef ::cppu::WeakImplHelper3
|
||||
< ::com::sun::star::lang::XUnoTunnel
|
||||
, ::com::sun::star::lang::XServiceInfo
|
||||
, ::com::sun::star::container::XIndexAccess
|
||||
> SwXTextRanges_Base;
|
||||
|
||||
class SwXTextRanges
|
||||
: public SwXTextRanges_Base
|
||||
, public SwClient
|
||||
{
|
||||
|
||||
private:
|
||||
|
||||
XTextRangeArr* pRangeArr;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::text::XText >
|
||||
xParentText;
|
||||
XTextRangeArr* GetRangesArray();
|
||||
SwUnoCrsr* GetCrsr() const { return (SwUnoCrsr*)GetRegisteredIn(); }
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~SwXTextRanges();
|
||||
|
||||
public:
|
||||
|
||||
SwXTextRanges();
|
||||
SwXTextRanges(SwPaM* pCrsr);
|
||||
|
||||
const SwUnoCrsr* GetCursor() const {
|
||||
return (const SwUnoCrsr*)(GetRegisteredIn());
|
||||
}
|
||||
|
||||
// SwClient
|
||||
virtual void Modify(SfxPoolItem *pOld, SfxPoolItem *pNew);
|
||||
|
||||
static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
|
||||
|
||||
// XUnoTunnel
|
||||
virtual sal_Int64 SAL_CALL getSomething(
|
||||
const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XServiceInfo
|
||||
virtual ::rtl::OUString SAL_CALL getImplementationName()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual sal_Bool SAL_CALL supportsService(
|
||||
const ::rtl::OUString& rServiceName)
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
|
||||
getSupportedServiceNames()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XElementAccess
|
||||
virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual sal_Bool SAL_CALL hasElements()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// XIndexAccess
|
||||
virtual sal_Int32 SAL_CALL getCount()
|
||||
throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex)
|
||||
throw (::com::sun::star::lang::IndexOutOfBoundsException,
|
||||
::com::sun::star::lang::WrappedTargetException,
|
||||
::com::sun::star::uno::RuntimeException);
|
||||
|
||||
};
|
||||
|
||||
#endif // SW_UNOTEXTRANGE_HXX
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
#include <txtfrm.hxx>
|
||||
#include <ndtxt.hxx>
|
||||
#include <pam.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <crstate.hxx>
|
||||
#include <accmap.hxx>
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
#include <mdiexp.hxx> // ...Percent()
|
||||
#include <fmteiro.hxx>
|
||||
#include <wrong.hxx> // SMARTTAGS
|
||||
#include <unoobj.hxx> // SMARTTAGS
|
||||
#include <unotextrange.hxx> // SMARTTAGS
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <numrule.hxx>
|
||||
#include <IGrammarContact.hxx>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#include <ndtxt.hxx> // for meta
|
||||
#include <doc.hxx> // for meta
|
||||
#include <unometa.hxx>
|
||||
#include <unoobj.hxx> // SwXTextRange
|
||||
#include <unotextrange.hxx>
|
||||
#include <docsh.hxx>
|
||||
#include <svtools/zforlist.hxx> // GetNumberFormat
|
||||
|
||||
|
|
|
@ -4973,7 +4973,7 @@ bool SwTxtNode::IsInContent() const
|
|||
}
|
||||
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::rdf::XMetadatable >
|
||||
SwTxtNode::MakeUnoObject()
|
||||
|
|
|
@ -31,12 +31,12 @@
|
|||
// MARKER(update_precomp.py): autogen include statement, do not remove
|
||||
#include "precompiled_sw.hxx"
|
||||
|
||||
|
||||
#include <unobookmark.hxx>
|
||||
#include <vos/mutex.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <TextCursorHelper.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unomap.hxx>
|
||||
#include <unoprnms.hxx>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <unocoll.hxx>
|
||||
#include <unoframe.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unoprnms.hxx>
|
||||
#include <svx/unoprnms.hxx>
|
||||
#include <swunohelper.hxx>
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <unomap.hxx>
|
||||
#include <unoprnms.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unocoll.hxx>
|
||||
#include <svx/linkmgr.hxx>
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#include <breakit.hxx>
|
||||
#include <pam.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <pagefrm.hxx>
|
||||
#include <cntfrm.hxx>
|
||||
#include <rootfrm.hxx>
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
#include <frmfmt.hxx>
|
||||
#include <frame.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unomap.hxx>
|
||||
|
|
|
@ -31,11 +31,11 @@
|
|||
// MARKER(update_precomp.py): autogen include statement, do not remove
|
||||
#include "precompiled_sw.hxx"
|
||||
|
||||
|
||||
#include <vos/mutex.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <rtl/uuid.h>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unomap.hxx>
|
||||
|
@ -48,6 +48,7 @@
|
|||
#include <unocrsr.hxx>
|
||||
#include <hints.hxx>
|
||||
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using ::rtl::OUString;
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
#include <unomap.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <doctxm.hxx>
|
||||
#include <txttxmrk.hxx>
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
#include <txtrfmrk.hxx>
|
||||
#include <unoclbck.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unomap.hxx>
|
||||
#include <unosett.hxx>
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
#include <txtrfmrk.hxx>
|
||||
#include <unoclbck.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unomap.hxx>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <cmdid.h>
|
||||
#include <unomid.h>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unoport.hxx>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <unocrsrhelper.hxx>
|
||||
#include <unoport.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unomap.hxx>
|
||||
#include <unoprnms.hxx>
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include <section.hxx>
|
||||
#include <unoprnms.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unocoll.hxx>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <vos/mutex.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unorefmark.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include <vcl/svapp.hxx>
|
||||
#include <fmtclds.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unosection.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
#include <com/sun/star/table/CellContentType.hpp>
|
||||
#include <unotbl.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <svtools/zforlist.hxx> // SvNumberFormatter
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include <vcl/svapp.hxx>
|
||||
#include <rtl/uuid.h>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unosection.hxx>
|
||||
#include <unobookmark.hxx>
|
||||
|
|
|
@ -34,22 +34,16 @@
|
|||
|
||||
#include <hintids.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#ifndef _WRKWIN_HXX //autogen
|
||||
#include <vcl/wrkwin.hxx>
|
||||
#endif
|
||||
#include <vcl/imgcons.hxx>
|
||||
|
||||
#ifndef _TOOLKIT_UNOHLP_HXX
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#endif
|
||||
#include <svtools/htmlkywd.hxx>
|
||||
#include <svtools/htmltokn.h>
|
||||
#include <svtools/urihelper.hxx>
|
||||
#include <sfx2/request.hxx>
|
||||
#include <sfx2/docfile.hxx>
|
||||
#ifndef _SFXAPP_HXX
|
||||
#include <sfx2/viewfrm.hxx>
|
||||
#endif
|
||||
#include <svx/lrspitem.hxx>
|
||||
#include <svx/ulspitem.hxx>
|
||||
#include <svx/brshitem.hxx>
|
||||
|
@ -84,13 +78,14 @@
|
|||
#include <docsh.hxx>
|
||||
#include <viewsh.hxx>
|
||||
#include <unodraw.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include "dcontact.hxx"
|
||||
|
||||
#include "swcss1.hxx"
|
||||
#include "swhtml.hxx"
|
||||
#include "htmlform.hxx"
|
||||
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::lang;
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
#include <svx/postitem.hxx>
|
||||
#include <svx/msocximex.hxx>
|
||||
#include <errhdl.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <doc.hxx>
|
||||
#include <docary.hxx>
|
||||
#include <docsh.hxx>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "XMLRedlineImportHelper.hxx"
|
||||
#include <unotextcursor.hxx>
|
||||
#include "unoobj.hxx"
|
||||
#include <unotextrange.hxx>
|
||||
#include <unocrsr.hxx>
|
||||
#include "doc.hxx"
|
||||
#include <tools/datetime.hxx>
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
#include <fltini.hxx>
|
||||
#include <doc.hxx>
|
||||
#include <docsh.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <swmodule.hxx>
|
||||
#include <SwXMLSectionList.hxx>
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
#include <doc.hxx>
|
||||
#include <TextCursorHelper.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include "unocrsr.hxx"
|
||||
#include <poolfmt.hxx>
|
||||
#include <ndtxt.hxx>
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "precompiled_sw.hxx"
|
||||
|
||||
|
||||
|
||||
#include "hintids.hxx"
|
||||
|
||||
#include <limits.h>
|
||||
|
@ -58,6 +57,7 @@
|
|||
#include "swtblfmt.hxx"
|
||||
#include "pam.hxx"
|
||||
#include "unotbl.hxx"
|
||||
#include "unotextrange.hxx"
|
||||
#include "unocrsr.hxx"
|
||||
#include "cellatr.hxx"
|
||||
#include "swddetbl.hxx"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
// MARKER(update_precomp.py): autogen include statement, do not remove
|
||||
#include "precompiled_sw.hxx"
|
||||
|
||||
#include <SwSpellDialogChildWindow.hxx>
|
||||
#include <vcl/msgbox.hxx>
|
||||
#include <svx/svxacorr.hxx>
|
||||
|
@ -50,21 +51,20 @@
|
|||
#include <svtools/linguprops.hxx>
|
||||
#include <svtools/lingucfg.hxx>
|
||||
#include <doc.hxx>
|
||||
#ifndef _DOCSH_HXX
|
||||
#include <docsh.hxx>
|
||||
#endif
|
||||
#include <docary.hxx>
|
||||
#include <frmfmt.hxx>
|
||||
#include <dcontact.hxx>
|
||||
#include <edtwin.hxx>
|
||||
#include <pam.hxx>
|
||||
#include <drawbase.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#ifndef _DIALOG_HXX
|
||||
#include <dialog.hrc>
|
||||
#endif
|
||||
#include <cmdid.h>
|
||||
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::text;
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#include <unoatxt.hxx>
|
||||
#include <unomap.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <TextCursorHelper.hxx>
|
||||
#include <swevent.hxx>
|
||||
#include <doc.hxx>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#include <unotxdoc.hxx>
|
||||
#include <svtools/numuno.hxx>
|
||||
#include <unoobj.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unosett.hxx>
|
||||
#include <unocoll.hxx>
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
#include <unobookmark.hxx>
|
||||
#include <unoparagraph.hxx>
|
||||
#include <unotextcursor.hxx>
|
||||
#include <unotextrange.hxx>
|
||||
|
||||
#include <svx/editview.hxx>
|
||||
#include <sfx2/docfile.hxx>
|
||||
|
|
Loading…
Reference in a new issue