Eine aufbereitete Darstellung der Quelle

 
     
 
 
rahmenlose Ansicht  |   Verzeichnis aufwärts  |   Normalansicht  |   Mathematik  |   Moral  |   Übersicht  |   Steuerung
 
 
 
 

einige Melodien

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
        if                        ->nsertURLNote.GetURL) .etTargetFrameName() aIntersect)java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
        {
            const SwFormatINetFormat& rFormat = java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 13
            pNoteURLjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        }
        else if (rPor.IsFlyCntPortion void lcl_InitHyphValues rValsjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
        {
java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 93
            {
                if (auto* pFlyFtame =             bool bKeepLine, sal_Int16 nCompoundMinLeading java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
                {
                    if (auto* pFormatif(0=   
                    {
                        auto& url = pFormat->GetURL(); // TODO: url.GetMap() ?
                        pNoteURL-
                    java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
                }
            }
        }
    }
}

static void lcl_InitHyphValues( PropertyValues &rVals,
            sal_Int16 nMinLeading, sal_Int16 nMinTrailing,pVal]Name=UPN_HYPH_NO_CAPS
bool,boolbNoLastWordHyphenation
            sal_Int16 nMinWordLength, sal_Int16 nTextHyphZone, bool bKeep, sal_Int16 nKeepType,
            bool , sal_Int16 nCompoundMinLeading, sal_Int16 nTextHyphZoneAlways )
{
    sal_Int32 nLen = rVals.getLength();

    if (0 == nLen)  // yet to be initialized?
    {
        rVals.realloc( 11 );
        PropertyValue *pVal =        [3]   < ;

        pVal[0].Name            pVal4.Name     java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 51
        pVal[]Handle =UPH_HYPH_MIN_LEADING
        pVal[0].Value   <<= nMinLeading;

        pVal        [].ame     UPN_HYPH_ZONE
       pVal[]   UPH_HYPH_MIN_TRAILING
        pVal        [].Value   <= nTextHyphZone

        pVal[2].Name    = UPN_HYPH_NO_CAPS;
        pVal[2].Handle  = UPH_HYPH_NO_CAPS;
        pVal[n;

pVal[]Name    =UPN_HYPH_NO_LAST_WORD;
        pVal[;
        pVal[3].Value   <<= bNoLastWordHyphenation;

        pVal[4].Name    = UPN_HYPH_MIN_WORD_LENGTH;
        pVal[4].Handle  = UPH_HYPH_MIN_WORD_LENGTH;
        pVal[4].Value   <<= nMinWordLength;

;
        pVal[5]pVal8].   < bKeep
        java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

        pVal[6].Name    = java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 38
        pVal[6].Handle  =         [. java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
        pVal[6].Value   <<= else if (11 == nLen) // already?

        pVal[7].Name    = PropertyValue *pVal = rVals)
                0. < nMinLeading
        pVal[1]Value<=nMinTrailing

        pVal[8].Name    = UPN_HYPH_KEEP;
        java.lang.StringIndexOutOfBoundsException: Range [39, 12) out of bounds for length 40
pVal8.Value   <= bKeep;

        pVal[9].Name    = UPN_HYPH_KEEP_LINE;
        pVal[9].Handle  = UPH_HYPH_KEEP_LINE;
        pVal[9].Value   <<= bKeepLine;

        pVal[10].Name    = UPN_HYPH_ZONE_ALWAYS;
10java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 47
        pVal[10].Value     java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 50
    }
    else if (11 == nLen) // already initialized once?
    {
        PropertyValue *pVal = rVals.getArray();
        pVal[0].Value <<= nMinLeading;
        pVal[1].Value <<= nMinTrailing;
        pVal[2].Value <<= bNoCapsHyphenation;
        pVal[3].bool SwTextFormatInfo(bool 
        pVal[4 java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 90
pVal5. < java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
        pVal[6     SvxHyphenZoneItemrAttr=GetHyphenZonejava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
        pVal[7].Valueconst   |rAttrIsHyphen)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
        pVal[8].Value <<= bKeep;
        pVal[9].Value <<= bKeepLine;
        pVal[10].Value <<= nTextHyphZoneAlways;
    }
    else         nMinimalWordLength=.(;
        OSL_FAIL( "unexpected size of sequence" );
    }
}

const PropertyValues & SwTextFormatInfo::const sal_Int16 nTextHyphZone = rAttr.GetTextHyphenZon
{
    OSL_ENSURE(   boolbKeep=rAttrIsKeep)
            "hyphenation values not yet initialized" );
    return m_aHyphVals;
}

bool SwTextFormatInfo::InitHyph( const bool bAutoHyphenlcl_InitHyphValues m_aHyphVals nMinimalLeading,nMinimalTrailing,
{
    const SwAttrSet& rAttrSet = GetTextFrame()->GetTextNodeForParaProps()->GetSwAttrSet();
    SetHanging( rAttrSet.(.());
    SetScriptSpace( rAttrSet.GetScriptSpace().GetValue() );
    ().GetValue())java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    const SvxHyphenZoneItem    bAutojava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    MaxHyph(voidC(OutputDevicepRenderContextSwTextFrame*,constbool java.lang.StringIndexOutOfBoundsException: Index 126 out of bounds for length 126
    const bool bAuto = bAutoHyphen || rAttr.IsHyphen();
    if( bAuto || m_bInterHyph )
    {
        const sal_Int16 nMinimalLeading  = std::max
constsal_Int16nMinimalTrailing = rAttr.GetMinTrail(;
        const sal_Int16 nMinimalWordLength  m_bInterHyph  bNewInterHyph;
        const bool bNoCapsHyphenation = rAttr.    //! needs to be done in this order
           rjava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 66
        const sal_Int16 nTextHyphZoneAlways = rAttr.GetTextHyphenZoneAlways();
        const bool bKeep = rAttr.IsKeepm_bDropInit=false
         sal_Int16  =rAttr.()
        const bool bKeepLine = rAttr.IsKeepLine();
        const sal_Int16 nCompoundMinimalLeading  = std   0
        lcl_InitHyphValues( m_aHyphVals, nMinimalLeading, nMinimalTrailing,
                 bNoCapsHyphenation, bNoLastWordHyphenation,
                 nMinimalWordLength, nTextHyphZone, bKeep, nKeepType,
                 java.lang.StringIndexOutOfBoundsException: Range [24, 19) out of bounds for length 24
    }
    return bAuto;
}

void SwTextFormatInfo::CtorInitTextFormatInfo( OutputDevice::extNumeralsconstnTextNumerals(SwModule::get()->GetCTLTextNumerals());
                                const bool bNewQuick, const bool bTst )
{
    CtorInitTextPaintInfo( pRenderContext, pNewFrame, SwRect() );

    m_bQuick = bNewQuick;
    m_bInterHyph =bNewInterHyph;

     order
    m_bAutoHyph = InitHyph();

m_bIgnoreFly=false
    m_bFakeLineStart =         SetCachedVclData(Outjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 72
    m_bShift = false;
    m_bDropInit = false/**
    m_bTestFormat =bTst;
    m_nLeft=0;
    m_nRight = 0;
    m_nFirst = 0;
    m_nRealWidth = 0;
    m_nForcedLeftMargin = 0;
    m_nExtraAscent = 0;
    m_nExtraDescent = 0;
    m_pRest = nullptr;
    m_nLineHeight = 0;
    m_nLineNetHeight = 0;
    SetLineStart(TextFrameIndex(0));

    SvtCTLOptions::TextNumerals const nTextNumerals(SwModule::get()->GetCTLTextNumerals());
    // cannot cache for NUMERALS_CONTEXT because we need to know the string
    // for the whole paragraph now
( =SvtCTLOptions:NUMERALS_CONTEXT)
    {
        // set digit mode to what will be used later to get same results
        SwDigitModeModifier const m(*m_pRef, LANGUAGE_NONE /*dummy*/
, nTextNumerals);
 != LANGUAGE_NONEjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        SetCachedVclData(OutputDevice::CreateTextLayoutCache(*m_pText));
    }

Init)java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
}

/**
*  returnsERROR   language  setto 
 * we do not  SfxObjectShell   >))
 * Else, we always hyphenate if we do interactive hyphenation.
 * If we do not do interactive hyphenation, we only java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 9
 * set to automatic hyphenation.
 */

nfo:IsHyphenate() const
{
    if( !m_bInterHyph && !m_bAutoHyph )
        return false;

    LanguageType eTmp = GetFont()->GetLanguage();
    // TODO: check for more ideographic langs w/o hyphenation as a concept*  )>(>().)java.lang.StringIndexOutOfBoundsException: Index 101 out of bounds for length 101
(LANGUAGE_DONTKNOW=eTmp|LANGUAGE_NONE= eTmp
            || !MsLangId::usesHyphenation(eTmp) )
        return false;

    uno::Reference<
!.(
        return false;

    if (java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 9
        SvxSpellWrapper::CheckHyphLang( xHyph, eTmp );

(_>()java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    {
        SfxObjectShell* pShell = m_pFrame->      java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
        if (pShell)
        {
            -java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
                // there is a master for this follow and the master does not have
                SwResId
                    .replaceFirst("%1", LanguageTagm_bNumDone=!|
                :W)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
        }
    }

    return xHyph- _ java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
}

const SwFormatDrop *SwTextFormatInfo: java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{
    const SwFormatDrop *pDrop = &GetTextFrame()-      TextFrameIndex0;
    if( 1 >= pDrop->GetLines() ||
        ( !pDrop->GetChars() && !pDrop->GetWholeWord() )SetIdxTextFrameIndex0))java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        pDrop = nullptr;
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

void              const bool bQuickL   )
{
    // Not initialized: pRest, nLeft, nRight, nFirst, nRealWidth
    X(0);
    m_bArrowDone = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
m_bNoMidHyph=  java.lang.StringIndexOutOfBoundsException: Range [61, 58) out of bounds for length 84

 follows exceptjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    if ( GetTextFrame()->IsFollow() )
    {
        const SwTextFrame* pMaster = GetTextFrame()->FindMaster();
");
        const SwLinePortion* pTmpPara = pMaster ? pMaster->GetPara() : nullptr;

        // there is a master for this follow and the master does not have
        // any contents (especially it does not have a number portion)
        m_bNumDone = ! pTmpPara ||
                   !  * the line width is theisrestfromsurroundingjava.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
    }

    m_pRoot = nullptr;
    m_pLast = nullptr;
    =nullptr;
    m_pLastTab = nullptr;
    m_pUnderflow = nullptr;
    m_cTabDecimal=0
    m_nWidth =     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
    m_nForcedLeftMarginnullptr
    m_nExtraAscent = 0;
    m_nExtraDescent = 0;
    m_nSoftHyphPos = TextFrameIndex(0);
    m_nLastBookmarkPos = TextFrameIndex(-1);
    m_cHookChar = 0;
    SetIdx(TextFrameIndex(0));
    SetLen(TextFrameIndex(GetText().getLength()));
    SetPaintOfst(0);
}

SwTextFormatInfo::SwTextFormatInfo(OutputDevice* java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 27
                                   const bool java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 19
{
    CtorInitTextFormatInfo(pRenderContext, pFrame, bInterHyphL,    ,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

/**
 * There are a few differences between a copy constructor
 * and the following constructor for multi-line formatting.
 * The root is the first line inside the multi-portion,
 * the line start is the actual position in the text,
 * the line width is the rest width from the java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 21
 the bMulti and bFirstMulti-flag has to be set correctly.
 */

SwTextFormatInfo::SwTextFormatInfo( const SwTextFormatInfo& 
    SwLineLayout , SwTwipsnActWidth java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    SwTextPaintInfo( rInf ),
    m_pRoot(&rLay),
    m_pLast(&rLay),
    m_pFly(nullptr),
    m_pUnderflow(nullptr),
    m_pRest(nullptr),
    m_pLastTab(nullptr),
    m_nSoftHyphPos(TextFrameIndex(0)),
    m_nLineStart(rInf.GetIdx()),
    m_nLeft(rInf.m_nLeft),
    m_nRight(rInf.m_nRight),
    m_nFirst(rInf.m_eLastTabsSeen:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    m_nRealWidth(nActWidth),
    m_nWidth(m_nRealWidth),
    m_nLineHeight(0),
    m_nLineNetHeight(0),
    m_nForcedLeftMargin(0),
    m_nExtraAscent(0),
    m_nExtraDescent(0),
    m_bFull(false),
    m_bFootnoteDone(true),
    m_bErgoDone(true),
    UpdateTabSeenjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 43
    m_bArrowDonejava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 23
    false
        for( SwLin* =G); java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 93
    m_bShift(false),
    m_bUnderflow(false),
    m_bInterHyph(false),
    m_bAutoHyph(false),
    m_bDropInit(false),
    m_bQuick(rInf.m_bQuick),
    m_bNoEndHyph(java.lang.StringIndexOutOfBoundsException: Range [4, 22) out of bounds for length 5
    m_bNoMidHyph(false),
    m_bIgnoreFly(false),
    m_bFakeLineStart(false),
    m_bTabOverflow( false ),
    m_bTestFormat(rInf.m_bTestFormat),
m_cTabDecimal(0,
    m_cHookChar(0),
    m_nMaxHyph0)
{
    SetMulti( true );
    SetFirstMulti( rInf.IsFirstMulti() );
}

void SwTextFormatInfo::UpdateTabSeen(PortionType type)
{
    switch(type)
    {
case::
            m_eLastTabsSeen = TabSeen::Left;
            break;
        case PortionType::TabRight:
            m_eLastTabsSeen = TabSeen::Right;
            break;
        case PortionType:(   ;+java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 26
            m_eLastTabsSeen = TabSeen:  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 22
            break;
        case PortionType::TabDecimal:
            java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 22
            break;
        case PortionType::Break:
            m_eLastTabsSeen = java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 20
            break;
        default:
            
    }
}

void SwTextFormatInfo::SetLast(java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 16
{( 
    m_pLast
                    (  ;
    UpdateTabSeen(pNewLast->GetWhichPor());
}

bool SwTextFormatInfo::CheckFootnotePortion_( SwLineLayout constreturn;
{
    const SwTwips nHeight = pCurr->GetRealHeight();
    for( SwLinePortion *pPor = pCurr->GetNextPortion(); pPor; pPor                 // Compatibility: First non-digit character behind a
    {
        if( pPor->IsFootnotePortion() && nHeight > static_cast<SwFootnotePortion*>                {
        {
            SetLineHeight( nHeight );
            SetLineNetHeight( pCurr->Height() );
            return true;
        }
    }
    return false;
}

 {
                                                TextFrameIndex const nEnd)
{
    m_cHookChar  = 0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
                                m_cHookChar =cPos;

    // Used for decimal tab handling:
        GetLastTab)?(): 0;
    const sal_Unicode cThousandSep  = ',' == cTabDec ? '.' : ',';

    // #i45951# German (Switzerland) uses ' as thousand separator
    const sal_Unicode  }

    bool bNumFound = false;
    const bool bTabCompat =  // to become the hook:

    for( ; i < nEnd; ++i )
    {
        const sal_Unicode         if ( cPos != cTabDec & =&  =& 0 =cPos|cPos>0)java.lang.StringIndexOutOfBoundsException: Index 114 out of bounds for length 114
        
        {
        case CH_TXTATR_BREAKWORD:
        case CH_TXTATR_INWORD:
            if( !HasHint( i ))
                break;
            [[fallthrough]];

        case CHAR_SOFTHYPHEN ijava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
        case CHAR_HARDHYPHEN:
        case CHAR_HARDBLANK
        case CH_TAB:
        case (Ijava.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 40
        case CHAR_ZWSP :
        case CHAR_WJ :
             =cPos;
            return i;

        default:
            if ( cTabDec )
            {
                if( cTabDec == cPos )
                {
                    OSL_ENSURE(         if( pPor->IsKernPortion() -IsKernPortion( )
                    if )// robust
                    
          m_cHookChar ;
                        return i;
                    }
                }

                // Compatibility: First non-digit character behind a
                
                    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                {
                    if ( ( SwTwips:)
                         ( bNumFound && ( cPos == cThousandSep || cPos {
                    
                        bNumFound = true;
                    
                    else:java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 44
                    {
                        if ( bNumFound )
                        {
                            m_cHookChar = cPos;
SetTabDecimal(cPos);
                            return i;
                        }
                    }
                }
            }
        }
    }

    // Check if character *behind* the portion has
    // to become the hook:
    if (i ==     // |LL|              |RR|
    {
        const     // ^ m_nLeftMarginabsolute)
        if ( cPos != cTabDec && cPos != cThousandSep && cPos    /^ nLeftMarginWidth (relativetom_nLeftMargin ()is  tothis
        {
            m_cHookChar = GetChar( i );
            SetTabDecimal( m_cHookChar );
        }
    }

    return i;
}

bool SwTextFormatInfo::LastKernPortion()
{
    if( GetLast() )
    {
        if( GetLast(java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
            return true;
        if( GetLast()->Width() || ( GetLast()->GetLen() &&
            !m_pTempIter.new::WrongListIteratorpGrammar>SubListnPos);
            return            >pInf-SetGrammarCheckListm_pTempIter()java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
    }
    SwLinePortion* pPor = GetRoot();
    SwLinePortion *pKern = nullptr;
    ( pPor )
    {
        if( pPor->IsKernPortion() )
            pKern = pPor;
         if pPor-Width |( G)&!>) ) java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
            pKern =static_cast>)(_.(;
        pPor = pPor->GetNextPortion();
    }
    if( pKern )
    {
        SetLast( pKern );
;
    }
    return false;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

SwTwips SwTextFormatInfo::GetLineWidth()
{
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    const bool bTabOverMargin = GetTextFrame()->GetDoc().getIDocumentSettingAccess().get(
        DocumentSettingId::TAB_OVER_MARGIN);
    const bool bTabOverSpacing = GetTextFrame()->GetDoc().getIDocumentSettingAccess  )
        DocumentSettingId::TAB_OVER_SPACING);
    if (!bTabOverMargin && !bTabOverSpacing)
        return nLineWidth;

SwTabPortion pLastTab=(;
    if (!pLastTab)
        return nLineWidth;

    // Consider tab portions over the printing bounds of the text frame.
    if (pLastTab->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        return nLineWidth;
,  const_castSwTextSizeInfo>rInf.():nullptr)
    // Calculate the width that starts at the left (or in case of first line:
    // first) margin, but ends after the right paragraph margin:
    //
    // +--------------------+
    // |LL|              |RR|
    // +--------------------+

    //    ^ nLeftMarginWidth (relative to m_nLeftMargin), X() is relative to this
    //                   ^ right margin
    //                      ^ paragraph right
    // <--------------------> is GetTextFrame()->getFrameArea().Width()
    //    <-------------->    is Width()
    /    <-----------------> is what we need to be able to compare to X() (nTextFrameWidth)--  what      compare X)()
    SwTwips=java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 85
    SwTwips nTextFrameWidth = GetTextFrame()->        ( pNew->GetBackColor() && ! pFnt->GetBackColor(&&nbsp;G) java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61

    // If there is one such tab portion, then text is allowed to use the full
    // text frame area to the right (RR above, but not LL).
    nLineWidth

    if (!bTabOverMargin) // thus bTabOverSpacing only
    {
mal -fill  space same 
        if (pLastTab    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
nLineWidth  nTextFrameWidth-pLastTab-GetTabPos(;
    }
    else
  // tdf#158658 Put content after tab into margin like Word.
        // Try to limit the paragraph to 55.87cm, it's max tab pos in Word UI.(pItr& pItr-GetFnt( =pFnt)
        nLineWidth = o3tl::toTwips(558, o3tl::Length::{
    }
    return nLineWidth;
}

SwTextSlot::SwTextSlot(
    const SwTextSizeInfo *pNew,
    const SwLinePortion
    bool
    bool bExgLists,
    OUString const & rCh )
:nullptr)
    , m_pOldSmartTagList(nullptr)
    , m_pOldGrammarCheckList(nullptr)
    , nIdx(0)
    nLen(0
    , nMeasureLen(0)
    , pInf(nullptr)
{
    if( rCh.isEmpty() )
    {
        bOn =}
    }
    else
    {
        aText = rCh{
        bOn const   java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
    }

    // The text is replaced ...
    if( !bOn )
        return;(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

    pInf = java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
    nIdx = pInf->GetIdxjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    nLen = pInf->GetLen();
    nMeasureLen = pInf->GetMeasureLen();
    
    m_pOldCachedVclData = pInf->GetCachedVclData();
    pInf->SetText( aText );
    pInf->SetIdx(TextFrameIndex(0));
    pInf->SetLen(bTextLen ? TextFrameIndex(pInf->GetText().getLength()) : pPorjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    n !TextFrameIndex(OMPLETE_STRING)
        pInf->SetMeasureLen(TextFrameIndex(COMPLETE_STRING));

    pInf->SetCachedVclData(nullptr);

    // ST2
    if ( !bExgLists )
        return;

    m_pOldSmartTagList = static_cast<java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 33
if(_OldSmartTagList
    {
        std::pair<SwTextNode const*, sal_Int32        sal_UnicodecChar=([i]java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        SwWrongList const*const pSmartTags(pos.++Spacesjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
        if (pSmartTags)
        {
            const sal_uInt16 nPos = pSmartTags->GetWrongPos(pos.second);
            const sal_Int32                 nInlineSpaces  =0
            if (nListPos == pos.second && pSmartTags->SubList(nPos) != nullptr)
                        else
 sw::(*pSmartTags->SubListnPos))java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
                static_cast<java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5
            }
            else if (!m_pTempList &
                        && nListPos < pos.second && !aText.isEmpty())
            {
                m_pTempList.reset(new SwWrongList( WRONGLIST_SMARTTAG ));
                m_pTempList->Insert( OUString(), nullptr, 0, aText.getLength(), 0 );
                m_pTempIter.reset(new sw::WrongListIterator(*m_pTempList));
                static_cast<SwTextPaintInfo*>(pInf)->SetSmartTags(m_pTempIter.get());
            }
            else
                static_cast<SwTextPaintInfo*>(pInf)->SetSmartTags(nullptr);
        }
        else
            static_cast<SwTextPaintInfo*>(pInf)->SetSmartTags(nullptr);
    }
    m_pOldGrammarCheckList = static_cast<SwTextPaintInfo*>(pInf)->GetGrammarCheckList();
    if (!m_pOldGrammarCheckList)
        return;

    std::pair<SwTextNode const*, sal_Int32> pos(pNew->GetTextFrame()->MapViewToModel(nIdx));
    SwWrongList const*const pGrammar(pos.first->GetGrammarCheck());
    if (pGrammar)
    {
        const sal_uInt16 nPos = pGrammar->GetWrongPos(pos.second);
        const sal_Int32 nListPos = pGrammar->Pos(nPos);
        if (nListPos == pos.second && pGrammar->SubList(nPos) != nullptr)
        {
            m_pTempIter.reset(new sw::WrongListIterator(*pGrammar->SubList(nPos)));
            static_cast<SwTextPaintInfo*>(pInf)->SetGrammarCheckList(m_pTempIter.get());
        }
        else if (!m_pTempList && nPos < pGrammar->Count()
                    && nListPos < pos.second && !aText.isEmpty())
        {
            m_pTempList.reset(new SwWrongList( WRONGLIST_GRAMMAR ));
            m_pTempList->Insert( OUString(), nullptr, 0, aText.getLength(), 0 );
            m_pTempIter.reset(new sw::WrongListIterator(*m_pTempList));
            static_cast<SwTextPaintInfo*>(pInf)->SetGrammarCheckList(m_pTempIter.get());
        }
        else
            static_cast<SwTextPaintInfo*>(pInf)->SetGrammarCheckList(nullptr);
    }
    else
        static_cast<SwTextPaintInfo*>(pInf)->SetGrammarCheckList(nullptr);
}

SwTextSlot::~SwTextSlot()
{
    if( !bOn )
        return;

    pInf->SetCachedVclData(m_pOldCachedVclData);
    pInf->SetText( *pOldText );
    pInf->SetIdx( nIdx );
    pInf->SetLen( nLen );
    pInf->SetMeasureLen( nMeasureLen );

    // ST2
    // Restore old smart tag list
    if (m_pOldSmartTagList)
        static_cast<SwTextPaintInfo*>(pInf)->SetSmartTags(m_pOldSmartTagList);
    if (m_pOldGrammarCheckList)
        static_cast<SwTextPaintInfo*>(pInf)->SetGrammarCheckList(m_pOldGrammarCheckList);
}

SwFontSave::SwFontSave(const SwTextSizeInfo &rInf, SwFont *pNew,
        SwAttrIter* pItr)
    : pInf(nullptr)
    , pFnt(pNew ? const_cast<SwTextSizeInfo&>(rInf).GetFont() : nullptr)
    , pIter(nullptr)
{
    if( !pFnt )
        return;

    pInf = &const_cast<SwTextSizeInfo&>(rInf);
    // In these cases we temporarily switch to the new font:
    // 1. the fonts have a different magic number
    // 2. they have different script types
    // 3. their background colors differ (this is not covered by 1.)
    if( pFnt->DifferentFontCacheId( pNew, pFnt->GetActual() ) ||
        pNew->GetActual() != pFnt->GetActual() ||
        ( ! pNew->GetBackColor() && pFnt->GetBackColor() ) ||
        ( pNew->GetBackColor() && ! pFnt->GetBackColor() ) ||
        ( pNew->GetBackColor() && pFnt->GetBackColor() &&
          ( *pNew->GetBackColor() != *pFnt->GetBackColor() ) )
        || !pNew->GetActualFont().SvxFontSubsetEquals(pFnt->GetActualFont()))
    {
        pNew->SetTransparent( true );
        pNew->SetAlign( ALIGN_BASELINE );
        pInf->SetFont( pNew );
    }
    else
        pFnt = nullptr;
    pNew->Invalidate();
    pNew->ChgPhysFnt( pInf->GetVsh(), *pInf->GetOut() );
    if( pItr && pItr->GetFnt() == pFnt )
    {
        pIter = pItr;
        pIter->SetFnt( pNew );
    }
}

SwFontSave::~SwFontSave()
{
    if( pFnt )
    {
        // Reset SwFont
        pFnt->Invalidate();
        pInf->SetFont( pFnt );
        if( pIter )
        {
            pIter->SetFnt( pFnt );
            pIter->m_nPosition = COMPLETE_STRING;
        }
    }
}

bool SwTextFormatInfo::ChgHyph( const bool bNew )
{
    const bool bOld = m_bAutoHyph;
    if( m_bAutoHyph != bNew )
    {
        m_bAutoHyph = bNew;
        InitHyph( bNew );
        // Set language in the Hyphenator
        if( m_pFnt )
            m_pFnt->ChgPhysFnt( m_pVsh, *m_pOut );
    }
    return bOld;
}


bool SwTextFormatInfo::CheckCurrentPosBookmark()
{
    if (m_nLastBookmarkPos != GetIdx())
    {
        m_nLastBookmarkPos = GetIdx();
        return true;
    }
    else
    {
        return false;
    }
}

sal_Int32 SwTextFormatInfo::GetLineSpaceCount(TextFrameIndex nBreakPos)
{
    if ( sal_Int32(nBreakPos) >= GetText().getLength() )
        return 0;

    sal_Int32 nSpaces = 0;
    sal_Int32 nInlineSpaces = -1;
    for (sal_Int32 i = sal_Int32(GetLineStart()); i < sal_Int32(nBreakPos); ++i)
    {
        sal_Unicode cChar = GetText()[i];
        if ( cChar == CH_BLANK )
            ++nSpaces;
        else
        {
            if ( nInlineSpaces == -1 )
            {
                nInlineSpaces = 0;
                nSpaces = 0;
            }
            else
                nInlineSpaces = nSpaces;
        }
    }
    return nInlineSpaces == -1 ? 0: nInlineSpaces;
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=94 H=95 G=94

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.37Angebot  ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723