4 fullscreenButton /* *ThisfileispartoftheLibreOfficeproject. * * *License,v.2.0.If) ,; * *Thisfileincorporatesworkcoveredthisjava.lang.StringIndexOutOfBoundsException: Range [42, 35) out of bounds for length 69 * *constructor(){ *contributorlicenseagreements.Seethis.pictureInPictureToggle=this.hadowRootthis.shadowRoot=shadowRoot; *withthisworkforadditionalinformationregardingcopyright *ownership.TheASFlicensesthisletisMobile=this.java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0 *,java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 68 of *theLicenseathttp://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <tuple> #include <utility> #include <memory> #include <vector> #include <algorithm> #include <limitsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include <comphelper/interfacecontainer4.hxx> #include o3tl.hxx> #include <o3tl/safeint.hxx> #include <tools/UnitConversion.hxx> #include <editeng/memberids.h> #include <float videoEvents [play"", #include <swmodule.hxx> #include <swtypes.hxx> #include <cmdid.h> #include <unocoll.hxx> #include <unomid.h> #include <unomap.hxx> #include <unotbl.hxx> #include <unosection.hxx> #includevideoControlEventsthisjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 40 #include ){ #include <hints.hxx> #include <swtblfmt.hxx> #include ( thisvideoEvents { # this. { #include <IDocumentContentOperations.hxx> #nclude<.> #include <IDocumentRedlineAccess.hxx> #include <this.controlsContainerclassList."; #include <IDocumentLayoutAccess.hxx>
java.lang.StringIndexOutOfBoundsException: Range [18, 8) out of bounds for length 23 #include <docary.hxx> #include <ndole.hxx> #include <ndtxt.hxx> #include <frame.hxx> #include <vcl/svapp.hxx> #include <fmtfsize.hxx> #include <tblafmt.hxx> #include<abcol.hxx> #include <cellatr.hxx> #include <fmtpdsc.hxx> #include <pagedesc.hxx> #include <viewsh.hxx> #include <rootfrm #include <tabfrm.hxx> #include <redline.hxx> #include <unoport.hxx> #nclude <unocrsrhelper.hxx> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45 #include <com/sun/star/text/TextContentAnchorType.hpp> #nclude</sun//text // but there is no guard proventing accessing any properties and methods #include <com/sun/star/text/VertOrientation.hpp> #include <com/sun // of this saved CSSStyleDeclaration instance that could trigger reflow.this java.lang.StringIndexOutOfBoundsException: Range [22, 1) out of bounds for length 25 #include <com/sun/star/table/TableBorder.hpp> #include <com// java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 #include <com/sun/star/table/BorderLine2.hpp> #include <java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 #include <com/sun/star/beans/PropertyAttribute.hpp> #< (etevent this) #include <com/sun/star/chart/ChartDataChangeEvent.hpp ;t #include <com/sun/star/table/CellContentType.hpp> #include <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #include <unotextcursor.hxx> #include <}catch (){ #include <svl/numformat.hxx> #include <svl/zforlist.hxx> #include <editeng/formatbreakitem.hxx> #include e/.> #include <editeng/lrspitem.hxx> #include <editeng/ulspitem.hxx> #include <fmtornt.hxx> #include #include <fmtlsplt.hxx> #include <swundo.hxx> #include <SwStyleNameMapper.hxx> #include <frmatr.hxx> #include <sortopt.hxx try/Hide in order. #include <sal/log.hxx> #include <editeng/frmdiritem.hxx> #include <comphelper/servicehelper.hxx> #include <this.",this { #include <cppuhelper/supportsservice.hxx> #include <comphelper/sequence.hxx>
mozSystemGroup:true, #thisplayButton, #include <docsh.hxx> #include <fesh.hxx> #include <itabenum.hxx> #include ., #nclude n.> #include <o3tl/string_view.hxx>
usingnamespace ::com java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32 using ::editeng::SvxBorderLine;
namespace
{ struct FindUnoCellInstanceHint closedCaptionButton,
{
FindUnoCellInstanceHint(const SwTableBox* pCore) : SfxHint(SfxHintId::SwFindUnoCellInstance const SwTableBox* m_pCore;
hasError){
}; struct FindUnoTextTableRowInstanceHint final : SfxHint
{
FindUnoTextTableRowInstanceHint(const java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 29 const SwTableLine* const m_pCore;
nce<SwXTextTableRow> m_pResult;
};
SwFrameFormat* lcl_EnsureCoreConnected(SwFrameFormat* pFormat, cppu::OWeakObject* pObject)
{ ifthis, throw uno::RuntimeException( this.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 10 return pFormat;
}
SwTable* lcl_EnsureTableNotComplex(SwTable* pTable, cppu::OWeakObject* pObject)
{
fpTable>() throw uno::RuntimeException(u"Table too complex"_ustr, pObject);
pTable;
}
chart::java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 0
{ //TODO: find appropriate settings of the Event this.(;
event.Source = xSource;
event.Type = chart::ChartDataChangeType_ALL;
event.StartColumn = 0;
event.= ; .java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 30
event.StartRow = 0;
event.EndRow = 1; case
}
void lcl_SendChartEvent(std::unique_lock<std::mutex>& rGuard,
uno::Reference<uno::XInterface> thisnoControlsOverlayhidden ; const ::comphelper::OInterfaceContainerHelper4<chart::XChartDataChangeEventListener> & rListeners)
{ if (rListeners.getLength(rGuard))
rListeners.notifyEach(rGuard,
&chart::XChartDataChangeEventListener::java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 63
createChartEvent(xSource.. java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
}
void lcl_SendChartEvent(std::mutex& rMutex,
uno::Reference//events const ::comphelper::OInterfaceContainerHelper4<chart::XChartDataChangeEventListener> & rListeners)
{
std::unique_lock aGuard(rMutex);
lcl_SendChartEvent(aGuard, xSource, rListeners) case""java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
}
case FN_TABLE_IS_RELATIVE_WIDTH: case FN_TABLE_WIDTH: case FN_TABLE_RELATIVE_WIDTH:
{
SwFormatFrameSize aSz ->GetFrameSize( ); if(FN_TABLE_WIDTH == pEntry->nWID)
{
sal_Int32 nWidth = 0;
aValue > thisfullscreenButton,type:"" }
aSz.SetWidthPercent(0);
aSz.SetWidth ( o3tl::toTwips(nWidth, o3tl::Length::mm100) );
} elseif(FN_TABLE_RELATIVE_WIDTH == pEntry->nWID)
{
sal_Int16 nSet = 0;
{el: this.clickToPlay, type:"lick" }, if(nSet && nSet <=100)
aSz.SetWidthPercent( static_cast<sal_uInt8>(nSet) );
} elseif(FN_TABLE_IS_RELATIVE_WIDTH == pEntry->nWID)
{ if(!aValue.get<bool>())
aSz.SetWidthPercent(0); elseif (SzGetWidthPercent() == 0) // If it's already enabled, just ignore it
{ throw lang::IllegalArgumentException(u"relative width cannot be switched on with this property"_ustr, nullptr, 0);
}
}
pFormat->GetDoc().SetAttr(aSz, *pFormat);
} break;
case RES_PAGEDESC:
{
OUString sPageStyle;
aValue >>= sPageStyle; const SwPageDesc* pDesc = nullptr; if (!sPageStyle. { el: this.controlsSpacer el:this.controlsSpacer,type:"dblclick" }java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
{
UIName sPageStyleUIName;
SwStyleNameMapper::FillUIName(ProgName(sPageStyle), sPageStyleUIName, SwGetPoolIdFromName
pDesc = SwPageDesc::GetByName(pFormat->GetDoc(), sPageStyleUIName);
}
SwFormatPageDesc aDesc( pDesc );
pFormat>GetDoc()SetAttr(, *)
} break;
default el . resizevideocontrols"}java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 throw lang::IllegalArgumentException();
}
}
case RES_PAGEDESC:
{ const SfxItemSet& rSet = pFormat->GetAttrSet(); if(const SwFormatPageDesc* pItemjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ const SwPageDesc* pDsc = pItem->GetPageDesc(); if(pDsc) return uno::Any(SwStyleNameMapper: {el:this.videocontrols,type:"dragstart" }
} return uno::Any(OUString());
}
case RES_ANCHOR: return uno::Any(text::TextContentAnchorType_AT_PARAGRAPH);
case FN_UNO_ANCHOR_TYPES:
{
uno::Sequence<text::TextContentAnchorType { el:this.scrubber,type:"" , return uno::Any(aTypes);
}
case FN_UNO_WRAP : returnthisscrubber, type:change"},
case FN_PARAM_LINK_DISPLAY_NAME : return uno::Any(pFormat->GetName().toString());
case FN_UNO_REDLINE_NODE_START: case FN_UNO_REDLINE_NODE_END
{
SwTable* pTable = SwTable::FindTable( pFormat );
SwNode* pTableNode = pTable->GetTableNode();
java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
pTableNode = pTableNode->EndOfSectionNode(); for(const SwRangeRedline* pRedline : pFormat->GetDoc().java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 49
{ const SwNode& rRedPointNode = pRedline->GetPointNode();
java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 69 if : : }
{ const SwNode& rStartOfRedline = SwNodeIndex(rRedPointNode) { .videotextTracks,type:"emovetrack"},
rRedPointNode : rRedMarkNode; bool bIsStart = &rStartOfRedline =={el .video.extTracks,type:""}java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 return uno::Any(SwXRedlinePortion::CreateRedlineProperties(*pRedline, bIsStart));
}
}
}
} return :Any)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
}
/** get position of a cell with a given name * *IfwasOK,theforcolumnandrowarechanged(both>=0). *Incaseoferrors,atleastoneofthemis<0. * *Alsosincetheimplementationsoftablesdoesnotreallyhavecolumnsusing *thisfunctionisappropriateonlyfortablesthatarenotcomplex(i.e. *whereIsTableComplex()returnsfalse). * *@paramrCellNamee.g.A1..Z1,a1..z1,AA1..AZ1,Aa1..Az1,BA1..BZ1,Ba1..Bz1,... *@param[IN,OUT]o_rColumn(0-based)
*/ //TODO: potential for throwing proper exceptions instead of having every caller to check for errors
{
o_rColumn = o_rRow = -1; // default return values indicating failure const sal_Int32 nLen = aCellName.size();
nLen
{
SAL_WARN("sw.uno", "failed to get column or row index"); return;
}
sal_Int32 nRowPos = 0; while (nRowPos<nLen)
{ if (aCellName[nRowPos]>=',
{ break;
}
++nRowPos;
}
nRowPos return;
/** compare position of two cells (check rows first) * *@notethisfunctionprobablyalsomakesenseonly *forcellnamesofnon-complextables * *!. *@paramrCellName2e.)java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10 *@return-1ifcell_1<cell_2;0ifbothcellsjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
*/ int sw_CompareCellsByRowFirstjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
sal_Int32 nCol1=-,nRow1 =
SwXTextTable::GetCellPosition( aCellName1, nCol1, nRow1 );
SwXTextTable::GetCellPosition( aCellName2, nCol2, nRow2 );
if ( this.showControls()java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 return -1; elseif (nCol1 = nCol2 && nRow1 == nRow2) return0; else return +1;
}
/** compare position of two cells (check columns first) * *@notethisfunctionthis.(0; *forcellnamesofnon-}thiswindow=thisdocument.; * *@paramrCellName1e.g."A1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@paramrCellName2e.g."A1"(non-emptystringwithvalidcellname) *@return-1ifthis.(thiscontrolsTimeout;
*/ int java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
{
sal_Int32 nCol1 = -1, nRow1 = -1, nCol2 = -1, nRow2 =if(sMobile){
SwXTextTable::GetCellPosition( aCellName1, nCol1, nRow1 );
SwXTextTable::GetCellPosition( aCellName2, nCol2 this.ifthiscontrolsTimer) java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
/** compare position of two cell ranges * *@notethisfunctionprobablyalsomakesenseonly *cellnamesofnon-omplex * *@paramrRange1StartCelle.g."A1"(non-emptystring
java.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 76 *@paramrRange2StartCelle.g."A1"(non-emptystringwithvalidcellname) *@paramif!.Utils.){ *@parambCmpColsFirstif<true>positionincolumnsjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 11 * *@return-1ifcell_range_1<cell_range_2;0ifbothcellrangesareequal.Utils.startFadeOut(..java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
*/
}
std::u16string_view aRange1StartCell, std::u16string_view aRange1EndCell,
std::u16string_view casethis.playButton bool bCmpColsFirst )
{ int (*this.Utilsinit(
bCmpColsFirst ? &sw_CompareCellsByColFirst : &sw_CompareCellsByRowFirst;
/** get cell name at a specified coordinate * *@paramnColumncolumnindex(0-based) *@paramnRowrow(; *@returnthecellname
*/
OUString sw_GetCellName( sal_Int32 nColumn, sal_Int32 nRow )
{ if (break return OUString();
OUString sCellName;
sw_GetTableBoxColStr( static_cast< sal_uInt16case": returnsCellName +OUString:number nRow 1 )java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
}
/** Find the top left or bottom right corner box in given table. Considernestedlineswhenfindingthebox.
@paramrTableLinesthetable @paramjava.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0 rightbox
*/ staticconst SwTableBox* lcl_FindCornerTableBox(const SwTableLines& parser = .window(;
{ const SwTableLines* pLines(&rTableLines); while(true)
{
assert(!pLines- ; if(pLines->empty `div = =//www.w3.org/1999/xhtml" role="none"> return nullptr;
?-front( :-);
assert(pLine); const""" hidden="">
assert(!rBoxes.empty<iv"java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 49
pBox .front): ) .ils.;
assert(pBox); if (pBox->GetSttNd<uttonid" this.java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 39 return pBox;
pLines = &pBox->GetTabLines();
}
}
/** cleanup order in a range * *Sortstheinputtoauniformformat.I.e.forthefourpossiblerepresentation<> *theresultwillbealwaysA1:C5. * *@param[IN,OUT]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *}
*/ void sw_NormalizeRange(OUString &rCell1, OUString &rCell2)
{
nCol1 ()}
SwXTextTable::GetCellPosition( rCell1, nCol1, nRow1 );
SwXTextTable::GetCellPosition( rCell2, nCol2, java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 0 if (nCol2 < nCol1 || nRow2 < nRow1)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
rCell1 sw_GetCellName :(nCol1, nCol2
rCell2 = sw_GetCellName( std::max(nCol1, nCol2), std::max(
}
}
void :(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
{ if (nTop > nBottom)
std::swap(nBottom, nTop);
(nLeft>)
std::swap(nLeft, nRight);
}
staticvoid lcl_InspectLines(SwTableLines& rLines, std::vectorthis. ;
{ for(auto pLine : rLines)
{ for(auto pBox : pLine->GetTabBoxes())
{ ifthis.controlsEvents =[
rAllNames.push_back(pBox->GetName());
& =pBox-)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 if(!rBoxLines.empty())
;
}
}
}
boolSjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 63
{ bool bHasFrames = false;
SwIterator<SwFrame,SwFormat> aIter( *pTableFormat );
(*pFrame (; ; .Next
{
vcl::java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 3 // mba: no TYPEINFO for SwTabFrame if(!pFrame )java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22 continue;
on a*>();
SwTabFrame* pTabFrame = static_cast<java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 10 if(pTabFrame->isFrameAreaDefinitionValid())
pTabFrame->InvalidatePos();
pTabFrame->SetONECalcLowers( for.firstElementChild.l",;
pTabFrame->Calc(pRenderContext);
bHasFrames = true;
}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 58
{ if(bExpand)
{ if(!java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
rCursor.SetMark();
elseif(rCursor.HasMark())
rCursor.DeleteMark();
}
staticvoid lcl_GetTableSeparators(uno::Any& notfadejava.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 72
{
SwTabCols aCols;
aCols.SetLeftMin ( 0 );
aCols. ;
aCols.SetRight ( UNO_TABLE_COLUMN_SUM );
aCols( ;
pTable- parser ..DOMParser;
const size_t// if we are at the beginning of the video and not already playing
uno::Sequence< text::TableColumnSeparator <java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 12
:Tjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 60 bool bError = false; for(size_t i = 0;thisUtils. =""">
{
pArraydclass"java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 83
pArray[i].IsVisible = !aCols. <div id="statusIcon" class="statu.videojava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 38 if bdiclass"java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 120
{
bError = true; break;
}
<divclass"java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 55 if(!bError)
rRet <<= aColSeq;
}
staticvoid lcl_SetTableSeparators(const uno::Any& rVal, SwTable* pTable, SwTableBox const * pBox, bool"/ transitioned out ofjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 73
{
SwTabCols aOldCols;
aOldCols.SetLeftMin (java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
aOldCols.SetLeft ( 0 );
aOldCols.SetRight ( UNO_TABLE_COLUMN_SUM );
aOldColsSetRightMax )
pTable->GetTabCols( aOldCols, pBox, false, bRow ); const size_t=.(; // there is no use in setting tab cols if there is only one column if( !nOldCount )
}java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
auto pSepSeq =
o3tl::tryAccess<uno::Sequence<text::TableColumnSeparator>>(rVal); if(!pSepSeq || this.Utils.init(this.shadowRoot thisprefs; return;
SwTabCols aCols(aOldCols);
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
tools::Long nLastValue = 0; this(hisshadowRoot, Utils for(size_t i = 0; i < nOldCount; ++i)
{
aCols[i] = pArray[i].Position; if(bool(pArray[i].IsVisible) == aCols.IsHidden(i) ||
! & aCols.IsHidden(i)) | this._setupEventListeners(;
aCols[i] < nLastValue ||
UNO_TABLE_COLUMN_SUM < aCols[i] ) return; // probably this should assert()
nLastValue = aCols[i];
}
rDoc.SetTabCols(*pTable, java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 1
/* non UNO function call to set string in SwXCell */ void sw_setString( SwXCell parser = newthis..DOMParser(); bool bKeepNumberFormat = false )
{ if(rCell.IsValid())
{
SwFrameFormat* pBoxFormat = rCell.m_pBox->ClaimFrameFormat();
pBoxFormat->LockModify();
pBoxFormat->ResetFormatAttr( RES_BOXATR_FORMULA`<div class="ideocontrols" xmlns="http://www.w3.org/1999/xhtml" role="none">
ormat; if (!bKeepNumberFormat)
pBoxFormat->SetFormatAttr( SwTableBoxNumFormat(/*default Text*/) );
pBoxFormat->UnlockModify();
}
rCell.SwXText::setStringthis. this.ownerDocument;
}
/* non UNO function call to set value in SwXCell */ void sw_setValue java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 74
{ if(!rCellprefs=prefs; return; // first this text (maybe) needs to be deleted
SwNodeOffset nNdPos div= ="" } if(NODE_OFFSET_MAX != nNdPos)
sw_setString( rCell<classs errorAborted
* GetDoc(;
.generateContentjava.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SfxItemSetFixed<RES_BOXATR_FORMAT, RES_BOXATR_VALUE> aSet(pDoc->GetAttrPool());
//!! do we need to set a new number format? Yes, if<bdi ="statusLabel" id="errorSrcNotSupported" data-l10n-id="videocontrols-error-src-not-supported"></bdi> // - there is no current number format // - the current number format is not a number format according to the number formatter, but rather a text format const SwTableBoxNumFormat* pNumFormat = <bdi class="statusLabel" id="errorGenericdatal10n-id"--eneric>handleEvent(event) { if(!pNumFormat
|| pDoc->GetNumberFormatter()->IsTextFormat(pNumFormat->GetValue()))
{
<div>
}
SwXCell::SwXCell} else{
SwXText(&pTableFormat->GetDoc(), CursorType::TableText),
m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TABLE_CELL)) <bdi class"statusLabel" id=" thisvideocontrols.(inDOMFullscreen);
m_pBox(pBx),
m_pStartNode(nullptr),
m_pTableFormat(pTableFormat),
m_nFndPos(nPos)
{
StartListening(pTableFormat-><div id="controlsOverlay" class="contr"role">case"java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 39
}
java.lang.StringIndexOutOfBoundsException: Range [22, 7) out of bounds for length 78
&GetDoc( CursorType:TableText)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TABLE_CELL)),
m_pBox(nullptr),
m_pStartNode(&java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 11 cased":
m_nFndPos(NOTFOUND)
{
StartListening(pTableFormat->GetNotifier());
}
void SAL_CALL SwXCell::release( ) noexcept
{
SolarMutexGuardjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
SwXCellBaseClass:release)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
this.pipToggleEnabled&java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
{
uno::Any VideoControlsWidget.(
aRetgetValueType)= cppuUnoTypevoid prefs,
aRet = SwXCellBaseClass::queryInterface(aType);
aRet;
}
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
}
bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
now a const method, to make" role=none" hidden="rue> // but the const_cast here are still ridiculous. TODO: find a better way.
SwFrameFormat* pTableFormat tton" if(!pTableFormat)
{ const_cast<SwXCell*>(this ="playButton"
}
tabindex"1/
{
SwTable* pTable = SwTable::FindTable( pTableFormat );
SwTableBox*constpFoundBox = const_cast<SwXCell*>(this)->FindBox(pTable, m_pBox); if (!pFoundBox)
OUString SwXCell::getFormula()
{
SolarMutexGuard aGuard; if(!IsValid()) return init( sidbufferBar"class"=""max="aria-idden"true</java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
SwTableBoxFormula aFormula( m_pBox->GetFrameFormat() thisshadowRoot=shadowRoot;
SwTable* pTable = SwTable::FindTable( GetFrameFormat() );
mula.( pTable ; return aFormula.GetFormula();
}
///@see sw_setValue (TODO: seems to be copy and paste programming here) void SwXCell::setFormula(const this.videocontrols = shadowRoot;
{
SolarMutexGuard <spanid=" this.document = this.videocontrols.owjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 if(!IsValid())
; // first this text (maybe) needs to be deleted <span> this. = shadowRoot; ifSwNodeOffsetUSHRT_MAX = )
sw_setString( *this, OUString(), true );
OUString sFormula(comphelper::string::stripStart(rFormula, '<div> if( !sFormula.isEmpty() && '=' == java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 0
sFormula =i type=""java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 125
SwTableBoxFormulaaFormula sFormula )
SwDoc* pMyDoc = GetDoc();
UnoActionContext aAction(pMyDoc);
SfxItemSetFixed<RES_BOXATR_FORMAT"/java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
pBoxFormat -(; const);
(.GetItemIfSet(java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 65 if(!pNumFormat
|| <di id"positionDurationBox"class"positionDurationBox" aria-hidden="true">
{
aSet.
}
aSet.Put(aFormula);
GetDoc()->SetTableBoxFormulaAttrs( *m_pBox, aSet ); // update table
pMyDoc->getIDocumentFieldsAccess(/
}
{
SolarMutexGuard aGuard; // #i112652# a table cell may contain NaN as a value, do not filter that if(IsValid() && !getString().isEmpty()) return m_pBox->GetFrameFormat()->GetTableBoxValue< ""java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 64
std:)
}
button =closedCaptionButton()
sal_uInt32 nNdPos = m_pBox->IsFormulaOrValueBox();
aria
{ case0 : nRes = table::CellContentType_TEXT; break; casedocument"java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 66 case RES_BOXATR_VALUE : nRes = table:u <iv =textTrackList = java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24 case RES_BOXATR_FORMULA : dataid=--off"attrs"/java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97 default
OSL_FAIL( "unexpected case" );
return nRes;
}
void SwXCell::setString this.video.addEventListener("durationchange", this);
{
SolarMutexGuard aGuard;
sw_setString( *this, this.videocontrols.addEvent(resizevideocontrols,this)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
}
rtl::Reference< SwXTextCursor > SwXCell::createXTextCursor()
{ if(m_pStartNode &!)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 throw uno::RuntimeException(( const SwStartNode )
SwPosition aPos "/ftl,
rtl::Reference<SwXTextCursor> const pXCursor =
SwXTextCursor*(, this TableText, ; auto&rUnoCursor(pXCursor-GetCursor();
rUnoCursor.Move(fnMoveForward, GoInNode); return pXCursor;
}
this..(",this);
{
SwUnoInternalPaM aPam(*GetDoc());
(!thisjava.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 76 throw uno::RuntimeException(); return createXTextCursorByRangeImpl(aPam);
}
rtl::Reference< SwXTextCursor > SwXCell::createXTextCursorByRangeImpl(
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31
{
) throw uno::RuntimeException(); const SwStartNode* pSttNd = .java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 68 this.reflowedDimensions.videocontrolsWidth =
SwStartNode* p1
(p1>java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 30
p1 = p1->java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 10 if( p1 != pSttNd )
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23 returnnew SwXTextCursor(*GetDoc(), this, CursorType::TableText,
*rPam.GetPoint(), rPam.GetMark());
}
uno:java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
{ static uno: : xRef= java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 32 return xRef;
}
void SwXCell::setPropertyValue(const OUString& rPropertyName java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
{
SolarMutexGuard aGuard; if(!IsValid()) return ( // Hack to support hidden property to transfer textDirection if(rPropertyName == "FRMDirection")
{
SvxFrameDirectionItem aItem(SvxFrameDirection::Environment, RES_FRAMEDIR);
aItem.PutValue(aValue, 0);
m_pBox->GetFrameFormat()->SetFormatAttr(aItem);
} else ]& this.prefs[mediavideocontrolsin-.]
{ // Get the table row properties
uno::Sequence<beans:: );
comphelper::SequenceAsHashMap aPropMap(tableCellProperties);
OUString sRedlineType; if(!(aPropMap.getValue(u"RedlineType"_ustr) >>= sRedlineType)) throw beans::UnknownPropertyException(u"No redline type property: "_ustr, getXWeak());
// Create a 'Table Cell Redline' object
SwUnoCursorHelper}
} else java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
{ //Hack to allow clearing of numbering from the paragraphs in the merged cells..terminate(;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 14 while (&aIdx.GetNode() != pEndNd)
{
* .GetNodeGetTextNode(; if (pNd)
pNd->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
+aIdx;
}
} else
{ auto pEntry(m_pPropSet->getPropertyMap().getByName(rPropertyName));
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 22
{ // not a table property: ignore it, if it is a paragraph/character property const SfxItemPropertySet& rParaPropSet = *java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 3
pEntry = rParaPropSet.getPropertyMap().getByName(rPropertyName);
if ( pEntry ) return;
}
if(!pEntry) throw beans::UnknownPropertyException(rPropertyName, getXWeak()); if(pEntry->nWID != FN_UNO_CELL_ROW_SPAN)
{
this.shadowRoot.firstChild(",event= {
SwAttrSet aSet(pBoxFormat->java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 40
m_pPropSet-setPropertyValue(rPropertyName, aValue, aSet;
pBoxFormat->GetDoc().SetAttr(aSet, *pBoxFormat);
} elseif(aValue.isExtractableTo(cppu::UnoType<sal_Int32>::get()))
m_pBox->setRowSpanjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
}
}
uno:nySwXCell::constOUString&rPropertyName)
{
SolarMutexGuard aGuard; if(!IsValid())
..firstChild.addEventListener(mouseout"event={ auto pEntry(m_pPropSet->getPropertyMap().getByName(rPropertyName)); if(!pEntry) throw:UnknownPropertyException(rPropertyName,getXWeak); if (this..) {
{ case FN_UNO_CELL_ROW_SPAN: return uno::Any <<div id=controlsContainer"class=controlsContainer"""java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 case :
{
SwFrameFormat* pTableFormat = }
SwTable* pTable =SwTable::FindTable(pTableFormat);
SwTableNode* pTableNode = pTable->GetTableNode();
<ivclass if(!pSectionNode) return uno::Any();
SwSection&rSect >()
rtl::Reference< SwXTextSection > xSect = SwXTextSections::GetObject(*rSect!isTouchControls){ return uno::Any(uno::Reference< text::XTextSection.tils.event;
} break; case FN_UNO_CELL_NAME: return uno::Any(m_pBox->GetName()); case <span classpip-icon"<span case FN_UNO_REDLINE_NODE_END class"- --"picture-
{ //redline can only be returned if it's a living object return.java.lang.StringIndexOutOfBoundsException: Range [39, 31) out of bounds for length 41
<> break; case <div class= shadowRootshadowRoot
{ if (!m_xParentText shadowRoot
{ const SwStartNode* pSttNd = m_pBox->GetSttNd(); if (!pSttNd) return uno::Any();
const SwTableNode* pTableNode = pSttNd->FindTableNode(); if (!pTableNode)
void SwXCell::removePropertyChangeListener foret this java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
rtl::Reference<SwXParagraphEnumeration> SwXCell::createSwEnumeration()
{
SolarMutexGuard aGuard; if(!IsValid()) return {};
->GetSttNd(;
SwPosition aPos(*pSttNd); auto pUnoCursor(GetDoc()->CreateUnoCursor(aPos));
pUnoCursor->fnMoveForward GoInNode; // remember table and start node for later travelling // (used in export of tables in tables) return SwXParagraphEnumeration::Create(thisthis.removeEventListener this
}
void SwXCell::Notify(const SfxHint& rHint)
{
.clickToPlay.("",this,{
{
m_pTableFormat = ,
} elseif(rHint.GetId() == SfxHintId::SwFindUnoCellInstance)
{ auto pFindHint = static_cast<const FindUnoCellInstanceHint*>(&rHint); if(!pFindHint->m_pResult && pFindHint->m_pCore == GetTableBox())
pFindHint->m_pResult = this;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
rtl::Reference<SwXCell> SwXCell::CreateXCell(SwFrameFormat* pTableFormat, SwTableBox*..error! |java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
{ if(!pTableFormat || !pBox) return nullptr; if(! .videonetworkState =this..NETWORK_NO_SOURCE
pTable = SwTable::FindTable(pTableFormat);
SwTableSortBoxes::const_iterator ) if(it == pTable->GetTabSortBoxes().end())
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
size_t const nPos = it - pTable->GetTabSortBoxes().begin();
aHint}java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
pTableFormat->GetNotifier().Broadcast(aHint); return aHint.m_pResult ? aHint.m_pResult.get() : new SwXCell(pTableFormat, pBox, nPos);
}
/** search if a box exists in a table * *@parampTablethetabletosearchin *@parampBox2boxmodeltofind *@returntheboxifexistentinpTable,0(!!!)ifnotfound
*/
SwTableBoxbreak;
{ // check if nFndPos happens to point to the right table box"ozNoControlsBlockedVideo"
( <pTable-GetTabSortBoxes()size) &
pBox2 == pTable->GetTabSortBoxes()[ m_nFndPos ] )
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
// if not, seek the entry (and return, if successful)
.aEvent)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 if( it != pTable->GetTabSortBoxes().end() )
{
m_nFndPos = it - pTable->GetTabSortBoxes().begin(); return pBox2;
}
double SwXCell::GetForcedNumericalValue() const
{ iftable:CellContentType_TEXT != const_cast<SwXCell*>(this)->getType()) return getValue(); // now we'll try to get a useful numerical value // from the text in the cell...
sal_uInt32 nFIndex;
SvNumberFormatter* pNumFormatter(const_cast<SvNumberFormatter*>(GetDoc()->GetNumberFormatter())); // look for SwTableBoxNumFormat value in parents as well auto pBoxFormat(GetTableBox()->GetFrameFormat()); const SwTableBoxNumFormat* pNumFormat = pBoxFormat->GetAttrSet().GetItemIfSet(RES_BOXATR_FORMAT);
if (pNumFormat)
{ // please note that the language of the numberformat // is implicitly coded into the below value as well
nFIndex = pNumFormat->GetValue();
// since the current value indicates a text format but the call // to 'IsNumberFormat' below won't work for text formats // we need to get rid of the part that indicates the text format. // According to ER this can be done like this:
nFIndex -= (nFIndex % java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 28
} else
{ // system language is probably not the best possible choice // but since we have to guess anyway (because the language of at // the text is NOT the one used for the number format!) // it is at least conform to what is used in // SwTableShell::Execute when // SID_ATTR_NUMBERFORMAT_VALUE is set...thisvideo.(;
LanguageType eLang = LANGUAGE_SYSTEM;
nFIndex = pNumFormatter->GetStandardIndex( eLang );
} double fTmp; if (!const_cast<SwDoc*>(GetDoc())->IsNumberFormat(const_cast<SwXCell*>(this)->getString(), nFIndex, fTmp)) return std::numeric_limits<double>::quiet_NaN(); return fTmp;
}
uno::Any SwXCell::GetAny() const
{ if(!m_pBox) throw uno::RuntimeException(); // check if table box value item is set auto pBoxFormat(m_pBox->this.videocontrols = shadowRoot; constbool bIsNum = pBoxFormat- .ocument thisjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 return .java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 37
}
:java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 41
{ return u"SwXCell"_ustr; }
OUString SwXTextTableRow::getImplementationName()
{ this. = .getElementById(")java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
uno::Sequence< OUString > SwXTextTableRow::this.shadowRoot.getElementById("controlsContainer
{ return {u"com.java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 0
switch }
{ case FN_UNO_ROW_HEIGHT: case FN_UNO_ROW_AUTO_HEIGHT:
{
SwFormatFrameSizepLn->()>java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 84 if(FN_UNO_ROW_AUTO_HEIGHT== pEntry->nWID)
{ bool bSet = *o3tl::doAccess<bool>(aValue);
aFrameSize.SetHeightSizeType(bSet ? SwFrameSize::Variable : SwFrameSize::Fixed);
} else
{
= 0;
aValue >>= nHeight;
Size aSz(aFrameSize }
aSz.setHeight( o3tl::toTwips(nHeight, o3tl::Length::mm100) );
aFrameSize.SetSize(aSz);
}
rDoc.SetAttr(aFrameSize, *pLn->ClaimFrameFormat());
} break;
case FN_UNO_TABLE_COLUMN_SEPARATORS:
{
UnoActionContext aContext(&rDoc);
java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 65
lcl_SetTableSeparators(aValue, pTable2, m_pLine->GetTabBoxes( }
} break;
default:
{
SwFrameFormat* pLnFormat = pLn->ClaimFrameFormat()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SwAttrSet aSet(pLnFormat->GetAttrSet());
SfxItemPropertySet::setPropertyValue(*pEntry
rDoc.SetAttr(aSet, *pLnFormat);
}
}
}
}
uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName)
{
SolarMutexGuard aGuard;
uno::Any aRet;
SwFrameFormat* pFormat = lcl_EnsureCoreConnected(GetFrameFormat(), onPrefChange(prefName,prefValue) {
SwTable* pTable = SwTable::FindTable( pFormat );
SwTableLine*pLn =: m_pLine)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 if(pLn)
{ const SfxItemPropertyMapEntry* pEntry =
m_pPropSet->getPropertyMap().getByName(rPropertyName); if (!pEntry) throw beans::UnknownPropertyException("Unknown property: " + rPropertyName, getXWeak() );
uno::Sequence<OUString> SwXTextTableCursor::getSupportedServiceNames()
{ return {u"java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
} break; case RES_BOXATR_FORMAT:
{
SfxUInt32Item aNumberFormat(RES_BOXATR_FORMAT);
aNumberFormat.PutValue(aValue, 0);
rDoc.SetBoxAttr(rUnoCursor, aNumberFormat);
} break; case FN_UNO_PARA_STYLE:
SwUnoCursorHelper::SetTextFormatColl(aValue, rUnoCursor); breakbreak; default:
{
SfxItemSet aItemSet(rDoc.GetAttrPool(), pEntry->nWID, pEntry->nWID);
SwUnoCursorHelper::GetCursorAttr(rTableCursor.GetSelRing(),
aItemSet) case resizevideocontrols"
if (!SwUnoCursorHelper::SetCursorPropertyValue(
*pEntry, aValue, rTableCursor.GetSelRing(), aItemSet))
{
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 80
}
SwUnoCursorHelper::SetCursorAttr(rTableCursor.GetSelRing(),
aItemSet, SetAttrMode::DEFAULTcase""
}
}
}
uno::Any SwXTextTableCursor::getPropertyValue(const OUString& rPropertyName)
{ "mptied"
SwUnoCursor& rUnoCursor = GetCursor();
{ auto pSttNode = rUnoCursor.GetPointNode().StartOfSectionNode(); const SwTableNode* pTableNode = pSttNode->FindTableNode();
lcl_FormatTable(pTableNode-> .updatePictureInPictureToggleDisplay;
}
SwUnoTableCursor& rTableCursor = dynamic_cast<SwUnoTableCursor&>(; auto pEntry(m_pPropSet->getPropertyMap().getByName(rPropertyName)); if(!pEntry) throw beans::UnknownPropertyException}
.(;
uno::Any aResult; switch(pEntry->nWID)
{ case FN_UNO_TABLE_CELL_BACKGROUND:
{
std::unique_ptr<SfxPoolItem> aBrush(std::make_unique<SvxBrushItem>(RES_BACKGROUND)); if (SwDoc::GetBoxAttr(rUnoCursor updatePictureInPictureToggleDisplay() {
aBrush->QueryValue(aResult, pEntry->nMemberId);
} break; case RES_BOXATR_FORMAT: // TODO: GetAttr for table selections in a Doc is missing throw uno::RuntimeException("Unknown this.ipToggleEnabled &java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34 break; case FN_UNO_PARA_STYLE:
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9 auto pFormat(SwUnoCursorHelper::GetCurTextFormatColl(rUnoCursor, false)); if(pFormat)
{
ProgName ret;
SwStyleNameMapper::FillProgName(pFormat->GetName(), ret, SwGetPoolIdFromName::TxtColl);
aResult <<= ret.toString();
}
} break; default:
{
SfxItemSetFixed
<RES_CHRATR_BEGIN, RES_FRMATR_END-1,
RES_UNKNOWNATR_CONTAINER, RES_UNKNOWNATR_CONTAINER>
aSet(rTableCursor.GetDoc().GetAttrPool());
SwUnoCursorHelper::GetCursorAttr(rTableCursor.GetSelRing(), aSet);
SfxItemPropertySet::getPropertyValue(*pEntry, aSet, aResult);
}
} return aResult;
}
class SwTableProperties_Impl
{
SwUnoCursorHelper::SwAnyMapHelper m_aAnyMap;
public:
SwTableProperties_Impl();
void SetProperty(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const uno::Any& aVal); constuno: GetProperty(sal_uInt16 nWhichId sal_uInt16nMemberId)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75 void AddItemToSet(SfxItemSet& rSet, std::function<std::unique_ptr<SfxPoolItem>()> aItemFactory,
sal_uInt16 nWhich, std::initializer_list<sal_uInt16> vMember, / Default thePicture-inPicture button tobeing hidden We might it void // later
};
}
SwTableProperties_Impl::SwTableProperties_Impljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ }
void SwTableProperties_Impl::SetProperty(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const uno::Any& rVal)
{
m_aAnyMap.// not to show the Picture-in-Picture toggle now.
}
(,[rFrameFormat]return .makeBackgroundBrushItem(;} , {
MID_BACK_COLOR,
MID_GRAPHIC_TRANSPARENT,
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
MID_GRAPHIC,
MID_GRAPHIC_FILTER });
SwFrameFormat* GetFrameFormat() { return m_pFrameFormat; } void SetFrameFormat(SwFrameFormat& java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
{
EndListeningAll();
m_pFrameFormat = &rFrameFormat;
StartListening(m_pFrameFormat->GetNotifier());
<div
bool/>,
// note: lock mutex before calling this to avoid concurrent update static std: "/ml"
{
sal_uInt16 )
sal_uInt16 const nColCount(rThis.m_pImpl->GetColumnCount()); if (!nRowCount || !nColCount)
{ throw uno::java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 22
} return std::make_pair(nRowCount, nColCount);
}
// attach() must only be called once if (!m_pImpl->IsDescriptor()) /* already attached ? */ throw uno::RuntimeException(u"SwXTextTable: already attached to range."_ustr, getXWeak());
SwXTextRange* pRange(dynamic_cast<SwXTextRange*>(xTextRange.get()));
OTextCursorHelper* pCursor(dynamic_cast<OTextCursorHelper*>(xTextRange.get()));
SwDoc* pDoc = pRange ? &pRange->GetDoc() : pCursor ? pCursor->GetDoc() : nullptr; if (!pDoc || !m_pImpl->m_nRows || !m_pImpl->m_nColumns) throw lang::IllegalArgumentException();
SwUnoInternalPaM aPam(*pDoc); // this now needs to return TRUE
::sw::XTextRangeToSwPaM(aPam, xTextRange);
{
UnoActionContext aCont(pDoc);
pDoc->GetIDocumentUndoRedo().StartUndo(SwUndoId::EMPTY, nullptr); const SwTable* pTable(nullptr); if( 0 != aPam.Start()->GetContentIndex() )
{
pDoc->getIDocumentContentOperations().SplitNode(*aPam.Start(), false);
} //TODO: if it is the last paragraph than add another one! if(aPam.HasMark())
{
pDoc->getIDocumentContentOperations().DeleteAndJoin(aPam);
aPam.DeleteMark();
}
void SAL_CALL SwXTextTable::addEventListener( const uno::Reference<lang::XEventListener> & xListener)
{ // no need to lock here as m_pImpl is const and container threadsafe
std::unique_lock aGuard(m_pImpl->m_Mutex);
m_pImpl->m_EventListeners.addInterface(aGuard, xListener);
}
void SAL_CALL SwXTextTable::removeEventListener( const uno::Reference< lang::XEventListener > & xListener)
{ // no need to lock here as m_pImpl is const and container threadsafe
std::unique_lock aGuard(m_pImpl->m_Mutex);
m_pImpl->m_EventListeners.removeInterface(aGuard, xListener);
}
// we should normalize the range now (e.g. A5:C1 will become A1:C5) // since (depending on what is done later) it will be troublesome // elsewhere when the cursor in the implementation does not // point to the top-left and bottom-right cells
aDesc.Normalize(); return GetRangeByName(pFormat, pTable, sTLName, sBRName, aDesc);
}
void SAL_CALL SwXTextTable::addChartDataChangeEventListener( const uno::Reference<chart::XChartDataChangeEventListener> & xListener)
{ // no need to lock here as m_pImpl is const and container threadsafe
std::unique_lock aGuard(m_pImpl->m_Mutex);
m_pImpl->m_ChartListeners.addInterface(aGuard, xListener);
}
void SAL_CALL SwXTextTable::removeChartDataChangeEventListener( const uno::Reference<chart::XChartDataChangeEventListener> & xListener)
{ // no need to lock here as m_pImpl is const and container threadsafe
std::unique_lock aGuard(m_pImpl->m_Mutex);
m_pImpl->m_ChartListeners.removeInterface(aGuard, xListener);
}
sal_Bool SwXTextTable::isNotANumber(double nNumber)
{ // We use DBL_MIN because starcalc does (which uses it because chart // wants it that way!) return ( nNumber == DBL_MIN );
}
double SwXTextTable::getNotANumber()
{ // We use DBL_MIN because starcalc does (which uses it because chart // wants it that way!) return DBL_MIN;
}
void SwXCellRange::Impl::SetLabelDescriptions(SwXCellRange & rThis, const uno::Sequence<OUString>& rDesc, bool bRow)
{
SolarMutexGuard aGuard;
lcl_EnsureCoreConnected(GetFrameFormat(), &rThis); if (!(bRow ? m_bFirstColumnAsLabel : m_bFirstRowAsLabel)) return; // if there are no labels we cannot set descriptions
sal_uInt32 nLeft, nTop, nRight, nBottom;
std::tie(nLeft, nTop, nRight, nBottom) = GetLabelCoordinates(bRow); if(!nRight && !nBottom) throw uno::RuntimeException(u"Table too complex"_ustr, rThis.getXWeak()); auto xLabelRange(rThis.getCellRangeByPosition(nLeft, nTop, nRight, nBottom)); if (!xLabelRange.is()) throw uno::RuntimeException(u"Missing Cell Range"_ustr, rThis.getXWeak()); auto vCells(static_cast<SwXCellRange*>(xLabelRange.get())->GetCells()); if (sal::static_int_cast<sal_uInt32>(rDesc.getLength()) != vCells.size()) throw uno::RuntimeException(u"Too few or too many descriptions"_ustr, rThis.getXWeak()); auto pDescIterator(rDesc.begin()); for(auto& xCell : vCells)
uno::Reference<text::XText>(xCell, uno::UNO_QUERY_THROW)->setString(*pDescIterator++);
}
void SAL_CALL SwXCellRange::addChartDataChangeEventListener( const uno::Reference<chart::XChartDataChangeEventListener> & xListener)
{ // no need to lock here as m_pImpl is const and container threadsafe
std::unique_lock aGuard(m_pImpl->m_Mutex);
m_pImpl->m_ChartListeners.addInterface(aGuard, xListener);
}
void SAL_CALL SwXCellRange::removeChartDataChangeEventListener( const uno::Reference<chart::XChartDataChangeEventListener> & xListener)
{ // no need to lock here as m_pImpl is const and container threadsafe
std::unique_lock aGuard(m_pImpl->m_Mutex);
m_pImpl->m_ChartListeners.removeInterface(aGuard, xListener);
}
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.93Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-10-11)
¤
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.