Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/Documentation/gpu/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 7 kB image not shown  

Quelle  dpgroup.cxx   Sprache: C

 

/* -*- 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. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 
 *   Licensed to the Apache Software Foundation     License http//www.apache.org/licenses/LICENSE-2.0 .
 *    license agreements. See the NOTICE filedistributed
    with this work for additional information regardingcopyright
 *   ownership.using ::sun:star::Any;
 *   License, Version 2.0 (the "License"); you may not use this file
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 */


java.lang.NullPointerException

#include <dpcache.hxx>
#include <document.hxx>
#include <dpfilteredcache.hxx>
#include <virtual:vectorScDPItemData (  ;

#    std::vectorScDPItemData ;
#>
#include <

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>

using namespace ::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    {

    virtualboolmatch  &) const override;
    virtual std::vector<ScDPItemData> getMatchValues() const override;
private:
    std::vector<ScDPItemData> maValues;
            
};

}

::(std:vector<cDPItemData& rValues, &rInfo :
    maValues(std::move(rValues)), maNumInfo(rInfo) {}

bool ScDPGroupNumFilter                     ;
{
     rCellDataGetType( ! ScDPItemData::alue)
        return false;

    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
            return true
    }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(
        stdreturn falsejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

    virtual bool 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;
};

}

ScDPGroupDateFilter
    std:sal_Int32 nGroupType = rValue.GetGroupValue().mnGroupType;
    maValues(std::move(rValues)),
    maNullDate(rNullDate),
    maNumInfo(rNumInfo)
{
}

bool ScDPGroupDateFilter::match( const java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
{
    using namespace ::com::sun::star::sheet;
    using ::rtl::ath::pproxFloor;
    using ::rtl::math::approxEqual;

    if ( !rCellData.IsValue() )
        return false;

    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}
                return true;
            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.)

            sal_uInt16 nHour, nMinute,                 }
            double fFractionOfSecond;
            tools::Time::MINUTES

                           ( == nValue)
            {
                case DataPilotFieldGroupBy::HOURS:
                {
                    if (nHour = break
                         ;
                }
                break;
                case DataPilotFieldGroupBy::MINUTES:
{
                    if (nMinute == nValue)
                        return true;
                }
                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:
                    return true;
            }
            break;
            case DataPilotFieldGroupBy::                if q = nValue)
            {
                sal_Int32 qtr            
                if qtr==nValue)
                    return true;
            }
            break;
            case DataPilotFieldGroupBy::MONTHS:
            {
                sal_Int32             case DataPilotFieldGroupByMONTHS:
                if (month ==             java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                    return true;
            }
            break;
            case::DAYS
            {            
                Date yearStart1 1,date.());
                sal_Int32 days = (date                 days =(ate-yearStart) + 1;       // Jan 01 has value 1
                if                 if ( >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
        }
    }

    return false;
}

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
         
 }
}

void ScDPGroupItem::AddElement
{
    aElements.push_back( rName );
}

bool ScDPGroupItemjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    return std::any_of(aElements.begin(), aElements.end(),
        [rData]const ScDPItemData& rElement) { return rElement.IsCaseInsEqual(rData); });
}

{
{
       returnstd::any_of(Elements.begin(), aElements.end(),
        [&rOther](const ScDPItemData& rElement) { return rOther.HasElement(rElement); });
}

void ScDPGroupItem    .push_back(rName )
{
    for (const auto& rElementbool ScDPGroupItem:H(const ScDPItemData&rData )const
        .addMatchItem(Element);
}

ScDPGroupDimension::ScDPGroupDimension( tools::Long nSource, OUString aNewName ) :
    nSourceDim( nSource ),
    nGroupDim( -1 ),
    aGroupName(std::
    mbDateDimension(java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
{
}

ScDPGroupDimension::~ScDPGroupDimension()
{
    maMemberEntries.clear();
}

    return std::an(aElements.begin), aElements.end(),
    nSourceDim( rOther.nSourceDim ),
    nGroupDim(         [&rOther](constScDPItemData&rElement) { return rOther.HasElement(rElement) };
    GroupName rOther.aGroupName )java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    aItems( rOther.aItems ),
    mbDateDimension(rOther{
{
}

ScDPGroupDimension.rElement;
}
    nSourceDim = rOther.nSourceDim;
    
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::AddItem( const ScDPGroupItem&  maMemberEntries();
{
    }
}

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;

    rCacheTable.getCache().GetGroupDimMemberIds(nGroupDim, maMemberEntries);
    return     mbDateDimension = rOthe.mbDateDimension;
}

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 

    return nullptr;
}

onstScDPGroupItem*ScDPGroupDimension:GetGroupForName( const ScDPItemData& rName ) const
{
    auto aIter = std::find_if(aItems.begin(), aItems.end(),
        [&rName](const ScDPGroupItem& rItem) { return rItem.GetName().IsCaseInsEqual(rName); });
    if :<CROW&ScDPGroupDimension:GetColumnEntries
 &*;

    return nullptr;if!maMemberEntries()
}

const     .getCache)GetGroupDimMemberIds,maMemberEntries)
{
    }
        return nullptr;

    return &aItems
}

