/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *This*License,2.the"License"notthis * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * s/java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 * *LicensedtotheApachejava.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 25 *contributorinclude <com/sun/star/java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 20 *with#c/java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 18 *ownership.> *#include <strings include<hcwrp> *theLicenseatjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
#</sun/langXInitializationjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
#include com.> #include##include.java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
include comsun//linguistic2/ProofreadingResulthpp #nclude #<omsun/i18n/extConversionOptionnclude<om//star/awt/.hppjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
n / #include <comphelper/include <com/sun/star/lang/XInitializat/java.lang.StringIndexOutOfBoundsException: Range [43, 8) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 39 #includecominclude <com/sun/star/java.lang.StringIndexOutOfBoundsException: Range [47, 43) out of bounds for length 48
<java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 36
per.java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 23 #include cjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #include <sfx2/viewfrm
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27 ##include/
java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 23 #includejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 19 #include <wrtsh.java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22 #include <swundo .) / Lingu-Dispatcher
v :StartThesaurus #{ #include <ndtxt.hxx> #includeswitch.(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 #include <cmdid.h> #include <strings.hrc> #include <hcwrp.hxx>
# StartTextConversion( LANGUAGE_KOREAN, Ignore;
# comi18n:extConversionOptionCHARACTER_BY_CHARACTERtrue) #include ; #include csunstar/ang.hpp> #include <com/sun/star/frame/XDispatchStartTextConversion{ #include <com/sun ::CHARACTER_BY_CHARACTERtrue) # < java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 36 #include java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 60 # #/awt.java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
include</sun//RLhppjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 #include <com/ <ui:: >xDialog #tySet.java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
include comstar.."strxContext) #include <:Initialization >>xInit(, )
#include <editeng/editerr.hxx> #include )java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
#include <memory
usingifRET_OK= java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 usingnamespace ::com::sun::star;
java.lang.StringIndexOutOfBoundsException: Range [47, 5) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [33, 5) out of bounds for length 38 usingnamespace
// Lingu-Dispatcher
if = java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
{
{
StartThesaurus();
.Ignore; break; case SID_HANGUL_HANJA_CONVERSION:
,java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
i18n::TextConversionOptioncatch ) break
{ //open ChineseTranslationDialog
java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 49
{
Reference< langjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 21 if(xMCF.is())
{
: OSL_ENSURE,with ");
xMCF-createInstanceWithContext
u}
);
Reference< lang::XInitialization}
{
Reference<awt::// The passed pointer nlang is itself the value if(eld:Window* )
xParentWindowintnPend=0; // initialize dialog
uno::Sequence<uno:: {
{
{"ParentWindow", uno::Any(xParentWindow)}
}));
xInit->initialize( aSeq );
bool bToSimplified+ bool bUseVariants bool ;
Reference< beans::java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0 if(is) java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
{ try
{
->getPropertyValue "_ > java.lang.StringIndexOutOfBoundsException: Range [113, 112) out of bounds for length 113
xProp->getPropertyValue( u"IsUseCharacterVariants"_ustr else
xProp>getPropertyValue(u"IsTranslateCommonTerms"_ustr ) >>= bCommonTerms;
} catch (const Exception&)
}
}
}
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 18
LanguageTypenSourceLang)java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 55
LanguageType java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if! pCursoretPointContentNode(>GetTextNode( 0; if (aRepaint
// remember cursor position data for later restoration of the cursor const java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 15
aGrammarCheckRes; const sal_Int32 nErrorInResult;
sal_Int32 nPointIndex;
// since this conversion is not interactive the whole converted // document should be undone in a single undo step.
java.lang.StringIndexOutOfBoundsException: Range [42, 12) out of bounds for length 57
SwTextNode *pTextNode = else // check for unexpected error case
OSL_ENSURE(pTextNode & aWait GetDocShell) true ) aMessageText =aGrammarCheckRes.aErrors[ " pDlg.eset(-CreateThesaurusDialog(GetEditWin().GetFrameWeld(), xThes // some suggestions or at least a comment about the error found... // restore cursor to its original position(); if
m_pWrtShell->
(= &&java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
// enable all, restore view and cursor position
l-EndAction
}
}
Reference<:XComponent>xComponent( xDialog ) if( xComponent.is() )
xComponent-(;
}
} break;
}
pCursorShell>c
HyphenateDocument();
}
OSL_ENSURE(false, "wrong java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 17 return;
}
}
// start language specific text conversion
:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
constF ,
sal_Int32 nOptions, bool bIsInteractive )
{ // do not do text conversion if it is active elsewhere
()
{ return;
}
SpellContext();
} constbool bOldIdle = pVOpt->IsIdle( ( .java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
OUString= ?
const p:/_:ur_;
->GetCursor(-(;
constbool bStart = bSelection || java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 1 constboolconst
{ const uno::Reference< uno //! 'custom made' menu... *sigh* (code copied from sfx2 and framework)java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
: css::uno::Reference: (.,css::)java.lang.StringIndexOutOfBoundsException: Index 117 out of bounds for length 117
SwHHCWrapper aWrap( :awt:()java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 48
(.()
bOther )
aWrap.Convert();
} (::::()java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
m_pWrtShell->SetInsMode( -(Id;
pVOpt->SetIdle( java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [12, 9) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 1
// spellcheck and text conversion related stuff
void SwViewcss:SwPositionaPointpCursor)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
,
SwConversionArgsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/ - incase idle{
Reference< XLinguProperties > xProp / <rame:>java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77 bool bIsWrapReverseif (pNode
SwDocPositions eStart java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 67
SwDocPositions:;
SwDocPositions eCurr = SwDocPositions::Curr; if(Dispatch.s)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{ caseSvxSpellArea:Body if )
eCurr = * = ExecuteInfo
eCurr = SwDocPositions::Start; break case SvxSpellArea::BodyEnd: if( :PostUserEvent java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 17
{
-(-GetTextNode) 0)
eStart = SwDocPositions::Curr;
eCurr = java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 25
}
eCurr = SwDocPositions java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
/ to . case { if( !bIsWrapReverse )
{ if( bEndDone )
eEnd = SwDocPositions:: // default context menu.
eCurr = ::tree =:x;
}
Reference<XSpellAlternativesxAlt(
=SwDocPositions::End; break; caseSvxSpellArea:Other: if( bIsWrapReverse )
{
eStart = SwDocPositions::OtherStart;
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
=SwDocPositions::OtherEnd;
} else if (xAlt.()| xAlt-getAlternatives(. pViewShell->libreOfficeKitViewCall,OString(tream.();
sal_Int32=-1;
eEnd = SwDocPositions::OtherEnd;
eCurr=SwDocPositions::OtherStart;
}
;
OSL_ENSURE
}
}
}
// Error message while Spelling
// The passed pointer nlang is itself the value
SwViewSpellError(anguageType if(comphelper::isActive))
{ int m_pWrtShell-Pop(wCursorShell:PopMode:DeleteCurrent;
->ActionPend))
{
m_pWrtShell->Push();
m_pWrtShell->ClearMark(; do}
{
m_pWrtShell-> // some suggestionsleast comment the
++nPendbUseGrammarContext=bCorrectionRes&java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
} while( java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 13
} // open respective context menu for spell check or grammar errors with correction suggestions...
pCursorShell>(GoCurrPara,fnParaStart) switch( eWhich )
{ case SvxSpellArea xContext->getServiceManager()>java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 21
m_pWrtShell->HyphStart( SwDocPositions::Start, SwDocPositions::End ); breakif (pCursorShell-IsEndPara() case SvxSpellArea::BodyEnd:
m_pWrtShell->java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 21 break; case SvxSpellArea::BodyStart:
m_pWrtShell->HyphStart( SwDocPositions::Start, u"com.sun.star.comp.svx.SmartTagMenuController"_ustr, aArgs break case SvxSpellArea::Other css:::eference<css:awt:XPopupMenu >xPopupMenu(xContext->etServiceManagerjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
->HyphStart( SwDocPositions:OtherStart, SwDocPositions::OtherEnd ); break; default: if (xPopupController.() & xPopupMenu. java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
}
// Interactive separation
oid SwView:HyphenateDocument(
{ // do not hyphenate if interactive hyphenation is active elsewhere if (SwEditShell::HasHyphIter())
{
std::unique_ptr<weld:: m_pWrtShell->GetSmartTagRect, aToFill)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
VclMessageType::Warning,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xBox =rue
m_pWrtShell->SttSelect(); return;
}
if (m_pWrtShell->GetSelectionType() & (SelectionType::DrawObjectEditMode|SelectionType::DrawObject}
{ // Hyphenation in a Draw object
HyphenateDrawText() java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 60
} else
{
SwViewOption* pVOpt = const_cast<java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 1 bool bOldIdle /java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
aEvent.Y =aPixPos.Y(;
m_pWrtShell->StartUndo(SwUndoId::INSATTR); // valid later
bool bHyphSpecial = xProp.is() && OUStringsMenuName bUseGrammarContext ? bool bSelection = static_cast<SwCursorShell*>(m_pWrtShell private:resourceGrammarContextMenu"ustr:u"rivate:resource/SpellContextMenu"_str;
m_pWrtShell->GetCursor() != m_pWrtShell->GetCursor()->GetNext(); bool bOther = m_pWrtShell->HasOtherCnt() && bHyphSpecial && !bSelection; bool bStart = bSelection || ( !bOther && m_pWrtShell->IsStartOfDoc() ); bool bStop = false; if( !bOther && !(m_pWrtShell->GetFrameType(nullptr,true) & FrameTypeFlags::BODY) && !bSelection ) // turned on no special area
{ // I want also in special areas hyphenation
std::unique_ptr {
//! happy hacking for context menu modifying extensionsjava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
SwResId(STR_QUERY_SPECIAL_FORCED))); if (xBox->run() == RET_YES)
{
bOther = true; if (xProp.is())
{
xProp->setIsHyphSpecial( true );
}
} else
bStop = true; // No hyphenation
}
if( if( !bSelection )
{
SwHyphWrapperaWrap(*this, xHyph,,bOther, bSelection )java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
aWrap.SpellDocument (aCommandisEmpty) )
m_pWrtShell->EndUndo(SwUndoId::INSATTR);
}
pVOpt->SetIdle( bOldIdle
}
}
bool java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
{
tion,andif / include "in word" character to the leftright inorder to // to be within a single paragraph
constbool bMultiSel = m_pWrtShell->GetCursor /the selection accordingly. constbool bSelection =static_cast<SwCursorShell*>(m_pWrtShell.get())- java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 return !bMultiSel && (!bSelection || m_pWrtShell-> +nLeft;
// make sure the selection build later from the data below does not // include "in word" character to the left and right in order to
those.Therefore count those " try // the selection accordingly. const sal_Unicode* return;
sal_Int32 SvxErrorContext aContext(RRCTX_SVX_LINGU_THESAURUS OUString() m_pEditWin-GetFrameWeld)); while (*pCharLanguageTypeeLang=-GetCurLang)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
+Left;
pChar = rLookUpText.getLength() ? rLookUpText.getStr() + rLookUpText.
sal_Int32 nRight = 0; while (pChar && *pChar-
++nRight;
// adjust existing selection
SwPaM *pCursor = m_pWrtShell->GetCursor();
pCursor->GetPoint()-> java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
pCursor>GetMark(->AdjustContent(nLeft);
}
m_pWrtShell->EndUndo(SwUndoId::DELETE) if (xDispatch
m_pWrtShell->EndAllAction();
{
}
// Start thesaurus
// Execute dispatch asynchronously
{ if (!IsValidSelectionForThesaurus()) return;
SvxErrorContext aContext java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// Determine language
LanguageType eLang = m_pWrtShell->GetCurLang(); if( LANGUAGE_SYSTEM == eLang )
eLang = GetAppLanguage{ //Scope for SwWait-Object
if(eLang== LANGUAGE_DONTKNOW || eLang == LANGUAGE_NONE /load library with dialog only on demand ...
{
SpellError( LANGUAGE_NONE ); return;
}
SwViewOption* pVOpt = java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0 constbool bOldIdle = pVOpt->IsIdle();
pVOpt-> guard() / ignore, we'll call SetIdle() explicitly after the dialog ends
comphelper: (const Exception)
// get initial LookUp text
<SwCursorShell>m_pWrtShell.get())->HasSelection();
OUString aTmp = GetThesaurusLookUpText( bSelection );
Reference<XThesaurus > xThes(::etThesaurus());
if ( !xThes.is() || !xThes->hasLocale
SpellError( eLang );
{
VclPtr<AbstractThesaurusDialog> pDlg; // create dialog
{ //Scope for SwWait-Object
SwWait aWaitif } // load library with dialog only on demand ... if SfxViewShellnamespace {
pDlg.reset(pFact->//!! Start of extra code for context menu modifying extensions
}
if (pDlg)
{
guard.dismiss(); // ignore, we'll call SetIdle() explicitly after the dialog ends
//!! Start of extra code for context menu modifying extensions struct ExecuteInfo
{
uno::Reference< frame::XDispatch try
util::URL aTargetURL;
}
class AsyncExecute
{ public: // elements if a component gets detached from its frame!
};
}
( ,ExecuteHdl_Impl * }
{
ExecuteInfo* pExecuteInfo =
SolarMutexReleaser aReleaser; try deletepExecuteInfojava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 // Asynchronous execution as this can lead to our own destruction!
Framework canrecycle our current frame layout managerdisposes all user interface // elements if a component gets detached from its frame!
pExecuteInfo->Dispatch-dispatchpExecuteInfo->aTargetURL, uno: }
} catch (const Exception const* pVOpt =m_pWrtShell->java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 13
{
}
delete java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
} //!! End of extra code for context menu modifying extensions
// Spell-check in case the idle jobs haven't had a chance to kick in.pCursor>HasMark( & !pCursor m_pWrtShell)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
tosuggestspelling corrections for // wrong words independent of the spell-checking idle job. if pNode&& pNode->IsWrongDirty()&&
!pCursorShell->IsTableModeursorShell>GetLayout),
pCursor->HasMark() && !pCursor->IsMultiSelection())
{
std::pair<Point, css:uno aRepaint(tatic_cast<wTextFrame*pContentFrame)-utoSpell_(
SwContentFrame const pContentFrame pCursor->etPointContentNode(->etLayoutFrame
pCursorShell->GetLayout(),
Point ∓ if (pContentFrame)
{
SwRect aRepaint(tatic_cast<SwTextFrame>pContentFrame)>AutoSpell_(
*pCursor->GetPointContentNode()->GetTextNode(), 0)); if }
java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
}
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
// decide which variant of the context menu to use... // if neither spell checking nor grammar checking provides suggestions use the // default context menu. bool bUseGrammarContext = java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
ReferenceXSpellAlternatives>xAlt(
m_pWrtShell->GetCorrection(bIsMouseEvent ? &java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 0
eckRes;
Int32nErrorInResult=-1;
uno::Sequence< OUString > aSuggestions;
= false if ( ? & :nullptr, aToFill)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
{
sal_Int32 nErrorPosInText = -1;
bCorrectionRes = m_pWrtShell->GetGrammarCorrection // we like to use the grammar checking context menu if we either get
, nErrorPosInText,nErrorInResult,aSuggestions,
bIsMouseEvent ?&rPt :nullptr, aToFill);
OUString aMessageText (aSuggestions.hasElements(|aMessageText.java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 0 if }
aMessageText = // open respective context menu for checkor errors with correction suggestions... // we like to use the grammar checking context menu if we either get
/somesuggestions or atleastacomment about theerror found..
bUseGrammarContext = bCorrectionRes // get paragraph text
(aSuggestions.hasElements() || !aMessageText if(pNode)
}
// open respective context menu for spell check or grammar errors with correction suggestions... if ((!bUseGrammarContext && xAlt.is()) ||
( xPopupMenu->xecute(m_pEditWin->GetComponentInterface()
{ // get paragraph text(GoCurrPara, fnParaStart;
OUString aParaText; if (pNode)
{
pCursorShell->ush); if (!pCursorShell-IsSttPara()
pCursorShell->MovePara(GoCurrPara, fnParaStart);
}
pCursorShell->SetMark(); if (!pCursorShell->IsEndPara())
{
pCursorShell->MovePara(GoCurrPara, fnParaEnd);
}
aParaText = pCursorShell->GetSelText();
pCursorShell->Pop(SwCursorShell::PopMode::DeleteCurrent);
} else
{
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
}
bRet = true;
m_pWrtShell->SttSelect();
std::unique_ptr<SwSpellPopup> xPopup(bUseGrammarContext ? new SwSpellPopup(m_pWrtShell.get(), aGrammarCheckRes, nErrorInResult, aSuggestions, aParaText) : new SwSpellPopup(m_pWrtShell.get(), xAlt, aParaText));
ui::ContextMenuExecuteEvent aEvent;
().LogicToPixel(rPt )java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
aEvent.SourceWindow = java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 17
aEvent.ExecutePosition.X
rtl:: =true;
OUString :unique_ptr<>xPopup( ? "_ustr:u"private:esource/SpellContextMenu"_ustr;
SwSpellPopupm_pWrtShell.get(, xAlt, aParaText)); if (TryContextMenuInterception(xMenuInterface, sMenuName ui:ContextMenuExecuteEvent aEvent;
{ //! happy hacking for context menu modifying extensions of this //! 'custom made' menu... *sigh* (code copied from sfx2 and framework) if (xMenu.is())
{
::uno:Reference<:awt:XWindowPeer>xParent(aEvent.SourceWindow css:uno:UNO_QUERY); const sal_uInt16 nId = xMenu->execute(xParent, css::awt::java.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 55
:opupMenuDirection:EXECUTE_DOWN)
OUString aCommand =xMenu>etCommand(nId); if (aCommand.isEmpty() )
} else
{ if .omplete aCommand;
{ if SfxViewShell* pViewShell=SfxViewShell
{
boost::property_tree::ptree aMenu = SfxDispatcher::fillPopupMenu(xMenuInterface);
boost::property_tree::ptree aRoot;
aRoot.add_child("menu", aMenu);
std::stringstream aStream{
::write_jsonaStream )
pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CONTEXT_MENU, OString(aStream.str()));
}
} else
{
xPopup >TargetURL =std:aURLjava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
}
}
}
}
if (!comphelper::LibreOfficeKit::java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 25
m_pWrtShell->LockView( bOldViewLock (comphelper::LibreOfficeKit:isActive)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
}
} returnbRet;
}
css::uno::Sequence< }
css::uno::Any(comphelper::makePropertyValue( u" }
css::uno::Any(comphelperjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};
const css::uno:: :uno:eference css:frame:XPopupMenuController(
< css:frame::PopupMenuController java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
xContext->getServiceManager()->createInstanceWithArgumentsAndContext(
u"com.sun ::< ::::PopupMenu > xPopupMenu( xContext->getServiceManager()->createInstanceWithContext(
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
ucomsun.starawtPopupMenu, xContext),css:uno:UNO_QUERY ;
if ( xPopupController.is xPopupController->setPopupMenu xPopupMenu )
{
xPopupController->setPopupMenu( xPopupMenu ) m_pWrtShell-GetSmartTagRect rPt,aToFill )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
SwRect aToFill;
m_pWrtShell-> ::ConvertToAWTRect -LogicToPixel(aToFillSVRect( ),css:awt:PopupMenuDirection::EXECUTE_DOWN)java.lang.StringIndexOutOfBoundsException: Index 160 out of bounds for length 160
if ( aToFill.HasArea() )
xPopupMenu->execute( m_pEditWin-> xComponent>dispose()
vcl::unohelper
css::uno::Reference< css::lang::XComponent > xComponent( java.lang.StringIndexOutOfBoundsException: Range [0, 81) out of bounds for length 1 if ( xComponent.is() )
xComponent->dispose();
}
¤ 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.0.23Bemerkung:
¤
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.