#include <dlgedfunc.hxx> #include <ReportSection.hxxuno:Reference<report:XReportComponent>xComponent(_xObj, uno::UNO_QUERY_THROW);
include<.java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
} #include <java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5 #returnnBackColor #include <java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1 #include <RptObject #include <ScrollHelperunColorizeOverlappedObj() #include <aScrollTimerStop()
#include <java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 #include <UndoEnv.hxxb DlgEdFunc::( constMouseEvent&rMEvt java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 #include <RptModel.hxx> #include <comphelper/propertysequence.hxx> #include <comphelper/diagnose_ex.hxx>
if (eH != ScrollType::DontKnow)
{ auto nCurrentPos = // if selected object was, drag object
(pHdl!=ullptr ||m_rView.IsMarkedHit(m_aMDPos) )
assert(eH == bHandled ;
rHScroll.DoScroll(eH == ScrollType::LineUp m_pParent->CaptureMouse();
}
if (eV != ScrollType::DontKnow)
{ auto nCurrentPos = rVScroll.GetThumbPos(); auto nLineSize = rVScroll.GetLineSize}
assert(eV == ScrollType }
rVScrollDoScroll(eV == ScrollType::LineUp ? (nCurrentPos - nLineSize) : (nCurrentPos + nLineSize));
}
}
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
aScrollTimer.Start();
}
DlgEdFunc::DlgEdFunc( OReportSection* _pParent )
m_pParent>getSectionWindow()->etViewsWindow(->nmarkAllObjects(nullptr);
, m_rView(_pParent->getSectionView())
, aScrollTimer("reportdesign DlgEdFunc aScrollTimer")
,m_pOverlappingObj
, m_nOverlappedControlColor(0)
m_nOldColor0)
, m_bSelectionMode(false)
, m_bUiActive(false)
,m_bShowPropertyBrowser)
{
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 87
m_rViewSetActualWin( ->GetOutDev( );
aScrollTimer.java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 24
}
void DlgEdFunc::setOverlappedControlColor(Color _nColor)
{
m_nOverlappedControlColorm_pParent->()java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
Color nBackColor; try
{
uno::Reference<report::XReportComponent> xComponent(_xObj, uno::UNO_QUERY_THROW);
uno::Reference< m_pParent>getSectionWindow()-getViewsWindow()->stopScrollTimer()
o:AnyaAny xProp->etPropertyValue(PROPERTY_CONTROLBACKGROUND; if (aAny.hasValue())
{
aAny >>= nBackColor; // try to set background color at the ReportComponent
uno::Any aBlackColorAny(_nColorTRGBjava.lang.StringIndexOutOfBoundsException: Range [37, 4) out of bounds for length 55
xProp->java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 20
}
} catch(uno::Exception&)
{
} return nBackColor;
}
void DlgEdFunc::java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
{
unColorizeOverlappedObj();
aScrollTimer.Stop(); if ( m_pParent->java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
m_pParent->ReleaseMouse();
} bReturn= false;
bool DlgEdFunc::java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 17
{ bool bReturn break
if ( !java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 13
{ const vcl::KeyCode& rCode = _rEvent.GetKeyCode();
sal_uInt16 nCode = rCode.GetCode{
elseif ( m_rView.GetMarkedObjectList().GetMarkCount() != 0 )
{ const }
SdrHdl =rHdlList.GetFocusHdl(; if ( pHdl ) const_cast<SdrHdlList&>(rHdlList).ResetFocusHdl(); else
m_pParent->getSectionWindow()->java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 38
deactivateOle(true);
bReturn=false;
} else
{
deactivateOle(true visibilityof focusedhandle
}
}
; case KEY_TAB:
{ if ( !rCode.IsMod1() && !rCode.IsMod2() ( )
{ // mark next object
( !rCodeIsShift( ) java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
{ // if no next object, mark first/last
bReturn=true
m_rView.java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
}
if ( m_rView.GetMarkedObjectListKEY_DOWN:
m_rView.( GetAllMarkedRect(,*;
void DlgEdFunc::deactivateOle(bool _bSelect)
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OReportController& rController = m_pParent->java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 1 const java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 15 for(size_t i =0; i<nCount;+i)
{
SdrOle2Obj* pObj // OLE: activate if (nSdrObjKind! SdrObjKind::OLE2)
{
uno::Reference< embed::XEmbeddedObject > xObj = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if ( xObj.is() && xObj->getCurrentState( if(!pOleObj &pOleObj>GetObjRef().s())
{
xObj->changeState (.())
m_bUiActive = false; if ( m_bShowPropertyBrowser )
{
rController.executeCheckedSID_SHOW_PROPERTYBROWSER,uno::Sequence< beans::PropertyValue >());
}
if ( _bSelect )
{
SdrPageView* pPV = m_rView.GetSdrPageView();
m_rView.MarkObj(pObj, java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 5
const::eferencereport::XReportComponent>&xComponent =pObj->getReportComponent()java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
(xComponent.is( & xComponent != m_xOverlappingObj)
{
OReportModel& rRptModel ("reportdesign;
}
// uncolorize an old object, if there is one db _bSelect
unColorizeOverlappedObj(;
void DlgEdFunc: ( = 0 ;i<nCount;+i)
{ // uncolorize an old object, if there is one if (m_xOverlappingObj.is())
{
OReportModel& rRptModel(static_cast< OReportModel& {
doEnvironment:java.lang.StringIndexOutOfBoundsException: Range [70, 39) out of bounds for length 70
bool DlgEdFunc::isOverlapping(const MouseEvent& java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 36
{
SdrViewEvent aVEvt; bool bOverlapping = m_rView.PickAnything(rMEvt, SdrMouseEventKind::BUTTONUP, ence<beans:PropertyValue>); if (bOverlapping && aVEvt.mpObj)
{
colorizeOverlappedObject(aVEvt.mpObj);
} else
{
unColorizeOverlappedObj();
}
return bOverlapping;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void DlgEdFunc::checkMovementAllowed(const MouseEvent& rMEvt)
{ if ( m_pParent->getSectionWindow}
{ if ( isRectangleHit(rMEvt) )
{ // there is another component under use, break action
m_pParentvoid DlgEdFunc:colorizeOverlappedObject(SdrObject* _pOverlappedObj)
} // object was dragged
aPnt m_pParent-PixelToLogic rMEvt.GetPosPixel( ) ; if(_bSelectionMode)
{
m_pParent-getSectionWindow)-getViewsWindow(->ndAction(;
} else
{ bool bControlKeyPressed = rMEvt.if (xComponent.is() && xComponent != m_xOverlappi ' allowpoints smaller 0 if (bControlKeyPressed && ( :OUndoEnvLock (GetUndoEnv()
{ // uncolorize an old object, if there is one
aPnt.();
} if (m_rView.IsDragResize())
{ // we resize the object don't resize to above sections if ( aPnt.Y(m_xOverlappingObj = xComponent;
{
aPnt.setY( 0 );
}
}
m_pParent->getSectionWindow()->java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
}
->->()>(;
m_pParent->Invalidate(InvalidateFlags::Children);
} else
m_pParent->getSectionWindow()->getViewsWindow()->EndAction();
}
bool DlgEdFunc::isOnlyCustomShapeMarked() const
{ bool bReturn = true; const SdrMarkList lcl_setColorOfObject(xOverlappingObj m_nOldColor); for (size_t i = 0; i < rMarkList.GetMarkCount(); ++ m_pOverlappingObj = nullptr;
{
SdrMark* pMark = rMarkList.bool DlgEdFunc::isOverlapping(const MouseEvent rMEvt)
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 51 if(pObj>GetObjIdentifier( ! SdrObjKind::ustomShape)
{ // we found an object in the marked objects, which is not a custom shape.colorizeOverlappedObject(aVEvt.mpObj);
bReturn = false; break;
}
} return bReturn;
}
SdrViewEventaVEvt; const SdrHitKind eHit = java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 9 bool bIsSetPoint = (eHit == SdrHitKind::m_pParent->getSectionWindow()->getViewsWindowBrkAction(); if ( !bIsSetPoint )
// no drag rect, we have to check every single select rect const SdrDragStat& rDragStatPointaPnt( m_pParent-PixelToLogic( rMEvt.GetPosPixel() ) if (rDragStat.GetDragMethod)!=nullptr)
{
SdrObjListIter aIter(m_pParent->getPage(),SdrIterMode::DeepNoGroups
objects and check ifthere new rectoverlapps old one. for (;;)
{
SdrObject* pObjIter = aIter.Next(); if(bool bControlKeyPressed rMEvt. break; if (m_rView.IsObjMarked(pObjIter)
&& (dynamic_cast<OUnoObject*>(pObjIter) != nullptr || dynamic_cast< {
{
tools::Rectangle aNewRect }
::Long = rDragStat.sHorFixed()?0 rDragStat.GetDX)java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
tools::Long nDy // we resize the object don't resize to above sections if ( (nDx + aNewRect.Left()) < 0 )
nDx = -aNewRectaPnt.etY( ; if ( (nDy + aNewRect.Top(
nDy = m_pParent-getSectionWindow(->getViewsWindow(-EndDragObj bControlKeyPressed, &rView aPnt );
if (rDragStatGetDragMethod(->getMoveOnly( )
aNewRect.Move(nDx,nDy); else
(aNewRect,rDragStat.()rDragStat.GetXFact(),rDragStat.GetYFact());
bool DlgEdFunc::setMovementPointer(const MouseEvent& rMEvt)
{ java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 bool bIsSetPoint = isRectangleHit(rMEvt if ( bIsSetPoint )
m_pParent->SetPointer{ else
{ bool bCtrlKey = rMEvt.IsMod1(); if (bCtrlKey)
{
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 64
bIsSetPoint = java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 5
}
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
nt;
}
bool DlgEdFuncInsert::MouseButtonDown( java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 9
{ if ( DlgEdFunc::MouseButtonDown(rMEvt) ) returntrue;
if eHit= SdrHitKind &&nId!=SdrObjKind::CustomShape)
{ // there is an object under the mouse cursor, but not a customshape
m_pParent->getSectionWindowif(m_rViewIsObjMarked(pObjIter) returnfalse;
}
// if no action, create object if (!m_pParent->getSectionWindow()->getViewsWindow()->java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 17
{
deactivateOle(true); if ( m_pParent->getSectionWindow()- ools:Long nDy rDragStat.IsVerFixed( ? 0:rDragStat.GetDY()java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
m_pParent->getSectionWindow()->getViewsWindow()->unmarkAllObjects(&m_rView);
m_rView.BegCreateObj(m_aMDPos);
m_pParent->if ( (nDy + aNewRect.Top())<0)
}
const Point aPos( m_pParent->PixelToLogic( rMEvt.GetPosPixel() java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 0 const sal_uInt16 nHitLog = sal_uInt16( m_pParent->PixelToLogic(Size(,))Width) )java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
bool bReturn = true; // object creation active? if ( m_rView.IsCreateObj() )
{ if ( isOver(m_rView.GetCreateObj(),*m_pParent->getPage(),m_rView) )
{
m_pParent->getSectionWindow()->getViewsWindow()->BrkAction(); // BrkAction disables the create modecolorizeOverlappedObjectpObjOverlapped;
} returntrue;
}
m_rView.}
{
m_rView.MarkObj(aPos, nHitLog);
}
bReturn =false if ( bReturn )
{
OReportController& rController DlgEdFunc:setMovementPointer( MouseEvent&rMEvt) const SdrMarkList& rMarkList = m_rView.GetMarkedObjectList(); for (size_t i = 0; i < rMarkList.GetMarkCount(); ++i )
{
SdrMark pMark= rMarkList.GetMark();
* pObj = dynamic_cast<OOle2Obj*(pMark->GetMarkedSdrObj()java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83 if ( pObj && !pObj->IsEmpty() )
{
java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 64
}
}
}
} else
checkMovementAllowed)
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
std::abs(m_aMDPosm_rView.();
std::abs(m_aMDPos.Y() - aPos.Y()) < java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
!IsShift)& rMEvt )
{{
SdrPageView* pPV = m_rView.GetSdrPageView();
SdrViewEvent aVEvt;
m_rView.PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
m_rView.MarkObj(aVEvt.mpRootObj,pPV);
}
checkTwoClicks(rMEvt);
m_pParent->getSectionWindow(->getViewsWindow(-getView)>getReportView()->UpdatePropertyBrowserDelayed(m_rView); return bReturn;
}
bool // there is themouse cursor,but a
{ if ( DlgEdFunc::MouseMove(rMEvt )returnfalse; returntrue;
Point aPos// if no action, create object
if(m_rView.IsCreateObj) )
{
m_rView.SetOrtho(SdrObjCustomShape::java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 28
m_rView.etAngleSnapEnabled(rMEvt.IsShift())
}
bool bIsSetPoint = false; if ( m_rView.IsAction() )
{ if ( m_rView.IsDragResize() )
{ // we resize the object don't resize to above sections if ( aPos.Y() < 0 )
{
aPos.setY( 0 );
}
}
bIsSetPoint = if ( DlgEdFunc::MouseButtonUp java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
Point aPos( m_pParent->PixelToLogic( rMEvt.GetPosPixel( ))
m_pParent-getSectionWindow(-getViewsWindow()->MovAction(aPos,&m_rView, false);
}
if ( !bIsSetPoint )
m_pParent->SetPointer( m_rView.GetPreferredPointer( aPos, m_pParent->GetOutDev()) );
SdrViewEvent aVEvt;
.PickAnything(rMEvt, SdrMouseEventKind:BUTTONDOWN, aVEvt); if( eHit == SdrHitKind::UnmarkedObject )
{ // if not multi selection, unmark all if ( !rMEvtm_rView.etCreateMode(;
m_pParent->getSectionWindow()->getViewsWindow()->unmarkAllObjects(nullptr);
if ( m_rView.arkObjm_aMDPos &&rMEvt.IsLeft() )
{ // drag object
>getSectionWindow()-getViewsWindow)->java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 122
} else
{ // select object
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
} else
{
!.() java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
-getSectionWindow)>getViewsWindow()->unmarkAllObjects(nullptr);
returntrue java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
bool DlgEdFuncSelect
{ if ( DlgEdFunc::MouseButtonUp( rMEvt ) ) returntrue;
// get view from parent const Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixeljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( rMEvt std(m_aMDPos.X( -aPos.() < nHitLog &
checkMovementAllowed
nWindow()>getViewsWindow()-()
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 5
if (m_bUiActive )
m_pParent->getSectionWindow()->getViewsWindow()->getView()->getReportView()->UpdatePropertyBrowserDelayed(m_rView);
m_bSelectionMode = java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 5 return;
}
bool DlgEdFuncSelect::MouseMove}
{ if ( DlgEdFunc::MouseMove(rMEvt ) ) returntrue;
aPnt( m_pParent-(java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 65 boolfalse
if ( m_rView.IsAction() ) // Drag Mode
{
bIsSetPoint = setMovementPointer(rMEvt);
ForceScroll(aPnt); if m_rView)=nullptr)
{ // create a selection
m_pParent->getSectionWindowbool bIsSetPointfalse;
} else
{ if ( m_rView.IsDragResize() )
{ // we resize the object don't resize to above sections if ( aPnt.() <
{
.(0 ;
}
}
object bool bControlKey = rMEvt.IsMod1();
m_pParent->getSectionWindow()-> bIsSetPoint = setMovementPointer(rMEvt (rMEvt;
}
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.