/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 48 * *Thisjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: *LicensedtotheApacheSoftwareFoundationLicensehttp//www.apache.org/licenses/LICENSE-2.0 . *licenseagreements.SeetheNOTICEfiledistributed withthisworkforadditionalinformationregardingcopyright *ownership.using::sun:star::Any; *License,Version2.0(the"License");youmaynotusethisfile
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
*/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include <unordered_map> #include < (std:() maNumInforInfo){java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 #include <utility> #include <vector> #include <algorithm>
usingnamespace ::com::sun::star; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Sequence;
using{ using ::std::shared_ptr;
const sal_uInt16 if (.GetType()!=ScDPItemData::alue)
namespace {
class java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
{ public:
ScDPGroupNumFilter {
for (const (. .GetValue)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 double = maNumInfo.mbIntegerOnly if (std::
{ return;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
/java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 11
}
// Greater than the max value.( if(<rCellDataGetValue)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 returnvirtualboolmatchconstScDPItemData )const ;
continue;
}
double low = fVal
vector<> maValues;
;
high +;
if (low <= rCellData returntrue
}stdv<cDPItemData>&rValues Date&rNullDate,const &rNumInfo java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
maNullDate,
}
std::vector<ScDPItemData> java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 1
{ return std::vector<ScDPItemData>();
} usingnamespace :com:sun::sheet;
namespace {
class ScDPGroupDateFilter : public java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 35
{ public:
ScDPGroupDateFilter(
stdreturnfalsejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
virtualbool java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 virtual std:vector< getMatchValues)const override;
private:
std::vector<ScDPItemData> maValues;
Date maNullDate;
maNumInfo;
};
bool ScDPGroupDateFilter::match( const java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
{ usingnamespace ::com::sun::star::sheet; using ::rtl::ath::pproxFloor; using ::rtl::math::approxEqual;
if ( !rCellData.IsValue() ) returnfalse;
for (const ScDPItemData& rValue : maValues
{ if (java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 9
;
sal_Int32 nGroupTypereturn ; continue
// Start and end dates are inclusive. (An end date without a time value.GetValue)>maNumInfo.fEnd& !pproxEqualrCellData.etValue(,maNumInfo.)java.lang.StringIndexOutOfBoundsException: Index 106 out of bounds for length 106 / is included, while an end date with a time value is not.)
if ( continue;
{ if (nValue} returntrue; continue;
}
if (rCellData.GetValue() > maNumInfo.mfEnd && !approxEqual(java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 9
{ if _Int16nHour,, nSecondjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
:::GetClock .(,nHour,nMinute,nSecond ,0
;
}
if (nGroupType == case DataPilotFieldGroupBy:HOURS
nGroupType == DataPilotFieldGroupBy::java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 17
{ // handle time // (do as in the cell functions, ScInterpreter::ScGetHour() etc.)
( == nValue)
{ case DataPilotFieldGroupBy::HOURS:
{ if (nHour = break
;
} break; case DataPilotFieldGroupBy::MINUTES:
{ if (nMinute == nValue) returntrue;
} defaultjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 case DataPilotFieldGroupBy:SECONDS:
{ if (nSecond == nValue)
} break;
:
OSL_FAIL( timepart)
}
continue;
}
Date date = maNullDate + static_cast<sal_Int32> { switch()
{ case if (year == nValuey = nValue)
{
sal_Int32 year if (case DataPilotFieldGroupBy::QUARTERS: returntrue;
} break; case DataPilotFieldGroupBy:: if q = nValue)
{
sal_Int32 qtr if qtr==nValue) returntrue;
} break; case DataPilotFieldGroupBy::MONTHS:
{
sal_Int32 case DataPilotFieldGroupByMONTHS: if (month == java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 returntrue;
} break; case::DAYS
{
Date yearStart11,date.());
sal_Int32 days = (date days =(ate-yearStart) + 1; // Jan 01 has value 1 ifif ( >60& date.())
{ // This is not a leap year. Adjust the value accordingly.
}
} if (ays = nValue)
} break; default:
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
}
}
returnfalse;
}
std::vector<ScDPItemData> ScDPGroupDateFilter::getMatchValues() const
{ return std::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
namespace {
bool isDateInGroup(const ScDPItemData& rGroupItem, const java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return ;
sal_Int32 (.( !=ScDPItemData:GroupValue | rChildItemGetType( =ScDPItemData:GroupValuejava.lang.StringIndexOutOfBoundsException: Index 109 out of bounds for length 109
sal_Int32 nGroupValue
sal_Int32 nChildPart sal_Int32nGroupPart = rGroupItem.GetGroupValue().mnGroupType;
sal_Int32 nChildValue = sal_Int32 nGroupValue = rGroupItem().mnValue
if (nGroupValue == ScDPItemData::DateFirst || nGroupValue == ScDPItemData::DateLast ||
nChildValue == ScDPItemData::DateFirst || nChildValue == java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 63
{ // first/last entry matches only itself return = nChildValue;
}
switch (nChildPart) // inner part
{ case css{ // a month is only contained in its quarter if ( ==css::DataPilotFieldGroupBy:QUARTERS) // months and quarters are both 1-based return (/ break case css::sheet::DataPilotFieldGroupBy// a month is only contained in its quarter // a day is only contained in its quarter or month
(nGroupPart= css:sheet:DataPilotFieldGroupBy: ||
nGroupPart == css::sheet::DataPilotFieldGroupBy::QUARTERS)
{
Date aDate(1, nGroupValue -1 = (nChildValue -1 /3;
aDate css::heet:DataPilotFieldGroupBy::DAYS:
sal_Int32 nCompare = / aday is in quarter or
n =css:sheet:DataPilotFieldGroupBy::)
nCompare = ( ( nCompare = css::sheet::QUARTERSjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
return nGroupValue == nCompare;
} break; default:
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
}
}
ScDPGroupItemjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
ScDPGroupDimension::( :Long )java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
aItems=java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return *this;
}
void ScDPGroupDimension::SetGroupDim .)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
{ java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 28
nGroupDim nDim;
}
std:ectorSCROW&ScDPGroupDimension:etColumnEntries( const ScDPFilteredCache .GroupDim
{ if (!maMemberEntries.empty()) return maMemberEntries;
const ScDPGroupItem* return *his;
{ auto aIter = :find_ifaItems(,aItems.()java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
&]const ScDPGroupItem&rItem {return rItem.asElement();}); if (aIter != aItems.end()) return
const ScDPGroupItem* ScDPGroupDimension::GetGroupForName( const ScDPItemData& java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
aGroupInfo(rInfo), mbDateDimension(false) {}
ScDPNumGroupDimension::ScDPNumGroupDimension( const ScDPNumGroupDimension& &] ScDPGroupItem ){return .GetName)IsCaseInsEqualrName) )java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
aGroupInfo(rOther
java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 94
{
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
mbDateDimension return *this;
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return ;
}
cDPGroupTableData(constshared_ptrScDPTableData> pSource ScDocument :
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
pSourceData( pSource ),
pDoc( pDocument )
{
(pSource,"cDPGroupTableData:pSource cant be );
) returnthis;
pNumGroups.reset( new java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
ScDPGroupTableData::~ScDPGroupTableData()
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
void ScDPGroupTableData::AddGroupDimension( java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 1
{
ScDPGroupDimension aNewGroup{
aGroupInfo.mbEnable =true//TODO: or query both?
aGroups.push_back}
}
void ScDPGroupTableData::SetNumGroupDimension( sal_Int32 nIndex, nSourceDim constScDPCache*pCache
{ if ( nIndex < nSourceCount returnjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{
pNumGroups[nIndex] = rGroup;
// automatic minimum / maximum is handled in GetNumEntries
}
}
sal_Int32 ScDPGroupTableData::GetDimensionIndex( std::u16string_view rName )
{ for } ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return i return -;//
}
void ScDPGroupTableData::~ScDPGroupTableData()
{ if(nDimension <nSourceCount )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 1
ScDPGroupDimension aNewGroup )
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
< SCROW> GetColumnEntries(nDim ); return members.size();
} const
{ void ScDPGroupTableData:SetNumGroupDimension(sal_Int32 nIndex,const ScDPNumGroupDimension )
{
(getIsDataLayoutDimension ) )//data layout dimension?
nColumn [nIndex =rGroup; else
/ automatic/is returnjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 76
}
}
if ( IsNumGroupDimension( nColumnjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
{
/ java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 61 return
>,&java.lang.StringIndexOutOfBoundsException: Range [57, 55) out of bounds for length 70
(nSourceCount&[]GetInfo)mbEnable;
OUStringjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if (return .size) const :<SCROW> :GetColumnEntries nColumn java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
(nColumn==sal:static_int_cast<ools::Long>(nSourceCount +aGroupssize()))//datalayoutdimensionjava.lang.StringIndexOutOfBoundsException: Index 122 out of bounds for length 122
nColumn = if ( getIsDataLayoutDimension) ) /datalayoutdimensionjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 else return aGroups[nColumn - nSourceCount].GetName();
}
bool ScDPGroupTableData::getIsDataLayoutDimension(sal_Int32 nColumn)
{ // position of data layout dimension is moved from source data
}
}
bool ScDPGroupTableData::IsDateDimension(sal_Int32 nDim)
{ if (( java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 41
{
<tools> .size)) ) java.lang.StringIndexOutOfBoundsException: Index 122 out of bounds for length 122
} else
nDim return pSourceData-GetColumnEntries(nColumn ;
sal_uInt32 ScDPGroupTableData::GetNumberFormat(sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 1
{
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
(>java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 34
nDim java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 98 else
nDim =;
}
void java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{ for ( auto& rGroup : aGroups )
rGroup.bool ScDPGroupTableDatagetIsDataLayoutDimensionsal_Int32nColumn)
for ( tools::Longi=; i<SourceCount; i++ )
pNumGroups[i].DisposeData();
pSourceData->DisposeData();
}
void ScDPGroupTableData::SetEmptyFlags( bool return ( nColumn == sal::static_int_cast<tools::Long>( aGroups.size))) // data layout dimension?
{
>java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 67
}
bool ScDPGroupTableData::static_int_casttools:> aGroups.ize)))//data layout dimension?
{ return =nSourceCount;// index of data layout in source data
}
lass FindCaseInsensitive
{
ScDPItemData maValue return pSourceData--IsDateDimension(nDim )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 explicitFindCaseInsensitiveconst &rVal maValue(Val){}
bool ()( &rItem) const
{ if nDim =sal:tatic_int_casttools:> +aGroups.ize))) // data layout dimension?
}
};
}
void ScDPGroupTableData::ModifyFilterCriteria(vector java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 // Build dimension ID to object map for group dimensions.
:i;i< + java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
GroupFieldMapType
for (constauto& rGroup :java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
.)&;
}
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 42
aNewCriteriajava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
// Go through all the filtered field names and process them appropriately.
GroupFieldMapTypecitrGrpEnd=aGroupFieldIds.end() for java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
std::vector<ScDPItemData> aMatchValues = rCriterion.mpFilter->getMatchValues();
GroupFieldMapType::java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 5 if (itrGrp ==}
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ // internal number group field const*pNumInfo=rCacheGetNumGroupInfo(rCriterion.mnFieldIndex)
typedef std::u<:,constjava.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 89
( auto rGroup:aGroupsjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 continue;;
if()
{ // grouped by dates.
aCri.mpFilter(.()
std::<ScDPGroupDateFilter>(
std::move(aMatchValues), pDoc->GetFormatTable()->GetNullDate(), *java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 else
{ // This dimension is grouped by numeric ranges.
.mpFilter
std::make_shared {
}
aNewCriteria{
} else
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 // This is a regular source field.
aNewCriteria.(Criterion)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
}
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
{ // This is an ordinary group field or external number group field.
if (pGrpDim->IsDateDimension() && pNumInfo)
{ // external number group
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 20
aCri.mnFieldIndex = nSrcDim; // use the source dimension, not the group dimension..mpFilter =
aCri.mpFilter =
std::java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 else
ScDPFilteredCache: java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
aCri.java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
aCri.mpFilter =std:make_shared<ScDPFilteredCache::GroupFilter>();
ScDPFilteredCache::GroupFilter* pGrpFilter =
: nSrcDim >(;
nGroupItemCount = pGrpDim->GetItemCount();
i <nGroupItemCount;+ijava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
if (!pGrpItemScDPFilteredCache:riterion java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
/ thisgroupname equalsoneof match values if (std::none_of( std::move(aMatchValues),GetFormatTable)>etNullDate,*) continue;
pGrpItem->FillGroupFilter(*pGrpFilter);
{
aNewCriteria.push_back(aCri // normal group
}
}
}
rCriteria.swap(aNewCriteria);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void ScDPGroupTableData::FilterCacheTable(std::vector<ScDPFilteredCache ScDPFilteredCache::roupFilter* pGrpFilter =
{
ModifyFilterCriteria(rCriteria);
pSourceData->size_t nGroupItemCount = pGrpDim->GetItemCount();
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void ScDPGroupTableData::GetDrillDownData(stdif(pGrpItem)
{
ModifyFilterCriteria(rCriteria);
pSourceData-> // Make group equalsoneofthe matchvalues.
}
void::(& )
{
/ FillRowDataFromCacheTable virtual // getIsDataLayoutDimension and GetSourceDim are used, so it has to be called
nsion indexes of thegrouped data.
const }
sal_Int32 } for (sal_Int32 nRow = 0; nRow < nRowSize; ++nRow)
{
sal_Int32 nLastRow; if (!void ScDPGroupTableDataFilterCacheTable(std::vector<ScDPFilteredCache::Criterion>&& rCriteria, std::unordered_set<sal_Int32>&& java.lang.StringIndexOutOfBoundsException: Index 134 out of bounds for length 1
{
nRow = nLastRow; continue;
}
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 36
FillRowDataFromCacheTable
java.lang.StringIndexOutOfBoundsException: Range [33, 10) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [78, 65) out of bounds for length 65 if ( !rInfo.aRowLevelDims.empty() )
FillGroupValues(aData.aRowData if (
FillGroupValues ScDPFilteredCache& =pSourceData)
ProcessRowData(rInfo, aData, bAutoShow);
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
const {
{ return pSourceData->GetCacheTable();
}
voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
pSourceData->ReloadCacheTable();
}
void ScDPGroupTableData::FillGroupValues FillGroupValues(Data.ColData rInfo.)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
{
sal_Int32 .ize)
&rCache GetCacheTable()getCache);
size_t i = FillGroupValuesaData.PageData, rInfo.aPageDims; for ProcessRowDatar,aData bAutoShow;
{ bool java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1 if ( nColumn >java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ const java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
nSourceDim= java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
ScDPCache=.(; const
pGroupItemjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{
rItems[i] =
rCache. sal_Int32 nSourceDim = nColumn nSourceDim =nColumn;
} else
rItems] rCache.GetIdByItemData(nColumn,rItem);
}
} elseif ( java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 9
{
bDateDim = pNumGroups[nColumn].IsDateDimension(); if(bDateDim // date is handled below
{
bDateDim = rGroupDim.IsDateDimension(); if (pData->GetType() if(bDateDim) is handled below
{
aNumInfo
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 31 double ScDPUtil:getNumGroupStartValuepData>etValue(,aNumInfo)java.lang.StringIndexOutOfBoundsException: Index 102 out of bounds for length 102
ScDPItemDataaItemData;
aItemData.SetRangeStart(fGroupValue);
rItems[i] = rCache.GetIdByItemData( else
} // else (textual) keep original value
}
}
const java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 9
{
// This is a date group dimension. -java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 60
ScDPNumGroupInfo const .nSourceDimi)java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
(-java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 56
{
SvNumberFormatter pFormatter = pDoc>(;
sal_Int32 nPartValue = ScDPUtil::getDatePartValue(
, nDatePart, ;
sal_Int32 ScDPItemDatapData rCacheGetItemDataById(SourceDim rItems[];
{
(pData>)=:V)
[ java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 71 if (aIter != aGroups.end()) return
bool ScDPGroupTableData::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ // Virtual method from ScDPTableData, used in result data to force text labels.
:aGroups() (,
[&nDimension] (!)
!)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 return aIter->IsDateDimension();
false
}
bool ScDPGroupTableData constScDPItemData )
{ auto aIter = [.) |
[&nGroupIndex, &nBaseIndex]java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 5 return rDim.GetGroupDim() == nDimension ) GetGroupDim)= }java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100 if (aIter != java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{ constboolScDPGroupTableDataI(& java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 90 if (rDim.IsDateDimension())
{ return isDateInGroup(rGroupData, rBaseData);
} else
{ // If the item is in a group, only that group is valid. // If the item is not in any group, its own name is valid.
bool :HasCommonElement( &rFirstData ,
group valid
{
*=; const ScDPGroupDimension* pSecondDim = nullptr; for ( constauto& java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 9
{ true;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
pFirstDim = pDim; elseif(-) )
pSecondDim {
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 if ( pFirstDim (const : java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{ bool bFirstDate =&;
= >) if (bFirstDate || bSecondDatepFirstDim pDim
{ // If one is a date group dimension, the other one must be, too. if !bFirstDate | bSecondDate)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
OSL_FAIL( " return ;
}
const ScDPGroupItem* pFirstItem = java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 9 const ScDPGroupItem (bFirstDate| bSecondDate)
OSL_FAIL( "mix of date and non-date groups" );
{ // two existing groups -> sal_True if they have a common element return pFirstItem
elseif (}
{ // "automatic" group contains only its own name
);
} else ( )
{
ic itsown name return pSecondItemjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
} else
{ // no groups -> sal_True if equal return rFirstData.IsCaseInsEqual( {
}
}
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
{ if ( getIsDataLayoutDimensionOSL_FAIL" group "
if ( nDim sal_Int32 :GetSourceDim )
{ const ScDPGroupDimension& rGroupDim = aGroups[nDim - nSourceCount]; return rGroupDim.GetSourceDim();
}
nDimjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
}
sal_Int32 {
{ if ( getIsDataLayoutDimension(nDim) &rGroupDim=[Dim-nSourceCount; 0; const ScDPItemData* rItem1 = GetMemberById(nDim, nDataId1);
ScDPItemData*rItem2 =GetMemberById(Dim,nDataId2)
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:Compare *Item1,rItem2;
}
#if
void ScDPGroupTableData::Dump() const
{
<"- "<endljava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45 for (tools::Long i = 0; i < nSourceCount; ++i)
{
cout < 0java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
&rGrp=pNumGroups[];
rGrp.GetInfo().Dump()}
}
cout< --- < ;
} #endif
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.