Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quellverzeichnis  weldeditview.cxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
/*
          / if,so the whole is    
 *
 * This=>(GetTextHeight            +aLogicPixel.eight(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
,...a  of MPL notjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 42
 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 59
 *
        ();
 *
    aViewInformation2D(GetViewTransformation)java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
 *   contributorjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * with   information   
 std::tools:java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 83
*    20 (he License") you maynot  this file
 *       }
 *   the
 */


#       (.size)

#include  tools nMinXLONG_MAX    java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 35
include com///.>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include </sun/    {
#include <com/sun/star/lang/IndexOutOfBoundsExceptionnMinX :minnMinX Left);
i comsun///XServiceInfo.ppjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
include comphelper/.hxxjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
#        =     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
#nclude drawinglayerprocessor2d:*  ->(;
java.lang.StringIndexOutOfBoundsException: Range [22, 8) out of bounds for length 56
#include <comphelper/lok    
<java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
#    
#  
#include <editeng/outliner
#include <editeng/unoedhlp
#include < // get the system's highlight color
#nclude       auto nTop.(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
b        java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 41
/itempool
#      &Mjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
include <allogm nMaxY)
#include <svx/sdr/overlay/overlayselection.hxx>
             +=.     (!sMouseCaptured)
#nclude svx/.xx>
#include <svx/weldeditview.hxx>
#include <ifnLeft          (;
#include <vcl/canvastools. nLeft-=            
java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 25
        ()
#include <
#include <vclpEditView  java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#include <vcl/svapp.hxx>
#include <vcl/window.            nRight += aLboolWeldEditView:const )
bjecthxxjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

