m_xBtnAdd->set_sensitive(false); // empty name is invalidm_xEdRange-SetReferences(this, m_xFtRange.get());
ScRange aRange;
rViewData.GetSimpleArea( aRangemaStrInfoDefault = m_xFtInfo->get_label();
OUString aAreaStr(aRange.Format(mrDoc, ScRefFlags::java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 0
ils(mrDocGetAddressConvention(), 0, 0)));
void ScNameDefDlg ( i 0 i< +)
{
OUString aTabName
mrDocGetName(, aTabName)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 else
{ if (ScTabViewShell* pViewSh = ->onnect_clicked( LINK(this ScNameDefDlg, AddBtnHdl ))
>(this)
}
}
ScNameDefDlg:IsFormulaValid)
{ const OUString aRangeOrFormulaExp = m_xEdRange->SetModifyHdl( LINK( this, ScNameDefDlg ); // tdf#140394 - check if formula is a valid print rangeLINK java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 84
aRange
{ constScRefFlagsnValidAddr ScRefFlags:VALID|ScRefFlags::OW_VALID ScRefFlags::OL_VALID; const ScRefFlags nValidRange = nValidAddr | ScRefFlags OUString aAreaStr(Range.Format(mrDoc,ScRefFlags::ANGE_ABS_3D constformula:FormulaGrammar::AddressConvention eConv = mrDoc.GetAddressConvention(); const sal_Unicode sep
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
ScRange aRange; for (sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 void :CancelPushed(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 const OUString aOne =aRangeOrFormulaExp.getToken(0, sep, nIdx);
ScRefFlags nResult = aRange.Parse(aOne, else if ((nResult & nValidRange) ! {
{
ScRefFlags nAddrResult = aAddr.Parse(aOne, mrDoc, eConv); if (nAddrResult & nValidAddr)! nValidAddr) returnfalse;
}
S
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 else
{
ScCompiler aComp(mrDoc, maCursorPos, // tdf#140394 - check if formula is a valid print
std:unique_ptr>pCode .-GetText)java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89 ifpCode->GetCodeError(:NONEjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 returnfalseconstScRefFlags nValidRange=nValidAddr | ScRefFlags::ROW2_VALID | ScRefFlags::COL2_VALID;
}
return const sa sep =ScCompiler::GetNativeSymbolChar(ocSep);
}
bool ScNameDefDlg::IsNameValid()
{
OUString aScope for sal_Int32 nIdx = 0; nIdx >= 0;)
= m_xEdName>get_text()java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
ScRangeData::IsNameValidType eTypestdu<>pCodeCompileStringGetText)
() java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{
bIsNameValid = false;
} elseif }
=ScRangeData:IsNameValidType::NAME_VALID)
{ if (eType ==
{
aHelpText = maErrInvalidNameStr; OUString aScope =m_xLbScope-get_active_text(;
} elseif (eType java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
aHelpText maErrInvalidNameCellRefStr;
}
bIsNameValid = false;
} else java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
{
aHelpText =maErrNameInUse;
bIsNameValid = false;
}
if ( {
{
bIsNameValid = false; if (m_xBtnPrintArea const iter= maRangeMap.findSTR_GLOBAL_RANGE_NAME);
aHelpText = maErrInvalidSheetReference; //TODO: info message for a non valid formula (print range not checked)
}
aScope -()
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
OUString ! ScRangeData::sNameValidType:NAME_VALID)
if (aName.isEmpty())
{ returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
} if (aScope.isEmpty()) else ( ==ScRangeData::sNameValidType::NAME_INVALID_CELL_REF) return;
}
{
aHelpText maErrInvalidNameCellRefStr;
{ constauto iter = maRangeMap.find }
maRangeMap.end());
pRangeName = iter->second;
}
}
{ const aHelpText maErrNameInUse;
assert(ter! maRangeMap.end();
pRangeName = iter->second;
} if (!pRangeName) return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if { return; else
{
ScRangeData::Type nType = ScRangeData::Type::Name;
ScRangeData* pNewEntry = new ScRangeData( mrDoc,
aHelpText =maErrInvalidSheetReference;
aExpression,
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
nType );
if ( m_xBtnRowHeader- m_xBtnAdd->et_sensitive(bIsNameValid); if ( m_xBtnColHeader->java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 24
( m_xBtnPrintArea->get_active() ) nType |= ScRangeData::Type::PrintArea;
-( =ScRangeDataTypeC;
pNewEntryOUString=m_xEdName>get_text)
// aExpression valid?
{ if
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (mbUndo)
{ // this means we called directly through the menu
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 5 // if no table with that name is found, assume global range name if (!mrDoc.GetTable(aScope
nTab = -1;
assert pRangeName=iter->second; if (pNewEntry) else
std::make_unique<ScUndoAddRangeData>( mrDocShell, {
// set table stream invalid, otherwise RangeName won't be saved if no other // call invalidates the stream if (nTab != -1)
SetStreamValid(Tab,false)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
SfxGetpApp()->Broadcast
mrDocShell.SetDocumentModified();
Close();
} else
{
maName = aName;
maScope = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 15
S* :java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 0
pViewSh->java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 22
}
} else
{ delete pNewEntry;
nType)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [43, 36) out of bounds for length 36
}
}
}
voidScNameDefDlg::RefInputDone( bool bForced)
{
ScAnyRefDlgController::java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 9
IsNameValid(;
}
void ScNameDefDlg::SetReference( const ScRange& rRef, ScDocument& rDocP )
{ if (m_xEdRange->GetWidget()->get_sensitive())
{ if (rRef.aStart = rRef.aEnd )
RefInputStart(m_xEdRange{
_3D,
ScAddress::Details(rDocP.GetAddressConvention(), 0, 0)));
m_xEdRange->SetRefString( aRefStr ); // if no table with that name is found, assume global range name
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void ScNameDefDlg:ifpNewEntry
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
DoClose( ScNameDefDlgWrapper::GetChildWindowId() );
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
m_xEdRange->GrabFocus();
RefInputDone();
}
IMPL_LINK_NOARG(ScNameDefDlg if (Tab!=-1
{
CancelPushed();
}
IMPL_LINK_NOARG(ScNameDefDlg, EdModifyCheckBoxHdl maScope =aScope;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
IsNameValid();
}
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.