automaticly -> automatically.
Change-Id: Iae55083160eee86ac8301f272634dd3ae65fd847
This commit is contained in:
parent
367b254c73
commit
e6ac6cbccf
@ -395,7 +395,7 @@ void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( Runt
|
||||
// is it a top window ?
|
||||
if ( !getContext().is() && bVisible )
|
||||
{
|
||||
// then show it automaticly
|
||||
// then show it automatically
|
||||
createPeer ( Reference< XToolkit > (), Reference< XWindowPeer > () );
|
||||
}
|
||||
}
|
||||
|
@ -784,7 +784,7 @@ void BaseControl::impl_paint( sal_Int32 /*nX*/
|
||||
|
||||
void BaseControl::impl_recalcLayout( const WindowEvent& /*aEvent*/ )
|
||||
{
|
||||
// We need as virtual function to support automaticly resizing of derived controls!
|
||||
// We need as virtual function to support automatically resizing of derived controls!
|
||||
// But we make it not pure virtual because it's not necessary for all derived classes!
|
||||
}
|
||||
|
||||
|
@ -237,7 +237,7 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( Ru
|
||||
}
|
||||
else
|
||||
{
|
||||
// Change Min and Max automaticly
|
||||
// Change Min and Max automatically
|
||||
m_nMinRange = nMax;
|
||||
m_nMaxRange = nMin;
|
||||
}
|
||||
|
@ -82,12 +82,12 @@ ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext >
|
||||
addControl ( CONTROLNAME_BUTTON, xRef_Button );
|
||||
addControl ( CONTROLNAME_PROGRESSBAR, m_xProgressBar.get() );
|
||||
|
||||
// FixedText make it automaticly visible by himself ... but not the progressbar !!!
|
||||
// FixedText make it automatically visible by himself ... but not the progressbar !!!
|
||||
// it must be set explicitly
|
||||
m_xProgressBar->setVisible( sal_True );
|
||||
|
||||
// Reset to defaults !!!
|
||||
// (progressbar take automaticly its own defaults)
|
||||
// (progressbar take automatically its own defaults)
|
||||
m_xButton->setLabel ( DEFAULT_BUTTONLABEL );
|
||||
m_xTopic_Top->setText ( PROGRESSMONITOR_DEFAULT_TOPIC );
|
||||
m_xText_Top->setText ( PROGRESSMONITOR_DEFAULT_TEXT );
|
||||
@ -535,7 +535,7 @@ void SAL_CALL ProgressMonitor::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int3
|
||||
// calc new layout for controls
|
||||
impl_recalcLayout ();
|
||||
// clear background (!)
|
||||
// [Children were repainted in "recalcLayout" by setPosSize() automaticly!]
|
||||
// [Children were repainted in "recalcLayout" by setPosSize() automatically!]
|
||||
getPeer()->invalidate(2);
|
||||
// and repaint the control
|
||||
impl_paint ( 0, 0, impl_getGraphicsPeer() );
|
||||
|
@ -55,11 +55,11 @@ StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >
|
||||
// ... and add controls to basecontainercontrol!
|
||||
addControl( CONTROLNAME_TEXT, xTextControl );
|
||||
addControl( CONTROLNAME_PROGRESSBAR, m_xProgressBar.get() );
|
||||
// FixedText make it automaticly visible by himself ... but not the progressbar !!!
|
||||
// FixedText make it automatically visible by himself ... but not the progressbar !!!
|
||||
// it must be set explicitly
|
||||
m_xProgressBar->setVisible( sal_True );
|
||||
// Reset to defaults !!!
|
||||
// (progressbar take automaticly its own defaults)
|
||||
// (progressbar take automatically its own defaults)
|
||||
m_xText->setText( STATUSINDICATOR_DEFAULT_TEXT );
|
||||
|
||||
--m_refCount;
|
||||
@ -349,7 +349,7 @@ void SAL_CALL StatusIndicator::setPosSize (
|
||||
// calc new layout for controls
|
||||
impl_recalcLayout ( WindowEvent(static_cast< OWeakObject* >(this),0,0,nWidth,nHeight,0,0,0,0) );
|
||||
// clear background (!)
|
||||
// [Children were repainted in "recalcLayout" by setPosSize() automaticly!]
|
||||
// [Children were repainted in "recalcLayout" by setPosSize() automatically!]
|
||||
getPeer()->invalidate(2);
|
||||
// and repaint the control
|
||||
impl_paint ( 0, 0, impl_getGraphicsPeer() );
|
||||
|
@ -172,7 +172,7 @@ void OComponentHelper::dispose()
|
||||
EventObject aEvt;
|
||||
aEvt.Source = xSource;
|
||||
// inform all listeners to release this object
|
||||
// The listener container are automaticly cleared
|
||||
// The listener container are automatically cleared
|
||||
rBHelper.aLC.disposeAndClear( aEvt );
|
||||
// notify subclasses to do their dispose
|
||||
disposing();
|
||||
|
@ -344,7 +344,7 @@ void OPropertySetHelper::removePropertyChangeListener(
|
||||
{
|
||||
MutexGuard aGuard( rBHelper.rMutex );
|
||||
OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" );
|
||||
// all listeners are automaticly released in a dispose call
|
||||
// all listeners are automatically released in a dispose call
|
||||
if( !rBHelper.bInDispose && !rBHelper.bDisposed )
|
||||
{
|
||||
if( !rPropertyName.isEmpty() )
|
||||
@ -424,7 +424,7 @@ void OPropertySetHelper::removeVetoableChangeListener(
|
||||
{
|
||||
MutexGuard aGuard( rBHelper.rMutex );
|
||||
OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" );
|
||||
// all listeners are automaticly released in a dispose call
|
||||
// all listeners are automatically released in a dispose call
|
||||
if( !rBHelper.bInDispose && !rBHelper.bDisposed )
|
||||
{
|
||||
if( !rPropertyName.isEmpty() )
|
||||
|
@ -2083,7 +2083,7 @@ void ImpEditEngine::ImpAdjustBlocks( ParaPortion* pParaPortion, EditLine* pLine,
|
||||
pLastPortion->GetSize().Width()++;
|
||||
|
||||
// Correct positions in array
|
||||
// Even for kashidas just change positions, VCL will then draw the kashida automaticly
|
||||
// Even for kashidas just change positions, VCL will then draw the kashida automatically
|
||||
sal_Int32 nPortionEnd = nPortionStart + pLastPortion->GetLen();
|
||||
for ( sal_Int32 _n = nChar; _n < nPortionEnd; _n++ )
|
||||
{
|
||||
|
2
filter/source/config/cache/basecontainer.cxx
vendored
2
filter/source/config/cache/basecontainer.cxx
vendored
@ -235,7 +235,7 @@ void SAL_CALL BaseContainer::removeByName(const OUString& sItem)
|
||||
impl_initFlushMode();
|
||||
|
||||
FilterCache* pCache = impl_getWorkingCache();
|
||||
pCache->removeItem(m_eType, sItem); // throw exceptions automaticly
|
||||
pCache->removeItem(m_eType, sItem); // throw exceptions automatically
|
||||
|
||||
aLock.clear();
|
||||
// <- SAFE ----------------------------------
|
||||
|
4
filter/source/config/cache/basecontainer.hxx
vendored
4
filter/source/config/cache/basecontainer.hxx
vendored
@ -92,7 +92,7 @@ class BaseContainer : public BaseLock
|
||||
|
||||
m_pFlushCache and m_rCache must not be synchronized manually here.
|
||||
m_rCache listen on the global configuration, where m_pFlushCache
|
||||
write its data. m_rCache update itself automaticly.
|
||||
write its data. m_rCache update itself automatically.
|
||||
*/
|
||||
FilterCache* m_pFlushCache;
|
||||
|
||||
@ -168,7 +168,7 @@ class BaseContainer : public BaseLock
|
||||
|
||||
|
||||
/** @short check if the underlying configuration data was already loaded
|
||||
and do it if necessary automaticly.
|
||||
and do it if necessary automatically.
|
||||
*/
|
||||
void impl_loadOnDemand();
|
||||
|
||||
|
18
filter/source/config/cache/filtercache.cxx
vendored
18
filter/source/config/cache/filtercache.cxx
vendored
@ -368,7 +368,7 @@ CacheItem FilterCache::getItem( EItemType eType,
|
||||
{
|
||||
// ... or load it on demand from the
|
||||
// underlying configuration layer.
|
||||
// Note: NoSuchElementException is thrown automaticly here if
|
||||
// Note: NoSuchElementException is thrown automatically here if
|
||||
// item could not be loaded!
|
||||
pIt = impl_loadItemOnDemand(eType, sItem);
|
||||
}
|
||||
@ -547,8 +547,8 @@ void FilterCache::addStatePropsToItem( EItemType eType,
|
||||
May by the following reason exists:
|
||||
- The item does not exists inside the new configuration package org.openoffice.TypeDetection - but
|
||||
we got it from the old package org.openoffice.Office/TypeDetection. We dont migrate such items
|
||||
automaticly to the new format. Because it will disturb e.g. the deinstallation of an external filter
|
||||
package. Because such external filter can remove the old file - but not the automaticly created new one ...
|
||||
automatically to the new format. Because it will disturb e.g. the deinstallation of an external filter
|
||||
package. Because such external filter can remove the old file - but not the automatically created new one ...
|
||||
|
||||
=> mark item as FINALIZED / MANDATORY, we dont support writing to the old format
|
||||
*/
|
||||
@ -1322,7 +1322,7 @@ void FilterCache::impl_resolveItem4TypeRegistration( CacheItemList* pList
|
||||
throw(css::uno::Exception)
|
||||
{
|
||||
CacheItem& rItem = (*pList)[sItem];
|
||||
// In case it's a new created entry (automaticly done by the boost::unordered_map index operator!)
|
||||
// In case it's a new created entry (automatically done by the boost::unordered_map index operator!)
|
||||
// we must be sure, that this entry has its own name as property available.
|
||||
// Its needed later at our container interface!
|
||||
rItem[PROPNAME_NAME] <<= sItem;
|
||||
@ -1354,7 +1354,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
|
||||
)
|
||||
{
|
||||
// Attention! If config couldnt be opened successfully
|
||||
// and exception os thrown automaticly and must be forwarded
|
||||
// and exception os thrown automatically and must be forwarded
|
||||
// to our calli ...
|
||||
css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY_THROW);
|
||||
{
|
||||
@ -1371,7 +1371,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
|
||||
)
|
||||
{
|
||||
// Attention! If config couldnt be opened successfully
|
||||
// and exception os thrown automaticly and must be forwarded
|
||||
// and exception os thrown automatically and must be forwarded
|
||||
// to our calli ...
|
||||
css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY_THROW);
|
||||
{
|
||||
@ -1388,7 +1388,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
|
||||
)
|
||||
{
|
||||
// Attention! If config couldnt be opened successfully
|
||||
// and exception os thrown automaticly and must be forwarded
|
||||
// and exception os thrown automatically and must be forwarded
|
||||
// to our calli ...
|
||||
css::uno::Reference< css::container::XNameAccess > xFilters(impl_openConfig(E_PROVIDER_FILTERS), css::uno::UNO_QUERY_THROW);
|
||||
{
|
||||
@ -1405,7 +1405,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
|
||||
)
|
||||
{
|
||||
// Attention! If config couldnt be opened successfully
|
||||
// and exception os thrown automaticly and must be forwarded
|
||||
// and exception os thrown automatically and must be forwarded
|
||||
// to our calli ...
|
||||
css::uno::Reference< css::container::XNameAccess > xLoaders(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY_THROW);
|
||||
{
|
||||
@ -1422,7 +1422,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
|
||||
)
|
||||
{
|
||||
// Attention! If config couldnt be opened successfully
|
||||
// and exception os thrown automaticly and must be forwarded
|
||||
// and exception os thrown automatically and must be forwarded
|
||||
// to our calli ...
|
||||
css::uno::Reference< css::container::XNameAccess > xHandlers(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY_THROW);
|
||||
{
|
||||
|
8
filter/source/config/cache/filtercache.hxx
vendored
8
filter/source/config/cache/filtercache.hxx
vendored
@ -288,7 +288,7 @@ class FilterCache : public BaseLock
|
||||
After its changed data was flushed to the configuration it can be
|
||||
removed.
|
||||
|
||||
The original container will get these new data automaticly
|
||||
The original container will get these new data automatically
|
||||
because it listen for changes on the internal used configuration layer.
|
||||
If the new data are needed immediately inside the original container,
|
||||
the method takeOver() can be used to copy all changes back.
|
||||
@ -566,7 +566,7 @@ class FilterCache : public BaseLock
|
||||
if an internal error occurred.
|
||||
Note: If the item is missing inside the underlying configuration
|
||||
no exception will be thrown. In such case the item is marked as
|
||||
finalized/mandatory automaticly
|
||||
finalized/mandatory automatically
|
||||
Reason: May be the item cames from the old configuration package and
|
||||
was not migrated to the new one. So we can't provide write access
|
||||
to such items ...
|
||||
@ -742,8 +742,8 @@ class FilterCache : public BaseLock
|
||||
/** @short validate the whole cache and create
|
||||
structures for optimized items access.
|
||||
|
||||
@descr Wrong cache items will be removed automaticly.
|
||||
Wrong dependencies will be corrected automaticly.
|
||||
@descr Wrong cache items will be removed automatically.
|
||||
Wrong dependencies will be corrected automatically.
|
||||
If something could not be repaired - an exception
|
||||
is thrown.
|
||||
Further some optmized structures will be created.
|
||||
|
@ -96,7 +96,7 @@ namespace svt
|
||||
void SmartContent::enableDefaultInteractionHandler()
|
||||
{
|
||||
// Don't free the memory here! It will be done by the next
|
||||
// call automaticly - releasing of the uno reference ...
|
||||
// call automatically - releasing of the uno reference ...
|
||||
m_pOwnInteraction = NULL;
|
||||
m_xOwnInteraction.clear();
|
||||
|
||||
@ -130,7 +130,7 @@ namespace svt
|
||||
void SmartContent::disableInteractionHandler()
|
||||
{
|
||||
// Don't free the memory here! It will be done by the next
|
||||
// call automaticly - releasing of the uno reference ...
|
||||
// call automatically - releasing of the uno reference ...
|
||||
m_pOwnInteraction = NULL;
|
||||
m_xOwnInteraction.clear();
|
||||
|
||||
|
@ -244,7 +244,7 @@ CFilePreview::CFilePreview(
|
||||
wndClsEx.lpszClassName = PREVIEWWND_CLASS_NAME;
|
||||
|
||||
// register the preview window class
|
||||
// !!! Win95 - the window class will be unregistered automaticly
|
||||
// !!! Win95 - the window class will be unregistered automatically
|
||||
// if the dll is unloaded
|
||||
// Win2000 - the window class must be unregistered manually
|
||||
// if the dll is unloaded
|
||||
|
@ -396,7 +396,7 @@ ATOM SAL_CALL CDIBPreview::RegisterDibPreviewWindowClass()
|
||||
wndClsEx.lpszClassName = PREVIEWWND_CLASS_NAME;
|
||||
|
||||
// register the preview window class
|
||||
// !!! Win95 - the window class will be unregistered automaticly
|
||||
// !!! Win95 - the window class will be unregistered automatically
|
||||
// if the dll is unloaded
|
||||
// Win2000 - the window class must be unregistered manually
|
||||
// if the dll is unloaded
|
||||
|
@ -545,7 +545,7 @@ ATOM SAL_CALL CHelpPopupWindow::RegisterWindowClass( )
|
||||
wndClsEx.lpszClassName = HELPPOPUPWND_CLASS_NAME;
|
||||
|
||||
// register the preview window class
|
||||
// !!! Win95 - the window class will be unregistered automaticly
|
||||
// !!! Win95 - the window class will be unregistered automatically
|
||||
// if the dll is unloaded
|
||||
// Win2000 - the window class must be unregistered manually
|
||||
// if the dll is unloaded
|
||||
|
@ -67,7 +67,7 @@ class CheckedIterator
|
||||
|
||||
/*-****************************************************************************************************
|
||||
@short initialize instance with valid container
|
||||
@descr Set new container at an instance of this class. The other member will set automaticly!
|
||||
@descr Set new container at an instance of this class. The other member will set automatically!
|
||||
m_pPosition = first element in container
|
||||
m_eEndState = BEFOREEND
|
||||
@param "rContainer", must be a valid reference to an existing container.
|
||||
|
@ -82,7 +82,7 @@ typedef BaseHash< ProtocolHandler > HandlerHash;
|
||||
- another one maps her registered pattern to her uno names to
|
||||
perform search on such data
|
||||
But this lists a static for all instances of this class. So it's possible to
|
||||
create new objects without opening configuration twice and free memory automaticly
|
||||
create new objects without opening configuration twice and free memory automatically
|
||||
if last object will gone.
|
||||
|
||||
@attention We implement a singleton concept - so we don't need any mutex member here.
|
||||
|
@ -42,7 +42,7 @@ namespace framework{
|
||||
/**
|
||||
@short protocol handler for "mailto:" URLs
|
||||
@descr It's a special dispatch object which is used registered for "mailto:*" URLs and
|
||||
will be automaticly used from the framework dispatch mechanism if such URL occurred.
|
||||
will be automatically used from the framework dispatch mechanism if such URL occurred.
|
||||
|
||||
@base OWeakObject
|
||||
provides XWeak and ref count mechanism
|
||||
|
@ -92,7 +92,7 @@ class MenuDispatcher : public ::cppu::WeakImplHelper2<
|
||||
|
||||
/*-****************************************************************************************************
|
||||
@short dispatch URL with arguments
|
||||
@descr Every dispatch create a new task. If load of URL failed task will deleted automaticly!
|
||||
@descr Every dispatch create a new task. If load of URL failed task will deleted automatically!
|
||||
@param "aURL" , URL to dispatch.
|
||||
@param "seqArguments" , list of optional arguments.
|
||||
*//*-*****************************************************************************************************/
|
||||
|
@ -42,7 +42,7 @@ namespace framework{
|
||||
/**
|
||||
@short protocol handler for "service:*" URLs
|
||||
@descr It's a special dispatch/provider object which is registered for such URL pattern and will
|
||||
be automaticly used by the framework dispatch mechanism if such URL occurred.
|
||||
be automatically used by the framework dispatch mechanism if such URL occurred.
|
||||
His job is to create any registered uno components which must be coded inside
|
||||
dispatched URL (may with some optional given parameters). After that such created
|
||||
service must be hold his self alive. Such mechanism can be useful for UI components
|
||||
|
@ -42,7 +42,7 @@ namespace framework{
|
||||
/**
|
||||
@short protocol handler for "systemexec:*" URLs
|
||||
@descr It's a special dispatch/provider object which is registered for such URL pattern and will
|
||||
be automaticly used by the framework dispatch mechanism if such URL occurred.
|
||||
be automatically used by the framework dispatch mechanism if such URL occurred.
|
||||
It forwards all URL's to the underlying operating system.
|
||||
So it would e.g. be possible to open HTML files outside the office within a web browser.
|
||||
|
||||
|
@ -255,7 +255,7 @@ class StatusIndicatorFactory : public ::cppu::WeakImplHelper4<
|
||||
/** @short show the parent window of this progress ...
|
||||
if it's allowed to do so.
|
||||
|
||||
@descr By default we show the parent window automaticly
|
||||
@descr By default we show the parent window automatically
|
||||
if this progress is used.
|
||||
If that isn't a valid operation, the user of this
|
||||
progress can suppress this feature by initializaing
|
||||
|
@ -146,7 +146,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XS
|
||||
*/
|
||||
bool its_isHelpUrlADefaultOne(const OUString& sHelpURL);
|
||||
|
||||
/** @short checks, if the help module should be shown automaticly for the
|
||||
/** @short checks, if the help module should be shown automatically for the
|
||||
currently opened office module.
|
||||
|
||||
@descr This value is readed from the module configuration.
|
||||
|
@ -268,8 +268,8 @@ ________________________________________________________________________________
|
||||
// implementation of XTypeProvider
|
||||
|
||||
// implementation of XTypeProvider without additional interface for getTypes()
|
||||
// XTypeProvider is used as the only one interface automaticly.
|
||||
// Following defines don't use XTypeProvider automaticly!!!!
|
||||
// XTypeProvider is used as the only one interface automatically.
|
||||
// Following defines don't use XTypeProvider automatically!!!!
|
||||
#define DEFINE_XTYPEPROVIDER_0( CLASS ) \
|
||||
PRIVATE_DEFINE_XTYPEPROVIDER_PURE( CLASS )
|
||||
|
||||
|
@ -48,7 +48,7 @@ const char ARGUMENT_CONTAINERWINDOW[] = "ContainerWindow"; // XWindow
|
||||
const char ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE[] = "SupportPersistentWindowState"; // sal_Bool
|
||||
|
||||
/** [sal_Bool] enable/disable special mode, where the title bar of our
|
||||
the new created frame will be updated automaticly.
|
||||
the new created frame will be updated automatically.
|
||||
Default = ON !
|
||||
*/
|
||||
const char ARGUMENT_ENABLE_TITLEBARUPDATE[] = "EnableTitleBarUpdate"; // sal_Bool
|
||||
|
@ -113,7 +113,7 @@ class Gate : public IGate
|
||||
@short open gate for current waiting threads
|
||||
@descr All current waiting threads stand in wait() at line "m_aPassage.wait()" ...
|
||||
With this call you can open the passage for these waiting ones.
|
||||
The "gap" is closed by any new thread which call wait() automaticly!
|
||||
The "gap" is closed by any new thread which call wait() automatically!
|
||||
|
||||
@seealso method wait()
|
||||
@seealso method open()
|
||||
|
@ -97,7 +97,7 @@ enum EExceptionMode
|
||||
/*-************************************************************************************************************
|
||||
@descr How can you use the transaction manager?
|
||||
Use it in combination with an TransactionGuard, which register your transaction in ctor
|
||||
and release in dtor automaticly! Follow interface class can be used to make using
|
||||
and release in dtor automatically! Follow interface class can be used to make using
|
||||
of different manager implmentations possible by using same guard.
|
||||
*//*-*************************************************************************************************************/
|
||||
class ITransactionManager
|
||||
|
@ -30,9 +30,9 @@ namespace framework{
|
||||
@descr If you wish to support non breakable method calls without lockingf any mutex, rw-lock or
|
||||
something like that - you should use this guard implementation.
|
||||
Initialize it at first in your method and don't release it till end of your function!
|
||||
Your "transaction" is registered in ctor and automaticly released in dtor.
|
||||
Your "transaction" is registered in ctor and automatically released in dtor.
|
||||
Use set/get of working mode to enable/disable further transactions.
|
||||
It's possible too, to enable automaticly throwing of some exceptions for illegal
|
||||
It's possible too, to enable automatically throwing of some exceptions for illegal
|
||||
transaction requests ... e.g. interface call for already disposed objects.
|
||||
|
||||
@attention To prevent us against wrong using, the default ctor, copy ctor and the =operator are maked private!
|
||||
|
@ -40,7 +40,7 @@ namespace framework{
|
||||
synchronization like e.g. mutex, rw-lock!
|
||||
That protect your code against wrong calls at wrong time ... e.g. calls after disposing an object!
|
||||
Use combination of EExceptionMode and ERejectReason to detect rejected requests
|
||||
and react for it. You can enable automaticly throwing of exceptions too.
|
||||
and react for it. You can enable automatically throwing of exceptions too.
|
||||
|
||||
@implements ITransactionManager
|
||||
@base ITransactionManager
|
||||
|
@ -278,7 +278,7 @@ public class checkdispatchapi
|
||||
|
||||
if (bIsRegistered)
|
||||
{
|
||||
fail("Interceptor was not deregistered automaticly on closing the corresponding frame.");
|
||||
fail("Interceptor was not deregistered automatically on closing the corresponding frame.");
|
||||
}
|
||||
|
||||
System.out.println("Destruction of interception chain works as designed .-)");
|
||||
|
@ -34,7 +34,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
|
||||
|
||||
/**
|
||||
* @const SHOWSTATUS_NO don't show the status - but save information about using of this indicator object
|
||||
* @const SHOWSTATUS_LOG the possible set protocol object will be used (it covers STDOUT, STDERR automaticly too)
|
||||
* @const SHOWSTATUS_LOG the possible set protocol object will be used (it covers STDOUT, STDERR automatically too)
|
||||
* @const SHOWSTATUS_DIALOG the status will be shown inside a java dialog
|
||||
* @const SHOWSTATUS_LINK the status will be notified to interested listener (one listener only!)
|
||||
*/
|
||||
|
@ -42,7 +42,7 @@ AcceleratorCache::AcceleratorCache(const AcceleratorCache& rCopy)
|
||||
|
||||
AcceleratorCache::~AcceleratorCache()
|
||||
{
|
||||
// Dont save anything automaticly here.
|
||||
// Dont save anything automatically here.
|
||||
// The user has to do that explicitly!
|
||||
}
|
||||
|
||||
|
@ -447,7 +447,7 @@ void XMLBasedAcceleratorConfiguration::impl_ts_save(const css::uno::Reference< c
|
||||
css::uno::Reference< css::io::XTruncate > xClearable(xStream, css::uno::UNO_QUERY_THROW);
|
||||
xClearable->truncate();
|
||||
|
||||
// TODO can be removed if seek(0) is done by truncate() automaticly!
|
||||
// TODO can be removed if seek(0) is done by truncate() automatically!
|
||||
css::uno::Reference< css::io::XSeekable > xSeek(xStream, css::uno::UNO_QUERY);
|
||||
if (xSeek.is())
|
||||
xSeek->seek(0);
|
||||
|
@ -47,7 +47,7 @@ css::uno::Reference< css::frame::XDispatch > SAL_CALL InterceptionHelper::queryD
|
||||
SolarMutexClearableGuard aReadLock;
|
||||
|
||||
// a) first search an interceptor, which match to this URL by its URL pattern registration
|
||||
// Note: if it return NULL - it does not mean an empty interceptor list automaticly!
|
||||
// Note: if it return NULL - it does not mean an empty interceptor list automatically!
|
||||
css::uno::Reference< css::frame::XDispatchProvider > xInterceptor;
|
||||
InterceptorList::const_iterator pIt = m_lInterceptionRegs.findByPattern(aURL.Complete);
|
||||
if (pIt != m_lInterceptionRegs.end())
|
||||
|
@ -73,7 +73,7 @@ HandlerCFGAccess* HandlerCache::m_pConfig = NULL;
|
||||
|
||||
/**
|
||||
@short ctor of the cache of all registered protoco handler
|
||||
@descr It tries to open the right configuration package automaticly
|
||||
@descr It tries to open the right configuration package automatically
|
||||
and fill the internal structures. After that the cache can be
|
||||
used for read access on this data and perform some search
|
||||
operations on it.
|
||||
@ -170,7 +170,7 @@ void HandlerCache::takeOver(HandlerHash* pHandler, PatternHash* pPattern)
|
||||
|
||||
/**
|
||||
@short dtor of the config access class
|
||||
@descr It opens the configuration package automaticly by using base class mechanism.
|
||||
@descr It opens the configuration package automatically by using base class mechanism.
|
||||
After that "read()" method of this class should be called to use it.
|
||||
|
||||
@param sPackage
|
||||
|
@ -285,7 +285,7 @@ class PresetHandler
|
||||
and we use e.g. "/en-US/default.xml" internally.
|
||||
|
||||
If no localization exists for this preset set, this class
|
||||
will work in default mode - means "no locale" - automaticly.
|
||||
will work in default mode - means "no locale" - automatically.
|
||||
e.g. "/default.xml"
|
||||
|
||||
@throw com::sun::star::uno::RuntimeException(!)
|
||||
@ -342,7 +342,7 @@ class PresetHandler
|
||||
|
||||
@descr Note: Targets resist inside the user
|
||||
layer. Normaly they are opened in read/write mode.
|
||||
But it will be opened readonly automaticly if that isnt possible
|
||||
But it will be opened readonly automatically if that isnt possible
|
||||
(may be the file is write protected on the system ...).
|
||||
|
||||
@param sTarget
|
||||
|
@ -412,7 +412,7 @@ css::uno::Sequence< css::beans::NamedValue > Job::impl_generateJobArgs( /*IN*/ c
|
||||
@descr Note: Some results can be handled only, if this job has a valid configuration!
|
||||
For "not configured jobs" (means pure services) they can be ignored.
|
||||
But these cases are handled by our JobData member. We can call it everytime.
|
||||
It does the right things automaticly. E.g. if the job has no configuration ...
|
||||
It does the right things automatically. E.g. if the job has no configuration ...
|
||||
it does nothing during setJobConfig()!
|
||||
|
||||
@param aResult
|
||||
|
@ -183,7 +183,7 @@ void JobData::setService( const OUString& sService )
|
||||
|
||||
/**
|
||||
@short initialize this instance with new job values.
|
||||
@descr It reads automaticly all properties of the specified
|
||||
@descr It reads automatically all properties of the specified
|
||||
job (using it's alias name) and "register it" for the
|
||||
given event. This registration will not be validated against
|
||||
the underlying configuration! (That must be done from outside.
|
||||
@ -233,7 +233,7 @@ void JobData::setJobConfig( const css::uno::Sequence< css::beans::NamedValue >&
|
||||
if (m_eMode==E_ALIAS)
|
||||
{
|
||||
// It doesn't matter if this config object was already opened before.
|
||||
// It doesn nothing here then ... or it change the mode automaticly, if
|
||||
// It doesn nothing here then ... or it change the mode automatically, if
|
||||
// it was opened using another one before.
|
||||
ConfigAccess aConfig(
|
||||
m_xContext,
|
||||
@ -417,7 +417,7 @@ void JobData::disableJob()
|
||||
|
||||
// update the configuration
|
||||
// It doesn't matter if this config object was already opened before.
|
||||
// It doesn nothing here then ... or it change the mode automaticly, if
|
||||
// It doesn nothing here then ... or it change the mode automatically, if
|
||||
// it was opened using another one before.
|
||||
ConfigAccess aConfig(
|
||||
m_xContext,
|
||||
|
@ -916,7 +916,7 @@ void LayoutManager::implts_backupProgressBarWrapper()
|
||||
return;
|
||||
|
||||
// safe a backup copy of the current progress!
|
||||
// This copy will be used automaticly inside createProgressBar() which is called
|
||||
// This copy will be used automatically inside createProgressBar() which is called
|
||||
// implictly from implts_doLayout() .-)
|
||||
m_xProgressBarBackup = m_aProgressBarElement.m_xUIElement;
|
||||
|
||||
|
@ -136,7 +136,7 @@ void Desktop::constructorInit()
|
||||
|
||||
@attention a) Don't use your own reference during an UNO-Service-ctor! There is no guarantee, that you
|
||||
will get over this. (e.g. using of your reference as parameter to initialize some member)
|
||||
Do such things in DEFINE_INIT_SERVICE() method, which is called automaticly after your ctor!!!
|
||||
Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
|
||||
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
|
||||
The microsoft compiler has some problems to handle it right BY using namespace explicitly ::cppu::OBroadcastHelper.
|
||||
If we write it without a namespace or expand the typedef to OBrodcastHelperVar<...> -> it will be OK!?
|
||||
@ -914,7 +914,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const OUS
|
||||
|
||||
// I.I) "_blank"
|
||||
// create a new task as child of this desktop instance
|
||||
// Note: Used helper TaskCreator use us automaticly ...
|
||||
// Note: Used helper TaskCreator use us automatically ...
|
||||
|
||||
if ( sTargetFrameName==SPECIALTARGET_BLANK )
|
||||
{
|
||||
@ -995,7 +995,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const OUS
|
||||
|
||||
// II.IV) CREATE
|
||||
// If we haven't found any valid target frame by using normal flags - but user allowed us to create
|
||||
// a new one ... we should do that. Used TaskCreator use us automaticly as parent!
|
||||
// a new one ... we should do that. Used TaskCreator use us automatically as parent!
|
||||
|
||||
if (
|
||||
( ! xTarget.is() ) &&
|
||||
@ -1360,7 +1360,7 @@ sal_Bool SAL_CALL Desktop::convertFastPropertyValue( css::uno::Any& aCon
|
||||
@descr This method is calling from helperclass "OPropertySetHelper".
|
||||
Don't use this directly!
|
||||
Handle and value are valid everyway! You must set the new value only.
|
||||
After this, baseclass send messages to all listener automaticly.
|
||||
After this, baseclass send messages to all listener automatically.
|
||||
|
||||
@seealso class OPropertySetHelper
|
||||
|
||||
|
@ -477,7 +477,7 @@ DEFINE_XTYPEPROVIDER_21 ( Frame
|
||||
|
||||
@attention a) Don't use your own reference during an UNO-Service-ctor! There is no guarantee, that you
|
||||
will get over this. (e.g. using of your reference as parameter to initialize some member)
|
||||
Do such things in DEFINE_INIT_SERVICE() method, which is called automaticly after your ctor!!!
|
||||
Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
|
||||
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
|
||||
The microsoft compiler has some problems to handle it right BY using namespace explicitly ::cppu::OBroadcastHelper.
|
||||
If we write it without a namespace or expand the typedef to OBrodcastHelperVar<...> -> it will be OK!?
|
||||
@ -1030,7 +1030,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const OUStr
|
||||
|
||||
// I.I) "_blank"
|
||||
// Not allowed for a normal frame - but for the desktop.
|
||||
// Use helper class to do so. It use the desktop automaticly.
|
||||
// Use helper class to do so. It use the desktop automatically.
|
||||
|
||||
if ( sTargetFrameName==SPECIALTARGET_BLANK )
|
||||
{
|
||||
@ -1224,7 +1224,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const OUStr
|
||||
|
||||
// II.IV) CREATE
|
||||
// If we haven't found any valid target frame by using normal flags - but user allowed us to create
|
||||
// a new one ... we should do that. Used TaskCreator use Desktop instance automaticly as parent!
|
||||
// a new one ... we should do that. Used TaskCreator use Desktop instance automatically as parent!
|
||||
|
||||
if (
|
||||
( ! xTarget.is() ) &&
|
||||
|
@ -293,7 +293,7 @@ css::uno::Reference< css::frame::XFrame2 > TaskCreatorService::implts_createFram
|
||||
xNewFrame->initialize( xContainerWindow );
|
||||
|
||||
// Put frame to the frame tree.
|
||||
// Note: The property creator/parent will be set on the new putted frame automaticly ... by the parent container.
|
||||
// Note: The property creator/parent will be set on the new putted frame automatically ... by the parent container.
|
||||
if (xParentFrame.is())
|
||||
{
|
||||
css::uno::Reference< css::frame::XFramesSupplier > xSupplier (xParentFrame, css::uno::UNO_QUERY_THROW);
|
||||
|
@ -134,7 +134,7 @@ namespace dbtools
|
||||
*/
|
||||
bool shouldEscapeDateTime() const;
|
||||
|
||||
/** auto increment columns should be automaticly used as primary key.
|
||||
/** auto increment columns should be automatically used as primary key.
|
||||
*/
|
||||
bool isAutoIncrementPrimaryKey() const;
|
||||
|
||||
|
@ -246,7 +246,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
|
||||
@descr This base implementation checks, if the request could be intercepted
|
||||
successfully. Then this method intercepted() is called.
|
||||
The default implementation returns "NOT_INTERCEPTED" every time.
|
||||
So the method impl_interceptRequest() uses the right continuation automaticly.
|
||||
So the method impl_interceptRequest() uses the right continuation automatically.
|
||||
|
||||
If this method was overwritten and something different "NO_INTERCEPTED"
|
||||
is returned, the method impl_interceptRequest() will return immediately with
|
||||
@ -266,7 +266,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
|
||||
|
||||
@return The result of this operation.
|
||||
Note: If E_NOT_INTERCEPTED is returned the default handling of the base class
|
||||
will be used automaticly for this request!
|
||||
will be used automatically for this request!
|
||||
*/
|
||||
virtual EInterceptionState intercepted(const InterceptedRequest& rRequest ,
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >& xOrgRequest);
|
||||
@ -282,13 +282,13 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
|
||||
@descr If no further class is derived from this one
|
||||
-> the default implementation is used. Then the
|
||||
internal list of requests is used to handle different
|
||||
interactions automaticly.
|
||||
interactions automatically.
|
||||
(see impl_interceptRequest())
|
||||
|
||||
If this method was overwritten by a derived implementation
|
||||
-> the new implementation has to do everything by itself.
|
||||
Of course it can access all members/helpers and work with it.
|
||||
But the default implementation isnt used automaticly then.
|
||||
But the default implementation isnt used automatically then.
|
||||
|
||||
@param xRequest
|
||||
the interaction request, which should be intercepted.
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
/** Get max size of specified history.
|
||||
|
||||
Call this methods to get information about max. size of specified list.
|
||||
If a new one is add to it the oldest one is deleted automaticly.
|
||||
If a new one is add to it the oldest one is deleted automatically.
|
||||
|
||||
@param eHistory select right history.
|
||||
@return Current max size of specified list.
|
||||
@ -85,7 +85,7 @@ public:
|
||||
/** Append a new item to specified list
|
||||
|
||||
You can append items to a list only - removing isn't allowed for a special item.
|
||||
The oldest entry is deleted automaticly if max size arrived or you can call Clear() ...
|
||||
The oldest entry is deleted automatically if max size arrived or you can call Clear() ...
|
||||
It exist two different overload methods to do this.
|
||||
One for user which have an complete history item and another one for uncompletly data sets!
|
||||
|
||||
|
@ -118,7 +118,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap
|
||||
to open the stream (as e.g. URL, ReadOnly, PostData etcpp.).
|
||||
It creates a seekable stream and put it into the descriptor.
|
||||
|
||||
A might existing InteractionHandler will be used automaticly,
|
||||
A might existing InteractionHandler will be used automatically,
|
||||
to solve problems!
|
||||
|
||||
In case of local file the system file locking is used.
|
||||
@ -135,7 +135,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap
|
||||
to open the stream (as e.g. URL, ReadOnly, PostData etcpp.).
|
||||
It creates a seekable stream and put it into the descriptor.
|
||||
|
||||
A might existing InteractionHandler will be used automaticly,
|
||||
A might existing InteractionHandler will be used automatically,
|
||||
to solve problems!
|
||||
|
||||
In case of local file the system file locking is used based on
|
||||
@ -316,7 +316,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap
|
||||
to open the stream (as e.g. URL, ReadOnly, PostData etcpp.).
|
||||
It creates a seekable stream and put it into the descriptor.
|
||||
|
||||
A might existing InteractionHandler will be used automaticly,
|
||||
A might existing InteractionHandler will be used automatically,
|
||||
to solve problems!
|
||||
|
||||
@param bLockFile
|
||||
|
@ -135,7 +135,7 @@ class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtViewOptions : public utl::detail::Op
|
||||
|
||||
/*-****************************************************************************************************
|
||||
@short use it to get information about existing entries in configuration
|
||||
@descr The methods to set/get the position or size will create a new entry automaticly if
|
||||
@descr The methods to set/get the position or size will create a new entry automatically if
|
||||
it not already exist and work with default values!
|
||||
If this a problem for you - you MUST call these method before and
|
||||
you must make up your own mind about that.
|
||||
|
@ -271,7 +271,7 @@ public:
|
||||
/** initializes some internal structures for fast access to the given XShapes collection
|
||||
|
||||
<p>This method has to be called before you use exportShape or collectShapeAutoStyles.
|
||||
It is automaticly called if you use collectShapesAutoStyles and exportShapes.
|
||||
It is automatically called if you use collectShapesAutoStyles and exportShapes.
|
||||
|
||||
@see collectShapeAutoStyles
|
||||
@see exportShape
|
||||
|
@ -398,7 +398,7 @@ XMultiPropertySet
|
||||
|
||||
//XPropertySet ----------------------------------------------------
|
||||
synchronized public void removePropertyChangeListener(String propName, XPropertyChangeListener listener) throws UnknownPropertyException, WrappedTargetException
|
||||
{ // all listeners are automaticly released in a dispose call
|
||||
{ // all listeners are automatically released in a dispose call
|
||||
if (!bInDispose && !bDisposed)
|
||||
{
|
||||
if (propName.length() > 0)
|
||||
@ -415,7 +415,7 @@ XMultiPropertySet
|
||||
|
||||
//XPropertySet ----------------------------------------------------
|
||||
synchronized public void removeVetoableChangeListener(String propName, XVetoableChangeListener listener) throws UnknownPropertyException, WrappedTargetException
|
||||
{// all listeners are automaticly released in a dispose call
|
||||
{// all listeners are automatically released in a dispose call
|
||||
if (!bInDispose && !bDisposed)
|
||||
{
|
||||
if (propName.length() > 0)
|
||||
|
@ -150,7 +150,7 @@ public class CustomizeView extends JPanel
|
||||
|
||||
// be frame action listener
|
||||
// The callback will update listener connections
|
||||
// for status updates automaticly!
|
||||
// for status updates automatically!
|
||||
m_aMenuBarListener = new StatusListener(m_cbMenuBar ,MENUBAR_ON ,MENUBAR_OFF ,xFrame, FEATUREURL_MENUBAR );
|
||||
m_aToolBarListener = new StatusListener(m_cbToolBar ,TOOLBAR_ON ,TOOLBAR_OFF ,xFrame, FEATUREURL_TOOLBAR );
|
||||
m_aObjectBarListener = new StatusListener(m_cbObjectBar,OBJECTBAR_ON,OBJECTBAR_OFF,xFrame, FEATUREURL_OBJECTBAR);
|
||||
|
@ -83,7 +83,7 @@ public class Desk
|
||||
// Create first document view.
|
||||
// This one will register himself at the global
|
||||
// ViewContainer. Further views will be open
|
||||
// automaticly started from this first one.
|
||||
// automatically started from this first one.
|
||||
DocumentView aView = new DocumentView();
|
||||
aView.setVisible(true);
|
||||
aView.createFrame();
|
||||
|
@ -341,7 +341,7 @@ public class DocumentView extends JFrame
|
||||
|
||||
// close the frame and his document
|
||||
// Relaesing of our listener connections for disposing()
|
||||
// will be forced automaticly then. Because the frame
|
||||
// will be forced automatically then. Because the frame
|
||||
// will call us back ...
|
||||
if (mxFrame!=null)
|
||||
FunctionHelper.closeFrame(mxFrame);
|
||||
@ -360,7 +360,7 @@ public class DocumentView extends JFrame
|
||||
/**
|
||||
* callback from our internal saved frame
|
||||
* which wish to die. Its not necessary to remove listener connections
|
||||
* here. Because the broadcaster do it automaticly.
|
||||
* here. Because the broadcaster do it automatically.
|
||||
* We have to release all references to him only.
|
||||
*
|
||||
* @param aSource
|
||||
@ -418,7 +418,7 @@ public class DocumentView extends JFrame
|
||||
if( sCommand.compareTo(COMMAND_EXIT) == 0 )
|
||||
{
|
||||
// This will force deleting of this and
|
||||
// all other currently opened views automaticly!
|
||||
// all other currently opened views automatically!
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
@ -307,7 +307,7 @@ public class FunctionHelper
|
||||
// the systemw window handle. A possible reason can be an invisible
|
||||
// java window. In this case it should be enough to set return
|
||||
// values to null. All other resources (which was created before)
|
||||
// will be freed automaticly if scope wil be leaved.
|
||||
// will be freed automatically if scope wil be leaved.
|
||||
System.out.println("May be the NativeView object wasn't really visible at calling time of getNativeWindow()?");
|
||||
xPeer = null;
|
||||
xWindow = null;
|
||||
@ -389,7 +389,7 @@ public class FunctionHelper
|
||||
if(xFrame!=null)
|
||||
{
|
||||
// Try to dispose the frame. He should deregister himself at the desktop object
|
||||
// and free all internal used resources (e.g. the container window) automaticly.
|
||||
// and free all internal used resources (e.g. the container window) automatically.
|
||||
// It's possible to do that here - because frame has no component inside yet.
|
||||
// So nobody can disagree with that.
|
||||
// After the dispose() call forget all references to this frame and let him die.
|
||||
@ -437,7 +437,7 @@ public class FunctionHelper
|
||||
* @param xFrame frame which should be the target of this dispatch
|
||||
* @param aURL full parsed and converted office URL for dispatch
|
||||
* @param lProperties optional arguments for dispatch
|
||||
* @param xListener optional listener which is registered automaticly for status events
|
||||
* @param xListener optional listener which is registered automatically for status events
|
||||
* (Note: Deregistration is part of this listener himself!)
|
||||
*
|
||||
* @return [XDispatch] It's the used dispatch object and can be used for deregistration of an optional listener.
|
||||
@ -500,8 +500,8 @@ public class FunctionHelper
|
||||
* @param xFrame frame which should be the target of this dispatch
|
||||
* @param aURL full parsed and converted office URL for dispatch
|
||||
* @param lProperties optional arguments for dispatch
|
||||
* @param xListener optional listener which is registered automaticly for status events
|
||||
* (Note: Deregistration is not supported. Dispatcher does it automaticly.)
|
||||
* @param xListener optional listener which is registered automatically for status events
|
||||
* (Note: Deregistration is not supported. Dispatcher does it automatically.)
|
||||
*/
|
||||
public static void executeWithNotification(com.sun.star.frame.XFrame xFrame ,
|
||||
com.sun.star.util.URL aURL ,
|
||||
@ -681,7 +681,7 @@ public class FunctionHelper
|
||||
* It try to export given document in HTML format.
|
||||
* Current document will be converted to HTML and moved to new place on disk.
|
||||
* A "new" file will be created by given URL (may be overwritten
|
||||
* if it already exist). Right filter will be used automaticly if factory of
|
||||
* if it already exist). Right filter will be used automatically if factory of
|
||||
* this document support it. If no valid filter can be found for export,
|
||||
* nothing will be done here.
|
||||
*
|
||||
|
@ -94,7 +94,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
|
||||
/**
|
||||
* ctor
|
||||
* Initialize the new interceptor. Given frame reference can be used to
|
||||
* register this interceptor on it automaticly later.
|
||||
* register this interceptor on it automatically later.
|
||||
*
|
||||
* @seealso startListening()
|
||||
*
|
||||
@ -555,7 +555,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
|
||||
|
||||
/**
|
||||
* Implements (optional!) optimization for interceptor mechanism.
|
||||
* Any interceptor which provides this special interface is called automaticly
|
||||
* Any interceptor which provides this special interface is called automatically
|
||||
* at registration time on this method. Returned URL's will be used to
|
||||
* call this interceptor directly without calling his masters before, IF(!)
|
||||
* following rules will be true:
|
||||
|
@ -122,7 +122,7 @@ public class OfficeConnect
|
||||
*
|
||||
* @param aType describe class type of created service
|
||||
* Returned object can be casted directly to this one.
|
||||
* Uno query was done by this method automaticly.
|
||||
* Uno query was done by this method automatically.
|
||||
* @param sServiceSpecifier name of service which should be created
|
||||
* @return the new created service object
|
||||
*/
|
||||
|
@ -54,7 +54,7 @@ import com.sun.star.uno.UnoRuntime;
|
||||
*
|
||||
* Further we are frame action listener too.
|
||||
* So we can update our status listener connections and
|
||||
* internal holded dispatch object automaticly.
|
||||
* internal holded dispatch object automatically.
|
||||
*
|
||||
* Another reason for such extra class for listening:
|
||||
* Most listener callbacks are asynchronous [oneay] requests.
|
||||
@ -121,7 +121,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
|
||||
* start working as frame action listener really.
|
||||
* In case we get such frame action, it indicates that we should
|
||||
* update our internal saved dispatch object on which we listen
|
||||
* for status events. So we can do it automaticly. The outside code
|
||||
* for status events. So we can do it automatically. The outside code
|
||||
* mustn't check such things. We can work with one frame,
|
||||
* till it die. It doesn't matter if he will be used for different
|
||||
* load/save or any other requests. We will be up to date everytime.
|
||||
@ -384,7 +384,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
|
||||
* Our dispatch or frame object inform us about his following dead ...
|
||||
* So we must forget his reference. But it's not necessary to
|
||||
* remove listener connections here. Because the broadcaster
|
||||
* forget us automaticly. The only thing we have to do: release
|
||||
* forget us automatically. The only thing we have to do: release
|
||||
* his reference and let him die!
|
||||
*
|
||||
* @param aEvent
|
||||
|
@ -209,7 +209,7 @@ public class StatusView extends JPanel
|
||||
* And because the environment of the frame can be changed - these
|
||||
* listener refresh himself internally for frame action events too.
|
||||
* So we register it as such frame action listener only here.
|
||||
* Rest is done automaticly ...
|
||||
* Rest is done automatically ...
|
||||
*
|
||||
* @param xFrame
|
||||
* will be used as source of possible status events
|
||||
|
@ -159,7 +159,7 @@ public class AsciiReplaceFilter
|
||||
/**
|
||||
* used for initializing after creation
|
||||
* If an instance of this service is created by UNO we will be called
|
||||
* automaticly after that to get optional parameters of this creation call.
|
||||
* automatically after that to get optional parameters of this creation call.
|
||||
* E.g.: The service com.sun.star.document.FilterFactory use such mechanism
|
||||
* to pass our own configuration data to this instance.
|
||||
*
|
||||
|
@ -103,7 +103,7 @@ public class OfficeConnect
|
||||
*
|
||||
* @param aType describe class type of created service
|
||||
* Returned object can be casted directly to this one.
|
||||
* Uno query was done by this method automaticly.
|
||||
* Uno query was done by this method automatically.
|
||||
* @param sServiceSpecifier name of service which should be created
|
||||
* @return Description of the Returned Value
|
||||
*/
|
||||
|
@ -74,7 +74,7 @@ public class DocumentLoader {
|
||||
sUrl = sbTmp.toString();
|
||||
}
|
||||
|
||||
// Load a Writer document, which will be automaticly displayed
|
||||
// Load a Writer document, which will be automatically displayed
|
||||
com.sun.star.lang.XComponent xComp = xCompLoader.loadComponentFromURL(
|
||||
sUrl, "_blank", 0, new com.sun.star.beans.PropertyValue[0]);
|
||||
|
||||
|
@ -68,7 +68,7 @@ public class DocumentPrinter {
|
||||
StringBuffer sUrl = new StringBuffer("file:///");
|
||||
sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/'));
|
||||
|
||||
// Load a Writer document, which will be automaticly displayed
|
||||
// Load a Writer document, which will be automatically displayed
|
||||
com.sun.star.lang.XComponent xComp = xCompLoader.loadComponentFromURL(
|
||||
sUrl.toString(), "_blank", 0,
|
||||
new com.sun.star.beans.PropertyValue[0] );
|
||||
|
@ -71,7 +71,7 @@ public class TestInspector {
|
||||
com.sun.star.frame.XComponentLoader xCmpLoader = UnoRuntime.queryInterface( com.sun.star.frame.XComponentLoader.class,
|
||||
xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", xContext));
|
||||
|
||||
// Load a new spreadsheet document, which will be automaticly
|
||||
// Load a new spreadsheet document, which will be automatically
|
||||
// displayed and is used for inspection
|
||||
com.sun.star.lang.XComponent xComp = xCmpLoader.loadComponentFromURL("private:factory/scalc", "_blank", 0, new com.sun.star.beans.PropertyValue[0] );
|
||||
xInstInspector.inspect(xCmpLoader, "");
|
||||
|
@ -151,7 +151,7 @@ public class NotesAccess implements Runnable {
|
||||
xMCF.createInstanceWithContext(
|
||||
"com.sun.star.frame.Desktop", xContext));
|
||||
|
||||
// Load a Writer document, which will be automaticly displayed
|
||||
// Load a Writer document, which will be automatically displayed
|
||||
XComponent xComponent = xLoader.loadComponentFromURL(
|
||||
"private:factory/scalc", "_blank", 0,
|
||||
new PropertyValue[0] );
|
||||
|
@ -183,7 +183,7 @@ public class ChartTypeChange {
|
||||
xMCF.createInstanceWithContext("com.sun.star.frame.Desktop",
|
||||
xCompContext ) );
|
||||
|
||||
// Load a Writer document, which will be automaticly displayed
|
||||
// Load a Writer document, which will be automatically displayed
|
||||
XComponent xComponent = xComponentloader.loadComponentFromURL(
|
||||
"file:///" + stringFileName, "_blank", 0,
|
||||
new PropertyValue[0] );
|
||||
@ -226,7 +226,7 @@ public class ChartTypeChange {
|
||||
"com.sun.star.frame.Desktop",
|
||||
xCompContext ) );
|
||||
|
||||
// Create an empty calc document, which will be automaticly displayed
|
||||
// Create an empty calc document, which will be automatically displayed
|
||||
XComponent xComponent = xcomponentloader.loadComponentFromURL(
|
||||
"private:factory/scalc", "_blank", 0,
|
||||
new PropertyValue[0] );
|
||||
|
@ -76,7 +76,7 @@ public class GraphicsInserter {
|
||||
UnoRuntime.queryInterface(
|
||||
com.sun.star.frame.XComponentLoader.class, xDesktop);
|
||||
|
||||
// Load a Writer document, which will be automaticly displayed
|
||||
// Load a Writer document, which will be automatically displayed
|
||||
com.sun.star.lang.XComponent xComp = xCompLoader.loadComponentFromURL(
|
||||
"private:factory/swriter", "_blank", 0,
|
||||
new com.sun.star.beans.PropertyValue[0]);
|
||||
|
@ -269,7 +269,7 @@ private:
|
||||
SdrObject* mpObj;
|
||||
|
||||
/** this stores the first object that is used for text conversion.
|
||||
Conversion automaticly wraps around the document and stops when it
|
||||
Conversion automatically wraps around the document and stops when it
|
||||
finds this object again.
|
||||
*/
|
||||
SdrObject* mpFirstObj;
|
||||
|
@ -68,7 +68,7 @@ SdPageLink::~SdPageLink()
|
||||
{
|
||||
/**********************************************************************
|
||||
* Only standard pages are allowed to be linked
|
||||
* The corresponding note pages are updated automaticly
|
||||
* The corresponding note pages are updated automatically
|
||||
**********************************************************************/
|
||||
OUString aFileName;
|
||||
OUString aBookmarkName;
|
||||
|
@ -896,7 +896,7 @@ EffectSequence CustomAnimationList::getSelection() const
|
||||
aSelection.push_back( pEffect );
|
||||
|
||||
// if the selected effect is not expanded and has children
|
||||
// we say that the children are automaticly selected
|
||||
// we say that the children are automatically selected
|
||||
if( !IsExpanded( pEntry ) )
|
||||
{
|
||||
CustomAnimationListEntry* pChild = dynamic_cast< CustomAnimationListEntry* >( FirstChild( pEntry ) );
|
||||
|
@ -1664,7 +1664,7 @@ bool Outliner::ConvertNextDocument()
|
||||
mpDrawDocument->GetDocSh()->SetWaitCursor( false );
|
||||
ClearModifyFlag();
|
||||
|
||||
// for text conversion we automaticly wrap around one
|
||||
// for text conversion we automatically wrap around one
|
||||
// time and stop at the start shape
|
||||
if( mpFirstObj )
|
||||
{
|
||||
|
@ -303,7 +303,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
|
||||
{
|
||||
/* Dont save the request for closing the application and try it later
|
||||
again. This is an UI bound functionality ... and the user will try it again
|
||||
if the dialog is closed. But we should not close the application automaticly
|
||||
if the dialog is closed. But we should not close the application automatically
|
||||
if this dialog is closed by the user ...
|
||||
So we ignore this request now and wait for a new user decision.
|
||||
*/
|
||||
|
@ -69,7 +69,7 @@ class SfxRefreshListener : public ::cppu::WeakImplHelper1<com::sun::star::util::
|
||||
|
||||
/*-************************************************************************************************************
|
||||
@short ctor
|
||||
@descr These initialize an instance of a SfxFilterListener class. Created object listen automaticly
|
||||
@descr These initialize an instance of a SfxFilterListener class. Created object listen automatically
|
||||
on right FilterFactory-Service for all changes and synchronize right SfxFilterContainer with
|
||||
corresponding framework-cache.
|
||||
We use given "sFactory" value to decide which query must be used to fill "pContainer" with new values.
|
||||
|
@ -559,7 +559,7 @@ sal_Bool SAL_CALL BackingComp::suspend( /*IN*/ sal_Bool )
|
||||
and inform us. We must release its reference only here. Of course we check the given reference
|
||||
here and reject callback from unknown sources.
|
||||
|
||||
Note: deregistration as listener isnt necessary here. The broadcaster do it automaticly.
|
||||
Note: deregistration as listener isnt necessary here. The broadcaster do it automatically.
|
||||
|
||||
@param aEvent
|
||||
describe the broadcaster of this callback
|
||||
|
@ -477,7 +477,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread
|
||||
SfxPrinter* m_pPrinter;
|
||||
/// this describes the target location for the printed temp file
|
||||
OUString m_sTargetURL;
|
||||
/// it holds the temp file alive, till the print job will finish and remove it from disk automaticly if the object die
|
||||
/// it holds the temp file alive, till the print job will finish and remove it from disk automatically if the object die
|
||||
::utl::TempFile* m_pTempFile;
|
||||
|
||||
public:
|
||||
@ -507,7 +507,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread
|
||||
// we truns alone by defenition. Nobody join for us nor use us ...
|
||||
moveAndDeleteTemp(&m_pTempFile,m_sTargetURL);
|
||||
|
||||
// finishing of this run() method will call onTerminate() automaticly
|
||||
// finishing of this run() method will call onTerminate() automatically
|
||||
// kill this thread there!
|
||||
}
|
||||
|
||||
@ -675,7 +675,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
|
||||
// it's an ucb target. So we must use a temp. file for vcl
|
||||
// and move it after printing by using the ucb.
|
||||
// Create a temp file on the heap (because it must delete the
|
||||
// real file on disk automaticly if it die - bt we have to share it with
|
||||
// real file on disk automatically if it die - bt we have to share it with
|
||||
// some other sources ... e.g. the ImplUCBPrintWatcher).
|
||||
// And we put the name of this temp file to the descriptor instead
|
||||
// of the URL. The URL we save for later using separately.
|
||||
@ -784,7 +784,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
|
||||
else
|
||||
{
|
||||
// Note: we create(d) some resource on the heap. (thread and tep file)
|
||||
// They will be deleted by the thread automaticly if he finish his run() method.
|
||||
// They will be deleted by the thread automatically if he finish his run() method.
|
||||
ImplUCBPrintWatcher* pWatcher = new ImplUCBPrintWatcher( pPrinter, pUCBPrintTempFile, sUcbUrl );
|
||||
pWatcher->create();
|
||||
}
|
||||
|
@ -458,7 +458,7 @@ class SaveDialog : public IExtendedTabPage
|
||||
@param pParent
|
||||
can point to a parent window.
|
||||
If its set to 0, the defmodal-dialog-parent
|
||||
is used automaticly.
|
||||
is used automatically.
|
||||
|
||||
@param pCore
|
||||
provides access to the recovery core service
|
||||
@ -515,7 +515,7 @@ class SaveProgressDialog : public ModalDialog
|
||||
@param pParent
|
||||
can point to a parent window.
|
||||
If its set to 0, the defmodal-dialog-parent
|
||||
is used automaticly.
|
||||
is used automatically.
|
||||
|
||||
@param pCore
|
||||
used to start emegrency save.
|
||||
|
@ -145,7 +145,7 @@ void SvxDrawPage::dispose()
|
||||
::com::sun::star::document::EventObject aEvt;
|
||||
aEvt.Source = xSource;
|
||||
// inform all listeners to release this object
|
||||
// The listener container are automaticly cleared
|
||||
// The listener container are automatically cleared
|
||||
mrBHelper.aLC.disposeAndClear( aEvt );
|
||||
// notify subclasses to do their dispose
|
||||
disposing();
|
||||
|
@ -163,7 +163,7 @@ void SvxShapeCollection::dispose()
|
||||
document::EventObject aEvt;
|
||||
aEvt.Source = xSource;
|
||||
// inform all listeners to release this object
|
||||
// The listener container are automaticly cleared
|
||||
// The listener container are automatically cleared
|
||||
mrBHelper.aLC.disposeAndClear( aEvt );
|
||||
// notify subclasses to do their dispose
|
||||
disposing();
|
||||
|
@ -176,7 +176,7 @@ class StringCalculator : public ::cppu::WeakImplHelper1< ::com::sun::star::util:
|
||||
|
||||
/*-************************************************************************************************************
|
||||
@short try to build short name of given URL to show it n GUI
|
||||
@descr We detect type of given URL automaticly and build this short name depend on this type ...
|
||||
@descr We detect type of given URL automatically and build this short name depend on this type ...
|
||||
If we couldnt make it right we return full given string without any changes ...
|
||||
|
||||
@seealso class LocalFileHelper
|
||||
|
Loading…
x
Reference in New Issue
Block a user