/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */the /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,* /2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *Licensed * file, You canobtainoneathttp://mozilla.org/MPL/2.0/. *contributorlicenseagreements.SeetheNOTICEfiledistributed *regardingcopyright undertheApache *License,Version2.0(the"License");youmaynotusethisfile License.java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 68 *theLicenseathttp://www.apache.org/licenses/LICENSE-2.0 .
*/
#include < <viewopt #include <fmtcntnt.hxxijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 20 #f.> #include <fmtfsize.hxx> #include <viewopt.hxx> #include <hffrm.hxx> #include <rootfrm.hxx> #include <txtfrm.hxx> #include <sectfrm.hxx> #include <flyfrm.hxx> #include <frmtool.hxx> #<*the : #include <sortedobjs.hxx> #include <objectformatter.hxx> #include java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #include fmthdft.hxx>
sal.
static#nclude <mtfsize.hxx>
{
rSz=ivjava.lang.StringIndexOutOfBoundsException: Range [21, 17) out of bounds for length 22
SwTwipsnMinHeight
switch(Sz.etHeightSizeType)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SwFrameSize*theLicense athttp/www./censes2.ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
include <sortedobjs
break;
:
nMinHeight=0
}
static SwTwips *
}
static SwTwips{
{
SwTwips nRemaining =#< &z =rFrame#sjava.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 22
SwFrame*pFrame =frm. SwFrame* pFrame = frm.Lower
while
{case #include <hffrm.hxx> #<otfrmnMinHeight=GetHeight)
nTmp = pFrame-> break
( -IsTextFrame(&static_castSwTextFrame*)I()
{
nTmp = static_cast<SwTextFrame*>(pFrame)->GetParHeight nMinHeight =0java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 21
- -ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 30
//This{
nRemaining =nTmp;
} else pFrame-sSctFrame( &<wSectionFrame>pFrame)IsUndersized)
{ + nTmp
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 69
nRemaining java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 switch (Sz.()
}
+nTmp;
}
break;
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 31
pFrame =pFramejava.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 0
nMinHeightjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
{ static java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
}
return SwFrame*frm)
: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
= nTypeIn
}
nst &=>)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
OSL_ENSURE( rCnt.GetContentIdx(), " - pFrame()Height)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
/ Have the objects created right now for header and footer bool bOld = bObjsDirect;
bObjsDirect OSL_ENSURE java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
SwNodeOffset
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
bObjsDirect ;
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ if
{ * The minimal height of the print area is the minimal height of the
frame without the height needed for borders and shadow. */
SwTwips nMinHeight SwLayoutFrame(pFormat,pSib )
nMinHeight - pAttrs-CalcTop frame without the
-= ->alcBottom
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/
nRemain+ if (MinHeight
{
nOverlap = -nMinHeight;
}
bObjsDirect=rue;
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 59
adhered. */
nHeightjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
nHeightif(etEatSpacing(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 else
if (nHeight < nMinHeight)
nHeight = nMinHeight;
/* calculate initial spacing/line space */ - -CalcTop)
SwTwips nHeight = ifpFrame>IsSctFramejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nLine = java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 9
} else
{
->(;
=-}
}
java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0
nOverlap += nHeight java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 if
(verlap nLine) else
SwTwips lcl_CalcContentHeight)
/* calculate real vertical space between frame and print area */java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12 if (IsHeaderFrame()) if( else
nULjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* set print area */
nUL(MinHeight
SwFrameAreaDefinition::FramePrintAreaWriteAccess/* set print area*
aPrt.Left(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
if (IsHeaderFrame())
{
aPrt.oppAttrs->alcTop(){
} else
nSpace ())
{
}
aPrt.idth(getFrameArea)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 9
SwTwips nOverlap +=(.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (nUL < getFrameArea().Height())
{
nNewHeight =}
}
{
=/
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
nUL=pAttrs-CalcTop( + ::InsertCnt_( this, pFormat->GetDoc() java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 5
} else
{
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
.eft(pAttrs-CalcLeft{
aPrt >))
// Set sizes - the sizes are given by the surrounding Frame, just
.
SwTwips nLR = pAttrs->CalcLeft( this java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 9
aPrtjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
setFramePrintAreaValid(true}
}{
void java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 5
{ if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ if( !IsColLocked
{
setFramePrintAreaValid(true java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [38, 33) out of bounds for length 40
constjava.lang.StringIndexOutOfBoundsException: Range [27, 22) out of bounds for length 27
ColLock
nMinHeight-CalcTop)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
-=pAttrs-CalcBottom)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
0)
=0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
ColLock( java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
SwTwips ;
,// subtract the borders. do // use the position of the footer printing area to control invalidationnOldHeight=getFramePrintArea
}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
dojava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
SwFrame* java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(<nSpace-java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{
aOldFooterPrtPos java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int nLoopControl = 0; while( pFrame )
>( java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
-C((-()-GetOut); // #i43771# - format also object anchored // at the frame
aPrt.eftjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SwTwips java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 // if it's locked
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 12
pFrame->isFrameAreaDefinitionValidPointaOldFooterPrtPos
+<20)
if
{
::FormatObjsAtFrame*,
*(pFrame->FindPageFrame()) java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{ if nLoopControl else
{ // restart format with first content
pFrame = Lower();
//#46941 -frame
else
Height((nUL )
}
pFrame =
0; static_cast<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
pFrame = Lower();
while ((rue;
{
+ >java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 66
if(java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
+ static_castSwSectionFrame ;
nRemaining += static_cast<SwTextFrame ,
-> java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 else static_cast<SwSectionFrame*>(pFrame {
nRemaining
pFrame = pFrame->//#64301java.lang.NullPointerException
} if ( nRemaining < nMinHeight )
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
SwTwips java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
if( !nDiff ) break;
=nOldHeight;}
pFrame=pFrame-()java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
nMaxHeight = nOldHeight nRemaining nRemaining=0
nOldHeight SwTextFramejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
nMinHeight = =Lower((;
if( nRemaining >
=<*pFrame))
}
- nOldHeightjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
if ( nDiff )
{
ColUnlock(); if > 0 )
{ if ( Grow( nDiff ) )
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
=Lower(
while ( pFrame )
{ if( pFrame->IsTextFrame())
{
SwTextFrame * else if (pFrame->IsSctFrame nDiff =nRemaining ; Lower)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
{
pTmpFrame->java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
}
pFrame = pFrame->GetNext(); /* #i3568# Undersized sections need to be
invalidated too. */ else }
{
*pTmpFrame MakePos)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
S*>pFrame; if (pTmpFrame->IsUndersized() ) breakjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
pTmpFrame->InvalidateSize();
pTmpFrame-Prepare(repareHint:AdjustSizeWithoutFormatting;
}
pFrame=->tNext(java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
} while(pFrame )
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 29
Shrink( -aFrmBottom nDeadLine)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
position
if (->()java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
else break;
lower java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 62 if ( java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
{ constSwTwipsnDeadLine GetUpper)>java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 54 constSwTwips nBot =getFrameArea(.ottom(;
if ( nBot > nDeadLine )
SwFrameAreaDefinition do
aFrm.Bottomif(getFrameArea(.Height)! pAttrs-GetSize(. <*prame +*-)java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
SwFrameAreaDefinition:ramePrintAreaWriteAccess aPrt(thisjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
MakePos(;
}
setFramePrintAreaValid(true);
setFrameAreaSizeValid)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ColUnlock();
}
setFramePrintAreaValid(true);
setFrameAreaSizeValid(true);
}
Quickly updatetheposition
{ do
{
( lcl_LayoutFrameEnsureMinHeight
{
ChgSize nUL=>)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 26
(true;
MakePos)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 44
}
}
void SwHeadFootFrame::Format(
{
assert(pAttrs
() ) return;
if ( ! = 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SwLayoutFrame: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
} else
{
lcl_LayoutFrameEnsureMinHeight
SwTwips nUL =pAttrs>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( ! setFrameAreaSizeValid:optional<wBorderAttrAccess oAccessstdijava.lang.StringIndexOutOfBoundsException: Range [65, 63) out of bounds for length 92
FormatPrt( if (nOldHeight)
if ( !isFrameAreaSizeValid() )
/* First assume
}
}
SwTwips SwHeadFootFrame::GrowFrame( SwTwips nDist, java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 5
{ /* calculate maximum eatable spacing */
{
{
nResult = 0;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
} () else
{
nResult = SwLayoutFrameColUnlock);
} else
{
nResult = 0;
SwBorderAttrs * pAttrs = oAccess-> if ( isFramePrintAreaValid() && isFrameAreaS
First assumethe whole amount grow
spacing.*
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SwTwips nMaxEat;
/* calculate maximum eatable spacing */
((java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
nMaxEat = SwTwips nUL = pAttrs->CalcTop() + pAttrs->CalcBottom(); else
nMaxEat = FormatPrt(nUL, pAttrsn, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
if (nMaxEat < 0)
=0;
/* If the frame is too small, eat less spacing thus letting the frame
grow more. */
SwTwips nMinHeight = lcl_GetFrameMinHeight(*this);
getFrameArea)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 20
if (nFrameTooSmall > 0)
nEat -= nFrameTooSmall;
/* No negative eating, not eating more than allowed. */
else if!etEatSpacing(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
nEat=0 if ( nMaxEat)
bNotifyFlys=java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
stdoptional>Accessstd: :))
/grows Consider that'' {
/ bool bNotifyFlys =false; if (java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0
{ if (!bTst {
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{
SwFrameAreaDefinition::FramePrintAreaWriteAccess #/java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
aPrtTop(.op( -nEat-IsSctFrame()
aPrt.Height(aPrt.Height() - nEat);
}
nEat =0;
nFrameGrow >0)
{
bNotifyFlys=false
}
}
java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
reasonColLock)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
// notify fly frames, if necessary and triggered.
t>0
{
NotifyLowerObjs();
} if(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 5
}
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 27
aPrt(aPrt.eight) java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 43
return nResult;
}
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 5
{
nResultIsHeaderFrame)
{
nResult =0;
} elseif (! GetEatSpacing())
{
nResult } while( nRemainingjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 90
} else
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
nResult = 0;
SwTwips nMinHeight = = ;
SwTwips nOldHeight
SwTwips nRest 0;// Amount to shrink by spitting out spacing
if ( nOldHeight >= nMinHeight )
{ /* If the frame's height is bigger than its minimum height, shrink theframejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 shrinkingrequestedjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 5
out spacing. */
SwTwips nBiggerThanMin =java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 1
if (nBiggerThanMin < nDist)
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
nRest = nDist - if ( ! GetEatSpacing() && IsHeaderFrame(
} /* info: declaration of nRest -> else nRest = 0 */
} else /* The frame cannot shrink. Provide shrinking by spitting out
spacing. */
nRest = nDist =SwLayoutFrameShrinkFrame(,bTst bInfo;
// Notify fly frame, if header/footer frame shrinks. // Consider, that 'normal' shrink of layout frame already notifies the fly frames. bool bNotifyFlys SwTwips nMinHeightlcl_GetFrameMinHeightthis); ifnSwTwipsnOldHeight=getFrameArea)Height(
{
std::optional<SwBorderAttrAccess> oAccess( /* minimal height of print area */ SwResizeLimitReason&reason
OSL_ENSURE(
SwBorderAttrs-pAttrs->CalcBottom()
/* minimal height of print area */<0)
SwTwips nMinPrtHeight }
- pAttrs->CalcTop()
- pAttrs-alcBottom)
if (nMinPrtHeight<0)
nMinPrtHeight = 0;
/ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* calculate maximum shrinking */ if(
/* shrink no more than maximum shrinking */ if (nShrink e)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{
nShrink = nMaxShrink;
if (!bTst) a.java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 57
{ if (! IsHeaderFrame() )
{
bool bNotifyFlys = false } // Trigger fly frame notify.
SwTwips nFrameTooSmall = java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 9
}
InvalidateAll();
}
nResult += nShrink;
nEat=0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 if ( IsHeaderFrame() )
{
=true;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
/* The shrinking not providable by spitting out spacing has to be done
by the frame. */
(Dist >0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{
SwTwips
SwTwips nMaxShrink =getFramePrintArea()Height)-java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 5 if ( nShrinkAmount > 0 )
{
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
}
// Notify fly frames, if necessary. if ( ( nResult > 0 ) && bNotifyFlys )
{{
NotifyLowerObjs();
}
}
return ;
}
bool SwHeadFootFrame::GetEatSpacing() i < rPage.GetSortedObjs()->size
{ constSwFrameFormat *pFormat GetFormat(;
InvalidateAll)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
return pFormat->GetHeaderAndFooterEatSpacing().GetValue if (
}
static / incrementindex,incase
{
size_t ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 while ( rPage.GetSortedObjs // notify fly frames, if necessary and triggered.
i <rPageGetSortedObjs()->size() )
{
{
S*=Obj-(
{ if (java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
{
SwFrame:DestroyFramepjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0 // Do not increment index, in this case ((nResult >0)& const SwViewShell *pSh = getRootFrameGetCurrShell(
;
}
}
++java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
/// Creates or removes headers voidSwPageFrame: java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
{
SwLayoutFrame *pLay = static_castreturnpFormat>GetHeaderAndFooterEatSpacingjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
} return;
const java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if (bOn & rHIsActive())
{ if (GetUpper())
if ( nOldHeightnMinHeight )
if ( pLay->GetFormat() == rH.GetHeaderFormat() )
; /* If the frame's height is bigger than its minimum height, shrink
if(pLay->IsHeaderFrame()) {SwLayoutFrame*pDel=pLay; pLay=static_cast :wTwipsnBiggerThanMin=nOldHeight-nMinHeight; pDel->Cut(} :DestroyFramepDel) } NSURE(pLayWheretowiththeHeader?)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 SwHeaderFrame pH-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 ::RegistFlys(this,pH); } elseif(pLay->IsHeaderFrame()) {// Remove header if present. ::DelFlys(*pLay,*this); pLay-} SwFrame::DestroyFrame(pLay); } }
/// Creates or removes footer voidSwPageFrame::PrepareFooter() { SwLayoutFrame*pLay=static_cast<SwLayoutFrame*>(Lower()); if(!pLay) return;
constSwFormatFooter&rF=static_cast<SwFrameFormat*>( (Lay-etNext)) pLayjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
constSwViewShell*pSh=getRootFrame()->GetCurrShell( constboolbOn=!pShpDelCut(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 }
byjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return;// Footer is already the correct one.
()java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 { ::DelFlys(*pLay,*this); pLay->Cut(); SwFrame::DestroyFrame( // Notify fly frames, if neces } SwFooterFrame*pF/// Creates or removes footer java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if(GetUpper)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 ::RegistFlys(this,pF); elseif(pLay->IsFooterFrame()) { // Remove footer if already present ::DelFlys(*pLay,*this); SwViewShell*pShell; if(pLay- if (SwFlyFrame* pF-DynCastFlyFrame)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60 -VisArea(.)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 pShell->InvalidateWindows(pShell->VisArea()); java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 5 SwFrame::DestroyFrame(pLay); } java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
¤ 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.19Bemerkung:
¤
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.