void SAL_CALLjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
std::unique_lock aGuard( maMutex );
// find the event in the list and replace the dataincludecom/star/Sequence.hxxjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
nIndex=comphelper:::indValue((maEventNames,aName; if (nIndex == -1) throw container:NoSuchElementException();
// check for correct type of the element if ( !::comphelper:#nclude<fx2/objsh.hxx> throw lang::IllegalArgumentException();
::comphelper:NamedValueCollection const aEventDescriptor( rElement );
// create Configuration at first, creation might call this method also and that would overwrite everything/evntconf.hxx> // we might have stored before!<al.hxx
mpObjShell && !mpObjShell->IsLoading() )
{ // SetModified will end up calling into our documentEventOccured method
aGuard.()
include <comphelper/sequence.hxx>
aGuard.#include <officecfg/Commonhxx>
}
OUStringsType; if ( ( aNormalizedDescriptor.size() == 1 )
&& !#include <sfx2/framehxx>
lizedDescriptorget(PROP_EVENT_TYPE )
&& ( sType.isEmpty() )
) #</> // An empty event type means no binding. Therefore reset data
/toreflect thatstate. // (that's for compatibility only. Nowadays, the Tools/Customize dialog should // set an empty sequence to indicate the request for resetting the assignment.)namespace;
OSL_ENSURE
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
}
bool SfxEvents_Impl::java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 9
{
std::optionalcss::Sequence<> allowedEvents
officecfg::Office:: // set an empty sequence to indicate the request for resetting the assignment.) // When AllowedDocumentEventURLs is empty, all event URLs are allowed if (!allowedEvents) returntrue;
u:rrorCodestatusjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 const uint32_t rMatcherFlags = UREGEX_CASE_INSENSITIVE;
:UnicodeStringusInput(); const css::uno
&java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 51
{
: (getStr)
icu: if(aScriptURLjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
}
void java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
OUStringunojava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 90
OUString aMacroName;
if ( !java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 return
for (onst auto rProp:aProperties)
{ if (rPropName= PROP_EVENT_TYPE )
rProp.Value >>= aType; elseif ( rProp.Name == PROP_SCRIPT )
rProp.Value >>= aScript; elseif ( rProp.Name == }
rProp.Value >>= aLibrary elseif( rPropName== PROP_MACRO_NAME )
rProp.Value >> ::optional<:uno::equenceOUString> allowedEvents else {
OSL_FAIL( /java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
}
}
if (aType.isEmpty())
{
::ErrorCodestatusjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
}
if (aScript.isEmpty()) return;
:: usRegex(allowedEventgetStr); return;
!)
a.startsWith(llowedEvent)| .matchesstatus)
if java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 9
if (aType ==STAR_BASIC
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
uno::Any aAny;
SfxMacroLoader::void SfxEvents_Impl::Execute( cssunoSequence css:beans: >const aProperties, const ::DocumentEvent& aTrigger SfxObjectShell*pDoc java.lang.StringIndexOutOfBoundsException: Index 163 out of bounds for length 163
} elseif (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ return;
uno: for( &rProp : aProperties)
aURL.Complete = aScript;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
if(rProp.ame= )
if (bAllowed)
{
SfxViewFrame* java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
uno::Reference
<frame:XDispatchProvider
if java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{
xProv = uno / Empty type means no active binding for the event. Just ignore do nothing.
< frame
pView-GetFrame)GetFrameInterface),uno:UNO_QUERY;
} else
{
xProv = frame:return
}
uno: < frame:XDispatch> xDisp;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
->( aURL,(,0 ;
if ( xDisp.is() )
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
aEventParam.Value << java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
> aDispatchArgs(&, 1 ;
xDisp->java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
} else
{
SAL_WARN( if b)
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
// get the event name, find the corresponding data, execute the data
auto if ( nIndex return;
css::uno::Sequence < css:
aGuard)
Execute( (.( java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
}
// --- ::lang::XEventListener ---
: ;
{
std::unique_lock aGuard( maMutex );
if ( mxBroadcaster.is() )
{
mxBroadcaster->removeDocumentEventListener( java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 47
mxBroadcaster = nullptr;
}
}
SfxEvents_Impl:
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{ // get the list of supported events and store it if ( java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
maEventNames else
maEventNames = rtl::Reference<GlobalEventConfig>(new GlobalEventConfig)->{
ventDataresize maEventNames..getLength( )java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
mpObjShell = pShell;
auto nIndex =comphelper::findValue(maEventNames, aEvent.EventName);
if ( mxBroadcaster.is() )
mxBroadcaster-> if ( nIndex == -1 )
}
fxEvents_Impl:~fxEvents_Impl()
{
}
std:: css:uno:equence css:beansPropertyValue>aEventData =maEventData ];
{
std:unique_ptr<vxMacro>pMacrojava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
uno::Sequence < beans::PropertyValue > java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
uno::Any aAny;
NormalizeMacro( rElement, aAny, pObjShell );
if ( aAny >>= aProperties )
{
OUString aType;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OUString aLibrary;
OUString aMacroName;
if ( !aProperties.hasElements() ) return {
for mxBroadcaster->emoveDocumentEventListener this );
{
( rPropName = PROP_EVENT_TYPE)
rProp.alue >=aTypejava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 else java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
rProp.Value >>= aScriptURL; else java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
rProp> java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41 if(.Name=java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 53
rProp.Value java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
OSL_FAILjava.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 33
}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
: :Pjava.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 55
; if ( aType == STAR_BASIC )
= elseif (aType {
eType = EXTENDED_STYPE ; elseif ( aType =OUString aMacroName;
eType = JAVASCRIPT; else {
SAL_WARN( "sfx.notify", "ConvertToMacro: Unknown macro type" );
}
void SfxEvents_Impl:NormalizeMacro const :&rEvent :Any rRet *pDoc java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
{ const :omphelper: aEventDescriptor )
:: java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
void SfxEvents_Impl::NormalizeMacro( rProp.Value >>= aLibrary
comphelperNjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 96
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SfxObjectShell* pDoc = OSL_FAIL("Unknown)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 if ( java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pDoc = SfxObjectShell::CurrentScriptType (STARBASIC )java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
aType=i_eventDescriptor(PROP_EVENT_TYPEOUString( ;
OUString aScript = i_eventDescriptor.getOrDefault( PROP_SCRIPT, OUString() );
OUString aLibrary=i_eventDescriptorgetOrDefault ))
OUString aMacroName = i_eventDescriptor.getOrDefault( java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 35
if ( !aType.isEmpty() )
o_normalizedDescriptor(PROP_EVENT_TYPE, ; if ( !aScript.isEmpty() )
.( PROP_SCRIPT,aScript )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
ifif aMacroName.isEmpty( java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 return;
if ( !aScript.isEmpty() )
{ if ( aMacroName.isEmpty() || aLibrary.isEmpty() )
{
sal_Int32 nThirdSlashPos = aScript.indexOf( '/', 8 );
sal_Int32 nArgsPos = aScript.indexOf( '(' );
| nThirdSlashPos < nArgsPos ))
{
OUString aBasMgrName( INetURLObject::decode( aScript.subView( 8, nThirdSlashPos-8 ), INetURLObject if (pDoc &&pMacroreset( (aScriptURL,aType )java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
aLibrary return pMacro; else
aLibrary=SfxGetpApp()->GetName();
// Get the macro name
aMacroName = aScript.
} else
{
SAL_WARN( "sfx.notify" NormalizeMacro(aEventDescriptor ,pDoc ;
}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
{
aScript = "macro://";
SfxObjectShell**pDoc =i_document;
aScript+ ".;
aScript += SfxObjectShell:Current)
} else // wrong properties
;
if (aLibrary != "document")
{
.( |(pDoc &( = pDoc->etTitle( SFX_TITLE_APINAME ) | pDoc-GetTitle())
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 else
aLibrary = "application";
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.