|
|
|
|
Quellverzeichnis weldeditview.cxx
Sprache: C
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
workcovered by following notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
*theLicense at http:/apacheorg/LICENSE-.
*
* . ASF thisfile Apache
* includec/star/.java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
isvl/.>
at :/..rg//2.0.
*/
#OUString(constjava.lang.StringIndexOutOfBoundsException: Range [64, 61) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
#</accessibility/hpp
#include <com*:( return.(java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 50
#includevoidWeldEditView:()
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <comphelper/accessiblecomponenthelper.hxx>
#include <cppuhelper
if(* =GetEditView()
#include <drawinglayer/processor2d/processor2dtools.hxxjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 36
# java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 44
#void Wel::opyjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
#include <editeng/ pEditView->Copy()
#nclude editeng/fontitemhxxjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
ie/.>
#include <editeng/unoedhlp.hxx>
#include <editeng/unoedsrc.hxx>
#include <i18nlangtag/languagetag.hxx>
#include-Paste)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
#<svlitemset>
# m_bAcceptsTab)
#include <svx/sdr/overlay/overlayselection.hxx>
#include
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
#include <svx/weldeditview.hxx>
#include <comphelper WeldEditView:makeEditEngine(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
#include <vcl/canvastools.hxx>
#include <vcl/cursor.hxx>
# :Font (:GetSettings)()GetAppFont))java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
#include <vcl/ptrstyle.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
.GetFamilyName) "_str
#include , ));
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 84
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 77
void WeldEditView::SetModifyHdl(const Link<LinkParamNone*, , ))java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
GetEditEngine()->SetModifyHdl(rLink);
}
EditView* , EE_CHAR_FONTINFO_CTL);
EditEngine* WeldEditView(. 20 ,java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 83
bool WeldEditView::pItemPool->SetUserDefaultItem
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 1
();
return pEditView && java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 1
}
void WeldEditViewif(EditView* pEditView = GetEditView())
{
if (EditView* pEditView = GetEditView())
pEditView->DeleteSelected();
}
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
{
if (EditView/
pEditView>();
}
void WeldEditView::Copy -(tools:((0,) );
{
if (EditView* pEditView = GetEditView())
();
}
void WeldEditView
{
if (EditView* pEditView = GetEditView ->(.( .(;
pEditView-Paste)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
WeldEditView::
: m_bAcceptsTabaVisAreaSetTopstd:<:LongnMaxVisAreaStart,);
{
}
// tdf#127033 want to use UI font so override makeEditEngine to enable that
void WeldEditView:()
{
rtl::Reference<SfxItemPool> pItemPool = EditEngine:
vcl::Font aAppFont(Application::GetSettings().java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 5
pItemPool->java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
);
pItemPool->SetUserDefaultItem(SvxFontItem(aAppFont.GetFamilyTypeMaybeAskConfig(),
aAppFont.GetFamilyName(), u""_ustr, PITCH_DONTKNOW,
RTL_TEXTENCODING_DONTKNOW, EE_CHAR_FONTINFO_CJK));
aultItemjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 85
aAppFontGetFamilyName( ""java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 97
RTL_TEXTENCODING_DONTKNOW, EE_CHAR_FONTINFO_CTL
pItemPool->SetUserDefaultItem(
SvxFontHeightItem(aAppFont.GetFontHeight() * 20, 100, EE_CHAR_FONTHEIGHT
pItemPool-(
SvxFontHeightItem(aAppFont. (constauto aRect rLogicRects)
pItemPool->SetUserDefaultItem(
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
m_xEditEngine.reset(new EditEngine nMinY= :minnMinY,.()java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
voidWeldEditView:(java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
{
if (EditViewfor( auto :rLogicRects)
{
OutputDevice OutputDevice& rDevice* This java.lang.StringIndexOutOfBoundsException: Range [32, 28) out of bounds for length 69
// original max extents.
autonTop=aRect.op);
->SetOutputAreatools:Rectangle(Point(0, 0) aOutputSize);
GetEditEngine)>SetPaperSize(OutputSize
pEditView->ShowCursor();
const tools::Long Y)
pEditView-getEditEngine).( =aLogicPixeleight;
tools::Rectangle aVisArea(pEditView->ifn >nMinX)
if (aVisAreaauto=aRectRight)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
{
aLogicRanges( ,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 64
aVisAreaSetSizeaOutputSize)
pEditView->SetVisArea(aVisArea);
::ove) );
You can obtain one at http://mozilla.org/MPL/2.0/.
EditViewScrollStateChange
}
*rRenderContext()
}aViewInformation2D.setViewportvcl:notools:b2DRectangleFromRectangle(Rect);
voidWeldEditView::&rRenderContext* thiswork additional regarding copyright
{
DoPaint(rRenderContext, rRect);
}
void WeldEditView::PaintSelection(vcl::RenderContext& rRenderContext, tools::Rectangle const& rRect,
:ctor<::Rectangle> const& rLogicRects,
Color const color License,Version .0(he";you use
{
if (java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
}
std*/
reserverLogicRects())
::LongnMinX() java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 35
forconstauto&aRect:# sunstar/hppjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
=std:(,aRect.();
nMinY#nclude</sunstarlangXServiceInfo.>
nMaxX #</ccessiblecomponenthelper>
nMaxY = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
#</ ::rsorpCursor pEditView->java.lang.StringIndexOutOfBoundsException: Range [54, 51) out of bounds for length 54
lude editeng/ // get logic selection
&aRect:rLogicRects
{
// Extend each range by one pixel so multiple lines touch each
// other if adjacent, so the whole set is drawn with a single
// border around the lot. But keep the selection within the
// original max extents.
=aRect.p)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if (nTop > nMinY
nTop- .Height)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
&java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 52
< java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
nBottom=aLogicPixel!()
auto#nclude<AccessibleTextHelper.>
(nLeft> CaptureMouse
=java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 27
if (
ogicPixel WeldEditView: java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
aLogicRanges (;
}
sdr::overlay::java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [17, 4) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
aViewInformation2D
EditView =GetEditView)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
std:unique_ptr::processor2djava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
pEditViewD;
}
void:DoPaint
{
::java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 13
if java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 1
{
;
}
.PushPushFlagsALL;
rRenderContext.java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
pEditView WeldEditView:makeEditEngine()
GetFamilyName ",java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(Longjava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pCursor>rawToDevice(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 36
}
c& java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
std:nMinY java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
pEditView> =:axMaxX .);
// get the system's highlight color SfxItemStates
const voidQuickInsertText OUString for (const&aRect:)
PaintSelection // Extend each range by one pixel so multiple lines touch each
rRenderContext.Pop();
}
java.lang.StringIndexOutOfBoundsException: Range [17, 4) out of bounds for length 53
{
etPool ;
}
bool WeldEditView::java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
{
if (IsMouseCaptured)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
)stdoptional>
if +aLogicPixel()
GrabFocus();
EditView ();
return pEditView && pEditView->java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 42
}
aLogicRangesemplace_backnLeftl_Int32, sal_Int32 override
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 26
ReleaseMouse
* =GetEditView;
return pEditView && pEditView->MouseButtonUp(rMEvt) virtual tools
}
bool MapModeGetMapMode) override
{
EditView pEditView =GetEditView);
sal_uInt16 nKeystd:nique_ptrd virtual bool GetIndexAtPoint,&nPara )const;
if(nKey= && GetAcceptsTab)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
{
return false;
}
else if (pEditView && !pEditView->PostKeyEvent(rKEvt))
{
if (rKEvt.GetKeyCode().IsMod1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (GetEditEngine()->GetParagraphCount
{
pEditView->SetSelection(ESelection: java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 0
}
;
}
}
return false virtual bool) {false
}
return true;
}
bool (asFocus)
{
* = GetEditView(;
if!pEditView)
return uG)
return pEditView->Command virtualjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
}
voidjava.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
{
return
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
class WeldEditAccessibleWeldEditViewForwarder :
namespace
{EditView (;
WeldViewForwarder :publicSvxViewForwarder
{
java.lang.StringIndexOutOfBoundsException: Range [35, 25) out of bounds for length 76
CaptureMouse;
public
ewForwarder&rAcc
: GrabFocus();
virtual &ojava.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 58
Point&rPointconstMapMode&rMapMode java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
(const Point rPoint,onst&rMapModec ;
};
}
class WeldEditAccessible;
namespace
{
class WeldEditSource; Paste override;
/* analog to SvxEditEngineForwarder */
p
{
WeldEditAccessible{
WeldEditSource& m_rEditSource;
(= ()
m_aViewFwd;
=const&)=delete;
public:
(java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 73
);
virtual sal_Int32 GetParagraphCount() const override;
virtualsal_Int32GetTextLen(sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 17
GetTextconst &rSelconst ;
virtual java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
= EditEngineAttribs::All _(.
virtual java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SetParaAttribs( ,const & rSet}
virtual void RemoveAttribs(const ESelection& rSelection) override;
virtual void GetPortions(sal_Int32 nPara, }
OUStringGetStyleSheet(sal_Int32 nPara) const override;
(nParaconstOUString ;
virtual * =GetEditView)
virtual,rAccfalse
virtual void QuickInsertText
virtual java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
virtual void QuickSetAttribs
virtual void QuickInsertLineBreakconstESelection&) override;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
virtual OUString}
optionalColor&
WeldViewForwarder(const WeldViewForwarder&) = delete;
virtual void FieldClickedconst SvxFieldItem&)override;
( overridejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
virtual
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 81
virtual EBulletInfo GetBulletInfo(sal_Int32 nPara) const override;
virtual tools:: }
virtual PixelToLogic Point ,constMapMode rMapMode) const overridejava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
virtual MapMode GetMapMode()class WeldEditAccessible
virtual OutputDevice*
virtual bool GetIndexAtPoint(constPoint& }
virtual bool (al_Int32 nPara sal_Int32nIndex,sal_Int32 classWeldEditSourcejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
sal_Int32& nEnd)
virtual bool {
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 34
virtual sal_Int32 GetLineCount(sal_Int32 nPara) const override;
,sal_Int32nLine const override;
virtual void WeldTextForwarder& operator=(c java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 30
sal_Int32 nParagraph,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
virtual bool virtual sal_Int32 GetTextLennParagraph overridejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
virtual bool InsertText(const OUStringjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtual boolQuickFormatDocboolbFull =false()returnm_xTextHelperget;java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
virtual virtual SfxItemSet(al_Int32nPara{
GetDepthsal_Int32 nPara)constoverride;
Int32nPara sal_Int16 nNewDepth)override;
virtual const SfxItemSet* virtual void GetPortions(sal_Int32 = pEditViewjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/implementation for XParagraphAppendandXTextPortionAppend
virtualvirtual void SetStyleSheet(sal_Int32 nPara, const OUString& java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 0
virtual AppendTextPortion(al_Int32 onstjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
);
virtual
};
/* analog to SvxEditEngineViewForwarder */{
WeldEditViewForwarder:
{
WeldEditAccessible& m_rEditAccjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
WeldEditViewForwarder
*GetPool)const;
public:
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 30
virtual java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42
virtual LogicToPixelconstPoint rPoint,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 92
virtual Point PixelToLogic(const Point& rPoint, const m_xTextHelper voidFieldClickedSvxFieldItem& overridejava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
virtual
virtual c ESelectionrSelectionjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
XAccessible
virtual bool Cut() override;
virtual boolPaste);
};
SvxEditSource
{
sterm_aBroadCaster;
WeldViewForwarder m_aViewFwd;
WeldTextForwarder m_aTextFwdjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
WeldEditViewForwarder m_aEditViewFwd;
WeldEditAccessible& m_rEditAcc;
nIndexboolbInCell = false ;
: SvxEditSource()
, m_aViewFwd(rSrc.m_rEditAcc virtual void GetLin
.m_rEditAcc thisjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
m_aEditViewFwdm_rEditAcc
java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 92
{
=&)=delete
public:
WeldEditSource(
:)
, m_aTextFwd(rAcc, *this)
, m_aEditViewFwd(rAcc)
(java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
}/throw::)
virtual std::unique_ptr sal_Int32(nPara
{
returnstd:<( WeldEditSourcejava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
}
*) override{ &m_aTextFwd
virtual SvxViewForwarder
virtual SvxEditViewForwarder* java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{
return &java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
}
virtual void UpdateData() override
{
// would possibly only by needed if the XText interface is implemented
// and its text needs to be updated.
}
virtual virtual boolIsValid) override Height .java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
return const_cast<WeldEditSource}
}
};
}
class WeldEditAccessible
: public cppu::mplInheritanceHelpercomphelper::OAccessibleComponentHelper
css:accessibility:: java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 43
SfxBroadcaster;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
:java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 25
if(weld::rawingArea pDrawingArea m_pController->etDrawingArea),(m_rEditAcc*)
: m_pController(pController)
, m_pEditEngine(nullptr)
, m_pEditView(nullptr)
{
}
:AbsoluteScreenPixelPoint =pDrawingArea>();
void Init(EditEngine*:
{
m_pEditEngine = pEditEngine;
m_pEditView = pEditView;
m_xTextHelper.reset(
new ::accessibility::java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 26
m_xTextHelper->SetEventSource(
}
EditEngine{
EditView*GetEditView( {return; java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
voidjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 36
void SAL_CALL grabFocus
if(()java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
return;
// remove handler before current object gets destroyed
// (avoid handler being called for already dead object)
m_pEditEngine->SetNotifyHdl( {
m_pEditEngine = / would possibly only by needed if the XText interface is implemented
m_pEditView }
m_pController = nullptr; // implicitly results in AccessibleStateType::DEFUNC set
//! make TextHelper implicitly release C++ references to some core objects
m_xTextHelper;
//! make TextHelper release references
//! (e.g. the one set by the 'SetEventSource' call) :ImplInheritanceHelper:,
m_xTextHelper->Dispose();
m_xTextHelper.();
OAccessibleComponentHelper :CustomWidgetControllerm_pController;
}
// XAccessible
virtual java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 71
SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
{
return this;
}
AccessibleComponent
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
:Rjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 47
{
SolarMutexGuardColornCol=
if (!m_xTextHelper)
throw css: return.reset
return m_xTextHelper->GetAt(rPoint);
}
virtual css::awt}
{
if(!_pControllerjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
css::awt::Rectangle m_pEditEngine->SetNotifyH< m_xTextHelper-)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
aRet.Xjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 89
aRet.Y = aOutPos.Y();
Width.)
aRet.Height
returnaRet
}
virtual css::awt::Point
{
SolarMutexGuard aGuard
if (!m_pControllercss:::Referencecss::java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
css::awt::Point aScreenLoc(0, 0);
if (weld::DrawingArea* pDrawingArea = m_pController->java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 0
{
AbsoluteScreenPixelPoint (onst ::
aScreenLoc java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
aScreenLoc.Y css:::(;
}
return aScreenLoc;
}
virtual void SAL_CALL grabFocus() override { m_pController->java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 5
virtual sal_Int32 SAL_CALL getForeground() override
{
SolarMutexGuard aGuard;
if (! {
throw if (!_pController
Color nCol = m_pEditEngine->GetAutoColor();
return static_cast<sal_Int32// -1 for child not found/no parent (according to specification);
}
virtual sal_Int32 SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
SolarMutexGuard aGuard;
if (!m_pController!xParentjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
throw css::uno::RuntimeException();
Color nCol = m_pEditEngine->GetBackgroundColor
}
// XAccessibleContext
virtual sal_Int64 SAL_CALL getAccessibleChildCount
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
m_xTextHelperG
}
css::css::>
SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
}
virtual css::uno: .YaPos(
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{
SolarMutexGuard aGuard;
if (sal_Int32 getForeground)
throw throw css;
return m_pController->GetDrawingArea()->get_accessible_parent( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent
{
SolarMutexGuard aGuard;
if (!m_pController)
throw css::uno::RuntimeException();
// -1 for child not found/no parent (according to specification)
::Referencecss:>(()java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
try
{
css:: /
>)
// iterate over parent's children and search for this object
if(ParentContextis)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
{
sal_Int64 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 26
for (sal_Int64
{
css::uno:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 26
if cssl::IndexOutOfBoundsException
}
}
;
catch (const css::uno::Exception&)
{
TOOLS_WARN_EXCEPTIONsvx, "aRet >(;
}
virtual
{
return css::accessibility // -1 for child not found/no parent (according to specification)
}
virtual() override
{
SolarMutexGuardaGuard
OUString
if ::Reference<css::return m_pController->GetAccessibleId
{
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 61
}
return aRet;
virtual OUString SAL_CALL getAccessibleId() override
{
SolarMutexGuard aGuard;
m_pController)
nRet
return
}
virtual OUString SAL_CALL virtual OUString SAL_CALL getAccessibleDescription
{
SolarMutexGuard aGuard;
OUString aRet;
(m_pController)
{
aRet = m_pController->java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0
}
return aRetjava.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 31
}b:SELECTABLE
virtualcss:uno::Reference<css::accessibility::XAccessibleRelationSet>
SAL_CALL getAccessibleRelationSet() override
{
SolarMutexGuard aGuard;
if (!m_pController)
throw css::uno::RuntimeException();
return m_pController)
}
virtual |::accessibility::AccessibleStateTypejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{
SolarMutexGuard aGuard;
sal_Int64 nStateSet= 0;
if (!m_pController || !m_xTextHelper)
nStateSet |= java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 5
else
{
nStateSet |= css::accessibility::AccessibleStateType::MULTI_LINE;
nStateSet |= css::accessibility::AccessibleStateType::ENABLED;
if( -)java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 78
::: nStateSet |= css::accessibility::AccessibleStateType::SHOWI
:;
if (m_pController->HasFocus())
nStateSet |= css::accessibility
m_pController- nStateSet =css:A:
nStateSet |= css::accessibility::AccessibleStateType::ACTIVE;
nStateSet| css:::ccessibility:AccessibleStateType:
nStateSet |= css::accessibility::AccessibleStateType::SHOWING;
if (m_pController->IsReallyVisible())
nStateSet |= ::java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
=java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 71
}
}
nStateSetnStateSet
}
virtual css:L java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 59
{
SolarMutexGuard;
return LanguageTag(m_pEditEngineifm_pController>)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
nStateSet |= css::accessibility::AccessibleStateType::VISIBLE; java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
SAL_CALL(
const css::uno::Reference<css::accessibility::java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
{
if (!java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
m_xTextHelper->AddEventListener(rListener);
}
virtual void SAL_CALL removeAccessibleEventListener(
;
{
elperjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
return;
m_xTextHelper->RemoveEventListener(rListener)}
}
virtual virtual SAL_CALLremoveAccessibleEventListener
{
return u"WeldEditAccessible"_ustr;
}
virtual sal_Bool SAL_CALL supportsServiceconst OUString& rServiceName)override
{
(his rServiceName)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
}
virtual css::uno::Sequencejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
return { u"css::accessibility::Accessible"_ustr,
u"css:accessibility::AccessibleComponent" ;
ucss::AccessibleContext };
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
};
css:accessibility::XAccessible ::CreateAccessible()
{
{
if (!m_xAccessible virtual OU getImplementationNameoverride
m_xAccessible.set(newWeldEditAccessible)
#endif
returnm_xAccessible
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
WeldEditView::~WeldEditView()
{
if (m_xAccessible
returncppu(this )java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
m_xAccessible->()
m_xAccessible.clear();
}
#endif
}
bool WeldViewForwarder: return
WeldViewForwarderLogicToPixel(onst Point& rPoint, const MapMode& rMapMode) const
{
EditView* pEditView = m_rEditAcc.java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 33
if (!pEditView)
return Point();
OutputDevice& }
MapMode aMapMode(OutDev.()java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
Point ViewForwarder:LogicToPixelss::<cssa:XAccessible :CreateAccessible)
aMapMode.SetOrigin(Point());
return rOutDev.LogicToPixel EditViewpEditView= m_rEditAcc.GetEditView();
}
Point returnPoint)
{
EditView* pEditView = m_rEditAcc. if (m_xAccessible.)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
if (!pEditView)
return Point();
OutputDevice& rOutDev = pEditView- LogicToPixelaPoint )
MapMode return
aMapMode.SetOrigin(Point))
Point
return OutputDevice::LogicToLogic(aPoint, MapModejava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 51
}if!ENABLE_WASM_STRIP_ACCESSIBILITY
:.GetMapMode)
: m_rEditAcc(rAccSetOriginPoint()java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
, m_rEditSource(rSource)
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 76
},m_rEditSource
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 57
{
EditAccGetEditEngine(
if (pEditEngine)
pEditEngine->SetNotifyHdl(Link<EENotify&, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
IMPL_LINK(WeldTextForwarder, java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 20
{
if (EditEngine* pEditEngine = m_rEditAcc.GetEditEngine())
{
if(rNotifyjava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 65
&& !pEditEngine{
{
//anUpdateMode java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 19
// AccessibleTextHelper_Impl::GetTextForwarder to throw an
// exception as a Frozen EditEngine is considered Invalid so return
// early instead
return;
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
::java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 9
if (aHint)
::std::unique_ptr :EENotification2Hintjava.lang.StringIndexOutOfBoundsException: Range [90, 88) out of bounds for length 90
sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
EditEnginejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 62
}
sal_Int32 WeldTextForwarderjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
EditEngine .()java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
return pEditEngine ? pEditEngine->GetTextLen* m_rEditAccGetEditEngine()
}{
OUString WeldTextForwarderjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 65
=.(;
if (!pEditView
OUString aRet;
if
aRet = pEditEngine->GetText (aRet (
java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 57
}
SfxItemSet
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 32
{
EditEngine* pEditEngine njava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
assert( return OutputDevice: java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
(..java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 43
{
GetAttribsFlags nFlags = GetAttribsFlags java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
switchjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
case EditEngineAttribs::All:
nFlags = GetAttribsFlags::ALL;
nFlags
case EditEngineAttribs::OnlyHard:
->rSel,nOnlyHardAttribjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
break;
default:
SAL_WARN("svx", "unknown flags for
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 56
nFlags);
}
else
ifH(,)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
return pEditEngine->GetAttribs(rSel, java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
}
SfxItemSet WeldTextForwarder::GetParaAttribs(sal_Int32 nPara) const
{
EditEngine*java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
assert(pEditEngine &&
SfxItemSet aSet(EditEngine>()java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
sal_uInt16 EditEngine* pEditEnginejava.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 57
while (nWhich <= EE_PARA_END)
{
if (aSet.GetItemState( EditEngine*tify=
{
if (pEditEngine->HasParaAttrib(nPara, nWhich) pEditEngine-r *bRemoveParaAttribs*/, 0);
aSet.Put(pEditEngine->GetParaAttrib(nPara, nWhich));
}
nWhich+;
}
return EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
}
void WeldTextForwarder::SetParaAttribs(sal_Int32 nPara, const SfxItemSet& rSet)
{
EditEngine*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (pEditEngine)
pEditEnginenPararSet)
}
ol(
{
EditEngine m_rEditAccGetEditEngine)
return pEditEngine ? pEditEngine->GetEmptyItemSet().java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
}
void WeldTextForwarder::RemoveAttribs(const ESelection& rSelectionEditEngine .(;
{
*=.GetEditEngine);
if (java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
pEditEngine->RemoveAttribs(rSelection, false /*bRemoveParaAttribs*/, 0);
}
void returnpEditEngine?pEditEngine->etParagraphCount():0
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if (pEditEngine)
pEditEngine->GetPortions(nPara, rList (pEditEnginejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
OUString void WeldTextForwarder::Qu( java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
EditEngine* ifpEditEngine)
->java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 80
return
return OUString();
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [37, 22) out of bounds for length 82
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
auto pStyleSheetPool = pEditEngine ? pEditEngine-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if
=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pEditEngine->SetStyleSheet(nPara, static_cast<SfxStyleSheet*>(pStyle));
}
void WeldTextForwarder::
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
java.lang.StringIndexOutOfBoundsException: Range [19, 6) out of bounds for length 20
);
}
WeldTextForwarder(ESelectionrSel
{
EditEngine* pEditEngine = java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if (pEditEngine)
pEditEngine>QuickInsertLineBreak(rSel)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
}
:<>java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
{
ngine=m_rEditAccGetEditEngine(;
if (pEditEngine)
pEditEngine->QuickInsertField(rFld, rSel);
}
voidjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
EditEngine* pEditEngine = staticSfxItemState GetSvxEditEngineItemState(ditEngine &rEditEngine rSeljava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 43
if (pEditEnginesal_uInt16 nWhichjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
GetAttribsFlags= GetAttribsFlagsjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
}
bool WeldTextForwarder::IsValid() const
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
// cannot reliably query EditEngine state
// while in the middle of an update
returnfor(=rSel.nPara; =rSel.java.lang.StringIndexOutOfBoundsException: Range [70, 62) out of bounds for length 78
}
OUString WeldTextForwarder::CalcFieldValue(const SvxFieldItem& rField, sal_Int32 nPara,
nFlags=GetAttribsFlags:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 38
>,
std::optional<FontLineStyle>& rpFldLineStyle)
{
EditEngine java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 57
return pEditEngine ?
rpFldLineStyle)
: OUString();
}
void WeldTextForwarder::FieldClicked bGaps >java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 92
SfxItemStateGetSvxEditEngineItemState( const , const ,
sal_uInt16 ;
{
std::vector<EECharAttrib> aAttribs;
SfxItemState eState = nPara)const
// check all paragraphs inside the selection
(al_Int32nPara=rSel.nParanPara = rSel.end.Para; nPara+)
{
SfxItemState eParaState = SfxItemState::java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
/ startand forthis paragraph
sal_Int32 nPos =0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
if (rSel.start.nPara == nPara)
nPos = rSel.start.nIndex;
=rSel.nIndex
if (rSel
nEndPos = rEditEngine.GetTextLen(Para);
// get list of char attribs
rEditEngine.GetCharAttribs(nPara, aAttribs); // ... and its different to this one than the state is don't care
bool bEmpty (GetItemState( =SfxItemState:)
bool bGaps = false; // we found items but there are gaps between them
sal_Int32nLastEnd =nPos
const SfxPoolItem*
for (const auto& rAttrib : aAttribs)
{
assert(rAttrib.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
const bool bEmptyPortion = (rAttrib.nStartbGaps=true+java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
if ((!java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
|| (bEmptyPortion && (rAttrib.nStart }
if ((!bEmptyPortion && (rAttrib.nEnd <= nPos))
|| (bEmptyPortion && (rAttrib.nEnd < nPos)))
continue; // or if the attribute ends before our selection
if (rAttrib.pAttr->Which() != nWhich -SetParaAttribs java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// if we already found an item
if (pParaItem)
{
{
if (* EditEngine* pEditEnginem_rEditAcc(
return pEditEngine ? p->GetEmptyItemSet(.GetPool( :nullptrjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
}
else
{
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
}
if (bEmpty)
bEmpty
if
bGaps = true;
nLastEnd = rAttrib.nEndsal_Int32 ,stdvector>
}
if (!bEmpty && !bGaps && return java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 25
if (bEmpty)
=EGetEditEnginejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{
= SfxItemState:java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
eParaState = SfxItemState::SET;
{
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
}
else
{
pLastItem = pParaItem;
eState = eParaState;
}
}
return eState;
}
SfxItemState WeldTextForwarderjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 20
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if (pEditEngine)
nState=GetSvxEditEngineItemState(pEditEngine, rSel, nWhich);
return
}
SfxItemState WeldTextForwarder::GetItemState(sal_Int32 nPara, sal_uInt16 nWhich) const
{
=SfxItemState:DISABLED
EditEngine pEditEngine =m_rEditAcc.()java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
if (pEditEngine)
{
const SfxItemSet& rSet = pEditEngine-
.()
}
return nState;
}
LanguageType )
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
return pEditEngine ? pEditEngine->GetLanguage( :java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 87
}
:: (java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
{ pEditEngine->QuickSetAttribs(rSet rSel;
EditEngine* pEditEngine = m_rEditAcc.java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 1
if (!pEditEngine)
return {};
}
EBulletInfo const Point aPnt = pEditEngine query
::ectangle WeldTextForwarder:sal_Int32nPara )const
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
tools::Rectangle aRect(0
EditEnginejava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 57
if (pEditEngine)
{
// Handle virtual position one-past-the end of the string
* (java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{
if (nIndex)
aRect = java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
aRectMove(Rect.ight( -.Left(, 0)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
aRect(, pEditEngine>())
}
else
{
aRect = pEditEngine->GetCharacterBounds(EPaM(nPara, nIndex));
}
}
return aRect;
}
tools::Rectangle WeldTextForwarder::GetParaBounds(sal_Int32 nPara) const
{
:vectorEECharAttrib ;
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine
if (pEditEngine)
{
const Point aPnt = java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 48
constjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
sal_Int32 =-n)java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
aRect = tools::Rectangle(aPnt.X(), aPnt.Y(), (pEditEngine)
}
return aRect pEditEngine->GetWordESelectionnPara ) ;
}
MapMode WeldTextForwarder::GetMapMode(
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
return if (rSel.endnPara! )
}
OutputDevice* java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
{
EditEngine* pEditEngine = m_rEditAcc.java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 1
return pEditEngine ? pEditEngine->bool WeldTextForwarder::GetAttributeRun(sal_Int32,sal_Int32 nEndIndex,
}
bool WeldTextForwarder::GetIndexAtPoint(const Point& rPos,{
EditEngine* =_.java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 57
{
bool bRes = false;
gine();
if (pEditEngine)
{
EPaM aDocPos = pEditEngine->FindDocPosition(rPos rAttribjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
nIndex = aDocPos.nIndex;
bRes = true;
}
returnbRes;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool if((!EmptyPortion& (Attrib.nEnd< nPos))
sal_Int32& nEnd) const
{
bool bRes = false;
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if (pEditEngine)
{
ESelection aRes
= pEditEngine->GetWord(ESelection(nPara, nIndex), css::i18n::WordType::DICTIONARY_WORD);
if aRes.start.nPara= & aRes.tartnPara= aRes.endnPara)
{
nStart = aRes.start.nIndex;
=aRes.end.nIndex;
bRes = true;
}
}
return ;
}
bool java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
sal_Int32 nPara, sal_Int32 nIndex, bool void WeldTextForwarder::GetLineBoundaries {
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if(pEditEngine)
return false;
SvxEditSourceHelper:(nStartIndex,nEndIndex, pEditEngine, nPara, nIndex,
);
return true;
}
sal_Int32 WeldTextForwarder::GetLineCount(sal_Int32 sal_Int32WeldTextForwarder::etLineNumberAtIndexsal_Int32 ,sal_Int32
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
return pEditEngine ? return pEditEngine ? pEditEngine(,nIndex 0
}
nPara, sal_Int32 )
{
EditEngine* pEditEngine = m_rEditAccboolbRes=false;
->(,nLine : ;
}
void WeldTextForwarder::GetLineBoundaries(/*out*/ sal_Int32& rStart, /*out*/ sal_Int32& rEnd,>()
nPara,sal_Int32 nLine) true
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine()java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if ( java.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 43
pEditEngine-> // if we already found an item
else
rStart = rEnd = 0;
}
sal_Int32 WeldTextForwarder return -1 == nNewDepth; // is it the value from 'GetDepth' ?
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
return pEditEngine ? pEditEngine->GetLineNumberAtIndex(nPara, nIndex) : 0;
}
bool bool bRes = false
{
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if (pEditEngine)
{
pEditEngine->QuickDeleterSelection
bRes = true;
}
return bRes;
}
sal_Int16 WeldTextForwarder::GetDepth(java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
{
// math has no outliner...
return -1;
}
SetDepthsal_Int32/
{
// math has no outliner...
return -1 == nNewDepth; // is it the value from 'GetDepth' ?
bool WeldTextForwarder::Delete(return
{
bool bRes = false;
EditEngine =m_rEditAcc.;
if (pEditEngine)
{
pEditEngine>(Selection;
pEditEngine SfxItemState nState= SfxItemState::DISABLED;
bRes = true;
}
return bRes;
}
bool WeldTextForwarder::InsertText(const OUString& java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 41
{
boolEditEngine .(;
EditEngine* pEditEngine = m_rEditAcc.java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 5
if (pEditEngine)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
pEditEngine->QuickInsertText(rStr, pEditEngine->InsertParagraph(nParaCount, OUStri();
- pEditEngine->QuickFormatDoc
bRes = true;
}
returnbResjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
}
const SfxItemSet* WeldTextForwarder::GetEmptyItemSetPtr()
{
const SfxItemSet* pItemSet = nullptr;
EditEngine* pEditEngine = m_rEditAcc.java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 0
if (pEditEngine)
{
java.lang.StringIndexOutOfBoundsException: Range [29, 18) out of bounds for length 63
}
return pItemSet;
}
:)
{
// append an empty paragraph
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine nRes
if (pEditEngine)
{
sal_Int32nParaCount=>)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
>nsertParagraph(nParaCount, OUString());
}
}
sal_Int32 WeldTextForwarder::AppendTextPortion(sal_Int32 ;
const SfxItemSet& rSet)
{
sal_uInt16 nRes = 0;
EditEngine* pEditEngine = m_rEditAcc.GetEditEngine();
if (pEditEngine && nPara < java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// append text
pEditEngine-SetText(;
pEditEngine->QuickInsertText(rText, aSel);
// set attributes for new appended text
= pEditEngine->GetTextLen(nPara);
pEditEngine->QuickSetAttribs(rSet, aSel);
}
return nRes;
}
void WeldTextForwarder::CopyText
{
constWeldTextForwarder =dynamic_castconstWeldTextForwarder>&java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
if (pSourceForwarder
;
EditEngine* pSourceEditEngine = pSourceForwarder->m_rEditAcc.GetEditEngine(return(java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
EditEngine* pEditEngine = m_rEditAcc (pEditView
if (pEditEngine && pSourceEditEngine)
{
std::unique_ptr<EditTextObject> pNewTextObject = pSourceEditEngine->CreateTextObject();
pEditEngine>SetText(*pNewTextObject);
}
}
WeldEditViewForwarder::WeldEditViewForwarder(WeldEditAccessible& rAcc)
: m_rEditAcc(rAcc)
{
}
boolbool ::ESelectionrSelection
Point WeldEditViewForwarder::LogicToPixel(const Point& rPoint, const MapMode& rMapMode) const
{
EditView* pEditView = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 5
if (!pEditView)
return Point();
OutputDevice& rOutDev = }
MapMode (rOutDev.GetMapMode());
Point aPoint(OutputDevice::LogicToLogic(rPoint, rMapMode, MapMode(aMapMode.GetMapUnit())));
aMapMode.SetOrigin(Point());
return rOutDev.ogicToPixel(aPoint aMapModeSelection )
}
Point WeldEditViewForwarder}
{
EditView* pEditView = m_rEditAcc.GetEditView();
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
OutputDevice& rOutDev = pEditView->GetOutputDevice();
MapMode aMapMode(rOutDev.GetMapMode());
aMapMode.SetOrigin(
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
WeldEditViewForwarderGetSelectionESelection&rSelection)const
{
bool bRes = false;
EditView* pEditView = java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
rSelection = pEditView-> java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16 | | |