This patch removes bogus comments found in the uno directory
Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
sw/source/ui/uno/SwXFilterOptions.cxx | 28 --
sw/source/ui/uno/SwXPrintPreviewSettings.cxx | 15 +-
sw/source/ui/uno/dlelstnr.cxx | 18 --
sw/source/ui/uno/unodefaults.cxx | 10 -
sw/source/ui/uno/unodispatch.cxx | 44 ----
sw/source/ui/uno/unomod.cxx | 51 +---
sw/source/ui/uno/unotxdoc.cxx | 353 ++------------------------
sw/source/ui/uno/unotxvw.cxx | 196 +--------------
8 files changed, 41 insertions(+), 674 deletions(-)
diff --git a/sw/source/ui/uno/SwXFilterOptions.cxx b/sw/source/ui/uno/SwXFilterOptions.cxx
index 128c278..62199fd 100644
--- a/sw/source/ui/uno/SwXFilterOptions.cxx
+++ b/sw/source/ui/uno/SwXFilterOptions.cxx
@@ -50,37 +50,27 @@ using namespace ::com::sun::star::lang;
#define SWFILTEROPTIONSOBJ_SERVICE
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ui.dialogs.FilterOptionsDialog")
#define SWFILTEROPTIONSOBJ_IMPLNAME
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Writer.FilterOptionsDialog")
#define FILTER_OPTIONS_NAME RTL_CONSTASCII_USTRINGPARAM("FilterOptions")
-/*-- 2002/06/21 11:01:23---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXFilterOptions::SwXFilterOptions() :
bExport( sal_False )
{
}
-/*-- 2002/06/21 11:01:24---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXFilterOptions::~SwXFilterOptions()
{
}
-/*-- 2002/06/21 11:01:24---------------------------------------------------
- -----------------------------------------------------------------------*/
::rtl::OUString SwXFilterOptions::getImplementationName_Static()
{
return ::rtl::OUString(SWFILTEROPTIONSOBJ_IMPLNAME);
}
-/*-- 2002/06/21 11:01:24---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Sequence< ::rtl::OUString> SwXFilterOptions::getSupportedServiceNames_Static()
{
::rtl::OUString sService(SWFILTEROPTIONSOBJ_SERVICE);
return uno::Sequence< ::rtl::OUString> (&sService, 1);
}
-/*-- 2002/06/21 11:01:25---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Sequence< beans::PropertyValue > SwXFilterOptions::getPropertyValues() throw
(uno::RuntimeException)
{
uno::Sequence<beans::PropertyValue> aRet(1);
@@ -91,9 +81,7 @@ uno::Sequence< beans::PropertyValue > SwXFilterOptions::getPropertyValues() thro
return aRet;
}
-/*-- 2002/06/21 11:01:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXFilterOptions::setPropertyValues( const uno::Sequence<beans::PropertyValue >& aProps )
throw (beans::UnknownPropertyException, beans::PropertyVetoException,
IllegalArgumentException, WrappedTargetException, uno::RuntimeException)
@@ -113,16 +101,12 @@ void SwXFilterOptions::setPropertyValues( const
uno::Sequence<beans::PropertyV
rProp.Value >>= xInputStream;
}
}
-/*-- 2002/06/21 11:01:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXFilterOptions::setTitle( const ::rtl::OUString& /*rTitle*/ )
throw (uno::RuntimeException)
{
}
-/*-- 2002.06.21 11:01:25---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Int16 SwXFilterOptions::execute() throw (uno::RuntimeException)
{
sal_Int16 nRet = ui::dialogs::ExecutableDialogResults::CANCEL;
@@ -164,49 +148,38 @@ sal_Int16 SwXFilterOptions::execute() throw (uno::RuntimeException)
return nRet;
}
-/*-- 2002/06/21 11:01:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXFilterOptions::setTargetDocument( const uno::Reference< XComponent >& xDoc )
throw (IllegalArgumentException, uno::RuntimeException)
{
bExport = sal_False;
xModel = xDoc;
}
-/*-- 2002/06/21 11:01:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXFilterOptions::setSourceDocument( const uno::Reference<XComponent >& xDoc )
throw (IllegalArgumentException,uno::RuntimeException)
{
bExport = sal_True;
xModel = xDoc;
}
-/*-- 2002/06/21 11:01:26---------------------------------------------------
- -----------------------------------------------------------------------*/
::rtl::OUString SwXFilterOptions::getImplementationName() throw(uno::RuntimeException)
{
return ::rtl::OUString(SWFILTEROPTIONSOBJ_IMPLNAME);
}
-/*-- 2002/06/21 11:01:27---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXFilterOptions::supportsService( const ::rtl::OUString& rServiceName )
throw(uno::RuntimeException)
{
return rServiceName == ::rtl::OUString(SWFILTEROPTIONSOBJ_SERVICE);
}
-/*-- 2002/06/21 11:01:28---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Sequence< ::rtl::OUString > SwXFilterOptions::getSupportedServiceNames()
throw(uno::RuntimeException)
{
return SwXFilterOptions::getSupportedServiceNames_Static();
}
-
uno::Reference<uno::XInterface> SAL_CALL SwXFilterOptions_createInstance(
const uno::Reference<lang::XMultiServiceFactory>& )
{
@@ -214,4 +187,3 @@ uno::Reference<uno::XInterface> SAL_CALL SwXFilterOptions_createInstance(
SwDLL::Init();
return (::cppu::OWeakObject*) new SwXFilterOptions;
}
-
diff --git a/sw/source/ui/uno/SwXPrintPreviewSettings.cxx
b/sw/source/ui/uno/SwXPrintPreviewSettings.cxx
index ab37e3c..7235da9 100644
--- a/sw/source/ui/uno/SwXPrintPreviewSettings.cxx
+++ b/sw/source/ui/uno/SwXPrintPreviewSettings.cxx
@@ -72,15 +72,14 @@ static ChainablePropertySetInfo * lcl_createPrintPreviewSettingsInfo()
};
return new ChainablePropertySetInfo ( aPrintPreviewSettingsMap_Impl );
}
+
SwXPrintPreviewSettings::SwXPrintPreviewSettings( SwDoc *pDoc)
: ChainablePropertySet ( lcl_createPrintPreviewSettingsInfo (), &Application::GetSolarMutex() )
, mbPreviewDataChanged( sal_False )
, mpDoc( pDoc)
{
}
-/*-- 17.12.98 12:54:05---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXPrintPreviewSettings::~SwXPrintPreviewSettings()
throw()
{
@@ -98,11 +97,13 @@ Any SAL_CALL SwXPrintPreviewSettings::queryInterface( const Type& rType )
dynamic_cast< XPropertySet* >( this ) ,
dynamic_cast< XMultiPropertySet* >( this ) );
}
+
void SwXPrintPreviewSettings::acquire ()
throw ()
{
OWeakObject::acquire();
}
+
void SwXPrintPreviewSettings::release ()
throw ()
{
@@ -244,6 +245,7 @@ void SwXPrintPreviewSettings::_setSingleValue( const comphelper::PropertyInfo &
throw UnknownPropertyException();
}
}
+
void SwXPrintPreviewSettings::_postSetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
@@ -262,6 +264,7 @@ void SwXPrintPreviewSettings::_preGetValues ()
if (mpDoc)
mpConstPreViewData = mpDoc->GetPreViewPrtData();
}
+
void SwXPrintPreviewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, uno::Any &
rValue )
throw(UnknownPropertyException, WrappedTargetException )
{
@@ -339,28 +342,23 @@ void SwXPrintPreviewSettings::_getSingleValue( const comphelper::PropertyInfo
&
if(bBool)
rValue.setValue(&bBoolVal, ::getBooleanCppuType());
}
+
void SwXPrintPreviewSettings::_postGetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
mpConstPreViewData = NULL;
}
-/* -----------------------------06.04.00 11:02--------------------------------
- ---------------------------------------------------------------------------*/
OUString SwXPrintPreviewSettings::getImplementationName(void) throw( RuntimeException )
{
return OUString( RTL_CONSTASCII_USTRINGPARAM ( "SwXPrintPreviewSettings" ) );
}
-/* -----------------------------06.04.00 11:02--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SwXPrintPreviewSettings::supportsService(const OUString& rServiceName) throw(
RuntimeException )
{
return rServiceName.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM (
"com.sun.star.text.PrintPreviewSettings") );
}
-/* -----------------------------06.04.00 11:02--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SwXPrintPreviewSettings::getSupportedServiceNames(void) throw(
RuntimeException )
{
Sequence< OUString > aRet(1);
@@ -368,4 +366,3 @@ Sequence< OUString > SwXPrintPreviewSettings::getSupportedServiceNames(void) thr
pArray[0] = OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.PrintPreviewSettings" )
);
return aRet;
}
-
diff --git a/sw/source/ui/uno/dlelstnr.cxx b/sw/source/ui/uno/dlelstnr.cxx
index c09a35b..9219c93 100644
--- a/sw/source/ui/uno/dlelstnr.cxx
+++ b/sw/source/ui/uno/dlelstnr.cxx
@@ -28,9 +28,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-
-
-
#include <com/sun/star/linguistic2/DictionaryListEventFlags.hpp>
#include <com/sun/star/linguistic2/XDictionaryList.hpp>
#include <com/sun/star/linguistic2/XLinguServiceManager.hpp>
@@ -50,7 +47,6 @@
#include <wrtsh.hxx>
#include <view.hxx>
-
using ::rtl::OUString;
using namespace ::com::sun::star;
using namespace ::com::sun::star::lang;
@@ -61,9 +57,6 @@ using namespace ::com::sun::star::linguistic2::LinguServiceEventFlags;
#define A2OU(x) OUString::createFromAscii(x)
-/* -----------------------------17.03.00 09:07--------------------------------
-
- ---------------------------------------------------------------------------*/
SwLinguServiceEventListener::SwLinguServiceEventListener()
{
Reference< XMultiServiceFactory > xMgr( comphelper::getProcessServiceFactory() );
@@ -97,17 +90,11 @@ SwLinguServiceEventListener::SwLinguServiceEventListener()
}
}
}
-/* -----------------------------17.03.00 09:07--------------------------------
- ---------------------------------------------------------------------------*/
SwLinguServiceEventListener::~SwLinguServiceEventListener()
{
}
-/* -----------------------------17.03.00 09:06--------------------------------
-
- ---------------------------------------------------------------------------*/
-
void SwLinguServiceEventListener::processDictionaryListEvent(
const DictionaryListEvent& rDicListEvent)
throw( RuntimeException )
@@ -133,7 +120,6 @@ void SwLinguServiceEventListener::processDictionaryListEvent(
SW_MOD()->CheckSpellChanges( sal_False, bIsSpellWrong, bIsSpellAll, sal_False );
}
-
void SAL_CALL SwLinguServiceEventListener::processLinguServiceEvent(
const LinguServiceEvent& rLngSvcEvent )
throw(RuntimeException)
@@ -164,7 +150,6 @@ void SAL_CALL SwLinguServiceEventListener::processLinguServiceEvent(
}
}
-
void SAL_CALL SwLinguServiceEventListener::disposing(
const EventObject& rEventObj )
throw(RuntimeException)
@@ -177,7 +162,6 @@ void SAL_CALL SwLinguServiceEventListener::disposing(
xGCIterator = 0;
}
-
void SAL_CALL SwLinguServiceEventListener::queryTermination(
const EventObject& /*rEventObj*/ )
throw(TerminationVetoException, RuntimeException)
@@ -185,7 +169,6 @@ void SAL_CALL SwLinguServiceEventListener::queryTermination(
//vos::OGuard aGuard(Application::GetSolarMutex());
}
-
void SAL_CALL SwLinguServiceEventListener::notifyTermination(
const EventObject& rEventObj )
throw(RuntimeException)
@@ -201,4 +184,3 @@ void SAL_CALL SwLinguServiceEventListener::notifyTermination(
xDesktop = NULL;
}
}
-
diff --git a/sw/source/ui/uno/unodefaults.cxx b/sw/source/ui/uno/unodefaults.cxx
index bc22cbe..a41671f 100644
--- a/sw/source/ui/uno/unodefaults.cxx
+++ b/sw/source/ui/uno/unodefaults.cxx
@@ -34,23 +34,16 @@
#include <svx/unoprov.hxx>
#include <doc.hxx>
-/* -----------------------------13.03.01 14:16--------------------------------
-
- ---------------------------------------------------------------------------*/
SwSvxUnoDrawPool::SwSvxUnoDrawPool( SwDoc* pDoc ) throw() :
SvxUnoDrawPool(pDoc->GetDrawModel(), SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER),
m_pDoc(pDoc)
{
}
-/* -----------------------------13.03.01 14:16--------------------------------
- ---------------------------------------------------------------------------*/
SwSvxUnoDrawPool::~SwSvxUnoDrawPool() throw()
{
}
-/* -----------------------------13.03.01 14:16--------------------------------
- ---------------------------------------------------------------------------*/
SfxItemPool* SwSvxUnoDrawPool::getModelPool( sal_Bool /*bReadOnly*/ ) throw()
{
if(m_pDoc)
@@ -67,6 +60,3 @@ SfxItemPool* SwSvxUnoDrawPool::getModelPool( sal_Bool /*bReadOnly*/ ) throw()
}
return 0;
}
-
-
-
diff --git a/sw/source/ui/uno/unodispatch.cxx b/sw/source/ui/uno/unodispatch.cxx
index 24e3862..9256708 100644
--- a/sw/source/ui/uno/unodispatch.cxx
+++ b/sw/source/ui/uno/unodispatch.cxx
@@ -51,9 +51,7 @@ const char* cURLInsertContent =
".uno:DataSourceBrowser/InsertContent";//data i
const char* cURLInsertColumns = ".uno:DataSourceBrowser/InsertColumns";//data into text
const char* cURLDocumentDataSource = ".uno:DataSourceBrowser/DocumentDataSource";//current data
source of the document
const sal_Char* cInternalDBChangeNotification = ".uno::Writer/DataSourceChanged";
-/*-- 07.11.00 13:25:51---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDispatchProviderInterceptor::SwXDispatchProviderInterceptor(SwView& rVw) :
m_pView(&rVw)
{
@@ -71,15 +69,11 @@ SwXDispatchProviderInterceptor::SwXDispatchProviderInterceptor(SwView& rVw) :
m_refCount--;
}
}
-/*-- 07.11.00 13:25:51---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDispatchProviderInterceptor::~SwXDispatchProviderInterceptor()
{
}
-/*-- 07.11.00 13:25:51---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< frame::XDispatch > SwXDispatchProviderInterceptor::queryDispatch(
const util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags )
throw(uno::RuntimeException)
@@ -106,9 +100,7 @@ uno::Reference< frame::XDispatch > SwXDispatchProviderInterceptor::queryDispatch
return xResult;
}
-/*-- 07.11.00 13:25:52---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Sequence< uno::Reference< frame::XDispatch > >
SwXDispatchProviderInterceptor::queryDispatches(
const uno::Sequence< frame::DispatchDescriptor >& aDescripts ) throw(uno::RuntimeException)
{
@@ -123,45 +115,35 @@ uno::Sequence< uno::Reference< frame::XDispatch > >
SwXDispatchProviderIntercept
}
return aReturn;
}
-/*-- 07.11.00 13:25:52---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< frame::XDispatchProvider >
SwXDispatchProviderInterceptor::getSlaveDispatchProvider( )
throw(uno::RuntimeException)
{
DispatchMutexLock_Impl aLock(*this);
return m_xSlaveDispatcher;
}
-/*-- 07.11.00 13:25:52---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXDispatchProviderInterceptor::setSlaveDispatchProvider(
const uno::Reference< frame::XDispatchProvider >& xNewDispatchProvider )
throw(uno::RuntimeException)
{
DispatchMutexLock_Impl aLock(*this);
m_xSlaveDispatcher = xNewDispatchProvider;
}
-/*-- 07.11.00 13:25:52---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< frame::XDispatchProvider >
SwXDispatchProviderInterceptor::getMasterDispatchProvider( )
throw(uno::RuntimeException)
{
DispatchMutexLock_Impl aLock(*this);
return m_xMasterDispatcher;
}
-/*-- 07.11.00 13:25:52---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXDispatchProviderInterceptor::setMasterDispatchProvider(
const uno::Reference< frame::XDispatchProvider >& xNewSupplier ) throw(uno::RuntimeException)
{
DispatchMutexLock_Impl aLock(*this);
m_xMasterDispatcher = xNewSupplier;
}
-/*-- 07.11.00 13:25:53---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXDispatchProviderInterceptor::disposing( const lang::EventObject& )
throw(uno::RuntimeException)
{
@@ -176,17 +158,13 @@ void SwXDispatchProviderInterceptor::disposing( const lang::EventObject& )
}
m_xIntercepted = NULL;
}
-/* -----------------------------01.10.2001 14:31------------------------------
- ---------------------------------------------------------------------------*/
const uno::Sequence< sal_Int8 > & SwXDispatchProviderInterceptor::getUnoTunnelId()
{
static uno::Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();
return aSeq;
}
-/* -----------------------------01.10.2001 14:31------------------------------
- ---------------------------------------------------------------------------*/
sal_Int64 SwXDispatchProviderInterceptor::getSomething(
const uno::Sequence< sal_Int8 >& aIdentifier )
throw(uno::RuntimeException)
@@ -199,9 +177,7 @@ sal_Int64 SwXDispatchProviderInterceptor::getSomething(
}
return 0;
}
-/* -----------------------------01.10.2001 14:32------------------------------
- ---------------------------------------------------------------------------*/
void SwXDispatchProviderInterceptor::Invalidate()
{
DispatchMutexLock_Impl aLock(*this);
@@ -216,18 +192,14 @@ void SwXDispatchProviderInterceptor::Invalidate()
m_xIntercepted = NULL;
m_pView = 0;
}
-/* -----------------------------07.11.00 14:26--------------------------------
- ---------------------------------------------------------------------------*/
SwXDispatch::SwXDispatch(SwView& rVw) :
m_pView(&rVw),
m_bOldEnable(sal_False),
m_bListenerAdded(sal_False)
{
}
-/*-- 07.11.00 14:26:13---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDispatch::~SwXDispatch()
{
if(m_bListenerAdded && m_pView)
@@ -237,9 +209,7 @@ SwXDispatch::~SwXDispatch()
xSupplier->removeSelectionChangeListener(xThis);
}
}
-/*-- 07.11.00 14:26:13---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXDispatch::dispatch(
const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs )
throw(uno::RuntimeException)
{
@@ -300,9 +270,7 @@ void SwXDispatch::dispatch(
throw uno::RuntimeException();
}
-/*-- 07.11.00 14:26:13---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXDispatch::addStatusListener(
const uno::Reference< frame::XStatusListener >& xControl, const util::URL& aURL )
throw(uno::RuntimeException)
{
@@ -351,9 +319,7 @@ void SwXDispatch::addStatusListener(
m_bListenerAdded = sal_True;
}
}
-/*-- 07.11.00 14:26:15---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXDispatch::removeStatusListener(
const uno::Reference< frame::XStatusListener >& xControl, const util::URL& )
throw(uno::RuntimeException)
{
@@ -375,9 +341,7 @@ void SwXDispatch::removeStatusListener(
m_bListenerAdded = sal_False;
}
}
-/* -----------------------------07.03.01 10:27--------------------------------
- ---------------------------------------------------------------------------*/
void SwXDispatch::selectionChanged( const lang::EventObject& ) throw(uno::RuntimeException)
{
ShellModes eMode = m_pView->GetShellMode();
@@ -403,9 +367,7 @@ void SwXDispatch::selectionChanged( const lang::EventObject& ) throw(uno::Runti
}
}
}
-/* -----------------------------07.03.01 10:46--------------------------------
- ---------------------------------------------------------------------------*/
void SwXDispatch::disposing( const lang::EventObject& rSource ) throw(uno::RuntimeException)
{
uno::Reference<view::XSelectionSupplier> xSupplier(rSource.Source, uno::UNO_QUERY);
@@ -423,25 +385,19 @@ void SwXDispatch::disposing( const lang::EventObject& rSource )
throw(uno::Runti
}
m_pView = 0;
}
-/* -----------------------------12.07.01 13:30--------------------------------
- ---------------------------------------------------------------------------*/
const sal_Char* SwXDispatch::GetDBChangeURL()
{
return cInternalDBChangeNotification;
}
-/* -----------------------------09.09.2002 08:48------------------------------
- ---------------------------------------------------------------------------*/
SwXDispatchProviderInterceptor::DispatchMutexLock_Impl::DispatchMutexLock_Impl(
SwXDispatchProviderInterceptor& ) :
// aGuard(rInterceptor.m_aMutex) #102295# solar mutex has to be used currently
aGuard(Application::GetSolarMutex())
{
}
-/* -----------------------------09.09.2002 08:48------------------------------
- ---------------------------------------------------------------------------*/
SwXDispatchProviderInterceptor::DispatchMutexLock_Impl::~DispatchMutexLock_Impl()
{
}
diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx
index 3c319b3..e29ebd0 100644
--- a/sw/source/ui/uno/unomod.cxx
+++ b/sw/source/ui/uno/unomod.cxx
@@ -53,7 +53,6 @@
#include <edtwin.hxx>
#include <rtl/ustrbuf.hxx>
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -106,6 +105,7 @@ enum SwViewSettingsPropertyHandles
HANDLE_VIEWSET_HORI_RULER_METRIC,
HANDLE_VIEWSET_VERT_RULER_METRIC
};
+
enum SwPrintSettingsPropertyHandles
{
HANDLE_PRINTSET_ANNOTATION_MODE,
@@ -177,6 +177,7 @@ static ChainablePropertySetInfo * lcl_createViewSettingsInfo()
};
return new ChainablePropertySetInfo ( aViewSettingsMap_Impl );
}
+
static ChainablePropertySetInfo * lcl_createPrintSettingsInfo()
{
static PropertyInfo aPrintSettingsMap_Impl[] =
@@ -207,50 +208,37 @@ static ChainablePropertySetInfo * lcl_createPrintSettingsInfo()
/******************************************************************
* SwXModule
******************************************************************/
-/* -----------------30.03.99 15:10-------------------
- *
- * --------------------------------------------------*/
Reference< uno::XInterface > SAL_CALL SwXModule_createInstance(
const Reference< XMultiServiceFactory > & /*rSMgr*/) throw( Exception )
{
static Reference< uno::XInterface > xModule = (cppu::OWeakObject*)new SwXModule();;
return xModule;
}
-/* -----------------------------17.04.01 13:11--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SAL_CALL SwXModule_getSupportedServiceNames() throw()
{
OUString sService( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.GlobalSettings"));
const Sequence< OUString > aSeq( &sService, 1 );
return aSeq;
}
-/* -----------------------------17.04.01 13:11--------------------------------
- ---------------------------------------------------------------------------*/
OUString SAL_CALL SwXModule_getImplementationName() throw()
{
return OUString( RTL_CONSTASCII_USTRINGPARAM("SwXModule" ) );
}
-/*-- 17.12.98 12:19:01---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXModule::SwXModule() :
pxViewSettings(0),
pxPrintSettings(0)
{
}
-/*-- 17.12.98 12:19:02---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXModule::~SwXModule()
{
delete pxViewSettings;
delete pxPrintSettings;
}
-/*-- 17.12.98 12:19:03---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XPropertySet > SwXModule::getViewSettings(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -262,9 +250,7 @@ Reference< XPropertySet > SwXModule::getViewSettings(void) throw( uno::RuntimeE
}
return *pxViewSettings;
}
-/*-- 17.12.98 12:19:03---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XPropertySet > SwXModule::getPrintSettings(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -276,16 +262,12 @@ Reference< XPropertySet > SwXModule::getPrintSettings(void) throw(
uno::Runtime
}
return *pxPrintSettings;
}
-/* -----------------------------06.04.00 10:59--------------------------------
- ---------------------------------------------------------------------------*/
OUString SwXModule::getImplementationName(void) throw( RuntimeException )
{
return SwXModule_getImplementationName();
}
-/* -----------------------------06.04.00 10:59--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SwXModule::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
const Sequence< OUString > aNames = SwXModule_getSupportedServiceNames();
@@ -296,9 +278,7 @@ sal_Bool SwXModule::supportsService(const OUString& rServiceName) throw( Runtime
}
return FALSE;
}
-/* -----------------------------06.04.00 10:59--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SwXModule::getSupportedServiceNames(void) throw( RuntimeException )
{
return SwXModule_getSupportedServiceNames();
@@ -307,9 +287,6 @@ Sequence< OUString > SwXModule::getSupportedServiceNames(void) throw( RuntimeExc
/******************************************************************
* SwXPrintSettings
******************************************************************/
-/*-- 17.12.98 12:54:04---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXPrintSettings::SwXPrintSettings(SwXPrintSettingsType eType, SwDoc* pDoc)
: ChainableHelperNoState ( lcl_createPrintSettingsInfo (), &Application::GetSolarMutex() )
, meType(eType)
@@ -317,9 +294,7 @@ SwXPrintSettings::SwXPrintSettings(SwXPrintSettingsType eType, SwDoc* pDoc)
, mpDoc ( pDoc )
{
}
-/*-- 17.12.98 12:54:05---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXPrintSettings::~SwXPrintSettings()
throw()
{
@@ -481,6 +456,7 @@ void SwXPrintSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo,
throw UnknownPropertyException();
}
}
+
void SwXPrintSettings::_postSetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
@@ -513,6 +489,7 @@ void SwXPrintSettings::_preGetValues ()
break;
}
}
+
void SwXPrintSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, uno::Any & rValue )
throw(UnknownPropertyException, WrappedTargetException )
{
@@ -586,28 +563,23 @@ void SwXPrintSettings::_getSingleValue( const comphelper::PropertyInfo &
rInfo,
throw UnknownPropertyException();
}
}
+
void SwXPrintSettings::_postGetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
mpPrtOpt = NULL;
}
-/* -----------------------------06.04.00 11:02--------------------------------
- ---------------------------------------------------------------------------*/
OUString SwXPrintSettings::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXPrintSettings");
}
-/* -----------------------------06.04.00 11:02--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SwXPrintSettings::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
return C2U("com.sun.star.text.PrintSettings") == rServiceName;
}
-/* -----------------------------06.04.00 11:02--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SwXPrintSettings::getSupportedServiceNames(void) throw( RuntimeException )
{
Sequence< OUString > aRet(1);
@@ -616,13 +588,6 @@ Sequence< OUString > SwXPrintSettings::getSupportedServiceNames(void) throw(
Run
return aRet;
}
-
-/******************************************************************
- *
- ******************************************************************/
-/*-- 18.12.98 11:01:10---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXViewSettings::SwXViewSettings(sal_Bool bWebView, SwView* pVw)
: ChainableHelperNoState( lcl_createViewSettingsInfo (), &Application::GetSolarMutex() )
, pView(pVw)
@@ -640,14 +605,13 @@ SwXViewSettings::SwXViewSettings(sal_Bool bWebView, SwView* pVw)
mpInfo->remove ( OUString ( RTL_CONSTASCII_USTRINGPARAM ( "HelpURL" ) ) );
}
-/*-- 18.12.98 11:01:10---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXViewSettings::~SwXViewSettings()
throw()
{
}
+
void SwXViewSettings::_preSetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
@@ -666,6 +630,7 @@ void SwXViewSettings::_preSetValues ()
if(pView)
mpViewOption->SetStarOneSetting(sal_True);
}
+
void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const uno::Any
&rValue )
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
@@ -889,6 +854,7 @@ void SwXViewSettings::_preGetValues ()
else
mpConstViewOption = SW_MOD()->GetViewOption(bWeb);
}
+
void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, uno::Any & rValue )
throw(UnknownPropertyException, WrappedTargetException )
{
@@ -1031,6 +997,7 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo,
u
if( bBool )
rValue.setValue(&bBoolVal, ::getBooleanCppuType());
}
+
void SwXViewSettings::_postGetValues ()
throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
WrappedTargetException )
{
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index 2008dbc..4577cab 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -117,7 +117,6 @@
#include <osl/file.hxx>
#include <comphelper/storagehelper.hxx>
-
// --> FME 2004-06-08 #i12836# enhanced pdf export
#include <EnhancedPDFExportHelper.hxx>
// <--
@@ -167,9 +166,6 @@ using namespace ::com::sun::star::i18n;
using ::rtl::OUString;
using ::osl::FileBase;
-/* -----------------------------17.01.01 15:43--------------------------------
-
- ---------------------------------------------------------------------------*/
#define SW_CREATE_DASH_TABLE 0x01
#define SW_CREATE_GRADIENT_TABLE 0x02
#define SW_CREATE_HATCH_TABLE 0x03
@@ -178,11 +174,6 @@ using ::osl::FileBase;
#define SW_CREATE_MARKER_TABLE 0x06
#define SW_CREATE_DRAW_DEFAULTS 0x07
-
-/******************************************************************************
- *
- ******************************************************************************/
-
extern bool lcl_GetPostIts( IDocumentFieldsAccess* pIDFA, _SetGetExpFlds * pSrtLst );
SwPrintUIOptions * lcl_GetPrintUIOptions(
@@ -205,9 +196,6 @@ SwPrintUIOptions * lcl_GetPrintUIOptions(
return new SwPrintUIOptions( bWebDoc, bSwSrcView, bHasSelection, bHasPostIts, *pPrintData );
}
-////////////////////////////////////////////////////////////
-
-
SwTxtFmtColl *lcl_GetParaStyle(const String& rCollName, SwDoc* pDoc)
{
SwTxtFmtColl* pColl = pDoc->FindTxtFmtCollByName( rCollName );
@@ -219,6 +207,7 @@ SwTxtFmtColl *lcl_GetParaStyle(const String& rCollName, SwDoc* pDoc)
}
return pColl;
}
+
void lcl_DisposeView( SfxViewFrame* pToClose, SwDocShell* pDocShell )
{
// check if the view frame still exists
@@ -236,17 +225,13 @@ void lcl_DisposeView( SfxViewFrame* pToClose, SwDocShell* pDocShell )
FALSE );
}
}
-/* -----------------------------10.03.00 18:02--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence< sal_Int8 > & SwXTextDocument::getUnoTunnelId()
{
static Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();
return aSeq;
}
-/* -----------------------------10.03.00 18:04--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int64 SAL_CALL SwXTextDocument::getSomething( const Sequence< sal_Int8 >& rId )
throw(RuntimeException)
{
@@ -272,9 +257,7 @@ sal_Int64 SAL_CALL SwXTextDocument::getSomething( const Sequence< sal_Int8 >& rI
return SfxBaseModel::getSomething( rId );
}
-/* -----------------------------16.03.00 14:12--------------------------------
- ---------------------------------------------------------------------------*/
Any SAL_CALL SwXTextDocument::queryInterface( const uno::Type& rType ) throw(RuntimeException)
{
Any aRet = SwXTextDocumentBaseClass::queryInterface(rType);
@@ -302,30 +285,22 @@ Any SAL_CALL SwXTextDocument::queryInterface( const uno::Type& rType )
throw(Run
}
return aRet;
}
-/* -----------------------------16.03.00 14:12--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextDocument::acquire()throw()
{
SfxBaseModel::acquire();
}
-/* -----------------------------16.03.00 14:12--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextDocument::release()throw()
{
SfxBaseModel::release();
}
-/* -----------------------------07.12.00 11:37--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XAdapter > SwXTextDocument::queryAdapter( ) throw(RuntimeException)
{
return SfxBaseModel::queryAdapter();
}
-/* -----------------------------16.03.00 14:12--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< uno::Type > SAL_CALL SwXTextDocument::getTypes() throw(RuntimeException)
{
Sequence< uno::Type > aBaseTypes = SfxBaseModel::getTypes();
@@ -361,9 +336,7 @@ Sequence< uno::Type > SAL_CALL SwXTextDocument::getTypes() throw(RuntimeExceptio
pBaseTypes[nIndex++] = ::getCppuType((Reference<lang::XMultiServiceFactory>*)0);
return aBaseTypes;
}
-/*-- 18.12.98 11:52:59---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXTextDocument::SwXTextDocument(SwDocShell* pShell) :
SfxBaseModel(pShell),
@@ -405,9 +378,7 @@ SwXTextDocument::SwXTextDocument(SwDocShell* pShell) :
m_pRenderData( NULL )
{
}
-/*-- 18.12.98 11:53:00---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXTextDocument::~SwXTextDocument()
{
InitNewDoc();
@@ -421,13 +392,6 @@ SwXTextDocument::~SwXTextDocument()
delete m_pRenderData;
}
-
-/*-- 18.12.98 11:55:08---------------------------------------------------
-
- -----------------------------------------------------------------------*/
-/* -----------------18.12.98 12:49-------------------
- *
- * --------------------------------------------------*/
SwXDocumentPropertyHelper * SwXTextDocument::GetPropertyHelper ()
{
if(!xPropertyHelper.is())
@@ -437,6 +401,7 @@ SwXDocumentPropertyHelper * SwXTextDocument::GetPropertyHelper ()
}
return pPropertyHelper;
}
+
void SwXTextDocument::GetNumberFormatter()
{
if(IsValid())
@@ -471,9 +436,7 @@ void SwXTextDocument::GetNumberFormatter()
}
}
}
-/*-- 18.12.98 11:55:11---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XText > SwXTextDocument::getText(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -486,18 +449,14 @@ Reference< XText > SwXTextDocument::getText(void) throw( RuntimeException )
}
return xBodyText;
}
-/*-- 18.12.98 11:55:11---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::reformat(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
if(!IsValid())
throw RuntimeException();
}
-/*-- 18.12.98 11:55:16---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::lockControllers(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -509,9 +468,7 @@ void SwXTextDocument::lockControllers(void) throw( RuntimeException )
else
throw RuntimeException();
}
-/*-- 18.12.98 11:55:16---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::unlockControllers(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -524,32 +481,24 @@ void SwXTextDocument::unlockControllers(void) throw( RuntimeException )
else
throw RuntimeException();
}
-/*-- 18.12.98 11:55:17---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextDocument::hasControllersLocked(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
return aActionArr.Count() > 0;
}
-/*-- 18.12.98 13:12:23---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< frame::XController > SwXTextDocument::getCurrentController(void) throw(
RuntimeException )
{
return SfxBaseModel::getCurrentController();
}
-/*-- 18.12.98 13:12:24---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::setCurrentController(const Reference< frame::XController > & xController)
throw( NoSuchElementException, RuntimeException )
{
SfxBaseModel::setCurrentController(xController);
}
-/* -----------------27.01.99 11:48-------------------
- *
- * --------------------------------------------------*/
+
Reference< XInterface > SwXTextDocument::getCurrentSelection() throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -572,76 +521,54 @@ Reference< XInterface > SwXTextDocument::getCurrentSelection() throw(
RuntimeEx
return xRef;
}
-/*-- 18.12.98 13:12:24---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SwXTextDocument::attachResource(const OUString& aURL, const Sequence<
beans::PropertyValue >& aArgs)
throw( RuntimeException )
{
return SfxBaseModel::attachResource(aURL, aArgs);
}
-/*-- 18.12.98 13:12:24---------------------------------------------------
- -----------------------------------------------------------------------*/
OUString SwXTextDocument::getURL(void) throw( RuntimeException )
{
return SfxBaseModel::getURL();
}
-/*-- 18.12.98 13:12:24---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< beans::PropertyValue > SwXTextDocument::getArgs(void) throw( RuntimeException )
{
return SfxBaseModel::getArgs();
}
-/*-- 18.12.98 13:12:24---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::connectController(const Reference< frame::XController > & xController)
throw( RuntimeException )
{
SfxBaseModel::connectController(xController);
}
-/*-- 18.12.98 13:12:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::disconnectController(const Reference< frame::XController > & xController)
throw( RuntimeException )
{
SfxBaseModel::disconnectController(xController);
}
-/*-- 18.12.98 13:12:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::dispose(void) throw( RuntimeException )
{
SfxBaseModel::dispose();
}
-/*-- 10.05.2005 14:14:39---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::close( sal_Bool bDeliverOwnership ) throw( util::CloseVetoException,
RuntimeException )
{
if(IsValid() && m_pHiddenViewFrame)
lcl_DisposeView( m_pHiddenViewFrame, pDocShell);
SfxBaseModel::close(bDeliverOwnership);
}
-/*-- 18.12.98 13:12:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::addEventListener(const Reference< lang::XEventListener > & aListener) throw(
RuntimeException )
{
SfxBaseModel::addEventListener(aListener);
}
-/*-- 18.12.98 13:12:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::removeEventListener(const Reference< lang::XEventListener > & aListener)
throw( RuntimeException )
{
SfxBaseModel::removeEventListener(aListener);
}
-/*-- 18.12.98 11:55:19---------------------------------------------------
-
- -----------------------------------------------------------------------*/
Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties(void)
throw( RuntimeException )
{
@@ -658,9 +585,7 @@ Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties(void)
throw RuntimeException();
return *pxXLineNumberingProperties;
}
-/*-- 18.12.98 11:55:20---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XIndexReplace > SwXTextDocument::getChapterNumberingRules(void)
throw( RuntimeException )
{
@@ -688,9 +613,6 @@ Reference< XIndexAccess > SwXTextDocument::getNumberingRules(void) throw( Runti
return *pxXNumberingRules;
}
-/*-- 18.12.98 11:55:21---------------------------------------------------
-
- -----------------------------------------------------------------------*/
Reference< XIndexAccess > SwXTextDocument::getFootnotes(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -703,9 +625,7 @@ Reference< XIndexAccess > SwXTextDocument::getFootnotes(void) throw( RuntimeExc
}
return *pxXFootnotes;
}
-/*-- 18.12.98 11:55:21---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XPropertySet > SAL_CALL
SwXTextDocument::getFootnoteSettings(void) throw( RuntimeException )
{
@@ -719,9 +639,7 @@ Reference< XPropertySet > SAL_CALL
}
return *pxXFootnoteSettings;
}
-/*-- 18.12.98 11:55:21---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XIndexAccess > SwXTextDocument::getEndnotes(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -734,9 +652,7 @@ Reference< XIndexAccess > SwXTextDocument::getEndnotes(void) throw( RuntimeExce
}
return *pxXEndnotes;
}
-/*-- 18.12.98 11:55:22---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XPropertySet > SwXTextDocument::getEndnoteSettings(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -749,9 +665,7 @@ Reference< XPropertySet > SwXTextDocument::getEndnoteSettings(void) throw( Runt
}
return *pxXEndnoteSettings;
}
-/*-- 18.12.98 11:55:22---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< util::XReplaceDescriptor > SwXTextDocument::createReplaceDescriptor(void)
throw( RuntimeException )
{
@@ -759,9 +673,7 @@ Reference< util::XReplaceDescriptor > SwXTextDocument::createReplaceDescriptor(
Reference< util::XReplaceDescriptor > xRet = new SwXTextSearch;
return xRet;
}
-/* -----------------26.02.99 15:52-------------------
- *
- * --------------------------------------------------*/
+
SwUnoCrsr* SwXTextDocument::CreateCursorForSearch(Reference< XTextCursor > & xCrsr)
{
getText();
@@ -775,9 +687,6 @@ SwUnoCrsr* SwXTextDocument::CreateCursorForSearch(Reference< XTextCursor > & xC
return pUnoCrsr;
}
-/*-- 18.12.98 11:55:22---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Int32 SwXTextDocument::replaceAll(const Reference< util::XSearchDescriptor > & xDesc)
throw( RuntimeException )
{
@@ -850,9 +759,7 @@ sal_Int32 SwXTextDocument::replaceAll(const Reference< util::XSearchDescriptor >
return (sal_Int32)nResult;
}
-/*-- 18.12.98 11:55:22---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< util::XSearchDescriptor > SwXTextDocument::createSearchDescriptor(void)
throw( RuntimeException )
{
@@ -861,6 +768,7 @@ Reference< util::XSearchDescriptor > SwXTextDocument::createSearchDescriptor(vo
return xRet;
}
+
/* -----------------26.02.99 16:08-------------------
* wird fuer findAll/First/Next verwendet
* --------------------------------------------------*/
@@ -986,9 +894,7 @@ SwUnoCrsr* SwXTextDocument::FindAny(const Reference< util::XSearchDescriptor >
}
return pUnoCrsr;
}
-/*-- 18.12.98 11:55:23---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XIndexAccess >
SwXTextDocument::findAll(const Reference< util::XSearchDescriptor > & xDesc)
throw( RuntimeException )
@@ -1005,9 +911,7 @@ Reference< XIndexAccess >
delete pResultCrsr;
return xRet;
}
-/*-- 18.12.98 11:55:23---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XInterface > SwXTextDocument::findFirst(const Reference< util::XSearchDescriptor > &
xDesc)
throw( RuntimeException )
{
@@ -1029,9 +933,7 @@ Reference< XInterface > SwXTextDocument::findFirst(const Reference<
util::XSear
}
return xRet;
}
-/*-- 18.12.98 11:55:24---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XInterface > SwXTextDocument::findNext(const Reference< XInterface > & xStartAt,
const Reference< util::XSearchDescriptor > & xDesc)
throw( RuntimeException )
@@ -1057,9 +959,7 @@ Reference< XInterface > SwXTextDocument::findNext(const Reference< XInterface
}
return xRet;
}
-/*-- 18.12.98 11:55:24---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< beans::PropertyValue > SwXTextDocument::getPagePrintSettings(void)
throw( RuntimeException )
{
@@ -1097,9 +997,7 @@ Sequence< beans::PropertyValue > SwXTextDocument::getPagePrintSettings(void)
throw RuntimeException();
return aSeq;
}
-/* -----------------24.02.99 10:57-------------------
- *
- * --------------------------------------------------*/
+
sal_uInt32 lcl_Any_To_ULONG(const Any& rValue, sal_Bool& bException)
{
bException = sal_False;
@@ -1118,9 +1016,7 @@ sal_uInt32 lcl_Any_To_ULONG(const Any& rValue, sal_Bool& bException)
return nRet;
}
-/*-- 09.06.2004 12:18:10---------------------------------------------------
- -----------------------------------------------------------------------*/
String lcl_CreateOutlineString( USHORT nIndex,
const SwOutlineNodes& rOutlineNodes, const SwNumRule* pOutlRule)
{
@@ -1142,9 +1038,7 @@ String lcl_CreateOutlineString( USHORT nIndex,
GetTxtNode()->GetExpandTxt( 0, STRING_LEN, sal_False );
return sEntry;
}
-/*-- 18.12.98 11:55:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::setPagePrintSettings(const Sequence< beans::PropertyValue >& aSettings)
throw( RuntimeException )
{
@@ -1215,9 +1109,7 @@ void SwXTextDocument::setPagePrintSettings(const Sequence<
beans::PropertyValue
else
throw RuntimeException();
}
-/*-- 18.12.98 11:55:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::printPages(const Sequence< beans::PropertyValue >& xOptions)
throw( IllegalArgumentException, RuntimeException )
{
@@ -1303,9 +1195,7 @@ void SwXTextDocument::printPages(const Sequence< beans::PropertyValue >&
xOption
else
throw RuntimeException();
}
-/*-- 18.12.98 11:55:25---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getReferenceMarks(void)
throw( RuntimeException )
{
@@ -1319,9 +1209,7 @@ Reference< XNameAccess > SwXTextDocument::getReferenceMarks(void)
}
return *pxXReferenceMarks;
}
-/* -----------------21.12.98 10:20-------------------
- *
- * --------------------------------------------------*/
+
Reference< XEnumerationAccess > SwXTextDocument::getTextFields(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1334,9 +1222,7 @@ Reference< XEnumerationAccess > SwXTextDocument::getTextFields(void) throw(
Run
}
return *pxXTextFieldTypes;
}
-/*-- 21.12.98 10:21:12---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getTextFieldMasters(void)
throw( RuntimeException )
{
@@ -1350,9 +1236,7 @@ Reference< XNameAccess > SwXTextDocument::getTextFieldMasters(void)
}
return *pxXTextFieldMasters;
}
-/*-- 21.12.98 10:21:12---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1365,9 +1249,7 @@ Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects(void) throw(
Runti
}
return *pxXEmbeddedObjects;
}
-/*-- 21.12.98 10:21:13---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getBookmarks(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1380,9 +1262,7 @@ Reference< XNameAccess > SwXTextDocument::getBookmarks(void) throw(
RuntimeExce
}
return *pxXBookmarks;
}
-/*-- 21.12.98 10:21:13---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getTextSections(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1395,9 +1275,7 @@ Reference< XNameAccess > SwXTextDocument::getTextSections(void) throw(
RuntimeE
}
return *pxXTextSections;
}
-/*-- 21.12.98 10:21:13---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getTextTables(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1410,9 +1288,7 @@ Reference< XNameAccess > SwXTextDocument::getTextTables(void) throw(
RuntimeExc
}
return *pxXTextTables;
}
-/*-- 21.12.98 10:21:13---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getGraphicObjects(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1425,9 +1301,7 @@ Reference< XNameAccess > SwXTextDocument::getGraphicObjects(void) throw(
Runtim
}
return *pxXGraphicObjects;
}
-/*-- 21.12.98 10:21:14---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getTextFrames(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1440,9 +1314,7 @@ Reference< XNameAccess > SwXTextDocument::getTextFrames(void) throw(
RuntimeExc
}
return *pxXTextFrames;
}
-/* -----------------21.12.98 10:56-------------------
- *
- * --------------------------------------------------*/
+
Reference< XNameAccess > SwXTextDocument::getStyleFamilies(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1455,9 +1327,7 @@ Reference< XNameAccess > SwXTextDocument::getStyleFamilies(void) throw(
Runtime
}
return *pxXStyleFamilies;
}
-/*-- 19.05.06 10:15:22---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< style::XAutoStyles > SwXTextDocument::getAutoStyles( )
throw (uno::RuntimeException)
{
@@ -1472,9 +1342,7 @@ uno::Reference< style::XAutoStyles > SwXTextDocument::getAutoStyles( )
return *pxXAutoStyles;
}
-/*-- 22.01.99 10:18:03---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< drawing::XDrawPage > SwXTextDocument::getDrawPage(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1494,9 +1362,7 @@ Reference< drawing::XDrawPage > SwXTextDocument::getDrawPage(void) throw(
Runti
}
return *pxXDrawPage;
}
-/* -----------------07.04.99 10:11-------------------
- *
- * --------------------------------------------------*/
+
SwXDrawPage* SwXTextDocument::GetDrawPage()
{
if(!IsValid())
@@ -1505,9 +1371,7 @@ SwXDrawPage* SwXTextDocument::GetDrawPage()
getDrawPage();
return pDrawPage;
}
-/*-- 18.12.98 11:55:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::Invalidate()
{
bObjectValid = sal_False;
@@ -1529,9 +1393,7 @@ void SwXTextDocument::Invalidate()
pDocShell = 0;
aRefreshCont.Disposing();
}
-/* -----------------------------13.07.00 15:59--------------------------------
- ---------------------------------------------------------------------------*/
void SwXTextDocument::Reactivate(SwDocShell* pNewDocShell)
{
if(pDocShell && pDocShell != pNewDocShell)
@@ -1539,9 +1401,7 @@ void SwXTextDocument::Reactivate(SwDocShell* pNewDocShell)
pDocShell = pNewDocShell;
bObjectValid = TRUE;
}
-/*-- 18.12.98 11:55:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::InitNewDoc()
{
// zunaechst alle Collections invalidieren, dann Referenzen loeschen und Null setzen
@@ -1750,9 +1610,6 @@ void SwXTextDocument::InitNewDoc()
}
}
-/*-- 11.03.99 11:51:40---------------------------------------------------
-
- -----------------------------------------------------------------------*/
#define COM_SUN_STAR__DRAWING_LENGTH 13
Reference< XInterface > SwXTextDocument::createInstance(const OUString& rServiceName)
throw( Exception, RuntimeException )
@@ -1860,9 +1717,7 @@ Reference< XInterface > SwXTextDocument::createInstance(const OUString&
rServic
}
return xRet;
}
-/*-- 11.03.99 11:51:40---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XInterface > SwXTextDocument::createInstanceWithArguments(
const OUString& ServiceSpecifier,
const Sequence< Any >& /*Arguments*/)
@@ -1873,9 +1728,7 @@ Reference< XInterface > SwXTextDocument::createInstanceWithArguments(
//Parameter zwingend angewiesen sind - bis jetzt haben wir das nicht
return xInt;
}
-/*-- 11.03.99 11:51:41---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< OUString > SwXTextDocument::getAvailableServiceNames(void)
throw( RuntimeException )
{
@@ -1899,16 +1752,12 @@ Sequence< OUString > SwXTextDocument::getAvailableServiceNames(void)
return aServices;
}
-/* -----------------18.03.99 11:36-------------------
- *
- * --------------------------------------------------*/
+
OUString SwXTextDocument::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXTextDocument");
}
-/* -----------------20.01.04 10:14-------------------
- *
- * --------------------------------------------------*/
+
sal_Bool SwXTextDocument::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
if (
@@ -1927,9 +1776,7 @@ sal_Bool SwXTextDocument::supportsService(const OUString& rServiceName)
throw( R
(bTextDoc &&
rServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.TextDocument" )))
);
}
-/* -----------------20.01.04 10:17-------------------
- *
- * --------------------------------------------------*/
+
Sequence< OUString > SwXTextDocument::getSupportedServiceNames(void) throw( RuntimeException )
{
BOOL bWebDoc = (0 != PTR_CAST(SwWebDocShell, pDocShell));
@@ -1953,9 +1800,7 @@ Sequence< OUString > SwXTextDocument::getSupportedServiceNames(void) throw(
Runt
return aRet;
}
-/* -----------------05.05.99 12:10-------------------
- *
- * --------------------------------------------------*/
+
Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1969,17 +1814,12 @@ Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes(void) throw(
Runt
return *pxXDocumentIndexes;
}
-/*-- 10.05.99 13:58:58---------------------------------------------------
-
- -----------------------------------------------------------------------*/
Reference< XPropertySetInfo > SwXTextDocument::getPropertySetInfo(void) throw( RuntimeException )
{
static Reference< XPropertySetInfo > xRet = pPropSet->getPropertySetInfo();
return xRet;
}
-/*-- 10.05.99 13:58:58---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::setPropertyValue(const OUString& rPropertyName,
const Any& aValue)
throw( UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
@@ -2157,9 +1997,7 @@ void SwXTextDocument::setPropertyValue(const OUString& rPropertyName,
}
}
}
-/*-- 10.05.99 13:58:59---------------------------------------------------
- -----------------------------------------------------------------------*/
Any SwXTextDocument::getPropertyValue(const OUString& rPropertyName)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
@@ -2309,45 +2147,35 @@ Any SwXTextDocument::getPropertyValue(const OUString& rPropertyName)
}
return aAny;
}
-/*-- 10.05.99 13:58:59---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::addPropertyChangeListener(const OUString& /*PropertyName*/,
const Reference< XPropertyChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
DBG_WARNING("not implemented");
}
-/*-- 10.05.99 13:58:59---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::removePropertyChangeListener(const OUString& /*PropertyName*/,
const Reference< XPropertyChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
DBG_WARNING("not implemented");
}
-/*-- 10.05.99 13:59:00---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::addVetoableChangeListener(const OUString& /*PropertyName*/,
const Reference< XVetoableChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
DBG_WARNING("not implemented");
}
-/*-- 10.05.99 13:59:00---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::removeVetoableChangeListener(const OUString& /*PropertyName*/,
const Reference< XVetoableChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
DBG_WARNING("not implemented");
}
-/* -----------------25.10.99 10:42-------------------
- --------------------------------------------------*/
Reference< XNameAccess > SwXTextDocument::getLinks(void) throw( RuntimeException )
{
if(!pxLinkTargetSupplier)
@@ -2357,9 +2185,7 @@ Reference< XNameAccess > SwXTextDocument::getLinks(void) throw(
RuntimeExceptio
}
return (*pxLinkTargetSupplier);
}
-/* -----------------------------11.01.01 15:01--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XEnumerationAccess > SwXTextDocument::getRedlines( ) throw(RuntimeException)
{
if(!pxXRedlines)
@@ -2369,9 +2195,7 @@ Reference< XEnumerationAccess > SwXTextDocument::getRedlines( )
throw(RuntimeEx
}
return *pxXRedlines;
}
-/*-- 21.02.00 08:41:06---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::refresh(void) throw( RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -2382,9 +2206,7 @@ void SwXTextDocument::refresh(void) throw( RuntimeException )
if(pWrtShell)
pWrtShell->CalcLayout();
}
-/*-- 21.02.00 08:41:06---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::addRefreshListener(const Reference< util::XRefreshListener > & l)
throw( RuntimeException )
{
@@ -2393,9 +2215,7 @@ void SwXTextDocument::addRefreshListener(const Reference<
util::XRefreshListener
throw RuntimeException();
aRefreshCont.AddListener ( reinterpret_cast < const Reference < lang::XEventListener > &> ( l
));
}
-/*-- 21.02.00 08:41:07---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextDocument::removeRefreshListener(const Reference< util::XRefreshListener > & l)
throw( RuntimeException )
{
@@ -2403,9 +2223,7 @@ void SwXTextDocument::removeRefreshListener(const Reference<
util::XRefreshListe
if ( !IsValid() || !aRefreshCont.RemoveListener ( reinterpret_cast < const Reference <
lang::XEventListener > &> ( l ) ) )
throw RuntimeException();
}
-/* -----------------------------26.02.01 12:22--------------------------------
- ---------------------------------------------------------------------------*/
void SwXTextDocument::updateLinks( ) throw(RuntimeException)
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -2419,6 +2237,7 @@ void SwXTextDocument::updateLinks( ) throw(RuntimeException)
rLnkMan.UpdateAllLinks( FALSE, FALSE, TRUE );
}
}
+
//XPropertyState
PropertyState SAL_CALL SwXTextDocument::getPropertyState( const OUString& rPropertyName )
throw (UnknownPropertyException, RuntimeException)
@@ -2438,6 +2257,7 @@ PropertyState SAL_CALL SwXTextDocument::getPropertyState( const OUString&
rPrope
}
return eRet;
}
+
Sequence< PropertyState > SAL_CALL SwXTextDocument::getPropertyStates( const Sequence< OUString >&
rPropertyNames )
throw (UnknownPropertyException, RuntimeException)
{
@@ -2451,6 +2271,7 @@ Sequence< PropertyState > SAL_CALL SwXTextDocument::getPropertyStates( const
Seq
return aRet;
}
+
void SAL_CALL SwXTextDocument::setPropertyToDefault( const OUString& rPropertyName )
throw (UnknownPropertyException, RuntimeException)
{
@@ -2465,6 +2286,7 @@ void SAL_CALL SwXTextDocument::setPropertyToDefault( const OUString&
rPropertyNa
case 0:default:break;
}
}
+
Any SAL_CALL SwXTextDocument::getPropertyDefault( const OUString& rPropertyName )
throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
{
@@ -2498,7 +2320,6 @@ static OutputDevice * lcl_GetOutputDevice( const SwPrintUIOptions
&rPrintUIOptio
return pOut;
}
-
static bool lcl_SeqHasProperty(
const uno::Sequence< beans::PropertyValue >& rOptions,
const sal_Char *pPropName )
@@ -2514,7 +2335,6 @@ static bool lcl_SeqHasProperty(
return bRes;
}
-
SfxViewShell * SwXTextDocument::GetRenderView(
bool &rbIsSwSrcView,
const uno::Sequence< beans::PropertyValue >& rOptions,
@@ -2548,7 +2368,6 @@ SfxViewShell * SwXTextDocument::GetRenderView(
return pView;
}
-
/*
* GetRenderDoc:
* returns the document to be rendered, usually this will be the 'regular'
@@ -2557,7 +2376,6 @@ SfxViewShell * SwXTextDocument::GetRenderView(
* The rpView variable will be set (if not already done) to the used
* SfxViewShell.
*/
-
SwDoc * SwXTextDocument::GetRenderDoc(
SfxViewShell *&rpView,
const uno::Any& rSelection,
@@ -2610,10 +2428,6 @@ SwDoc * SwXTextDocument::GetRenderDoc(
return pDoc;
}
-/* -----------------------------23.08.02 16:00--------------------------------
-
- ---------------------------------------------------------------------------*/
-
static void lcl_SavePrintUIOptionsToDocumentPrintData(
SwDoc &rDoc,
const SwPrintUIOptions &rPrintUIOptions,
@@ -2648,7 +2462,6 @@ static void lcl_SavePrintUIOptionsToDocumentPrintData(
pDocPrintData->SetPrintTextPlaceholder( rPrintUIOptions.IsPrintTextPlaceholders() );
}
-
sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
const uno::Any& rSelection,
const uno::Sequence< beans::PropertyValue >& rxOptions )
@@ -2798,9 +2611,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
return nRet;
}
-/* -----------------------------23.08.02 16:00--------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer(
sal_Int32 nRenderer,
const uno::Any& rSelection,
@@ -2939,9 +2750,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer(
return aRenderer;
}
-/* -----------------------------28.10.02 16:00--------------------------------
- ---------------------------------------------------------------------------*/
SfxViewShell * SwXTextDocument::GuessViewShell(
/* out */ bool &rbIsSwSrcView,
const uno::Reference< css::frame::XController > xController )
@@ -2984,7 +2793,6 @@ SfxViewShell * SwXTextDocument::GuessViewShell(
// dynamic_cast< SfxViewShell * >(pSwPagePreView) );
}
-
void SAL_CALL SwXTextDocument::render(
sal_Int32 nRenderer,
const uno::Any& rSelection,
@@ -3138,10 +2946,8 @@ void SAL_CALL SwXTextDocument::render(
delete m_pPrintUIOptions; m_pPrintUIOptions = NULL;
}
}
-/* -----------------------------03.10.04 -------------------------------------
- ---------------------------------------------------------------------------*/
- // xforms::XFormsSupplier
+// xforms::XFormsSupplier
Reference<XNameContainer> SAL_CALL SwXTextDocument::getXForms()
throw( RuntimeException )
{
@@ -3151,17 +2957,12 @@ Reference<XNameContainer> SAL_CALL SwXTextDocument::getXForms()
return pDoc->getXForms();
}
-/* -----------------------------25.09.07 -------------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Reference< text::XFlatParagraphIterator > SAL_CALL
SwXTextDocument::getFlatParagraphIterator(::sal_Int32 nTextMarkupType, sal_Bool bAutomatic)
throw ( uno::RuntimeException )
{
return new SwXFlatParagraphIterator( *pDocShell->GetDoc(), nTextMarkupType, bAutomatic );
}
-/*-- 07.05.2009 09:21:12---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< util::XCloneable > SwXTextDocument::createClone( ) throw (uno::RuntimeException)
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -3177,22 +2978,17 @@ uno::Reference< util::XCloneable > SwXTextDocument::createClone( ) throw
(uno::
xStorageDoc->loadFromStorage( xNewStorage, aTempMediaDescriptor );
return uno::Reference< util::XCloneable >( xNewModel, UNO_QUERY );
}
-/* -----------------------------20.06.00 09:54--------------------------------
- ---------------------------------------------------------------------------*/
void * SAL_CALL SwXTextDocument::operator new( size_t t) throw()
{
return SwXTextDocumentBaseClass::operator new(t);
}
-/* -----------------------------20.06.00 09:54--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextDocument::operator delete( void * p) throw()
{
SwXTextDocumentBaseClass::operator delete(p);
}
-
/*---------------------------------------------------
retrieve languages already used in current document
-----------------------------------------------------*/
@@ -3389,9 +3185,6 @@ uno::Sequence< lang::Locale > SAL_CALL SwXTextDocument::getDocumentLanguages(
return aLanguages;
}
-/* -----------------25.10.99 11:06-------------------
-
- --------------------------------------------------*/
SwXLinkTargetSupplier::SwXLinkTargetSupplier(SwXTextDocument& rxDoc) :
pxDoc(&rxDoc)
{
@@ -3403,16 +3196,11 @@ SwXLinkTargetSupplier::SwXLinkTargetSupplier(SwXTextDocument& rxDoc) :
sOutlines = String(SW_RES(STR_CONTENT_TYPE_OUTLINE));
sBookmarks = String(SW_RES(STR_CONTENT_TYPE_BOOKMARK));
}
-/* -----------------25.10.99 11:11-------------------
- --------------------------------------------------*/
SwXLinkTargetSupplier::~SwXLinkTargetSupplier()
{
}
-/*-- 25.10.99 11:12:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
Any SwXLinkTargetSupplier::getByName(const OUString& rName)
throw( NoSuchElementException, WrappedTargetException, RuntimeException )
{
@@ -3490,9 +3278,7 @@ Any SwXLinkTargetSupplier::getByName(const OUString& rName)
throw NoSuchElementException();
return aRet;
}
-/*-- 25.10.99 11:12:46---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< OUString > SwXLinkTargetSupplier::getElementNames(void)
throw( RuntimeException )
{
@@ -3507,9 +3293,7 @@ Sequence< OUString > SwXLinkTargetSupplier::getElementNames(void)
pNames[6] = sBookmarks;
return aRet;
}
-/*-- 25.10.99 11:12:46---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXLinkTargetSupplier::hasByName(const OUString& rName)
throw( RuntimeException )
{
@@ -3524,40 +3308,30 @@ sal_Bool SwXLinkTargetSupplier::hasByName(const OUString& rName)
return sal_True;
return sal_False;
}
-/*-- 25.10.99 11:12:47---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Type SwXLinkTargetSupplier::getElementType(void)
throw( RuntimeException )
{
return ::getCppuType((Reference< XPropertySet>*)0);
}
-/*-- 25.10.99 11:12:47---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXLinkTargetSupplier::hasElements(void) throw( RuntimeException )
{
return 0 != pxDoc;
}
-/*-- 25.10.99 11:12:47---------------------------------------------------
- -----------------------------------------------------------------------*/
OUString SwXLinkTargetSupplier::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXLinkTargetSupplier");
}
-/*-- 25.10.99 11:12:48---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXLinkTargetSupplier::supportsService(const OUString& rServiceName)
throw( RuntimeException )
{
return (rServiceName == C2U("com.sun.star.document.LinkTargets"));
}
-/*-- 25.10.99 11:12:48---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< OUString > SwXLinkTargetSupplier::getSupportedServiceNames(void)
throw( RuntimeException )
{
@@ -3567,9 +3341,6 @@ Sequence< OUString > SwXLinkTargetSupplier::getSupportedServiceNames(void)
return aRet;
}
-/*-- 26.10.99 09:16:23---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper(
Reference< XNameAccess > xAccess, const String& rLinkDisplayName, String sSuffix ) :
xRealAccess(xAccess),
@@ -3579,9 +3350,7 @@ SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper(
pxDoc(0)
{
}
-/* -----------------26.10.99 14:17-------------------
- --------------------------------------------------*/
SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper(SwXTextDocument& rxDoc,
const String& rLinkDisplayName, String sSuffix) :
pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_LINK_TARGET)),
@@ -3591,15 +3360,11 @@ SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper(SwXTextDocument& rxDoc,
pxDoc(&rxDoc)
{
}
-/*-- 26.10.99 09:16:23---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXLinkNameAccessWrapper::~SwXLinkNameAccessWrapper()
{
}
-/*-- 26.10.99 09:16:24---------------------------------------------------
- -----------------------------------------------------------------------*/
Any SwXLinkNameAccessWrapper::getByName(const OUString& rName)
throw( NoSuchElementException, WrappedTargetException, RuntimeException )
{
@@ -3651,9 +3416,7 @@ Any SwXLinkNameAccessWrapper::getByName(const OUString& rName)
throw NoSuchElementException();
return aRet;
}
-/*-- 26.10.99 09:16:24---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< OUString > SwXLinkNameAccessWrapper::getElementNames(void)
throw( RuntimeException )
{
@@ -3691,9 +3454,7 @@ Sequence< OUString > SwXLinkNameAccessWrapper::getElementNames(void)
}
return aRet;
}
-/*-- 26.10.99 09:16:25---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXLinkNameAccessWrapper::hasByName(const OUString& rName)
throw( RuntimeException )
{
@@ -3732,17 +3493,13 @@ sal_Bool SwXLinkNameAccessWrapper::hasByName(const OUString& rName)
}
return bRet;
}
-/*-- 26.10.99 09:16:25---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Type SwXLinkNameAccessWrapper::getElementType(void)
throw( RuntimeException )
{
return ::getCppuType((Reference<XPropertySet>*)0);
}
-/*-- 26.10.99 09:16:25---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXLinkNameAccessWrapper::hasElements(void) throw( RuntimeException )
{
sal_Bool bRet = sal_False;
@@ -3756,18 +3513,14 @@ sal_Bool SwXLinkNameAccessWrapper::hasElements(void) throw(
RuntimeException )
}
return bRet;
}
-/*-- 26.10.99 09:16:26---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XPropertySetInfo > SwXLinkNameAccessWrapper::getPropertySetInfo(void)
throw( RuntimeException )
{
static Reference< XPropertySetInfo > xRet = pPropSet->getPropertySetInfo();
return xRet;
}
-/*-- 26.10.99 09:16:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXLinkNameAccessWrapper::setPropertyValue(
const OUString& , const Any& )
throw( UnknownPropertyException,
@@ -3778,9 +3531,7 @@ void SwXLinkNameAccessWrapper::setPropertyValue(
{
throw UnknownPropertyException();
}
-/* -----------------------------08.12.99 11:10--------------------------------
- ---------------------------------------------------------------------------*/
Any lcl_GetDisplayBitmap(String sLinkSuffix)
{
Any aRet;
@@ -3816,9 +3567,7 @@ Any lcl_GetDisplayBitmap(String sLinkSuffix)
}
return aRet;
}
-/*-- 26.10.99 09:16:27---------------------------------------------------
- -----------------------------------------------------------------------*/
Any SwXLinkNameAccessWrapper::getPropertyValue(const OUString& rPropertyName)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
@@ -3835,62 +3584,44 @@ Any SwXLinkNameAccessWrapper::getPropertyValue(const OUString&
rPropertyName)
throw UnknownPropertyException();
return aRet;
}
-/*-- 26.10.99 09:16:27---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXLinkNameAccessWrapper::addPropertyChangeListener(
const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{}
-/*-- 26.10.99 09:16:28---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXLinkNameAccessWrapper::removePropertyChangeListener(
const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{}
-/*-- 26.10.99 09:16:28---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXLinkNameAccessWrapper::addVetoableChangeListener(
const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{}
-/*-- 26.10.99 09:16:29---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXLinkNameAccessWrapper::removeVetoableChangeListener(
const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{}
-/*-- 26.10.99 09:16:32---------------------------------------------------
-
- -----------------------------------------------------------------------*/
Reference< XNameAccess > SwXLinkNameAccessWrapper::getLinks(void)
throw( RuntimeException )
{
return (SwXLinkNameAccessWrapper*)this;
}
-/*-- 26.10.99 09:21:48---------------------------------------------------
-
- -----------------------------------------------------------------------*/
OUString SwXLinkNameAccessWrapper::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXLinkNameAccessWrapper");
}
-/*-- 26.10.99 09:21:48---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXLinkNameAccessWrapper::supportsService(const OUString& rServiceName)
throw( RuntimeException )
{
return (rServiceName == C2U("com.sun.star.document.LinkTargets"));
}
-/*-- 26.10.99 09:21:48---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< OUString > SwXLinkNameAccessWrapper::getSupportedServiceNames(void)
throw( RuntimeException )
{
@@ -3899,31 +3630,23 @@ Sequence< OUString >
SwXLinkNameAccessWrapper::getSupportedServiceNames(void)
pNames[0] = C2U("com.sun.star.document.LinkTargets");
return aRet;
}
-/* -----------------26.10.99 15:50-------------------
- --------------------------------------------------*/
SwXOutlineTarget::SwXOutlineTarget(const String& rOutlineText) :
pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_LINK_TARGET)),
sOutlineText(rOutlineText)
{
}
-/*-- 26.10.99 15:51:45---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXOutlineTarget::~SwXOutlineTarget()
{
}
-/*-- 26.10.99 15:51:46---------------------------------------------------
- -----------------------------------------------------------------------*/
Reference< XPropertySetInfo > SwXOutlineTarget::getPropertySetInfo(void) throw( RuntimeException )
{
static Reference< XPropertySetInfo > xRet = pPropSet->getPropertySetInfo();
return xRet;
}
-/*-- 26.10.99 15:51:46---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXOutlineTarget::setPropertyValue(
const OUString& /*PropertyName*/, const Any& /*aValue*/)
throw( UnknownPropertyException, PropertyVetoException,
@@ -3931,9 +3654,7 @@ void SwXOutlineTarget::setPropertyValue(
{
throw UnknownPropertyException();
}
-/*-- 26.10.99 15:51:46---------------------------------------------------
- -----------------------------------------------------------------------*/
Any SwXOutlineTarget::getPropertyValue(const OUString& rPropertyName)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
@@ -3944,55 +3665,41 @@ Any SwXOutlineTarget::getPropertyValue(const OUString& rPropertyName)
throw UnknownPropertyException();
return aRet;
}
-/*-- 26.10.99 15:51:46---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXOutlineTarget::addPropertyChangeListener(
const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
}
-/*-- 26.10.99 15:51:47---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXOutlineTarget::removePropertyChangeListener(
const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
}
-/*-- 26.10.99 15:51:47---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXOutlineTarget::addVetoableChangeListener(
const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
}
-/*-- 26.10.99 15:51:47---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXOutlineTarget::removeVetoableChangeListener(
const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/)
throw( UnknownPropertyException, WrappedTargetException, RuntimeException )
{
}
-/* -----------------03.05.99 12:28-------------------
- *
- * --------------------------------------------------*/
+
OUString SwXOutlineTarget::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXOutlineTarget");
}
-/* -----------------03.05.99 12:28-------------------
- *
- * --------------------------------------------------*/
+
sal_Bool SwXOutlineTarget::supportsService(const OUString& ServiceName) throw( RuntimeException )
{
return C2U("com.sun.star.document.LinkTarget") == ServiceName;
}
-/* -----------------03.05.99 12:28-------------------
- *
- * --------------------------------------------------*/
+
Sequence< OUString > SwXOutlineTarget::getSupportedServiceNames(void) throw( RuntimeException )
{
Sequence < OUString > aRet(1);
@@ -4001,23 +3708,17 @@ Sequence< OUString > SwXOutlineTarget::getSupportedServiceNames(void)
throw( Run
return aRet;
}
-/* -----------------------------17.01.01 16:06--------------------------------
- ---------------------------------------------------------------------------*/
SwXDocumentPropertyHelper::SwXDocumentPropertyHelper(SwDoc& rDoc) :
SvxUnoForbiddenCharsTable ( rDoc.getForbiddenCharacterTable() )
,m_pDoc(&rDoc)
{
}
-/* -----------------------------17.01.01 16:06--------------------------------
- ---------------------------------------------------------------------------*/
SwXDocumentPropertyHelper::~SwXDocumentPropertyHelper()
{
}
-/* -----------------------------17.01.01 16:06--------------------------------
- ---------------------------------------------------------------------------*/
Reference<XInterface> SwXDocumentPropertyHelper::GetDrawTable(short nWhich)
{
Reference<XInterface> xRet;
@@ -4083,31 +3784,24 @@ void SwXDocumentPropertyHelper::Invalidate()
m_pDoc = 0;
SvxUnoForbiddenCharsTable::mxForbiddenChars.unbind();
}
-/* -----------------13.08.2003 12:43-----------------
- --------------------------------------------------*/
void SwXDocumentPropertyHelper::onChange()
{
if(m_pDoc)
m_pDoc->SetModified();
}
-
-/*****************************************************************************/
-
SwViewOptionAdjust_Impl::SwViewOptionAdjust_Impl( SwWrtShell& rSh, const SwViewOption
&rViewOptions ) :
m_rShell( rSh ),
m_aOldViewOptions( rViewOptions )
{
}
-
SwViewOptionAdjust_Impl::~SwViewOptionAdjust_Impl()
{
m_rShell.ApplyViewOptions( m_aOldViewOptions );
}
-
void SwViewOptionAdjust_Impl::AdjustViewOptions(
const SwPrtOptions *pPrtOptions )
{
@@ -4163,8 +3857,3 @@ void SwViewOptionAdjust_Impl::AdjustViewOptions(
m_rShell.ApplyViewOptions( aRenderViewOptions );
}
}
-
-
-/*****************************************************************************/
-
-
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 8ba286f..66cbdfe 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -85,7 +85,6 @@
#include "swdtflvr.hxx"
#include <vcl/svapp.hxx>
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -100,21 +99,16 @@ using comphelper::HelperBaseNoState;
SV_IMPL_PTRARR( SelectionChangeListenerArr, XSelectionChangeListenerPtr );
-/* -----------------22.05.98 12:20-------------------
- *
- * --------------------------------------------------*/
SwPaM* lcl_createPamCopy(const SwPaM& rPam)
{
SwPaM *const pRet = new SwPaM(*rPam.GetPoint());
::sw::DeepCopyPaM(rPam, *pRet);
return pRet;
}
+
/******************************************************************
* SwXTextView
******************************************************************/
-/*-- 17.12.98 09:34:25---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXTextView::SwXTextView(SwView* pSwView) :
SfxBaseController(pSwView),
m_pView(pSwView),
@@ -124,16 +118,12 @@ SwXTextView::SwXTextView(SwView* pSwView) :
{
}
-/*-- 17.12.98 09:34:25---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXTextView::~SwXTextView()
{
Invalidate();
}
-/* -----------------------------09.03.01 15:47--------------------------------
- ---------------------------------------------------------------------------*/
void SwXTextView::Invalidate()
{
if(pxViewSettings)
@@ -174,9 +164,6 @@ void SwXTextView::Invalidate()
m_pView = 0;
}
-/* -----------------------------18.05.00 10:18--------------------------------
-
- ---------------------------------------------------------------------------*/
Sequence< uno::Type > SAL_CALL SwXTextView::getTypes( ) throw(uno::RuntimeException)
{
// uno::Sequence< uno::Type > aViewTypes = SwXTextViewBaseClass::getTypes();
@@ -197,9 +184,7 @@ Sequence< uno::Type > SAL_CALL SwXTextView::getTypes( ) throw(uno::RuntimeExcep
pBaseTypes[nIndex++] = ::getCppuType((uno::Reference<datatransfer::XTransferableSupplier >*)0);
return aBaseTypes;
}
-/* -----------------------------18.05.00 10:18--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< sal_Int8 > SAL_CALL SwXTextView::getImplementationId( ) throw(uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -212,23 +197,17 @@ Sequence< sal_Int8 > SAL_CALL SwXTextView::getImplementationId( )
throw(uno::Ru
}
return aId;
}
-/* -----------------------------18.05.00 10:18--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextView::acquire( )throw()
{
SfxBaseController::acquire();
}
-/* -----------------------------18.05.00 10:18--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextView::release( )throw()
{
SfxBaseController::release();
}
-/* -----------------------------18.05.00 10:23--------------------------------
- ---------------------------------------------------------------------------*/
uno::Any SAL_CALL SwXTextView::queryInterface( const uno::Type& aType )
throw (RuntimeException)
{
@@ -282,9 +261,7 @@ uno::Any SAL_CALL SwXTextView::queryInterface( const uno::Type& aType )
aRet = SfxBaseController::queryInterface(aType);
return aRet;
}
-/*-- 17.12.98 09:34:26---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextView::select(const uno::Any& aInterface) throw( lang::IllegalArgumentException,
uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -529,9 +506,7 @@ sal_Bool SwXTextView::select(const uno::Any& aInterface) throw( lang::IllegalArg
return sal_False;
}
-/*-- 17.12.98 09:34:26---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Any SwXTextView::getSelection(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -635,9 +610,7 @@ uno::Any SwXTextView::getSelection(void) throw( uno::RuntimeException )
uno::Any aRet(&aRef, ::getCppuType((uno::Reference<uno::XInterface>*)0));
return aRet;
}
-/*-- 17.12.98 09:34:27---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextView::addSelectionChangeListener(
const uno::Reference< view::XSelectionChangeListener > &
rxListener)
throw( uno::RuntimeException )
@@ -647,9 +620,7 @@ void SwXTextView::addSelectionChangeListener(
*pInsert = rxListener;
aSelChangedListeners.Insert(pInsert, aSelChangedListeners.Count());
}
-/*-- 17.12.98 09:34:27---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextView::removeSelectionChangeListener(
const uno::Reference< view::XSelectionChangeListener > &
rxListener)
throw( uno::RuntimeException )
@@ -668,9 +639,7 @@ void SwXTextView::removeSelectionChangeListener(
}
}
}
-/* -----------------------------01.06.01 14:41--------------------------------
- ---------------------------------------------------------------------------*/
SdrObject* SwXTextView::GetControl(
const uno::Reference< awt::XControlModel > & xModel,
uno::Reference< awt::XControl >& xToFill )
@@ -687,9 +656,7 @@ SdrObject* SwXTextView::GetControl(
pControl = pFormShell->GetFormControl( xModel, *pDrawView, *pWindow, xToFill );
return pControl;
}
-/*-- 17.12.98 09:34:27---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< awt::XControl > SwXTextView::getControl(const uno::Reference< awt::XControlModel
& xModel)
throw( container::NoSuchElementException, uno::RuntimeException )
{
@@ -699,9 +666,6 @@ uno::Reference< awt::XControl > SwXTextView::getControl(const uno::Reference< a
return xRet;
}
-/*-- 08.03.07 13:55------------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormController( const
uno::Reference< form::XForm >& _Form ) throw (RuntimeException)
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
@@ -718,9 +682,6 @@ uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormCo
return xController;
}
-/*-- 08.03.07 13:55------------------------------------------------------
-
- -----------------------------------------------------------------------*/
::sal_Bool SAL_CALL SwXTextView::isFormDesignMode( ) throw (uno::RuntimeException)
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
@@ -729,9 +690,6 @@ uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormCo
return pFormShell ? pFormShell->IsDesignMode() : sal_True;
}
-/*-- 08.03.07 13:55------------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL SwXTextView::setFormDesignMode( ::sal_Bool _DesignMode ) throw (RuntimeException)
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
@@ -741,9 +699,6 @@ void SAL_CALL SwXTextView::setFormDesignMode( ::sal_Bool _DesignMode ) throw (Ru
pFormShell->SetDesignMode( _DesignMode );
}
-/*-- 17.12.98 09:34:28---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor(void) throw(
uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -759,9 +714,7 @@ uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor(void) throw(
else
throw uno::RuntimeException();
}
-/*-- 17.12.98 09:34:28---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings(void) throw(
uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -777,9 +730,7 @@ uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings(void) throw(
throw uno::RuntimeException();
return *pxViewSettings;
}
-/* -----------------------------30.01.01 15:01--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAutomatic*/ )
throw(RuntimeException)
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -825,9 +776,7 @@ Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAuto
}
return aRet;
}
-/* -----------------------------30.01.01 15:02--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextView::setRubyList(
const Sequence< Sequence< PropertyValue > >& rRubyList, sal_Bool /*bAutomatic*/ )
throw(RuntimeException)
@@ -900,9 +849,7 @@ void SAL_CALL SwXTextView::setRubyList(
SwDoc* pDoc = m_pView->GetDocShell()->GetDoc();
pDoc->SetRubyList( *rSh.GetCrsr(), aList, 0 );
}
-/*-- 29.12.02 15:45:29---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxObjectShellRef SwXTextView::BuildTmpSelectionDoc( SfxObjectShellRef& /*rRef*/ )
{
SwWrtShell& rOldSh = m_pView->GetWrtShell();
@@ -935,9 +882,6 @@ SfxObjectShellRef SwXTextView::BuildTmpSelectionDoc( SfxObjectShellRef& /*rRef*/
return xDocSh;
}
-/*-- 17.12.98 09:34:29---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SwXTextView::NotifySelChanged()
{
DBG_ASSERT( m_pView, "view is missing" );
@@ -961,9 +905,7 @@ void SwXTextView::NotifySelChanged()
(*pObj)->selectionChanged(aEvent);
}
}
-/* -----------------------------12.07.01 13:26--------------------------------
- ---------------------------------------------------------------------------*/
void SwXTextView::NotifyDBChanged()
{
URL aURL;
@@ -979,10 +921,6 @@ void SwXTextView::NotifyDBChanged()
}
}
-/* -----------------------------10.12.04 11:07--------------------------------
-
- ---------------------------------------------------------------------------*/
-
uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXTextView::getPropertySetInfo( )
throw (uno::RuntimeException)
{
@@ -991,7 +929,6 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXTextView::getPropertySetIn
return aRef;
}
-
void SAL_CALL SwXTextView::setPropertyValue(
const OUString& rPropertyName, const uno::Any& rValue )
throw (beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException)
@@ -1027,7 +964,6 @@ void SAL_CALL SwXTextView::setPropertyValue(
}
}
-
uno::Any SAL_CALL SwXTextView::getPropertyValue(
const OUString& rPropertyName )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
@@ -1080,7 +1016,6 @@ uno::Any SAL_CALL SwXTextView::getPropertyValue(
return aRet;
}
-
void SAL_CALL SwXTextView::addPropertyChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*rxListener*/ )
@@ -1089,7 +1024,6 @@ void SAL_CALL SwXTextView::addPropertyChangeListener(
DBG_WARNING("not implemented");
}
-
void SAL_CALL SwXTextView::removePropertyChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*rxListener*/ )
@@ -1098,7 +1032,6 @@ void SAL_CALL SwXTextView::removePropertyChangeListener(
DBG_WARNING("not implemented");
}
-
void SAL_CALL SwXTextView::addVetoableChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*rxListener*/ )
@@ -1107,7 +1040,6 @@ void SAL_CALL SwXTextView::addVetoableChangeListener(
DBG_WARNING("not implemented");
}
-
void SAL_CALL SwXTextView::removeVetoableChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*rxListener*/ )
@@ -1116,24 +1048,17 @@ void SAL_CALL SwXTextView::removeVetoableChangeListener(
DBG_WARNING("not implemented");
}
-/* -----------------------------06.04.00 11:07--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString SwXTextView::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXTextView");
}
-/* -----------------------------06.04.00 11:07--------------------------------
- ---------------------------------------------------------------------------*/
BOOL SwXTextView::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
return rServiceName.equalsAscii("com.sun.star.text.TextDocumentView") ||
rServiceName.equalsAscii("com.sun.star.view.OfficeDocumentView");
}
-/* -----------------------------06.04.00 11:07--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SwXTextView::getSupportedServiceNames(void) throw( RuntimeException )
{
Sequence< OUString > aRet(2);
@@ -1146,23 +1071,15 @@ Sequence< OUString > SwXTextView::getSupportedServiceNames(void) throw(
RuntimeE
/******************************************************************
* SwXTextViewCursor
******************************************************************/
-/*-- 17.12.98 09:36:23---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXTextViewCursor::SwXTextViewCursor(SwView* pVw) :
m_pView(pVw),
m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_CURSOR))
{
}
-/*-- 17.12.98 09:36:24---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXTextViewCursor::~SwXTextViewCursor()
{
}
-/*-- 06.10.04 09:36:25---------------------------------------------------
-
- -----------------------------------------------------------------------*/
// used to determine if there is a text selction or not.
// If there is no text selection the functions that need a working
@@ -1172,7 +1089,6 @@ SwXTextViewCursor::~SwXTextViewCursor()
// - XTextCursor
// - XTextRange
// - XLineCursor
-
sal_Bool SwXTextViewCursor::IsTextSelection( sal_Bool bAllowTables ) const
{
@@ -1190,26 +1106,19 @@ sal_Bool SwXTextViewCursor::IsTextSelection( sal_Bool bAllowTables ) const
return bRes;
}
-/*-- 17.12.98 09:36:25---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::isVisible(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
DBG_WARNING("not implemented");
return sal_True;
}
-/*-- 17.12.98 09:36:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::setVisible(sal_Bool /*bVisible*/) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
DBG_WARNING("not implemented");
}
-/*-- 17.12.98 09:36:26---------------------------------------------------
- -----------------------------------------------------------------------*/
awt::Point SwXTextViewCursor::getPosition(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1233,9 +1142,7 @@ awt::Point SwXTextViewCursor::getPosition(void) throw( uno::RuntimeException )
throw uno::RuntimeException();
return aRet;
}
-/*-- 17.12.98 09:36:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::collapseToStart(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1258,9 +1165,7 @@ void SwXTextViewCursor::collapseToStart(void) throw( uno::RuntimeException )
else
throw uno::RuntimeException();
}
-/*-- 17.12.98 09:36:26---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::collapseToEnd(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1283,9 +1188,7 @@ void SwXTextViewCursor::collapseToEnd(void) throw( uno::RuntimeException )
else
throw uno::RuntimeException();
}
-/*-- 17.12.98 09:36:27---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::isCollapsed(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1303,9 +1206,7 @@ sal_Bool SwXTextViewCursor::isCollapsed(void) throw( uno::RuntimeException )
return bRet;
}
-/*-- 17.12.98 09:36:27---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::goLeft(sal_Int16 nCount, sal_Bool bExpand) throw(
uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1322,9 +1223,7 @@ sal_Bool SwXTextViewCursor::goLeft(sal_Int16 nCount, sal_Bool bExpand) throw(
un
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:27---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::goRight(sal_Int16 nCount, sal_Bool bExpand) throw(
uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1342,9 +1241,7 @@ sal_Bool SwXTextViewCursor::goRight(sal_Int16 nCount, sal_Bool bExpand)
throw( u
return bRet;
}
-/* -----------------08.03.99 11:18-------------------
- *
- * --------------------------------------------------*/
+
void SwXTextViewCursor::gotoRange(
const uno::Reference< text::XTextRange > & xRange,
sal_Bool bExpand)
@@ -1486,9 +1383,7 @@ void SwXTextViewCursor::gotoRange(
throw uno::RuntimeException();
}
-/*-- 17.12.98 09:36:28---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::gotoStart(sal_Bool bExpand) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1502,9 +1397,7 @@ void SwXTextViewCursor::gotoStart(sal_Bool bExpand) throw(
uno::RuntimeException
else
throw uno::RuntimeException();
}
-/*-- 17.12.98 09:36:28---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1518,9 +1411,7 @@ void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) throw(
uno::RuntimeException )
else
throw uno::RuntimeException();
}
-/*-- 17.12.98 09:36:28---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToFirstPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1540,9 +1431,7 @@ sal_Bool SwXTextViewCursor::jumpToFirstPage(void) throw(
uno::RuntimeException )
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:29---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToLastPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1563,9 +1452,7 @@ sal_Bool SwXTextViewCursor::jumpToLastPage(void) throw( uno::RuntimeException
)
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:30---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToPage(sal_Int16 nPage) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1576,9 +1463,7 @@ sal_Bool SwXTextViewCursor::jumpToPage(sal_Int16 nPage) throw(
uno::RuntimeExcep
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:30---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToNextPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1589,9 +1474,7 @@ sal_Bool SwXTextViewCursor::jumpToNextPage(void) throw( uno::RuntimeException
)
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:31---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToPreviousPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1602,9 +1485,7 @@ sal_Bool SwXTextViewCursor::jumpToPreviousPage(void) throw(
uno::RuntimeExceptio
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:32---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToEndOfPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1615,9 +1496,7 @@ sal_Bool SwXTextViewCursor::jumpToEndOfPage(void) throw(
uno::RuntimeException )
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:32---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::jumpToStartOfPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1628,9 +1507,7 @@ sal_Bool SwXTextViewCursor::jumpToStartOfPage(void) throw(
uno::RuntimeException
throw uno::RuntimeException();
return bRet;
}
-/* -----------------04.10.99 14:21-------------------
- --------------------------------------------------*/
sal_Int16 SwXTextViewCursor::getPage(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1645,9 +1522,7 @@ sal_Int16 SwXTextViewCursor::getPage(void) throw( uno::RuntimeException )
throw uno::RuntimeException();
return nRet;
}
-/*-- 17.12.98 09:36:33---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::screenDown(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1663,9 +1538,7 @@ sal_Bool SwXTextViewCursor::screenDown(void) throw( uno::RuntimeException )
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 09:36:33---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::screenUp(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1681,9 +1554,7 @@ sal_Bool SwXTextViewCursor::screenUp(void) throw( uno::RuntimeException )
throw uno::RuntimeException();
return bRet;
}
-/*-- 17.12.98 11:59:05---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XText > SwXTextViewCursor::getText(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1702,9 +1573,7 @@ uno::Reference< text::XText > SwXTextViewCursor::getText(void) throw(
uno::Runt
throw uno::RuntimeException();
return xRet;
}
-/*-- 17.12.98 11:59:05---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SwXTextViewCursor::getStart(void) throw( uno::RuntimeException
)
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1723,9 +1592,7 @@ uno::Reference< text::XTextRange > SwXTextViewCursor::getStart(void) throw(
uno
throw uno::RuntimeException();
return xRet;
}
-/*-- 17.12.98 11:59:06---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1744,9 +1611,7 @@ uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd(void) throw(
uno::
throw uno::RuntimeException();
return xRet;
}
-/* -----------------12.10.99 09:03-------------------
- --------------------------------------------------*/
OUString SwXTextViewCursor::getString(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1777,9 +1642,7 @@ OUString SwXTextViewCursor::getString(void) throw( uno::RuntimeException )
}
return uRet;
}
-/*-- 17.12.98 11:59:06---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::setString(const OUString& aString) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1809,17 +1672,12 @@ void SwXTextViewCursor::setString(const OUString& aString) throw(
uno::RuntimeEx
}
}
-/*-- 29.06.00 17:33:38---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< XPropertySetInfo > SwXTextViewCursor::getPropertySetInfo( )
throw(RuntimeException)
{
static uno::Reference< XPropertySetInfo > xRef = m_pPropSet->getPropertySetInfo();
return xRef;
}
-/*-- 29.06.00 17:33:39---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::setPropertyValue( const OUString& rPropertyName, const Any& aValue )
throw(UnknownPropertyException, PropertyVetoException,
IllegalArgumentException, WrappedTargetException, RuntimeException)
@@ -1841,9 +1699,7 @@ void SwXTextViewCursor::setPropertyValue( const OUString& rPropertyName,
const
else
throw RuntimeException();
}
-/*-- 29.06.00 17:33:39---------------------------------------------------
- -----------------------------------------------------------------------*/
Any SwXTextViewCursor::getPropertyValue( const OUString& rPropertyName )
throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
{
@@ -1860,40 +1716,30 @@ Any SwXTextViewCursor::getPropertyValue( const OUString& rPropertyName )
throw RuntimeException();
return aRet;
}
-/*-- 29.06.00 17:33:40---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::addPropertyChangeListener(
const OUString& /*aPropertyName*/, const uno::Reference< XPropertyChangeListener >&
/*xListener*/ )
throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
{
}
-/*-- 29.06.00 17:33:40---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::removePropertyChangeListener(
const OUString& /*aPropertyName*/, const uno::Reference< XPropertyChangeListener >&
/*aListener*/ )
throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
{
}
-/*-- 29.06.00 17:33:41---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::addVetoableChangeListener(
const OUString& /*PropertyName*/, const uno::Reference< XVetoableChangeListener >&
/*aListener*/ )
throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
{
}
-/*-- 29.06.00 17:33:41---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::removeVetoableChangeListener(
const OUString& /*PropertyName*/, const uno::Reference< XVetoableChangeListener >&
/*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
{
}
-/*-- 29.06.00 17:33:41---------------------------------------------------
- -----------------------------------------------------------------------*/
PropertyState SwXTextViewCursor::getPropertyState( const OUString& rPropertyName )
throw(UnknownPropertyException, RuntimeException)
{
@@ -1910,9 +1756,7 @@ PropertyState SwXTextViewCursor::getPropertyState( const OUString&
rPropertyNam
throw RuntimeException();
return eState;
}
-/*-- 29.06.00 17:33:42---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence< PropertyState > SwXTextViewCursor::getPropertyStates(
const Sequence< OUString >& rPropertyNames ) throw(UnknownPropertyException, RuntimeException)
{
@@ -1927,9 +1771,7 @@ Sequence< PropertyState > SwXTextViewCursor::getPropertyStates(
}
return aRet;
}
-/*-- 29.06.00 17:33:42---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::setPropertyToDefault( const OUString& rPropertyName )
throw(UnknownPropertyException, RuntimeException)
{
@@ -1942,9 +1784,7 @@ void SwXTextViewCursor::setPropertyToDefault( const OUString& rPropertyName )
*pShellCrsr, *m_pPropSet, rPropertyName);
}
}
-/*-- 29.06.00 17:33:43---------------------------------------------------
- -----------------------------------------------------------------------*/
Any SwXTextViewCursor::getPropertyDefault( const OUString& rPropertyName )
throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
{
@@ -1959,9 +1799,7 @@ Any SwXTextViewCursor::getPropertyDefault( const OUString& rPropertyName )
}
return aRet;
}
-/*-- 28.09.99 08:31:19---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand) throw(
uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1978,9 +1816,7 @@ sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand) throw(
un
throw uno::RuntimeException();
return bRet;
}
-/*-- 28.09.99 08:31:20---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::goUp(sal_Int16 nCount, sal_Bool bExpand) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1997,9 +1833,7 @@ sal_Bool SwXTextViewCursor::goUp(sal_Int16 nCount, sal_Bool bExpand) throw(
uno:
throw uno::RuntimeException();
return bRet;
}
-/*-- 28.09.99 08:31:20---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::isAtStartOfLine(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -2015,9 +1849,7 @@ sal_Bool SwXTextViewCursor::isAtStartOfLine(void) throw(
uno::RuntimeException )
throw uno::RuntimeException();
return bRet;
}
-/*-- 28.09.99 08:31:21---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwXTextViewCursor::isAtEndOfLine(void) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -2033,9 +1865,7 @@ sal_Bool SwXTextViewCursor::isAtEndOfLine(void) throw( uno::RuntimeException )
throw uno::RuntimeException();
return bRet;
}
-/*-- 28.09.99 08:31:21---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::gotoEndOfLine(sal_Bool bExpand) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -2049,9 +1879,7 @@ void SwXTextViewCursor::gotoEndOfLine(sal_Bool bExpand) throw(
uno::RuntimeExcep
else
throw uno::RuntimeException();
}
-/*-- 28.09.99 08:31:22---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand) throw( uno::RuntimeException )
{
::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -2065,16 +1893,12 @@ void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand) throw(
uno::RuntimeExc
else
throw uno::RuntimeException();
}
-/* -----------------------------06.04.00 11:07--------------------------------
- ---------------------------------------------------------------------------*/
OUString SwXTextViewCursor::getImplementationName(void) throw( RuntimeException )
{
return C2U("SwXTextViewCursor");
}
-/* -----------------------------06.04.00 11:07--------------------------------
- ---------------------------------------------------------------------------*/
BOOL SwXTextViewCursor::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
return !rServiceName.compareToAscii("com.sun.star.text.TextViewCursor") ||
@@ -2085,9 +1909,7 @@ BOOL SwXTextViewCursor::supportsService(const OUString& rServiceName) throw(
Run
!rServiceName.compareToAscii("com.sun.star.style.ParagraphPropertiesAsian") ||
!rServiceName.compareToAscii("com.sun.star.style.ParagraphPropertiesComplex");
}
-/* -----------------------------06.04.00 11:07--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames(void) throw( RuntimeException )
{
Sequence< OUString > aRet(7);
@@ -2101,17 +1923,13 @@ Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames(void)
throw( Ru
pArray[6] = C2U("com.sun.star.style.ParagraphPropertiesComplex");
return aRet;
}
-/* -----------------------------03.03.03 11:07--------------------------------
- ---------------------------------------------------------------------------*/
const uno::Sequence< sal_Int8 > & SwXTextViewCursor::getUnoTunnelId()
{
static uno::Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();
return aSeq;
}
-/* -----------------------------03.03.03 11:07--------------------------------
- ---------------------------------------------------------------------------*/
//XUnoTunnel
sal_Int64 SAL_CALL SwXTextViewCursor::getSomething(
const uno::Sequence< sal_Int8 >& rId )
@@ -2125,7 +1943,6 @@ sal_Int64 SAL_CALL SwXTextViewCursor::getSomething(
}
return OTextCursorHelper::getSomething(rId);;
}
-// -----------------------------------------------------------------------------
IMPLEMENT_FORWARD_XINTERFACE2(SwXTextViewCursor,SwXTextViewCursor_Base,OTextCursorHelper)
const SwDoc* SwXTextViewCursor::GetDoc() const
@@ -2133,19 +1950,19 @@ const SwDoc* SwXTextViewCursor::GetDoc() const
SwWrtShell& rSh = m_pView->GetWrtShell();
return rSh.GetCrsr() ? rSh.GetCrsr()->GetDoc() : 0;
}
-// -----------------------------------------------------------------------------
+
SwDoc* SwXTextViewCursor::GetDoc()
{
SwWrtShell& rSh = m_pView->GetWrtShell();
return rSh.GetCrsr() ? rSh.GetCrsr()->GetDoc() : 0;
}
-// -----------------------------------------------------------------------------
+
const SwPaM* SwXTextViewCursor::GetPaM() const
{
SwWrtShell& rSh = m_pView->GetWrtShell();
return rSh.GetCrsr();
}
-// -----------------------------------------------------------------------------
+
SwPaM* SwXTextViewCursor::GetPaM()
{
SwWrtShell& rSh = m_pView->GetWrtShell();
@@ -2201,6 +2018,3 @@ void SAL_CALL SwXTextView::insertTransferable( const uno::Reference<
datatransfe
}
}
}
-
-// -----------------------------------------------------------------------------
-
Context
- [Libreoffice] [PATCH 1/1] Cleanup: remove bogus comments from uno directory · Prashant Shah
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.