void EditViewpEditView=(;

OUString java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0

void WeldEditView::SetModifyHdl(const Link
{
    bool WeldEditView::KeyInput(const KeyEvent& rKEvt)
}

EditView* WeldEditView    *pEditView  GetEditView(

EditEngine*     sal_uInt16 nKey = rKEvt    

bool WeldEditView::HasSelection()     if (nKey == KEY_TAB && !GetAcceptsT
{
*pEditView = (;
    }
}

void WeldEditView::Delete()
{
:<drawinglayer:java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
pEditView-eleteSelected)
}

void WeldEditView::Cut()
{
    if (EditView* pEditView ajava.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 9
                      )()
}

 {
{
    if (                    
        pEditView WeldEditView::                
}

voidWeldEditView
{java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    if java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 15
    : m_bAcceptsTab(false    rRenderContextvcl:ALL;
{
}

// tdf#127033 want to use UI font so override makeEditEngine to enable that
oidjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 35
{
    rtl::Reference<SfxItemPool> pItemPool = EditEngine::CreatePool();

   vcl::Font aAppFont(::etSettings(.()GetAppFont();

    java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
                           .),u_strPITCH_DONTKNOWjava.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
                                              RTL_TEXTENCODING_DONTKNOW, EE_CHAR_FONTINFO));
    (SvxFontItem(aAppFontGetFamilyTypeMaybeAskConfig(),
                                              aAppFont.GetFamilyName(), u""_ustr, PITCH_DONTKNOW,
                                              class ;
    
                                              
                                              RTL_TEXTENCODING_DONTKNOW, EE_CHAR_FONTINFO_CTL));java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    pItemPool->java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
        a.GetFontHeight(  , 100 );
    pItemPool->SetUserDefaultItem(
        SvxFontHeightItem(java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 26
    
        SvxFontHeightItem  IsValidconst;

         PointconstPoint , ;
}

void WeldEditView::Resize()
{
    if (EditView*      PointPixelToLogic    &) java.lang.StringIndexOutOfBoundsException: Range [83, 82) out of bounds for length 92
    {
        OutputDevice& java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
        Size aOutputSize(rDevice.java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 0
        // Resizes the edit engine to adjust to the size of the output area
        pEditView-/
        GetEditEngine()->SetPaperSize(aOutputSize);
       >)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

        const tools::Long nMaxVisAreaStart
            = pEditView->getEditEngine().GetTextHeight() - aOutputSize.Height();
        tools    {
        if (aVisArea.Top() > nMaxVisAreaStart)
        {
  .SetToptd:<tools:Long>(MaxVisAreaStart 0);
    DECL_LINK(NotifyHdl, EENotify& void)
            pEditViewjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            ;
        }

        EditViewScrollStateChangejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 5
    }
    weld:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

void::Paint(vcl:RenderContext ,const tools:Rectangle)
{
    DoPaint(rRenderContext,  virtual  GetParagraphCount)const ;
}   virtual  (sal_Int32nParagraph) constoverride

      ( & rSel  override;
                                  std::vector<tools::Rectangle> const&    virtualSfxItemSet GetAttribsconst ESelection ,EditEngineAttribsnOnlyHardAttrib
                                  Color const color)
{
    if (rLogicRects.empty())
    {
        return;
    }

    std::vector<basegfx::B2DRange> aLogicRanges;
    aLogicRanges.virtual void RemoveAttribs&rSelection ;

    tools::Long nMinX(LONG_MAX), nMaxX
 crLogicRects
    {
        voidsal_Int32nPara,constOUString& rStyleName) verride
        =java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
nMaxXstdm( .()
        nMaxY = std:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    

    const Size aLogicPixeljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   for ( autoaRect  java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    {
        // Extend each range by one pixel so multiple lines touch each
        // other if adjacent, so the whole set is drawn with a singlejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
        // border around the lot. But keep the selection within the*( override
        // original max extents.
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        ifnTop )
    if !()
        auto = java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 38
               if (nBottom <nMaxY                           :<& ,
     nBottom + .Height)
        auto nLeft = aRect.Left();
         (Left 
            nLeft    *pEditView =GetEditView)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
         nRight=aRect.(;
        if (nRight < nMaxX)
            nRight }

     aLogicRanges.(        aLogicRanges.emplace_back(nLeft)const;
    }

    sdr::overlay::OverlaySelection aCursorOverlay>   if (sMouseCaptured()
                                                  std::move(aLogicRanges),         ();

    drawinglayer::geometry::ViewInformation2D aViewInformation2D;
    aViewInformation2D.setViewTransformation WeldEditView    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 48
    aViewInformation2D.setViewport(vcl

    ::nique_ptr<    virtual bool GetIndexAtPoint java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 99
        drawinglayer:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                                                     bool

    xProcessor->process(aCursorOverlay.getOverlayObjectPrimitive2DSequence());
}

void WeldEditView::DoPaint(vcl::    virtual sal_Int32 GetLineLen(sal_Int32 nPara sal_Int32
{
    EditViewvoidGetLineBoundaries/java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86

    if (pEditView == nullptr)
    {
        return
    }

    rRenderContext.Push(vcl::PushFlags::ALL);
.SetClipRegion;

    pEditView->Paint(comphelper::LibreOfficeKit:: bool                 
                                                            java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                     &    virtual sal_Int16 GetDepth(sal_IntnPara constjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

f()
    {
        pEditViewEditView pEditView= (
        :C*  pEditView-etCursor
pCursor>()java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46


    // get logic selectionconst&rSet ;
    std::vector<tools::Rectangle> aLogicRects
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0

    // get the system's highlight color
    const Color aHighlight(SvtOptionsDrawinglayer:{
    PaintSelection(rRenderContext,}

    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
}

java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 1
{
    EditView* pEditView =GetEditView);
      :public 
}

 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    if (!IsMouseCaptured(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        ()java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23

    if(!asFocusi(WeldEditAccessible rAcc)
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

     virtualjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
& -M();
}

bool     virtual cPoint , );
{
    if    cPoint )override
        ReleaseMousejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    EditViewvirtual    
         java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
}

bool /* analog
{
    EditView* pEditView:ublicSvxTextForwarder

    sal_uInt16 nKey    java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1

if(Key = KEY_TAB &&!GetAcceptsTab)
    {
        return false;
    }
        WeldTextForwarder&operator( WeldTextForwarder) ;
    {
        if (rKEvt.    WeldTextForwarderWeldEditAccessible& rAcc, WeldEditSource& rSource);
    virtual~WeldTextForwarder( overridejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
                        
                virtual java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 70
                if (GetEditEngine()->GetParagraphCount())
               java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
                    pEditView-> ,constESelection) 
                }
                return true;
                                                           ,_ditAcc)
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    }

    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
}

bool     virtual void SetStyleSheetsal_Int32 ,  & rStyleName) override;
{
View*EditView=GetEditView
    if (!pEditView)
         java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    return pEditView->    }
}

Point WeldEditView::EditViewPointerPosPixel(
{
    return GetDrawingArea()->get_pointer_position();
}

class java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5

namespace
{
class WeldViewForwarder
{
    WeldEditAccessible&                             std::optional<> rpTxtColor,

    java.lang.StringIndexOutOfBoundsException: Range [45, 21) out of bounds for length 57
    virtual SvxViewForwarder* GetViewForwarder() override { return &m_aViewFwd; }

public:
        void(constSvxFieldItem)
        : m_rEditAccreturn&virtual bool IsValidjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42

    }

    virtual    virtual std::vector<EFieldInfo> GetFieldInfo(    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    virtual Point // and its text needs updatedjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
virtual java.lang.StringIndexOutOfBoundsException: Range [37, 30) out of bounds for length 92
  {
}

;

amespace
 virtualGetIndexAtPoint &java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 5
 ;

/* analog to SvxEditEngineForwarder */
class WeldTextForwarder : public SvxTextForwarder
{
sible&m_rEditAcc;
    WeldEditSource& m_rEditSource;

    DECL_LINK(NotifyHdl,                                          css::X,css:lang:XServiceInfo

    :CustomWidgetController    virtual sal_Int32 GetLineLen(sal_Int32 nPar) 
onst WeldTextForwarder* ;

public
    WeldTextForwarder(    std::unique_ptr<::accessibilityjava.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 73
    java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 65

    virtual sal_Int32 GetParagraphCount() const override;
    (sal_Int32 ) constconst override;
    virtual OUString GetText(const         (ullptr
    virtual SfxItemSet GetAttribs(    }
                                                           ( bFull=    ::accessibility::AccessibleTextHelper* GetTextHelper.)}
     GetParaAttribs( {
    virtual virtual sal_Int16(nPara) ;
    RemoveAttribs java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 73
 java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 32

    virtual OUString GetStyleSheet             :/ functionsfor  andXTextPortionAppend
    java.lang.StringIndexOutOfBoundsException: Range [30, 11) out of bounds for length 85

    virtual SfxItemState GetItemState(const ESelection&
        AppendTextPortional_Int32nPara,onstOUString&rText,

    virtual void QuickInsertText(const OUString& rText*){                              SfxItemSet  java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
    virtual void QuickInsertField(java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 23
    virtual void      ;
    virtual void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

virtualSfxItemPool (  overridejava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

      (SvxFieldItem ,sal_Int32nPara,sal_Int32
                                    std::optional    explicit         java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
                                std:<> ,
                                    std::optional<FontLineStyle     Point( &rPoint,const MapMode& rMapMode) const override;
virtual (const SvxFieldItem& override;
    virtual bool IsValid() const override;

        >(;
    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
            OAccessibleComponentHelperboolSetSelection(onst& rSelection overridejava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    virtual tools:/java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
     virtual :u      )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    virtual MapMode class WeldEditSource : public 
    virtual    SfxBroadcajava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    
    virtual    /XAccessibleComponent
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual 
                                 sal_Int32,  bInCell)constoverride
    virtual sal_Int32 GetLineCount(sal_Int32 nPara) const override;
    virtual sal_Int32 GetLineLen(java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 5
ies(/*out*/ sal_Int32& rStart, /*out*/ sal_Int32& rEnd,
                                   sal_Int32        if (!, m_aTextFwd(rSrc*thisjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    virtual sal_Int32GetLineNumberAtIndex(sal_Int32 nPara, sal_Int32 nLine) const override;
    virtual bool Delete(const ESelection&) override;
    virtual bool InsertText(const    }
    virtual bool QuickFormatDoc(bool bFull =    WeldEditSource& operator(const WeldEditSource& =delete;

     java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
    virtual sal_Int16 GetDepth(sal_Int32 nPara) const override;
    virtual bool SetDepth(sal_Int32 nPara, sal_Int16 nNewDepth) override        ,m_rEditAcc({

    virtual const SfxItemSet* GetEmptyItemSetPtr() override;
                :uno:()
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
    virtualsal_Int32 AppendTextPortion(al_Int32 ,     virtual sal_Int32 AppendTextPortion(sal_Int32 nPara, const
                                        const SfxItemSet         std:unique_ptrSvxEditSource>new(*this));

    virtual void CopyText(const SvxTextForwardervirtualSvxTextForwarder GetTextForwarder( override  return&m_aTextFwd;}
};

/* analog to SvxEditEngineViewForwarder */
class WeldEditViewForwarder : java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
    WeldEditAccessible& m_rEditAcc;

    WeldEditViewForwarder(const WeldEditViewForwarder&) = delete;
    WeldEditViewForwarder& operator=(const

public:
explicitjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 61

     ( const . =OutSize(java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    virtual Point LogicToPixel(constreturnjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    virtual Point PixelToLogic(constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual bool GetSelection(ESelection& rSelection
    virtual bool SetSelection(    :<,
                                 :accessibility:XAccessible 
virtualCut)override
    virtual bool {
};

class WeldEditSource : public SvxEditSource
{
     m_aBroadCaster
WeldViewForwarder m_aViewFwd;
    WeldTextForwarder m_aTextFwd;
    WeldEditViewForwarder m_aEditViewFwd;
    WeldEditAccessible& m_rEditAcc;

    WeldEditSource(const WeldEditSource& rSrc)
         : SvxEditSource()
        , java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
         m_aTextFwdr., thisjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        , m_aEditViewFwd(rSrc.m_rEditAcc)
        , m_rEditAcc(rSrc.m_rEditAcc)
    {
    }

    WeldEditSource& operator=(    :accessibilityjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 94

ublic:
    WeldEditSource(WeldEditAccessiblejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        : m_aViewFwd(rAcc)
        , m_aTextFwd(rAcc, *this)
        , m_aEditViewFwd(rAcc)
        , m_rEditAccaScreenLoc =aPos.Y)
    {
    }

    virtual stdjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    
            EditView GetEditView){ m_pEditView; }
    }

    virtual SvxTextForwarder* GetTextForwarder()     SAL_CALL dispose() override

    virtual SvxViewForwarder* GetViewForwarder() override { return &m_aViewFwd; }

    virtual SvxEditViewForwarder* GetEditViewForwarder(bool /*bCreate*/) override (isAlive)
    {
        return &m_aEditViewFwd;
    }

    virtual void UpdateData() override
       java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
/
        // and its text needs to be updated.
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    virtual
    {
        return const_cast< 
    }
};
}

class WeldEditAccessible
    :publiccppu:<comphelper:OAccessibleComponentHelper
                                         css:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
weld:* java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
    EditEngine* m_pEditEngine;
    EditView* m_pEditView;{
    std::SolarMutexGuard ::>

public:
    WeldEditAccessible(weld::java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 5
        : m_pController(pController)
        , m_pEditEngine(
        AccessibleComponent
    {
    }

    ::accessibility::AccessibleTextHelper*                    css:::untimeException);

    void Init(java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 0
    {
        m_pEditEngine = pEditEngine;
        m_pEditView = pEditView;
tHelper(
            new ::accessibility::AccessibleTextHelper(std::make_unique<java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 0
    m_xTextHelper--SetEventSource(this);
    }

    EditEngine* GetEditEngine !_pController)
    EditView* GetEditView() { return     

    void SAL_CALL dispose
            onst Point aOutPos;
        if (!isAlive())
            return;

        // remove handler before current object gets destroyed
        // (avoid handler being called for already dead object)
dl(Link<        return >java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 50

        m_pEditEngine = nullptr;
        m_pEditView = nullptr;
        m_pController = nullptr; // implicitly results in AccessibleStateType::DEFUNC set

        //! make TextHelper implicitly release C++ references to some core objects
        m_xTextHelper-SetEditSource::td:unique_ptrSvxEditSource        aRet. = aOutSizeWidth(;

        //! make TextHelper release references
        //! (e.g. the one set by the 'SetEventSource' call) aRet;
        m_xTextHelper    }
        java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0

        OAccessibleComponentHelper::dispose();
    {

//XAccessible
    virtual css:uno<css:accessibility:XAccessibleContextreturn m_xTextHelper->etChild();
        SAL_CALL getAccessibleContext() override
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        return     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    // XAccessibleComponent

    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        SAL_CALLgetAccessibleAtPoint( css:awt:Point&rPoint)override
    {
;
        if (!m_xTextHelper)
throw:uno:untimeException)

        return java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
    }

    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if!)
            throw             ::java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 47

        const aOutPos
        const Size aOutSize(m_pController->GetOutputSizePixel( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        css::awt::Rectangle aRet;

        aRet.X = aOutPos
        aRettry
        aRet.Width =             css::uno::Referen:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        aRet.Height = aOutSize.Height();

        return
    }

    virtual css::awt::Point SAL_CALL getLocationOnScreen() override

        SolarMutexGuard aGuard
        if (!java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
                virtual :uno:Reference<:accessibility:XAccessible>

                         nChildCount=xParentContext>();

         = m_pControllerjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 46
        {
            AbsoluteScreenPixelPoint aPos = pDrawingArea->get_accessible_location_on_screen();
            aScreenLoc                {
             =aPos.(;
        }

        return aScreenLoc;
    }

    virtual void SAL_CALL grabFocus() override

sal_Int32SAL_CALL ()override
    {
rd aGuard
        if (!m_pController)
            throw css::uno::           java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

       Color nCol  m_pEditEngine->GetAutoColor();
        return static_cast<sal_Int32>(nCol);
    }

    virtual sal_Int32 SAL_CALL getBackground() override
    {
        SolarMutexGuard aGuard
        if (!m_pController)
            throw css::uno::RuntimeException();

        Color nCol = m_pEditEngine->        Color nCol = m_pEditEngine->GetBackgroundColor
        returncss:uno::<::accessibility:XAccessible xParentgetAccessibleParent);
    }

/ 
    virtual sal_Int64 SAL_CALL                 xParent-getAccessibleContext());
    {
        if (m_xTextHelper)
            return m_xTextHelper->GetChildCount();
        return 0;
    }

    virtual css::uno::Reference<css::accessibility::XAccessible>
        SAL_CALL getAccessibleChild(sal_Int64 i) override
    {
        if (m_xTextHelper)
            return m_xTextHelper-    {
        throw ::ang(); // there is no child...
    }

    virtual css::uno::Reference<css::accessibility::XAccessible>
        SAL_CALL getAccessibleParent() override
    {
        SolarMutexGuard aGuard
        if (!m_pController)
            throw css::uno::RuntimeException();

        return m_pController-            ("""WeldEditAccessible             =m_pController-GetAccessibleDescription)
    }

    virtual sal_Int64 SAL_CALL getAccessibleIndexInParent()         
    {
        SolarMutexGuard aGuard;
        if (!m_pController)
            java.lang.StringIndexOutOfBoundsException: Range [44, 17) out of bounds for length 47

// -1 for child not found/no parent (according to specification)
        sal_Int64 nRet = -1;

        css::uno::Reference<css:: OUString SAL_CALL getAccessibleDescription
            java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            return nRet;

        try
        {
            css:: css:uno:)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
                xParent->getAccessibleContext());

            //  iterate over parent's children and search for this object
            if (java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
            {
               sal_Int64 nChildCount =xParentContext>java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 56
                for (sal_Int64    {
                {
                    css::uno::Referenceif(java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
                        xParentContext->getAccessibleChild(
                    if
                        nRet = nChild;
                }
            }
        }
        catch (const css::uno::Exception&)
        {
            TOOLS_WARN_EXCEPTION("svx", "WeldEditAccessible::getAccessibleIndexInParent");
        }

        return nRet;
    }

        sal_Int64SAL_CALL getAccessibleStateSet( 
    {
        return css::accessibility::java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5
    }

    () override
    {
        SolarMutexGuard aGuard;

        OUString aRet;

                ifjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
        {
            aRet = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 9
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

        return aRet;
    }

    virtual OUString SAL_CALL getAccessibleId() override
    {
        SolarMutexGuard aGuard;

        if (m_pController)
            return m_pController->nStateSet |= css::accessibility::Accessi;

        return OUString()     :java.lang.StringIndexOutOfBoundsException: Range [52, 20) out of bounds for length 75
    }

    virtual OUString SAL_CALL getAccessibleName() override
    {
        SolarMutexGuard aGuard;

        OUString aRet;

        if (m_pController
        {
            aRet = java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
        }

        return aRet;
    }

    virtual    =0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        SAL_CALL getAccessibleRelationSet() override
    {
        SolarMutexGuard aGuard;
        if (!java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 12
            throw css::uno::RuntimeException)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

       return m_pController->GetDrawingArea(>get_accessible_relation_set();
    }

    virtual sal_Int64 SAL_CALL nStateSet |= css::accessibilityAccessibleStateType:FOCUSABLEN;
    {
        SolarMutexGuard aGuard;
        sal_Int64 nStateSet = 0;

        if (!m_pControllerif(>                |:Ajava.lang.StringIndexOutOfBoundsException: Range [71, 68) out of bounds for length 78
 java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 73
        else
        {
            css:accessibility::AccessibleStateType::MULTI_LINE;
            nStateSet |= css::accessibility::AccessibleStateType::ENABLED;
            nStateSet |= css::accessibility::AccessibleStateType::            if(COL_TRANSPARENT ! m_pEditEngine->                nStateSet |= css::accessibility::AccessibleStateType
            nStateSet |= css::accessibility::AccessibleStateType
                    return java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
            java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    virtualcss:ang  () override
            if (m_pController->IsActive())
                nStateSet |= css::accessibility aGuard
             (-IsVisible()
                nStateSet |        return LanguageTag(m_pEditEngine->GetDefaultLanguage()).getLocale();
                        if
                java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
            if (COL_TRANSPARENT != m_pEditEngine->GetBackgroundColor())
                nStateSet |= css::accessibility::AccessibleStateType::OPAQUE;
        }

        return nStateSet;
    }

    virtual css::lang::Locale SAL_CALL getLocale() override
    {
        SolarMutexGuard aGuard;
        return LanguageTag(m_pEditEngine->GetDefaultLanguage()).getLocale();
    }

    / java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
    virtual void SAL_CALL addAccessibleEventListener(
                const css::uno            return;
    {
        if !m_xTextHelper 
            return;
        m_xTextHelper->AddEventListener(rListener);
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

void (
        const css::uno::Referencejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
(  
            return;
        m_xTextHelper->return cppu::supportsService rServiceName;
    }

    virtual{
    {
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    }

    virtual sal_Bool  u:java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 65
    {
        return cppu: }
    }

    virtual css::css::uno::Reference<::>WeldEditViewCreateAccessible)
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        returnString () override
                 u"css        set( (this))java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
                 u"css::accessibility:}
    }
};

:i!
{
#if !ENABLE_WASM_STRIP_ACCESSIBILITY
    if (!m_xAccessible.is())
        m_xAccessible.set(new WeldEditAccessible        >ispose)
#endif
    returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

WeldEditView::~WeldEditView()
{
#if !ENABLE_WASM_STRIP_ACCESSIBILITY
    Point::cjava.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
    {
        m_xAccessible->dispose();
        m_xAccessible.clear();
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
#endif
}

bool WeldViewForwarder::IsValid() constMapModeaMapMode(.etMapMode(;

:P::java.lang.StringIndexOutOfBoundsException: Range [23, 19) out of bounds for length 85
{
   *  java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 51
    if (!pEditView)
         (;
    OutputDevicejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    MapMode aMapMode(rOutDev.GetMapMode());
            java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 56
    aMapMode.SetOrigin(Point());
   returnrOutDev.LogicToPixel(,aMapMode)
}

Point WeldViewForwarder::    ()
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
    EditView* pEditView =WeldEditView:()
    if (!pEditView)
        return Point();
    OutputDevice& rOutDev = pEditView->GetOutputDevice
    java.lang.StringIndexOutOfBoundsException: Range [28, 11) out of bounds for length 43
    aMapMode.SetOrigin((;
    Point aPoint(rOutDev.PixelToLogic(rPoint, aMapMode));
    return OutputDevicejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

WeldTextForwarder::WeldTextForwarder(WeldEditAccessible& rAcc, WeldEditSource&&nbsp;rSource)
    :rAcc)
    (rSource)
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (pEditEngine)
        pEditEngine->SetNotifyHdl.GetEditEngine();
}

WeldTextForwarder::~WeldTextForwarder()
{
       EditEngine java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    if (pEditEngine)
        pEditEngine->SetNotifyHdl(Link<EENotify&, void>(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

IMPL_LINK(WeldTextForwarder, NotifyHdl, EENotify&, rNotify, void)
{
    if (EditEngine* pEditEngine = m_rEditAcc.GetEditEngine())
    {
        if (rNotify.eNotificationType == EE_NOTIFY_PROCESSNOTIFICATIONS
            &&             tdf#143088  UpdateMode ofjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 19
        {
            // tdf#143088 an UpdateMode of false will just to on to cause
            // AccessibleTextHelper_Impl::GetTextForwarder to throw an
            // exception as a Frozen EditEngine is considered Invalid so return
               // early instead
            return;
        }
    }

<SfxHint>aHint=SvxEditSourceHelper:(&rNotify);
    if (aHint)
        m_rEditSource.
}

sal_Int32 WeldTextForwarder::GetParagraphCount() const
{
EditEngine*pEditEngine  m_rEditAcc.etEditEnginereturn ?>etParagraphCount) :0
    return pEditEngine ? pEditEngine->GetParagraphCount
}

sal_Int32 WeldTextForwarder::GetTextLen(sal_Int32 nParagraph)    *pEditEngine = m_rEditAccGetEditEngine;
{
    EditEngine pEditEngine=.GetEditEngine()
    return pEditEngine ? pEditEngine->GetTextLen(nParagraph) : 0;
}

OUString WeldTextForwarder::etTextconst ESelection& rSel) const
{
   EditEngine* pEditEngine =m_rEditAcc.etEditEngine)
    OUString         if)
    if (pEditEngine)
        aRet = pEditEngine->GetText(rSel);
    return convertLineEndaRet,GetSystemLineEnd());
}

SfxItemSet WeldTextForwarder::GetAttribs(const ESelection& rSel,
                                         EditEngineAttribs nOnlyHardAttrib) const
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    assert(pEditEngine && "EditEngine missing");
    if (rSel.start.nPara == rSel.end.nPara)
    {
        GetAttribsFlags nFlags = GetAttribsFlags::NONE;
        switch(OnlyHardAttrib)
        {
            case EditEngineAttribs::All:
                nFlags=GetAttribsFlags:ALLjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
                break;
            case     if (SelstartnPara == rSel.end.nPara)
                nFlags=GetAttribsFlags:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 5
                break;
            default:
                SAL_WARN("        switch (nOnlyHardAttrib (nOnlyHardAttrib)
        }

        return pEditEngine->GetAttribs(rSel.start.nPara, rSel.start.java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 40
                                       );
    }
    else
    {
java.lang.StringIndexOutOfBoundsException: Range [26, 14) out of bounds for length 62
    }
}

SfxItemSet WeldTextForwarder::GetParaAttribs(sal_Int32 nPara) const
java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 1
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine        }
    assert(pEditEngine && "EditEngine missing");

 aSet(>(nPara);

    sal_uInt16 nWhich = EE_PARA_START;
    while (nWhich <= EE_PARA_END)
    {
        if (aSet.GetItemState(nWhich) !    }
        {
            if (pEditEngine->asParaAttribnPara nWhich))
                aSet.Put(pEditEngine->GetParaAttrib(nPara, nWhich));
        }
        nWhich++;
    }

    return aSet;
}

void WeldTextForwarder::SetParaAttribs{
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if(pEditEngine)
        pEditEngine->SetParaAttribs(nPara, rSet)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

SfxItemPool* WeldTextForwarder::GetPool() const
{
    EditEngine = m_rEditAcc.GetEditEngine();
ngine->GetEmptyItemSet().GetPool() : nullptr;
}

void WeldTextForwarder::RemoveAttribs(const ESelection& rSelection)
{
.java.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 71
(java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
       pEditEngine>RemoveAttribs(Selection, false/*java.lang.StringIndexOutOfBoundsException: Range [80, 73) out of bounds for length 80
}

void WeldTextForwarder::GetPortions(sal_Int32 nPara, std:        +java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
{
    
    if (pEditEngine)
        pEditEngine->GetPortions(nPara            /exception  ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

OUString WeldTextForwarder::GetStyleSheet(sal_Int32 nPara) const
{
    EditEngine*         ->SetParaAttribs(, )
    if (auto pStyle
        return pStyle->GetName();
    *pEditEngine=m_rEditAcc.()
}

void WeldTextForwarder::SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName)
{
    *pEditEngine =m_rEditAccGetEditEngine)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        EditEngine pEditEngine  m_rEditAcc();
    if  :)
        = pStyleSheetPool ? pStyleSheetPool->Find(rStyleName, SfxStyleFamily::Para) : nullptr)
        pEditEngine->SetStyleSheet(nPara,     EditEngine* pEditEngine = m_rEditAcc.GetEditEngine
}

void java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
        pEditEngine->QuickInsertText(rText, rSel);
}

ickInsertLineBreak(onstESelection& rSel)
{
    
    (java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
       -QuickInsertLineBreakrSeljava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
}

void WeldTextForwarder::QuickInsertField(const SvxFieldItem& rFld, const ESelection}
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEnginevoid WeldTextForwarder::SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName)
    if (java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
        pEditEngine->QuickInsertField(rFld, rSelOUString WeldTextForwarderWeldTextForwarder:GetText ESelection rSel)const
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1

voidjava.lang.StringIndexOutOfBoundsException: Range [40, 19) out of bounds for length 79
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (pEditEngine)
        pEditEngine-   aRet
}

bool if (pEditEngine)
{
    EditEngine* pEditEngine = m_rEditAcc.        pEditEngine->QuickInsertText(rText, rSel
    // cannot reliably query EditEngine state
/  :( &rSel
    return
}

OUString        -;
                                           sal_Int32 nPos, std::optional<Color>& rpTxtColor,
                                           std::optional<Color>& rpFldColor,
                                           std:optionalFontLineStyle> rpFldLineStyle)
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    return pEditEngine =.)
                                                     java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 1

}

void WeldTextForwarder::{

  (const srSel. =rSel..java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
                                              )
{
    std::vector<EECharAttrib> aAttribs;

    const SfxPoolItem* pLastItem = nullptr;

    SfxItemState eState = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1

    // check all paragraphs inside the selection
     sal_Int32 nPara  rSel.startnPara < rSel.end.nPara; nPara++)
    {
        SfxItemState eParaState = SfxItemState::DEFAULT;

        // calculate start and endpos for this paragraph
        sal_Int32 nPos = 0;
        if (rSel.start.nPara == nPara)
            nPos = rSel.start.nIndex;                                           std::optional<Color>& pFldColor

        sal_Int32 nEndPos = rSel.end.nIndex;
        java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 36
            nEndPos = rEditEngine.GetTextLen(nPara);

        // get list of char attribs
        rEditEngine.GetCharAttribs(nPara, aAttribs);

        bool bEmpty = true; // we found no item inside the selection of this paragraph
        bool          return pEditEngine-G(rSel..Para rSelstart.nIndex, rSel.end.nIndexjava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
        sal_Int32 nLastEnd = static EditEngine&rEditEngine constESelection&rSel,

        const SfxPoolItem* pParaItem = nullptr;

        for (const auto
        {
            assert(rAttrib.pAttr && "GetCharAttribs gives corrupt data");

            const bool bEmptyPortion = SfxItemState::DEFAULT;
            if ((!bEmptyPortion && (rAttrib.nStart >= nEndPos))
                || (bEmptyPortion && (rAttrib.nStart > nEndPos)))
                break; // break if we are already behind our selection

            if ((!bEmptyPortion && (rAttrib.nEnd <= nPos))
                || (bEmptyPortion &        / calculatestart  endpos java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 56
                continue; // or if the attribute ends before our selection

            if (rAttrib.pAttr->Which() != nWhich)
                sal_Int32nEndPos =.end;

 GetTextLenn)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
            (pParaItem)
            {
                
                if    {
                    return SfxItemState::INVALID;
            }
            else
            {
                pParaItem =;
            }

                        ifpEditEngineHjava.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 0
                bEmptyaSet.(>etParaAttrib

            if (!bGaps && rAttrib.nStart > nLastEnd)
                  java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 17

            nLastEnd = rAttrib.nEnd;
        }

        if (!bEmpty &&void:nPara
            bGaps = true;
        if (bEmpty)
            eParaState = SfxItemState::DEFAULT;
        else if (bGaps)
            java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 49
        else
            eParaState = SfxItemState::SET;

        // if we already found an item check if we found the same
        if (pLastItem)
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
|*pLastItem !*pParaItem)
                return SfxItemState::INVALID;
        }
        else
        {
            pLastItem = pParaItem;
            eState
        }
    }

    return    *java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
}

SfxItemState WeldTextForwarder
{            java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
    SfxItemState nState = SfxItemState::DISABLED;
    EditEngine* pEditEngine = java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 36
    if (pEditEngine)
        nState = GetSvxEditEngineItemState(*
     nState;
}

SfxItemState WeldTextForwarder::GetItemState(sal_Int32             bGaps = true;
{
    SfxItemState nState = SfxItemState::DISABLED;
nepEditEngine =_ditAccGetEditEngine(;
    if (pEditEngine)
       {
         eParaState:INVALID;
);
    }
    return nState;
}

LanguageType WeldTextForwarder::GetLanguage    returnOUString(;
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine// if we already found an item check if we found the same
    return pEditEngine ? pEditEngine->GetLanguage(nPara, nIndex).nLang : java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 9
}

:(nParajava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (!pEditEngine)
        return {}        >SetStyleSheet(, static_cast<*>pStyle)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    return pEditEngine->GetFieldInfoext(const OUString&rText, const ESelection& rSel)
}

EBulletInfo WeldTextForwarder::GetBulletInfo(sal_Int32 /*nPara*/) const { return EBulletInfo(); }

tools::Rectangle WeldTextForwarder::GetCharBounds(sal_Int32 nPara,    SfxItemState nState=java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 20
{
    : 0 0,0, 0;
    EditEngine* pEditEngine          =*java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 71

    if (pEditEngine)
    {
        // Handle virtual position one-past-the end of the string

        {
            if (nIndex)
                aRect java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

            aRect.Move(aRect.Right(
aRect.SetSize(oid java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 87
        }
        else
        {
            aRect =std:     (
        }
    }
    return aRect;
}

tools::Rectangle WeldTextForwarder::GetParaBounds(sal_Int32 nPara) const
{
    tools::Rectangle aRect(0, 0, 0, 0);
    EditEngine*     

    if (pEditEngine)
    {
-         java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 45
        const sal_Int32 nWidth toolsRWeldTextForwarder:GetCharBounds( nPara,sal_Int32nIndex) 
        const sal_Int32 nHeight = pEditEngine->GetTextHeight(nPara);
        aRect = tools::Rectangle(aPnt.X(), aPnt.Y()    * pEditEngine = m_rEditAcc.GetEditEngine();
    }

rnaRect;
}

MapMode WeldTextForwarder::GetMapMode() const
{
Engine pEditEngine= m_rEditAcc.GetEditEngine();
    return pEditEngine ? pEditEngine->                                           std<FontLineStyle> rpFldLineStyle)
}

OutputDevice* WeldTextForwarder::GetRefDevice() const
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    return pEditEngine ? pEditEngine->GetRefDevice() : nullptr;
}

bool WeldTextForwarder::java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1
                                        sal_Int32& nIndex) const
{
    bool bRes = false;
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (pEditEngine)
    {
        EPaM aDocPos = java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
        nPara = aDocPos.        
        nIndex = aDocPos.nIndex;
        bRes = true;
    }
    return bRes;
}

bool WeldTextForwarder::GetWordIndices(sal_Int32 nPara, sal_Int32 nIndex, sal_Int32&&nbsp;nStart,
                                       sal_Int32& nEnd) const
{
    bool bRes = false;
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if
    {
        ESelection
=>((, Index        =0

        if (aRes.start.nPara ==java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        {
ex
            nEnd = aRes.end.nIndex;

            }
        }
    }

    return bRes;
}

& nStartIndex &nEndIndex,
                                        sal_Int32 nPara, java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
     =_(java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    if (!        sal_Int32nLastEnd =nPos;
        return false;
::n,,*java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 93
                                         EditEngine* pEditEngine = m_rEditAcc.GetEditEn
    return true;
}

sal_Int32 WeldTextForwarder::GetLineCount(sal_Int32 nPara) const
        nPara = aDocPos.nPara;
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    return pEditEngine ? pEditEngine->GetLineCount(nPara) : 0;
}

sal_Int32 WeldTextForwarder:  bResjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    return pEditEngine ? pEditEnginejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                                          sal_Int32 nPara, }
{
         !java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
    if (pEditEngine)
            :GetAttributeRun,*java.lang.StringIndexOutOfBoundsException: Range [79, 77) out of bounds for length 93
    else
        rStart = rEnd = 0;
}

 G(sal_Int32nPara  nIndex)const
{
    EditEngine* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ->GetLineNumberAtIndexnPara ):0;
}

bool WeldTextForwarder::QuickFormatDoc(sal_Int32 WeldTextForwarder::GetLineLen(sal_Int32nLine const
{
      =false;
    *  =    return pEditEngine ? pEditEnginenPara ):0
    if (pEditEngine)
    {
        pEditEngine-QuickFormatDoc()java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
bRes=java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
    }
    return bRes;
}

sal_Int16 se
{
    // math has no outliner...
    return -1;
}

bool WeldTextForwarder::SetDepth(sal_Int32 /*nPara*/, sal_Int16 nNewDepth)
{
    // math has no outliner...
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 64
}

bool        
{
;
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine
    if (pEditEngine)
    {
>(Selection
        pEditEngine->QuickFormatDoc();
        bRes =true
    }
    return bRes;
}

bool WeldTextForwarder::InsertText(const SfxItemState WeldTextForwarder::GetItemState ESelectionrSel sal_uInt16 nWhich)const
{
    bool bRes = false;
* 
    if (pEditEngine)boolWeldTextForwarder::(sal_Int32 /*nPara*/, sal_Int16 nNewDepth)
    {
        >(,rSelection;
        pEditEngine->QuickFormatDoc();
        bRes    return nState
    }
    bRes;
}

const SfxItemSet* WeldTextForwarder::GetEmptyItemSetPtr()
{
    const SfxItemSet* pItemSet = nullptr;
        -QuickDelete()java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    if (pEditEngine)
    {
        pItemSet = &pEditEngine->GetEmptyItemSet();
    }
    return pItemSet;
}

void WeldTextForwarder::AppendParagraph()
{
    / append anempty
    EditEngine* pEditEngine= m_rEditAcc.etEditEngine)
    if (pEditEngine)
    {
        sal_Int32 nParaCount = pEditEngine->GetParagraphCount{
ng(

}

sal_Int32 WeldTextForwarder::AppendTextPortion(sal_Int32 nPara, const OUString& rText,
                                               const SfxItemSet& rSet)
{
    sal_uInt16 nRes = 0;
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (pEditEngine && nPara < pEditEngine->GetParagraphCount())
    {
        // append text
        ESelection aSel(nPara, pEditEngine->GetTextLen(nPara));
        pEditEngine

        // set attributes for new appended text
        voidWeldTextForwarder:AppendParagraph()
        pEditEngine->QuickSetAttribs(rSet, aSel);
    }
    return;
}

void WeldTextForwarder::CopyText(const SvxTextForwarder&            pEditEngine-GetParagraphCount(;
{
    const WeldTextForwarder* pSourceForwarder = dynamic_cast<const WeldTextForwarder*>(&rSource);
    if (!pSourceForwarder)
        return;
    EditEngine* pSourceEditEngine = pSourceForwarder->m_rEditAcc.GetEditEngine();
    EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
    if (pEditEngine && java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 24
    {
        std::unique_ptr<EditTextObject> pNewTextObject= pSourceEditEngine->reateTextObject()java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        pEditEngine>(pNewTextObject)
    }
}

WeldEditViewForwarder::WeldEditViewForwarder(WeldEditAccessible& rAcc)
    : m_rEditAcc(rAcc)
{
}

bool WeldEditViewForwarder::IsValid() const { return m_rEditAcc.GetEditView()

Point WeldEditViewForwarder::LogicToPixel(const Point&      *pSourceForwarder = < *(rSource);
{
    EditView* pEditView = m_rEditAcc !)
     returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
        return Point(;
    OutputDevice& rOutDev = pEditView->GetOutputDevice();
    MapMode aMapMode(rOutDev.GetMapMode());
    Point aPoint(OutputDevice::LogicToLogic(rPoint, rMapMode, MapMode(aMapMode.GetMapUnit())));
    aMapMode.SetOrigin(Point());
    return rOutDev.LogicToPixel(aPoint, aMapMode);
}

Point WeldEditViewForwarder::PixelToLogic(const Point& rPoint, const MapMode& rMapMode)         / Handle virtual position one-past-the end of the string
{
    EditView* pEditView = m_rEditAcc        {
    if !pEditView)
        return Point();
    OutputDevice& rOutDev = pEditView->GetOutputDevice();
    MapMode aMapMode(rOutDev.GetMapMode());
    aMapMode.SetOrigin(Point());
    Point aPoint(rOutDev.PixelToLogic(rPoint, aMapMode));
    return OutputDevice::LogicToLogic(aPoint, MapMode(aMapMode.java.lang.StringIndexOutOfBoundsException: Range [0, 73) out of bounds for length 0
}

WeldEditViewForwarderGetSelection(ESelection& ) const
{
    bool bRes = false;
    EditView* pEditView = m_rEditAcc.GetEditView();
    if (pEditView)
    {
        rSelection = pEditView->GetSelection();
            .SetSize(Size1 ->etTextHeight))java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    }
    return bRes    aMapModejava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}

java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 70
{
    bool bRes = false;
    EditView* pEditView = m_rEditAcc.GetEditView();
    if (pEditView)
    {
        java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
        bRes = true;
    }
    return bRes;
}

bool         return Pointreturn Point();
{
    bool bRes = false;
    EditView* pEditView = m_rEditAcc.GetEditView();
    if (pEditView)
    {
        pEditView->Copy();        >GetDocPosTopLeft(nPara);
        bRes = true;
    }
    return bRes;
}

bool WeldEditViewForwarder::Cut()
{
    bool bRes = false;
    EditView
    if (pEditView)
    {
        pEditView-bool ::(ESelection rSelection 
        bRes = true;
    }
    return bRes;
}

boolWeldEditViewForwarder:Paste)
{
    bool bRes = false;
    EditView* pEditView = m_rEditAcc.GetEditView();
     p)
    {
        {
        bRes = true;
    }
       return bRes;
}

void WeldEditView::SetDrawingArea(weld:    return pEditEngine? -GetRefDevice
{
    
 =1
        aSize.setWidth(500);
     (aSize.Height() == -1)
        aSize.setHeight(100);
    pDrawingArea->set_size_request(aSize.Width(), aSize.Height());

    SetOutputSizePixel(aSize);

    weld::CustomWidgetController::SetDrawingArea(pDrawingArea);

    EnableRTL(false);

const>();
    Color aBgColor = rStyleSettings.GetFieldColor();

    OutputDevice& rDevice = pDrawingArea->get_ref_device();

    rDevice.SetMapMode(MapMode         = truejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    rDevice.SetBackground(java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 16

    Size java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    makeEditEngine();
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
    m_xEditEngine->SetRefDevice(&rDevice);

    m_xEditEngine->SetControlWord(m_xEditEngine->GetControlWord() | EEControlBits::MARKFIELDS);

    m_xEditView.reset(new EditView(*m_xEditEngine, nullptr));
    ->setEditViewCallbacks(this;
    m_xEditView->SetOutputArea(tools::Rectangle(Point{

    m_xEditView        ESelection 
    m_xEditEngine->SetBackgroundColor(aBgColor);
    m_xEditEngine>InsertView(m_xEditView.get());

    pDrawingArea->set_cursor(PointerStyle::Text);

if!
        {
#endif
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    
void WeldEditView::InitAccessible()
{
    if (m_xAccessible.is())
        m_xAccessible->Init(GetEditEngine(), GetEditView());
}
#endif

int WeldEditView::GetSurroundingText(OUStringreturn }
{
    EditView* pEditViewjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    if (!pEditView)
        return -1;
    rSurrounding = pEditView->GetSurroundingText();
    return pEditView->GetSurroundingTextSelection().Min()bool WeldEditViewForwarder::Cut)
}

bool WeldEditView::DeleteSurroundingText(const Selection&          ;
{
    EditViewEditEngine   m_rEditAccjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    if ;
        return false;
    return pEditView->DeleteSurroundingText(rRange);
}

void     EditEnginepEditEngine ={
{
    EditView* pEditView = GetEditView()    Width= -1)
    if (pEditView)
    {
        pEditView->ShowCursor    EditEngine    ::SetDrawingAreajava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 withjava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
    }

    weld::CustomWidgetController

if!NABLE_WASM_STRIP_ACCESSIBILITY
    ifif(pEditView
    {
        // Note: will implicitly send the AccessibleStateType::FOCUSED event
        :accessibility:AccessibleTextHelper  = m_xAccessible>(;
        if (pHelper)
            pHelper->SetFocus({
    }
#endif
}

void WeldEditView::LoseFocus()
{
    weld::CustomWidgetController::LoseFocusvoid WeldEditView::etFocusjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 38
    Invalidate({

#if !java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 22
{
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        // Note: will implicitly send the AccessibleStateType::FOCUSED event
::   m_xAccessible(;
        if (pHelper)
            pHelper->SetFocus(false)         = &pEditEnginejava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
    }
#endif
}

bool WeldEditView:CanFocus)const{return true}

css     java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
    ifm_xDropTarget
        m_xDropTarget
    return m_xDropTarget; :java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
}

::java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 5
{
    return weld:C::);
}

void WeldEditView        java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
{
    Invalidate();

#if !        nRes = aSel.end =java.lang.StringIndexOutOfBoundsException: Range [56, 44) out of bounds for length 64
    if (m_xAccessible.is())
    {
        ::accessibility::java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5
if p)
            pHelper->UpdateSelection();
    }
#endif
}

namespace
{
WeldEditViewUIObject  publicDrawingAreaUIObject
{
private:
    WeldEditView* mpEditView;

public:
    WeldEditViewUIObject(const VclPtr<vcl::Window>& rDrawingArea)
:DrawingAreaUIObject(DrawingArea
        , mpEditView(static_cast<WeldEditView*>(mpController))
    {
    }

    static std::unique_ptr<UIObject> create(vcl::Window* pWindow)
    {
        return std::unique_ptr<UIObject>(new WeldEditViewUIObject(pWindow}


    virtual StringMap get_state() override
    {
    aMapModer.()
        aMap[u"Text"_ustr] = mpEditView->GetText();
        return aMap;
    }

:
    virtual OUString     java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}

FactoryFunction WeldEditView::GetUITestFactory() const { return WeldEditViewUIObject::create; }

EditView*=m_rEditAcc.GetEditView();

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

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.39Bemerkung:  ¤

*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