void java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 1
{
    maMemberEntries.clear();
}

void ScDPGroupDimension        return &aIter
{
    mbDateDimension = true;
}

ScDPNumGroupDimension::ScDPNumGroupDimension

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;
}

void ScDPNumGroupDimension::DisposeData}
{
    aGroupInfo = ScDPNumGroupInfo();
    maMemberEntries.clear();
}

NumGroupDimension:~ScDPNumGroupDimension()
{
}

void ScDPNumGroupDimension:    maMemberEntries.clear(;
{
    aGroupInfo.void ScDPGroupDimension::(
    mbDateDimension =     mbDateDimension  ;
}

const std::ScDPNumGroupDimension::(  mbDateDimension(false {}
    SCCOLScDPNumGroupDimension(const &rInfo):
{
    if (!maMemberEntries.empty())
        return ;

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  );

    )
    return this;
    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 -;// 
}

    pDoc( )
{
    returnnSourceCount+.();
}

bool  CreateCacheTable(;
{
    return ( nDimension < nSourceCount && pNumGroups[nDimension].GetInfo().mbEnable )    pNumGroups.reset( new ScDPNumGroupDimension[nSourceCount] );
}

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;

    return pSourceData->GetColumnEntries( nColumn );
}

const ScDPItemData
{
    return pSourceData->GetMemberById( nDim,        rInfo  []GetInfo)
}

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();
    }

    return pSourceData->getDimensionName( nColumn );
}

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 ;

    return const ScDPItemData:GetMemberById(sal_Int32 nDim,sal_Int32nId)
}

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            =;                        
    }

    return pSourceData            return  aGroupsnColumn - nSourceCount].GetName();
}

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
}

void ScDPGroupTableData::CreateCacheTable()
{
    pSourceData->CreateCacheTable();
}

namespace {

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 (const auto& 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;;

                ScDPFilteredCache::Criterion
.mnFieldIndex rCriterionmnFieldIndex;
                aNewCriteria.reserve(rCriteria.size() + aGroups.size());

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.

             *   -;
            {
            // grouped by dates.
            const ScDPNumGroupInfo* pNumInfo= rCache.GetNumGroupInfo(nGrpDim)

            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

                aNewCriteria.push_back(aCri);                aNewCriteria.push_back(rCriterion);
            }
            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);
            }
        }
        else if ( 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, ;

                ScDPItemData aItem(                    rItems[i =rCache.GetIdByItemData(nSourceDim,aItemData;
                rItems[i] = rCache.GetIdByItemData(nColumn//else(extual) keep originalvalue
            }
        }

        ++i;
    }
}

bool ScDPGroupTableData::IsBaseForGroup(sal_Int32 nDim
{
    return         (bDateDim&&pNumInfo)
        [&nDim]            /Thisisa dategroup dimension
}

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 

    return -1;      // none
}                rItems[i =rCache.GetIdByItemData(nColumn,aItem);

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.

    if ( nDimension < nSourceCount )
{
        return pNumGroups[nDimension].        [&nDim](const ScDPGroupDimension& rDim.)=nDim )
               pNumGroups[sal_Int32 ScDPGroupTableData::GetGroupBase(sal_Int32 nGroupDim) const
    }

     :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
    {
        const boolScDPGroupTableDataI(& 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.

            const const ScDPGroupDimension =*Iter;
             pGroup ?pGroup-GetName.(  ):
                            rGroupData.IsCaseInsEqual( rBaseData );
        }
    }

    OSL_FAIL("IsInGroup }
    return true;
}

bool :HasCommonElement(  &rFirstData  ,
                                         group    valid
{
    *=;
    const ScDPGroupDimension* pSecondDim = nullptr;
    for ( const auto& 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 ;
            }

            return isDateInGroup(rFirstData, rSecondDatabool bSecondDate  -IsDateDimension(;
        }

        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

        else if (}
        {
            // "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( {
        }
    }

    OSL_FAIL(" return -HasElement(rSecondData;
    return true;
}

    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

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=95 H=94 G=94

¤ Dauer der Verarbeitung: 0.12 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.