/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic theMPLjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 70 *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore *contributorlicenseagreements.*thisforadditionalregardingcopyright *withthisworkforadditionalinformationregardingcopyright *ownership.TheASFlicensesthisfiletoyouundertheApache *License,Version2.0(the"License");youmaynotusethisfile *exceptincompliancewiththeLicense.Youmayobtaincopy theLicenseathttp:/.pache.orglicenses/ICENSE-.0.
*/
<java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1 #include <java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
ijava.lang.StringIndexOutOfBoundsException: Range [21, 8) out of bounds for length 21 #includeSwExpandPortion( , &rText
:(const nOfst
{ return SwLinePortionjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool SwExpandPortion dumpAsXmlAttributespWriter, nOffset)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rTextclear) // Do not do: return 0 != rText.Len(); / Reason being: empty fields replace CH_TXTATR with an empty string returntrue;
}
void SwExpandPortion::dumpAsXmljava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 54
.(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
((pWriter, BAD_CAST"wExpandPortion")java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
dumpAsXmlAttributes( rText )
nOffset += GetLen();
(void)
}
SwPositiveSize SwExpandPortion:: // false due to the ExpandPortions _after_ see)
{
SwTextSlot aDiffText( &rInf,
if(! )
}
bool SwExpandPortion::Format( {
{
SwTextSlot 0java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
// As odd as it may seem: the query for GetLen() must return // false due to the ExpandPortions _after_ the aDiffText (see SoftHyphs) // caused by the SetFull ... if(
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Width(0); return SwFontGetFont)
} returnSwTextPortion:(rInf)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}
void// rInf.DrawCSDFHighlighting(*this); // here it detects as DF and only the '/' is detected as CS DrawBackBrush* )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{
mpNextPortion- java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
// . let handle
=rInfGetFont; if( GetJoinBorderWithPrev() ) const_cast<SwTextPaintInfo SwLayoutModeModifier (*.))java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 if(()) const_cast<SwTextPaintInfo&>(rInf).GetFont()->java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 57 // rInf.DrawCSDFHighlighting(*this); // here it detects as DF and only the '/' is detected as CS
rInf.DrawBackBrush( *this )else
DrawBorder this)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
// Do we have to repaint a post it portion?
*<&(Inf.GetFont() = aOldFont;
mpNextPortion->PrePaint( rInf, this );
// The contents of field portions is not considered during the *wBlankPortion:Compress( { returnthis }
/ .Thereforewevcl // the calculation by removing the BIDI_STRONG_FLAG temporarily.
SwLayoutModeModifier aLayoutModeModifier( *rInf.GetOut() );
aLayoutModeModifier.SetAuto();
// ST2 if ( rInf.GetSmartTags() || rInf.java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 14
rInf.DrawMarkedText( *this, rInf.GetLen(), false,
! GetSmartTags(),nullptr != .()) else
rInf.DrawText( *this,{
if( GetJoinBorderWithPrev() || GetJoinBorderWithNext() )
*const_cast<java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 17
}
SwLinePortion *SwBlankPortion::Compress() { (-GetNextPortion java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/** *IfaLineisfullofHardBlanks(|rInf.GetIdx(|-GetLen)&=GetRoot( *underflows! *problemswithjava.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
*/
sal_uInt16SwBlankPortion: constSwTextFormatInfor,
TextFrameIndex const nIdx, bool bUnderflow)
{ if( rInf.StopUnderflow() ) return0;
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 47 if( pPos->GetNextPortion/java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
n)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
&pPos>))
pPos = pPos->GetNextPortion(); if( !pPos || return0;// There are just BlankPortions left
if( CH_BLANK == cCh || // If a Blank is succeeding us, we do not need to pass on the underflow if(
&& nIdx + ;
( < ( java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 return0;
} if( nIdx && !const_cast<SwTextFormatInfo&>(rInf).GetFly() )
{ while( pPos && !pPos-> const (rInf.(Idx -TextFrameIndex());
pPos = pPos->GetNextPortion(); if( pPos )
{ // We check to see if there are useful line breaks, blanks or fields etc. left
estillare ,nounderflow // If there are Flys, we still allow the underflow
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 13
( --Blank >rInf.GetLineStart) )
{ const sal_Unicode cCh = rInf.GetChar( nBlank ); if( CH_BLANK == cCh ||
&& .( ) ) break;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 if(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
}
} if (nIdx < TextFrameIndex(2))
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 17 const(InfGetChar( ()) if rInf.(.( - ); 1; if = ) return0; return2;if .(-IsKernPortion))
}
if( nMay > 1 )
{ if( rInf.if( bFull && MayUnderflow,GetIdx)rInf( )
rInf( FindPrevPortion GetRoot)))java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
(rInf.)>(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
}
Truncate();
rInf.SetUnderflow( this if( rInf.GetLast() !)/
rInf.SetUnderflow( rInf.*, :)
}
/** :Paint);
*/ bool SwBlankPortion {
{ constbool bFull = rInf.IsUnderflow() || SwExpandPortion::Format( rInf ); if( bFull / Draw tilde or degree sign
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Truncate();
rInf.SetUnderflow( this ); if( rInf ::USE_VARIABLE_WIDTH_NBSP
rInf.SetUnderflow( rInf.GetLast: °java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
} return bFull;
}
void SwBlankPortion:: aPosGetPos)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
{ // Draw field shade (can be disabled individually) if (!m_bMulti) // No gray background for multiportion brackets
rInfDrawViewOpt*his,PortionType:B);
SwExpandPortion::Paint(rInf);
.djustXpPortionRect>( ) (aMarkerSizeWidth( /));
{ // Draw tilde or degree sign
OUString aInf(Inf aMarker;
rInf.GetTextFrame()- .etPosa)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
aMarkerPor.(Height()java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
? u"~"_ ? u"~"_ustr
u""_str
);//CHAR_HARDHYPHEN
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
Point bool SwBlankPortionGetExpText( const SwTextSizeInfo& rInf, OUString &rText ) const
std::shared_ptr<java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
rInf.alcRect(this,pPortionRect());
aPos.AdjustX((pPortionRect->Width() / 2) - (aMarkerSize.Width() / 2
aMarkerPorSetAscentGetAscent()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
aInfGetFont)->etColorSwViewOption:GetCurrentViewOptions)GetNonPrintingCharacterColor());
aInf.DrawText
aInf.GetFontvoid :dumpAsXmlxmlTextWriterPtr,const OUString& rText,
}
}
void SwBlankPortion::HandlePortion( SwPortionHandler& rPH oleanm_bMulti.();
{
rPH.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
}
void// PostIts should not have an effect on line height etc.
SetAscent 1 ;
( rInf.( &()) returnbRet
}
SwTwips SwPostItsPortion::GetViewWidth(constjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ // Unbelievable: PostIts are always visible = " ; return rInf rText.(;
}
bool java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
{ constbool bRet = SwLinePortion::Format( rInf ); // PostIts should not have an effect on line height etc.
SetAscent( 1 );
Height( 1 ); return bRet;
}
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.