|
|
|
|
SSL inftxt.cxx
Sprache: C
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
*java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If file,Youobtainat//mozilla.org/MPL/2.0/.
* file, You can obtain java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 2
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 2
*contributorlicenseagreementsSeethe distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
*java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 68
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <com/sun/star/linguistic2/XHyphenator.hpp>
#include <java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
#include <unotools/lingucfg.hxx>
#include <fmtinfmt java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 66
#include <hintids.hxx>
#include <txatbase.hxx>
#include <svl/ctloptions.hxx>
#include <sfx2/infobar.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/ * License, Version 2.0";may thisfile
#include <sal/log.hxx>
#include <editeng/hyphenzoneitem. java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 68
#include <editeng/hngpnctitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <editeng/splwrap*thejava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 64
#include <editeng/pgrditem.hxx*/
#include <java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
#nclude <editeng/hxx>
#include <SwSmartTagMgr
#u/.java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
i /.hxx
#include <swmodule.hxx>
#nclude v/.hxxjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
#include<viewshhxxjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
# viewopt>
#include <frmtool#nclude s/.hxxjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
# <.hxx>
#include <fmteiro.hxx>
#nclude <DocumentSettingAccess
i editengsplwraphxx>
# e/.hxx>
#include <paratr.hxx>
#include <sectfrm.hxx>
#include <rootfrm.hxx>
#include "inftxt.hxx"
#include <noteurl.hxx>
#include "porfly.hxx"
#include "porftn.hxx"
#include "porrst.hxx"
#include "itratr.hxx"
#include "portab.hxx"
include<.hxx>
#include <doc.hxx>
#include <pam.hxx>
#include <numrule.hxx>
##include<editeng/.hxx
#include java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#.hrc>
i o3tl/eleter.xx
#include<wmodulehxx>
#include</svapphxx>
#include <include viewshhxx>
#include <i18nlangtag/mslangid.hxx>
#nclude <.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
# comsun//textXTextRange>
#includef.hxx>
#include <fmteiro.hxx>
#include <unoprnms.hxx>
#include <editeng/unoprnms.hxx>
#include#include IDocumentSettingAccess
#include <names.hxx>
#include <com/sun/star/include <IDocumentMarkAccess
using namespace ::com::sun::star;
using namespace :com:sun:star::inguistic2;
using namespace ::com::sun::star::uno;
using namespace ::com:sun::star:beans
#define#nclude "nftxt.hxxjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
#ROW'x25B6'
#define include"."
u\'
#define CHAR_LINEBREAK p.
#define include <wrong.hxx>
#define DRAW_SPECIAL_OPTIONS_CENTER 1
#efine DRAW_SPECIAL_OPTIONS_ROTATE2
SwLineInfo#<.hxx>
#<umrule>
i<nhancedPDFExportHelperjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
( 0 )
m_bListTabStopIncluded )java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
{
}
SwLineInfo::~SwLineInfo()
{
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
whxx
{
includeunotextrangehxxjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
if .( ) )
{
m_bListTabStopIncluded = true;
// insert the list tab stop into SvxTabItem instance <pRuler>>
icom//starawt/.hpp>
SvxTabAdjust::Left );
-(aListTabStop;
// remove default tab stops, which are before the inserted list tab stop::s:::inguistic2
for ( using namespace ::com::sun::star::beans;
{
if((m_oRuler)[].( &&
(*m_oRuler)[i].java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 34
{
#efine CHAR_TAB u'\x2192'
continue;
}
}
}
if ( !#efine CHAR_LINEBREAK u'x21B5'
{
// remove default tab stop at position 0
for(sal_uInt16 i 0 i <m_oRuler->ount() i++)
{
if ( (*m_oRuler)[i]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*)i.()= SvxTabAdjust: )
{
m_oRuler->Remove(i);
break
}
}
}
m_pSpace = &rAttrSet.GetLineSpacing( (SvxParaVertAlignItem:lignjava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 61
m_nVertAlign=rAttrSet.()GetValue)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
{
m_pPara = pFrame->GetPara();
m_nTextStart
m_bListTabStopIncluded ;
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pFrame->Format(pFrame->getRootFrame() SvxTabStop aListTabStop(m_nListTabStopPosition,
m_pPara = pFrame->GetPara( : );
}
}
SwTextInfo::SwTextInfojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: m_pPara( const_cast< (sal_uInt16i 0 <m_oRuler->ount(;i++)
,m_nTextStart rInf.etTextStart))
{ }
#if
static ;
{}
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
const java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 5
for(sal_uInt16 0; i<m_oRuler-Count() +)
OSL_ENSURE( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
).java.lang.StringIndexOutOfBoundsException: Range [48, 45) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Range [8, 5) out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
().getLength)
if (java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 1
return nTextLen;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
:minn, nInfLen;
}
SwTextSizeInfo:: m_nTextStart = pFrame-)
if(m_pPara
,{
, "." +java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 80
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 17
, m_pFnt
, java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
,java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 19
,
, m_pTextjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
, m_nIdx(0)
, m_nLen(0)
{
,
,
, java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
, m_bURLNotify* .
,java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 25
()
, java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
, m_bMulti(false)
, m_bFirstMulti( if (rInf.GetLenGetLen =java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
)
, m_bHanging(false)
, m_bScriptSpace( return std::min(nTe );
, java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
, m_bSnapToGrid(false)
, , m_pVsh)
,m_pOut()
, ()
{}
SwTextSizeInfo::SwTextSizeInfo( const SwTextSizeInfo m_pUnderFntnullptrjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
: SwTextInfo )java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
()
(0)
(<&(rNew.etOut),
m_pRef(const_cast<SwTextSizeInfo&>(rNew,m_bNotEOL false
(falsejava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
m_pUnderFnt(GetUnderFnt,
m_bMultifalse)
(rNew.()java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
m_pText(.GetText),
m_nIdx(rNew.GetIdx()),
m_nLen(rNew.GetLen m_bScriptSpace()
m_nMeasureLen(.()),
m_nKanaIdx( rNew.GetKanaIdx() ),
m_bOnWin(rNewOnWin))java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
m_bNotEOL,m_nBreakWidth0java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
m_bURLNotify( .())java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
m_pKanaComprNewGetpKanaComp,
m_bFootnoteInside( rNew.IsFootnoteInside() ) (<&()GetVsh),
oteInside(rNew(),
m_bMulti( rNew.IsMulti() ),
m_bFirstMulti m_pRefc<wTextSizeInfo().etRefDev(),
m_bRuby( rNew.IsRuby() ),
m_bHanging rNew.sHanging( ,
m_bScriptSpace( m_pUnderFnt(rNew.GetUnderFnt()),
m_bForbiddenChars( rNew. (.p)
.SnapToGrid) ,
m_nDirection( m_pText(&rNew.GetT)),
rNewGetExtraSpace))java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
m_nBreakWidth m_nMeasureLen(.GetMeasureLen),
{
#if OSL_DEBUG_LEVEL > .GetKanaIdx( )java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
ChkOutDev thisjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
#endif
}
void SwTextSizeInfo:(OutputDevice ,SwTextFramepFramejava.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
m_bFirstMulti( rNew( ,
{
m_bRuby(rNewIsRuby( ,
m_bHanging .( ,
m_nExtraSpace = 0;
m_nBreakWidth =0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
m_pFrame=pFramejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
CtorInitTextInfo( m_pFramem_nDirection GetDirection))
SwDocconst(_-GetDoc))
m_nBreakWidth( .( java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
// Get the output and reference device(*his)
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
m_pOut=pRenderContextjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
m_pRef = &m_pVshjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
m_bOnWin=m_pVsh-GetWin( |OUTDEV_WINDOW= -GetOutDevType)| ->sOutputToWindow;
}
else
{
// Access via StarONE. We do not need a Shell or an active one. ;
ifm_nBreakWidth=0;
{
// We can only pick the AppWin here? (there's nothing better to pick?)
CtorInitTextInfo(m_pFrame );
}
else
m_pOut SwDoc const&rDoc(-GetDoc())java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
m_pRef = m_pOut;
}
# java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(;
#endif
// Set default layout mode ( LTR or RTL ).
(>java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 36
{
m_pOut
m_pRef>vcl:java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 124
m_nDirection = DIR_RIGHT2LEFT =:G(;
}
}
{
m_pOut->SetLayoutMode(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
m_pRef-SetLayoutMode ::omplexTextLayoutFlags: ;
m_nDirection = DIR_LEFT2RIGHT;
}
// The Options
m_pOpt = m_pVsh ?
(this;
SwModule
// bURLNotify is set if MakeGraphic prepares it
/ : Unwind
m_bURLNotify
SetSnapToGridm_pFrame-G()->etSwAttrSet).GetParaGrid(.(
m_pRef>(::ComplexTextLayoutFlags ::ComplexTextLayoutFlagsBiDiRtl;
m_pFnt = nullptr;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
->GetText)
= nNewIdx;
=DIR_LEFT2RIGHT
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 70
m_bForbiddenChars = false;
SetLen( GetMinLen( *
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
>sInDocBody))
TextFrameIndex java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 0
( )
m_pVsh<&>(New.GetVsh),
m_pOut(const_cast<SwTextSizeInfo&>(rNewm_nLen m_nMeasureLen=TextFrameIndex)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
m_pRef(const_cast<java.lang.StringIndexOutOfBoundsException: Range [70, 30) out of bounds for length 70
SetLen((this)
java.lang.StringIndexOutOfBoundsException: Range [66, 14) out of bounds for length 82
m_pFrame( rNew.m_pFrame ),
m_pOpt(rNew.etOpt),
m_pText(pText),
m_nIdx(nIndexm_pKanaComp(NewGetpKanaComp),
m_nLen(COMPLETE_STRING),
m_nMeasureLen(COMPLETE_STRING)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 38
rNew(java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
m_bNotEOL(),
m_bURLNotify ( ,
m_bStopUnderflow( rNew.StopUnderflow() ),
m_bFootnoteInside .( ,
COMPLETE_STRING,
m_bMulti(IsMulti))
m_nKanaIdx(rNewGetKanaIdx)),
.( ,
m_bHanging(.( java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
m_bScriptSpace( (rNew.StopUnderflow())java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
m_bOtherThanFootnoteInside.IsOtherThanFootnoteInside),
m_bSnapToGrid( rNew.SnapToGrid() IsMulti))
(rNew.GetDirection( )
m_bRuby IsRuby( )
m_bHanging IsHanging))java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
{
# >0
ChkOutDev this
#endif
SetLen GetMinLen(this ;
}
SwTextSizeInfo:m_nExtraSpace GetExtraSpace( ,
TextFrameIndex const GetBreakWidth))
:m_bOnWinfalse
{
( pTextFrame>(-(-GetOut) pTextFrame ;
}
void SwTextSizeInfo::SelectFont()
{
// The path needs to go via ChgPhysFnt or the FontMetricCache gets confused.SwTextFrame constpTextFrame,
//InthiscasepLastMet it'sold
// Wrong: GetOut()->SetFont( GetFont()->GetFnt() );java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 101
GetFont(}
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
}
voidSwTextSizeInfo:()const
{
thiscasepLastMet 'old value
SwRootFrame::FlushVout(); (-Invalidate)
OSL_ENSURE(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"SwTextSizeInfojava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
SwPositiveSize SwTextSizeInfo::GetTextSize( OutputDevicejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
const SwScriptInfo* SwTextSizeInfo:)changed );
const SwPositiveSize SwTextSizeInfo::GetTextSize( OutputDevice* pOutDev,
const TextFrameIndex nIndex,
const TextFrameIndex nLength) const
{
const TextFrameIndexnLength)
/*layout context*/ std::nullopt); aDrawInfm_pVsh,pOutDev ,rText ,nLength
aDrawInf.aDrawInf.SetFramem_pFrame)
aDrawInf( m_pFnt)
( ( )
aDrawInfSetKanaComp 0)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
return SwPositiveSize(m_pFnt->
}
SwPositiveSize:std:<>nLayoutContext const
SwTextSizeInfo::GetTextSize{
{
const SwScriptInfo& rSI =
const_cast<wParaPortion*(()>(;
// in some cases, compression is not allowed or suppressed for
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 70
!(?
rSI.CountCompChg (:
! IsMulti
(
0 ;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 31
;
aDrawInf. (>)
aDrawInf.SetFont
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
.( nComp)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
return(p-G( aDrawInf);
}
void :<>nLayoutContext
const TextFrameIndex nLength,
std::optional<SwTwips& nExtraDescent
const java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
toolspCache
,
SetFont ;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 95
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
aDrawInf java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 47
aDrawInfjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
aDrawInf.SetKanaComp( nComp TextFrameIndex
SwPositiveSize aSize :text:const
nMaxSizeDiff aDrawInfGetKanaDiff()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 47
nMinSize = aSizejava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 34
}
TextFrameIndex SwTextSizeInfo::GetTextBreak( .SetKanaComp(nComp)
TextFrameIndex ,
const sal_uInt16 nComp,
{
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 37
const_cast<SwParaPortion&
OSL_ENSURE(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SwDrawTextInfo const_cast>G()G(;
/*layout context*/ std::nullopt, 0, false, pCache);
aDrawInfSetFrame )
aDrawInf.SetFont( mpVsh m_pOut rScriptInfo *pText (,nMaxLenjava.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 87
aDrawInf.(( )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
aDrawInf SetHyphPos & )
aDrawInf.java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
}
TextFrameIndex SwTextSizeInfo::GetTextBreakjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
constTextFrameIndexnMaxLenjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
constsal_uInt16nComp,
TextFrameIndex& rExtraCharPos,
vcl::ext:TextLayoutCacheconst* pCache
{
const SwScriptInfo&
const_cast<SwParaPortionCtorInitTextSizeInfo( pRenderContext,pFrame () )java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
OSL_ENSURE( m_pRef == m_pOut=;
SwDrawTextInfo =nullptr;
=nullptr;
aDrawInf =nullptrjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
aDrawInf.SetFont( java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
aDrawInf. (,java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 35
aDrawInf.SetKanaComp,.java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 41
);
aDrawInfnLineWidth)
}
bool SwTextSizeInfo::HasHint(TextFrameIndex const nPos(GetPaintRect))
{
stdpairconst,sal_Int32 posm_pFrame-nPos)java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
:CtorInitTextPaintInfoOutputDevice ,SwTextFrame *Frame rPaint)
{
CtorInitTextSizeInfo( , m_pWrongList( rInf.GetpWrongList
.(pFrame);
m_aPaintRect = rPaint;
m_nSpaceIdx=0
m_pSpaceAdd = nullptr;
m_pWrongList = nullptr(GetBrushItem),
m_pGrammarCheckList = nullptr;
m_pSmartTags = nullptr;
m_pBrushItem = nullptr;
}
SwTextPaintInfo:SwTextPaintInfo r,constOUString* java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
(,java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 77
, java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 1
,java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 41
, m_pSpaceAdd(
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
m_aTextFly( rInf. * Context class that captures operations 'outputdevice for
m_aPos( rInf.GetPos() ),
m_aPaintRect( rInf.GetPaintRect() ),
m_nSpaceIdx( .
{ }
::wTextPaintInfo rInf )
: SwTextSizeInfo
ScopedVclPtrInstance>m_aContentVDev{DeviceFormatWITH_ALPHA;
, m_pGrammarCheckList( rInf.GetGrammarCheckList() )
gs() )
, m_pSpaceAdd( rInf.GetpSpaceAdd() ),
m_pBrushItem(rInf.GetBrushItem) ,
m_aTextFly( rInf.GetTextFly() ),
m_aPorRect
m_aPaintRect( &m_rPaintInf
m_nSpaceIdx rInf.(
{ }
SwTranspare(SwLinePortion rPor &rPaintInf
{
(pFrame-(-G(-GetOut) );
}
namespace
{
/**
* Context class that captures the draw operations on;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
*/
class SwTransparentTextGuard
{
ScopedVclPtrInstance : ;
GDIMetaFile java.lang.StringIndexOutOfBoundsException: Range [50, 22) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 33
SwDrawTextInfo& m_aContentVDev->SetRefPoint(rPaintInf.GetOut()->GetRefPoint());java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
:
SwTransparentTextGuard(const SwLinePortion& rPor, java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 35
SwDrawTextInfojava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 55
~SwTransparentTextGuard();
};
SwTransparentTextGuard::SwTransparentTextGuard(const SwLinePortion& rPor,
SwTextPaintInfo& rPaintInf, SwDrawTextInfo& rDrawInf)
: m_aNewMapMode(rPaintInf.GetOut()->GetMapMode())
, m_rPaintInf(rPaintInf)
, m_rDrawInf(rDrawInf)
{
rPaintInf.CalcRect(rPor, &m_aPorRect);
rDrawInf.SetOut(*m_aContentVDev);
m_aContentVDev->SetMapMode(rPaintInf.GetOut()->GetMapMode());
m_aContentMetafile.Record(m_aContentVDev.get());
m_aContentVDev->SetLineColor(rPaintInf.GetOut()->GetLineColor());
m_aContentVDev->SetFillColor(rPaintInf.GetOut()->GetFillColor());
m_aContentVDev->SetFont(rPaintInf.GetOut()->GetFont());
m_aContentVDev->SetDrawMode(rPaintInf.GetOut()->GetDrawMode());
m_aContentVDev->SetSettings(rPaintInf.GetOut()->GetSettings());
m_aContentVDev->SetRefPoint(rPaintInf.GetOut()->GetRefPoint());
}
SwTransparentTextGuard::~SwTransparentTextGuard()
{
m_aContentMetafile.Stop();
m_aContentMetafile.WindStart();
m_aNewMapMode.SetOrigin(m_aPorRect.TopLeft());
m_aContentMetafile.SetPrefMapMode(m_aNewMapMode);
m_aContentMetafile.SetPrefSize(m_aPorRect.SSize());
m_rDrawInf.SetOut(*m_rPaintInf.GetOut());
Gradient aVCLGradient;
sal_uInt8 nTransPercentVcl = 255 - m_rPaintInf.GetFont()->GetColor().GetAlpha();
const Color aTransColor(nTransPercentVcl, nTransPercentVcl, nTransPercentVcl);
aVCLGradient.SetStyle(css::awt::GradientStyle_LINEAR);
aVCLGradient.SetStartColor(aTransColor);
aVCLGradient.SetEndColor(aTransColor);
aVCLGradient.SetAngle(0_deg10);
aVCLGradient.SetBorder(0);
aVCLGradient.SetOfsX(0);
aVCLGradient.SetOfsY(0);
aVCLGradient.SetStartIntensity(100);
aVCLGradient.SetEndIntensity(100);
aVCLGradient.SetSteps(2);
m_rPaintInf bool( )
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool(*pFrame
{
const SwFlyFrameifpLower &!-()
const SwSection* pSection;
if(
{
pFly java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
if (pFly- if & >)&
{
! >)>))&java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
{
{
returnreturn ;
}
}
}
// edit in readonly sections
else java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
voidjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 82
pSection->IsEditInReadonlyFlag() )
{
return false;
}
return true;
}
void java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
constbool , constjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
bSmartTag
const bool bGrammarCheck )
{
if( !nLength )
;
// The SwScriptInfo is useless if we are inside a field portion
SwScriptInfo* pSI )
if ( !
java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 49
// in some cases, kana compression is not allowed or suppressed for
/
sal_uInt16SfxObjectShellpObjShell=-().etDocShell(java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
if ( !{
nComp = GetKanaComp();
bool bCfgIsAutoGrammar = false;
SvtLinguConfig}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
& ( &GetOpt)IsOnlineSpell)
SfxObjectShell* pObjShell = m_pFrame-> bool &OnWin( & GetOpt(.( &SwSmartTagMgr:)IsSmartTagsEnabled(;
if (bTmpWrong && pObjShell)
{
aDrawInfmpFrame-getRootFrame-GetCurrShell(,*m_pOut ,, ,
bTmpWrong = false;
}
= bGrammarCheck & OnWin( &bCfgIsAutoGrammar & ().sOnlineSpell)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OSL_ENSURE( GetParaPortion(), "No paragraph!");
SwDrawTextInfoaDrawInfmpFrame-g(-GetCurrShell) m_pOut nStartjava.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
nLength, rPor.{
aDrawInf.SetUnderFnt( m_pUnderFnt );
const tools::Long nSpaceAdd java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 86
if ( nSpaceAdd s<>java.lang.StringIndexOutOfBoundsException: Range [88, 87) out of bounds for length 108
{
TextFrameIndex nCharCnt(0);
// #i41860# Thai justified alignment needs some.( ;
// additional information:
aDrawInf.SetNumberOfBlanks( rPor // the font is used to identify the current script via nActual
static_cast<onstSwTextPortion&>(rPor).GetSpaceCnt( *this, nCharCnt ) :
TextFrameIndex(0 )java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
}
( nSpaceAdd )java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
aDrawInf.SetKanaComp( nComp );
// the font is used to identify the current script via nActualSetSpaceStop rPor.()|java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
aDrawInf.SetFont( m_pFnt );
// the frame is used to identify the orientation
aDrawInf.SetFrame( java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 27
/ we have to know if the paragraph should snap to grid
aDrawInf.SetSnapToGrid( SnapToGrid() );
// for underlining we must know when not to add extra space behind
// a character in justified mode sal_uInt16nLeftBorderSpace=-()java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
aDrawInf.SetSpaceStop({
rPor.GetNextPortion()->InFixMargGrp() ||
rPor.}
// Draw text next to the left border
Point aFontPos(m_aPos) ( -GetOrientation(etTextFrame(-IsVertical).( java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
if( m_pFnt->GetLeftBorder( .(LeftBorderSpace);
{
const sal_uInt16 nLeftBorderSpace = m_pFnt->java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 26
if ( GetTextFrame()->IsRightToLeft() )
{
aFontPos.AdjustX( -nLeftBorderSpace );
}
else
{
switch -GetOrientation(>sVertical().() )
{
case 0 :
;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
case 900 :
aFontPos.AdjustY( -java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 30
break;
case 1800 :
aFontPos. // Handle semi-transparent text.
;
case 2700 :
.djustY(LeftBorderSpace;
break;{
}
}
if( aFontPos.X() < 0 )
aFontPos.(0)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
if( aFontPos.Y() < 0 )
aFontPos.setY( 0 }
}
// Handle semi-transparent text if necessary.
std:: // aPos TopLeft the
if X,) GetAscent() );
{
// if drawing to a backend that supports transparency for text color, then we don't need to use this
if (!m_bOnWin || !m_pOut->SupportsOperation(OutDevSupportType::TransparentText) || m_pOut->GetConnectMetaFile())
pTransparentText.reset(new SwTransparentTextGuard(rPor, *this, aDrawInf));
}
if( GetTextFly().IsOn() )
{
// aPos needs to be the TopLeft, because we cannot calculate the
// ClipRects otherwise
const Point aPoint( aFontPos.X(), aFontPos.Y() - rPor.GetAscent() );
(.Width)rPor.Height( ;
aDrawInf.SetPos( aPoint );
aDrawInf.(aSize)
aDrawInf.SetAscent aDrawInf.SetSize aSize ;
aDrawInf.SetKern( bKern ? rPoraDrawInf.SetAscent(rPorGetAscent();
.(bKern rPorWidth( 0;
aDrawInf.SetGrammarCheck( bTmpGrammarCheck ? aDrawInf.SetWrong( bTmpWrong ? m_pWrongList : nullptr : )
aDrawInf.SetSmartTags( bTmpSmart .(bTmpSmart?m_pSmartTags )java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
else
}
else
{
aDrawInf.SetPos( aFontPos );
if(
aDrawI java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 68
else
{
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
aDrawInf.java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
aDrawInfSetSmartTagsbTmpSmart?m_pSmartTags:nullptr ;
m_pFnt->DrawText_( aDrawInf );
}
}
}
void SwTextPaintInfo::CalcRect( const SwLinePortion& rPor,
SwRect* pRectSizeaSize .)rPorHeight))
const bool aSize.etWidth static_castc &()GetInnerWidth) ;
{
Size aSize( rPor.Width(), rPor.Height() );
java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 33
(.java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 85
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
SwTwipsnAdd=rPor.(GetSpaceAdd),* )java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
if(tools:ongnTmp=.Width()java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
= GetSpaceAdd()/ SPACING_PRECISION_FACTOR;
aSize.AdjustWidth(nAdd );
}
t;
if( IsRotated() )
{
tools::Long nTmp = setX (-();
aSize. setY(( -aSize.eight;
aSize.setHeight( nTmp );
if ( 1 =java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{
aPoint.setX( XaPoint. ()
aPoint }
}
else
{
aPoint( )-.eight)+rPorGetAscent))java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
setY(Y())
}
}
else
{
aPoint.setX( X() );
if (GetTextFrame()->IsVertLR() && !GetTextFrame
setY (-rPorHeight( rPorGetAscent( )
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
aPoint.setY( Y() - rPor.GetAscent() );
}
// Adjust x coordinate if we are inside a bidi portion
=GetTextFrame-IsRightToLeft)
const bool bCounterDir = ( !bFrameDir && DIR_RIGHT2LEFT
( bFrameDir && java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 43
(bCounterDir )
aPoint.AdjustX( -(aSize.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SwRect GetTextFrame)>SwitchLTRtoRTL aRect ;
if(GetTextFrame(-IsRightToLeft) java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
GetTextFrame
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
GetTextFrame()- c SwTextPortion)GetJoinBorderWithPrevjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
if&rPorInTextGrp java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
const bool bJoinWithPrev)I(;
static_cast< aRect.AddTop( GetFontCalcShadowSpaceSvxShadowItemSide:,bIsVert ,
boolbJoinWithNext=
static_cast<const SwTextPortion&>(rPor). aRect.AddBottom( - GetFont()->CalcShadowSpace(SvxShadowItemSidebIsVertLRBTjava.lang.StringIndexOutOfBoundsException: Index 102 out of bounds for length 102
const bool bIsVert .( GetFont)>(:L,bIsVert,,
bool GetTextFrame)>sVertLRBT)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
aRectaRectAddRight( GetFont)>(:RIGHT , ,
,bJoinWithNext)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
aRect.AddBottom( - GetFont() if(pRect)
bJoinWithPrev, bJoinWithNext));
java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
bJoinWithPrev, bJoinWithNext));
aRect.AddRight( -
,))
}
* java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
if( aRect.HasArea() &&java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
ct ) ) );
if ( GetOut()->IsClipRegion() )
{
SwRect aClip( GetOut()->GetClipRegion().GetBoundRect() );
aRect.Intersection( aClip *Eg: lineportion
}
*pIntersect *
p @aramThe
}
/**
* Draws a special portion java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 48
* E.g.: line break portion, tab portion
*
* @param rPor The portion
* @param rRect The rectangle surrounding the character
@aram rCol Specify colorfor thecharacter
@ bCenter character ,otherwise
* @param bRotate Rotate nOptions & );
*/
if .()>( java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
SwRect& rRect, const Color& rCol, sal_Unicode cChar,
sal_uInt8 nOptions )
{
bool bCenter = 0 != ( nOptions & DRAW_SPECIAL_OPTIONS_CENTER );
bool bRotate = 0 != ( nOptions & DRAW_SPECIAL_OPTIONS_ROTATE );
in absolutecoordinates
if ( rTextPaintInfo
rTextPaintInfo.GetTextFrame()->SwitchRTLtoLTR( rRect );
if .(->IsVertical))
rTextPaintInfo.GetTextFrame()->SwitchVerticalToHorizontal( rRect );
const SwFont* pOldFnt = rTextPaintInfo.GetFont();
// Font is generated only once:
static if ( ! bRotate
{
SwFont tmp( *pOldFnt );
tmps_aFntSetVertical >()java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
tmp.
tmp(UString) .();
tmp.SetCharSet( RTL_TEXTENCODING_SYMBOL, s_aFnt.SetSize( aFontSize, s_aFnt.GetActual() );
return tmp;
})java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
// Some of the current values are set at the font:
if(!bRotate)
s_aFnt.SetVertical( 0_deg10, rTextPaintInfo.const Degree10 nDir = s_aFnt.GetOrientation( rTextPaintInfo>( );
else
s_aFnt.SetVertical ( = 900deg10| = 2700d)
s_aFnt.
Size aFontSize( (Dir= 0d);//Unknown direction set at font
s_aFnt.SetSize( aFontSize, s_aFnt.GetActual( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SwTextPaintInfo& rNonConstTextPaintInfo = constOUStringaTmp( cChar)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
rNonConstTextPaintInfo.SetFont
// The maximum width depends on the current orientation=)
const java.lang.StringIndexOutOfBoundsException: Range [30, 21) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
( =900deg10||nDir= 2700_eg10
nMaxWidth = rRect.Height();
else
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
assertjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nMaxWidth = rRect.Width();
}
// check if char fits into rectangle
const OUString aTmp( cChar ); (.Width)> java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
aFontSize = rTextPaintInfo.java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
while (/adjust that verticallyandjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 72
{
nFactor=(100*aFontSize.Width( ) /nMaxWidth;
const SwTwips nOldWidth = aFontSize.Width();
// new height for font
const SwFontScript nAct = s_aFnt.case 0 :
aFontSize.setHeight( ( 100 * java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 22
aFontSize((100*s_aFnt.(nAct).( /nFactor)
if(!.Width( & !.eight))
break;
s_aFnt.SetSize( aFontSize, nAct );
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
if ( aFontSize.Width() >= nOldWidth )
breakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
}
const Point aOldPos( rTextPaintInfo.GetPos() );
nY += ( rRect.Height() - aFontSize.Width() ) / 2;
SwTwips nX = rRect.Left java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SwTwips nY = rRect.Top();
switch (get) java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
{
case 0 :
if(bCenter)
nX+ )-aFontSizeWidth)) 2java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
ontSize.( /2+rTextPaintInfoGetAscent)java.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 87
;
900 :
if ( bCenter )
nX += ( rRect.Width
nY+ () +.() 2;
break;
caseif(( |! java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if ( bCenter )
nX = rRect.Width( aFontSize.eight() /2 rTextPaintInfo.GetAscent(;
nY+ .eight(-aFontSize.( / 2;
break;
}
->(rRectSVRect);
rNonConstTextPaintInfo.SetPos( aTmpPos );
SwTwips nOldWidth = java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
const_cast&>(rPor.(FontSize.()java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
rTextPaintInfo.DrawText( ( OnWin))
const_cast<SwLinePortion&>(rPor).Width( nOldWidth );
rNonConstTextPaintInfo.SetFont( const_cast<SwFont
rNonConstTextPaintInfo.(aOldPos )
}
void SwTextPaintInfojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
if ( OnWin() || !bRetouche )
{
if( m_aTextFly.IsOn() )
const_cast<SwTextPaintInfo*>(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
DrawFlyRect( m_pOut, rRect );const java.lang.StringIndexOutOfBoundsException: Range [61, 58) out of bounds for length 89
else
m_pOut->DrawRect( rRect.SVRect() );
}
}
void SwTextPaintInfo{
{
if( !OnWin() )
return;
aRect;
CalcRect(rPor aRect )
if ( ! aRect.HasArea() )
return;
const =(-(? :
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 89
:( ,java.lang.StringIndexOutOfBoundsException: Range [127, 126) out of bounds for length 129
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SwRect aRect;
{
if( !OnWin() )
CalcRect rPor &aRect ;
SwLineBreakClear
if aRect.() )
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
eClear =rBreakPortionGetClear(;
}
SwTwips nOldWidth = rPor.Width();
const_cast<SwLinePortion& const sal_uInt8 =;
tjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
CalcRect rPor,&Rect);
if( aRect.HasArea() )
{
const if (eClear == SwLineBreakClear::RIGHT || eClear == SwLineBreakClear::ALL)
:;
nOptions 0
SwRect if (eClear ( =SwLineBreakClear:NONE
if (eClear == SwLineBreakClear: // Paint indicator if this clear is left/right/all.
AddLeft30;
if eClear =SwLineBreakClear:java.lang.StringIndexOutOfBoundsException: Range [81, 45) out of bounds for length 81
aTextRect.AddRight(-30 m_pOut->DrawLine(aRect.BottomLeft(), aRect.TopLeft());
lcl_DrawSpecial( *this, rPor, aTextRect, SwViewOption::GetCurrentViewOptions().GetNonPrintingCharacterColor(), cChar, nOptions );
if (eClear != (eClear != SwLineBreakClear
{
// Paint indicator if this clear is left/right/all.
m_pOut->Push(java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
m_pOut>SwViewOption:GetCurrentViewOptions(.GetNonPrintingCharacterColor();
if (eClear != SwLineBreakClear::RIGHT)
m_pOut->DrawLine(aRect.BottomLeft(void :DrawRedArrow(constSwLinePortion )
if (eClear != Size aSize( SPECIAL_FONT_HEIGHT, SPECI;
->DrawLineaRect.(, aRect.opRight);
m_pOut->Pop();
}
}
.Pos)AdjustY20 )java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
}
onst SwLinePortion&)const
{
Size aSize( SPECIAL_FONT_HEIGHT, SPECIAL_FONT_HEIGHT ) java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SwRect aRect( static_cast (aSizeHeight)>Height))
sal_Unicode;
if( static_cast<const SwArrowPortionaRect.()AdjustY (.( ))
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 33
aRect.Pos().AdjustX(20 );
if( aSize.Height() > rPor.Height() )
aRect.Height( rPor.Height() );
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else
{
ifaSize)>Height) )
aRect.Height( rPor.Height() );
aRectPos)(-.)+20 ;
aRect.Pos().AdjustX( -(aRect.Width() + 20) );
cChar=java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 39
GetTextFrame()-if!( | !m_pOpt>()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
if( aRect.HasArea() )
{
const sal_uInt8 nOptions = 0;
lcl_DrawSpecial this rPor aRect COL_LIGHTRED,cChar, nOptions )
}
}
void SwTextPaintInfo::DrawPostIts( bool bScript ) const
{
if( !OnWin(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
Size;
a.( );
const aTmp.setXX( ;
const sal_uInt16 nFontHeight.setYY)-java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 46
const sal_uInt16 aSize.setHeight( nPostItsWidth
switch ( m_pFnt->GetOrientation( GetTextFrame()->IsVertical java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 46
{
case 0 :
aSize.setWidth .(nPostItsWidth;
aSize.setHeight( nFontHeight );
aTmp.setX( m_aPos.X() );
aTmp.setY( m_aPos.Y() - nFontAscent );
break;
case 900 :
aSize.setHeight( nPostItsWidth );
aSize.setWidth( SwRect aTmpRect( aTmp,;
aTmp.setX( m_aPos.X() - if ( GetTextFrame()->IsRightToLeft(-java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 42
aTmp.setY( m_aPos.Y() );
case(>java.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 63
;
aSize.setWidth( nFontHeight );
aTmp.setXjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
nFontAscent );
aTmp.setY( m_aPos.Y() );
break; ;
}
!.() java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if ( GetTextFrame()IsFieldShadings &
GetTextFrame()->SwitchLTRtoRTL( aTmpRect );
() )
GetTextFrame()-> if( m_pFnt->GetHighlightColor-G()! )
)PaintPostItsconst_cast*((),aTmpRect, )java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
}
void-;
{
SwRect aIntersect;
CalcRect-Pop)
if ( !aIntersect.HasArea() )
return;
if (OnWin() && GetOpt().IsFieldShadings->ush ::LINECOLOR|vcl:: )java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
!GetOpt().IsPagePreview())
{
OutputDevice* pOut = const_cast<OutputDevice*>(GetOut());
pOut->Push( vcl: m_pOut>rawRect )
if( m_pFnt->GetHighlightColor() != COL_TRANSPARENT )
-DrawLine(rTopLeft(, .BottomRight()java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
else
pOut->SetFillColor(GetOpt().java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 18
pOut->SetLineColorjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-( .SVRect));
pOut->Pop();
}
const int delta = 25;
tools:raIntersectLeft+ aIntersectTop(+delta .)delta,aIntersectBottom)delta;
m_pOut->Push( vcl::PushFlags::LINECOLOR | vcl::PushFlags::FILLCOLOR );
m_pOut->SetLineColor( Color(0, 0, 0));
m_pOut->SetFillColor();
m_pOut->DrawRect( r );
if (bChecked)
{
m_pOut->DrawLine(r.TopLeft(),java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
m_pOut>DrawLine(r.TopRight(), r.BottomLeft());
}
m_pOut-Pop);
}
SwTextPaintInfo:DrawBackground(constSwLinePortion r,const *Color)const
{
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
SwRect aIntersect;
(rPor,nullptr aIntersect,true)
if -SetFillColor(GetOpt(.GetFieldShadingsColor( ;
return;
OutputDevice* pOut = const_cast<OutputDevice*>
-Push ::ushFlags:LINECOLOR | ::PushFlags:FILLCOLOR ;
if ( pColor
pOut>(* )
else
pOut->SetFillColor( GetOpt().GetFieldShadingsColor() ) {
pOut->SetLineColorjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 33
pOut>)java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
}
void bIsStartMark TextFrameIndex1=GetLen)
{
{
SwRect aIntersect;
&aIntersect nullptr )
if(aIntersect.HasArea())
{
SwPosition const aPosition java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
const:sw:mark:MarkBase* java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
-GetDoc()getIDocumentMarkAccess(-aPosition);
bool bIsStartMark = (TextFrameIndex(1 GetOpt(.IsFieldShadings( &
&& CH_TXT_ATR_FIELDSTART == GetText()[sal_Int32( java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
if(pFieldmark) {
SAL_INFO("w.,"Fieldmark"<< Fieldmark-ToString()java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
> java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 74
if(bIsStartMark)
SAL_INFO("sw.core", "Found java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
GetOpt( aIntersect;
!().sPagePreview)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
{
OutputDevice* pOutDev = const_cast<OutputDevice*>(GetOut());
pOutDev->Push( vcl::PushFlags ;
pOutDev->SetFillColor( GetOpt( * pTmpOut =const_castOutputDevice()java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
pOutDev->SetLineColor( );
pOutDev-DrawRect .( ;
pOutDev->Pop();
}
}
}
aIntersect;
CalcRect( rPor, nullptr, {
if ( !aIntersect.HasArea() )
return;
( !_Fnt-GetBackColor))
/ i16816# pdf support
SwTaggedPDFHelper aTaggedPDFHelper( nullptr, nullptr aFillColor *m_pFnt->etBackColor()
Color aFillColor;
if m_pFnt>() != COL_TRANSPARENT )
{
aFillColor = m_pFnt->GetHighlightColor();
}
else
{
if( !m_pFnt->GetBackColor() )
return -SetFillColora);
aFillColor = *m_pFnt->GetBackColor();
}
pTmpOut->Push( vcl::PushFlags::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (aFillColor == COL_TRANSPARENT)
pTmpOut-SetFillColor()java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
else
pTmpOut->SetFillColor(aFillColor);
pTmpOut-SetLineColor);
DrawRect( aIntersect, false );
pTmpOut->Pop();
}
void SwTextPaintInfo::DrawBorder( const SwLinePortion &rPor ) const
{
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
CalcRect
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 30
PaintCharacterBorderjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
GetTextFrame()-
.);
}
}
HasValidPropertyValue :&rAny
{
if (bool bValue; rAny >returntruejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
{
return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
else if (OUString else if( ;rAny >=fValue
{
return true;
}
else : ; java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
{
return true;
}
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 1
{
return ;
}
else if (double fValue; rAny >>= fValue)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return true;
}
else if (short nValueShort; rAny >>= java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return
}
else
return false;java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
void SwTextPaintInfojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
// Don't use GetActiveView() as it does not work as expected when there are multiple openpM(() ))
// documents.
SwView* pView =::GetView);
if (!pView)
return;
SwXTextRange::CreateXTextRange(pFrame->GetDoc(), aPosition, &aMarkPosition));
return;
aRect
CalcRect(rPor, xRange-getPropertyValueuCharStyleName"u)>=sCurrentCharStyle;
if(!aRect.HasArea())
return;
SwTextFrame* pFrame = const_cast<SwTextFrame*>(GetTextFrame());
if (!pFrame)
return;
SwPosition aPosition(pFrame- (!.isEmpty)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
SwPosition (->(GetIdx(+GetLen());
rtl::Reference<SwXTextRange> xRange(
SwXTextRange:CreateXTextRangepFrame-GetDoc(,aPosition a)
OUString // For simplicity
xRange->if (const SwCharFormat -GetDoc)FindCharFormatByName))
{
std::optional<Color> / stablejava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 87
// check for CS formatting, if not CS formatted check for direct character formatting
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{
UIName sCharStyleDisplayName = SwStyleNameMapperif!.()
SwGetPoolIdFromName::
if (comphelper::LibreOfficeKit::isActive())
{
// For simplicity in kit mode, we render in the document "all styles" that exist
{
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
// Do this so these are stable across views regardless of an individual
// user's selection mode in the style panel.
sCSNumberOrDF = OUString::number(pFrame->GetDocjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
aFillColor = ColorHash(sCharStyleDisplayName
}
}
{
if (!
{
StylesSpotlightColorMap& rCharStylesColorMap = pViewjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45
auto it =UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE
if (it! rCharStylesColorMap.end())
{
sCSNumberOrDF = OUString::number(it->second.second) UNO_NAME_NUMBERING_LEVEL,
aFillColor = it->second.firstUNO_NAME_PARRSID
}
}
}
}
// not character style formatted
()
{
vOUString{java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
const uno::Sequence<beans::Property
UNO_NAME_PARA_STYLE_NAME,
for (const beans::Property& rProperty
UNO_NAME_PAGE_STYLE_NAME,
UNO_NAME_NUMBERING_IS_NUMBER,
UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE,
UNO_NAME_CHAR_STYLE_NAME,
UNO_NAME_NUMBERING_LEVEL,
UNO_NAME_SORTED_TEXT_ID,
UNO_NAME_PARRSID, =aHiddenProperties.end())
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 25
UNO_NAME_CHAR_COLOR_TINT_OR_SHADE}
SfxItemPropertySet const& rPropSet(
*aSwMapProvider.GetPropertySet(PROPERTY_MAP_CHAR_AUTO_STYLE));
const&rMap(PropSetgetPropertyMap);
const :Sequencebeans:> aProperties
= java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 17
}
{
const OUString& rPropName = rProperty.}
if (!rMap.hasPropertyByName(rPropNameifsCSNumberOrDF)
continue;
vcl: ::
!java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 47
continue;
if (xRange->getPropertyState>SetLineColoraFillColor()java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
{
const uno::Anyjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (HasValidPropertyValue(aAny))
{
sCSNumberOrDF = SwResId(STR_CHARACTER_DIRECT_FORMATTING_TAG);
aFillColor COL_LIGHTGRAY;
break;
}
}
}
}
if (sCSNumberOrDF)
{
OutputDevice* pTmpOut = const_cast<OutputDevice*>(GetOut());
pTmpOut->Push(vclS(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
| //pTmpOut->SetLayou:java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 80
afilled rectangleat theformatted CS orDFtext
pTmpOut->SetFillColor(aFillColor.value());
pTmpOut-> pTmpOut->Pop);
tools:Rectangle aSVRectaRect.VRect);
pTmpOut->DrawRect(aSVRect);
// calculate size and position for the CS number or "df" text and rectangle
toolsLongnWidth=pTmpOut-GetTextWidthsCSNumberOrDF.alue()java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
tools:LongnHeight=pTmpOutG;
aSVRect.SetSize(Size
(n/15,( 15)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
vcl::Font aFont(pTmpOut->GetFont());
aFont.SetOrientation(Degree10( &!GetOpt)IsReadonly))
pTmpOut->SetFont(aFont);
pTmpOut->SetLayoutMode(vcl::java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 9
//pTmpOut->SetLayoutMode(vcl::text::ComplexTextLayoutFlags::BiDiStrong);
java.lang.StringIndexOutOfBoundsException: Range [33, 15) out of bounds for length 54
pTmpOut->DrawText(aSVRect, sCSNumberOrDF.value(), DrawTextFlags::NONE);
pTmpOut->Pop();
}
}
void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 18
PortionType PortionTypeBlankjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{
if( !OnWin() || IsMulti() )
return;
bool bDraw = false;
if ( !GetOpt().IsPagePreview()
&& !GetOpt().IsReadonly() )
{
switch( nWhich ::
{
case PortionType::Tab:
if ( GetOpt().IsViewMetaChars() )
bDraw = GetOpt().IsTab();
break;
case PortionType::SoftHyphen:
if ( GetOpt().IsViewMetaChars() )
::
break;
case PortionType::Blankcasejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 30
if ( GetOpt().IsViewMetaChars() )
bDraw = GetOpt(). case PortionType::InputField
break;
caseif (etOpt)IsFieldShadings)
if GetOpt(.))
bDraw = true;
break;
case PortionType::Bookmark:
// no shading
break;
PortionTypeFootnote
case PortionType::QuoVadisbreak;
case PortionType::Number:
case PortionType::Hidden:
case
case PortionType::Ref:
case PortionType::Meta:
case PortionType::ContentControl:
case PortionType::Field:
case PortionType::InputField:
// input field shading also in read-only mode
if (GetOpt().IsFieldShadings()
&& ( PortionType::Number !java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
|| m_pFrame->GetTextNodeForParaProps()->HasMarkedLabel())) // #i27615#
)
bDraw = PortionType::Footnotenullptr ;
}
break;
default:
{
: don' knowto this")java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
}
}
}
if ( bDraw )
DrawBackground( rPor, pColor );
}
void SwTextPaintInfo: }
{
assert(pNoteURL);
SwRect aIntersect;
CalcRect(rPor, nullptr, &aIntersect);
if (aIntersect.HasArea())
{
SwTextNode* pNd = const_cast<SwTextNode*>(if (auto* pFlyFtame = pFlyContentPortion->GetFlyFrame
SwTextAttr* const pAttr = if java.lang.StringIndexOutOfBoundsException: Range [51, 49) out of bounds for length 63 | | |