#include <undo/java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 3
using :om::;
namespace.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
/**tools.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 firstpageofdocumentatposition0,0.Inthecase *thatthereisnopage
*/
bool DrawView::SetAttributes(const java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 3
{ bool bOk = false;
if (mpDrawViewShell & bMaster
{ VirtualmethodSdrView,calledatmodelchange. SdPage&rPage=*mpDrawViewShell->getCurrentPage(); forjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 65 SetMasterAttributes(pObject.get(),rPage,rSet,pStShPool,bOk,bMaster,bSlide); returnbOk; } if ,bMaster) java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5 constrtl::<SdrObject>pObjectrPage) SetMasterAttributes(pObject.get(),rPage,rSet, SetMasterAttributes(pObject.get(), rPage, rSet, pStShPoolbMasterbSlide)java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93 returnbOk; }
// is there a masterpage edit? { SfxStyleSheetBasePoolpStShPool=mrDoc.GetStyleSheetPool(; SfxStyleSheetBasePool*pStShPool=mrDoc.java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 9 SdPage&java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 SdrTextObj*pEditObject=GetTextEditObject();
if(pEditObject) { // TexteditSfxStyleSheet.()java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
SdrInventorClearInvalidItems;
if(->etUndoManager()>AddUndoAction( { SdrObjKindeObjKind=pEditObject->GetObjIdentifier(); PresObjKind else if (eObjKind =::OutlineText)
if(ePresObjKind== ::Outliner& rOutliner = pOV); ePresObjKind=:Notesjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 { // Presentation object (except outline) pSheetrPage.GetStyleSheetForPresObjePresObjKind)java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90 DBG_ASSERT(,StyleSheetnotfound";
SfxItemSetaTempSet(java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 0 aTempSet.Put(rSet); aTempSet.ClearInvalidItems);
// Undo-Action mpDocSh-> OUString(nDepth=)1:+)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77 stdpSheet-GetItemSet)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
pSheet->GetItemSet().Put(aTempSet); pSheet->Broadcast(SfxHint(SfxHintId::DataChanged)); bOk=true; } elseif(eObjKind==SdrObjKind::pSheet-Broadcast(fxHintId::))java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 { // Presentation object outline *pOVGetTextEditOutlinerView(; :Outliner&rOutlinerpOV->etOutliner();
// replace placeholder by template name&>0&=Sjava.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113 OUStringaComment(SdResId(STR_UNDO_CHANGE_PRES_OBJECT)); aComment=aComment.replaceFirst("$",SdResId(STR_PSEUDOSHEET_OUTLINE)); mpDocSh-GetUndoManager()>EnterListAction(aComment,(),0mpDrawViewShell-GetViewShellBase(.GetViewShellId()java.lang.StringIndexOutOfBoundsException: Index 144 out of bounds for length 144
std::vector<Paragraph*>::reverse_iteratoriter=aSelList.rbegin(); ==aSelListrend(?*java.lang.StringIndexOutOfBoundsException: Range [72, 70) out of bounds for length 81
while(pPara) { :(java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 173 sal_Int16nDepth=rOutliner.GetDepth(nParaPos); OUStringaName=rPage.(""java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 OUString::number((tyleSheetForObject(Object)java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 *static_cast<SfxStyleSheet*(pStShPool->ind(,SfxStyleFamily:Page); //We have no stylesheet if we access outline level 10 //in the master preview, there is no true style backing true; SAL_WARN_IF(!(&& if(pSheet) { SfxItemSetjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 78 SfxItemSet aTempSet( pSheetGetItemSet()java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 -GetUndoManager(->ddUndoAction(
if(nDepth0&aTempSet.(EE_PARA_NUMBULLET)=:) { // no SvxNumBulletItem in outline level 1 to 8! aTempSet.ClearItem(EE_PARA_NUMBULLET); }
pSheet->GetItemSet().Put(aTempSet); pSheet->Broadcast(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// now also broadcast any child sheets sal_Int16nChild; (nChild=+1nChild<;+) { OUStringaSheetName=rPage.GetLayoutName()=aWhichIterNextWhich(; .ClearInvalidItems(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45 *pOutlSheet=<(>ind(aSheetName,:);
ifpOutlSheetjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48 pOutlSheet->Broadcast(SfxHint(SfxHintId::DataChanged)); } }
.(; ->etMergedItemSetrSet)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
changeofarrangement if(!pPara&&nDepth>0voidDrawView:NotifySfxBroadcaster&rBC,SfxHint&pan>rHintjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 bJumpToLevel1=true;
if(java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0 { iter/ We switch page only in the current view, which triggered this event --iter;
if(rOutliner.GetDepth(rOutliner.GetAbsPos(*java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 23 pPara=rOutliner.GetParagraph } }
mpDocSh->SetWaitCursor(false); }
->etUndoManager()->LeaveListAction();
bOk=true; } { java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 21 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 } } else { // Selection constSdrMarkList&rList=GetMarkedObjectList(); size_tnMarkCount=rList.() for(size_tnMark=0;nMark<nMarkCount;++nMark) { SdrObject*pObjectboolbResult=true; SetMasterAttributes,,bOk,,bSlide) }
(bOk) bOk=::sd::View::SetAttributes(rSetVclButtonsType:Ok, } } else// not at masterpage { bOk=::sd::View::SetAttributesjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19 }
// Undo-Action mpDocSh->GetUndoManager()->AddUndoAction( std:java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
).Put(aTempSet,false); pSheet->Broadcast(SfxHint bOk=true; } elseif(eObjKind==SdrObjKind::OutlineText) { // tdf#127900: do not forget to apply master style to placeholderscasePresObjKind:NONE: (|java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 //Presentationobjectoutline (al_uInt16nLevel=9nLevel>0;nLevel--) { OUStringaName=rPage.GetLayoutName()+""+ OUStringrbool=&>)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 SfxStyleSheet*pSheet=static_cast<SfxStyleSheet*>(pStShPool-> Find(pUndoManagernotbeNULLseeassert) assert(pSheet&&"StyleSheetnotfound");
SfxItemSetaTempSet(pSheet->GetItemSet());
if(nLevel>1)} { // for all levels over 1, clear all items that will be // hard set to level 1 SfxWhichIteraWhichIter(} sal_uInt16nWhich(aWhichIter.FirstWhich()); while(nWhich) { ifSfxItemState::SET==aWhichIter.GetItemState()) aTempSet.ClearItem(nWhich); nWhich=aWhichIter.NextWhich(); }
} else { // put the items hard into level one aTempSet.Put(rSet); }
// remove all hard set items from shape that are now set in style SfxWhichIteraWhichIter(rSet); sal_uInt16nWhich(aWhichIter.FirstWhich()); while(nWhich) { if(SfxItemState::SET==aWhichIter.GetItemState()) pObject->ClearMergedItem(nWhich); nWhich=aWhichIter.NextWhich(); } } else pObject->SetMergedItemSet(rSet);
// switch to that page when it's not a master page if(SdrHintKind::SwitchToPage == eHintKind)
{ // We switch page only in the current view, which triggered this event // and keep other views untouched.
SfxViewShell* pViewShell = SfxViewShell::Current(); if(pViewShell && pViewShell != &mpDrawViewShell->GetViewShellBase()) return;
const size_t nMarkCount = rMarkList.GetMarkCount(); if( nMarkCount )
{
SdrMarkList aList( GetMarkedObjectList() ); for (size_t nMark = 0; nMark < nMarkCount; ++nMark)
{
SdrObject* pObj = aList.GetMark(nMark)->GetMarkedSdrObj(); if( pObj && !pObj->IsEmptyPresObj() && pObj->GetUserCall() )
{
pPage = static_cast< SdPage* >( pObj->getSdrPageFromSdrObject() ); if (pPage)
{
PresObjKind ePresObjKind(pPage->GetPresObjKind(pObj)); switch( ePresObjKind )
{ case PresObjKind::NONE: continue; // ignore it case PresObjKind::Graphic: case PresObjKind::Object: case PresObjKind::Chart: case PresObjKind::OrgChart: case PresObjKind::Table: case PresObjKind::Calc: case PresObjKind::Media:
ePresObjKind = PresObjKind::Outline; break; default: break;
}
SdrTextObj* pTextObj = DynCastSdrTextObj( pObj ); bool bVertical = pTextObj && pTextObj->IsVerticalWriting();
::tools::Rectangle aRect( pObj->GetLogicRect() );
SdrObject* pNewObj = pPage->InsertAutoLayoutShape( nullptr, ePresObjKind, bVertical, aRect, true );
// pUndoManager should not be NULL (see assert above) // but since we have defensive code // for it earlier and later in the function // we might as well be consistent if(pUndoManager)
{ // Move the new PresObj to the position before the // object it will replace.
pUndoManager->AddUndoAction(
mrDoc.GetSdrUndoFactory().CreateUndoObjectOrdNum(
*pNewObj,
pNewObj->GetOrdNum(),
pObj->GetOrdNum()));
}
pPage->SetObjectOrdNum( pNewObj->GetOrdNum(), pObj->GetOrdNum() );
¤ 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.17Bemerkung:
¤
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.