Lines Matching refs:aRange
454 tSequenceMapRange aRange( m_aSequenceMap.equal_range( rRangeRepresentation )); in lcl_deleteMapReferences() local
455 for( tSequenceMap::iterator aIt( aRange.first ); aIt != aRange.second; ++aIt ) in lcl_deleteMapReferences()
466 m_aSequenceMap.erase( aRange.first, aRange.second ); in lcl_deleteMapReferences()
473 tSequenceMapRange aRange( m_aSequenceMap.equal_range( rOldRangeRepresentation )); in lcl_adaptMapReferences() local
475 for( tSequenceMap::iterator aIt( aRange.first ); aIt != aRange.second; ++aIt ) in lcl_adaptMapReferences()
487 m_aSequenceMap.erase( aRange.first, aRange.second ); in lcl_adaptMapReferences()
733 ::sal_Bool SAL_CALL InternalDataProvider::hasDataByRangeRepresentation( const OUString& aRange ) in hasDataByRangeRepresentation() argument
738 if( aRange.match( lcl_aCategoriesRangeName )) in hasDataByRangeRepresentation()
740 …OSL_ASSERT( aRange.equals( lcl_aCategoriesRangeName ) );//it is not expected nor implmented that o… in hasDataByRangeRepresentation()
743 else if( aRange.match( lcl_aLabelRangePrefix )) in hasDataByRangeRepresentation()
745 sal_Int32 nIndex = aRange.copy( lcl_aLabelRangePrefix.getLength()).toInt32(); in hasDataByRangeRepresentation()
750 sal_Int32 nIndex = aRange.toInt32(); in hasDataByRangeRepresentation()
757 …e< uno::Any > SAL_CALL InternalDataProvider::getDataByRangeRepresentation( const OUString& aRange ) in getDataByRangeRepresentation() argument
762 if( aRange.match( lcl_aLabelRangePrefix ) ) in getDataByRangeRepresentation()
764 sal_Int32 nIndex = aRange.copy( lcl_aLabelRangePrefix.getLength()).toInt32(); in getDataByRangeRepresentation()
771 else if( aRange.match( lcl_aCategoriesPointRangeNamePrefix ) ) in getDataByRangeRepresentation()
773 … sal_Int32 nPointIndex = aRange.copy( lcl_aCategoriesPointRangeNamePrefix.getLength() ).toInt32(); in getDataByRangeRepresentation()
780 else if( aRange.match( lcl_aCategoriesLevelRangeNamePrefix ) ) in getDataByRangeRepresentation()
782 sal_Int32 nLevel = aRange.copy( lcl_aCategoriesLevelRangeNamePrefix.getLength() ).toInt32(); in getDataByRangeRepresentation()
791 else if( aRange.equals( lcl_aCategoriesRangeName ) ) in getDataByRangeRepresentation()
810 sal_Int32 nIndex = aRange.toInt32(); in getDataByRangeRepresentation()
831 const OUString& aRange, const Sequence< uno::Any >& aNewData ) in setDataByRangeRepresentation() argument
835 if( aRange.match( lcl_aLabelRangePrefix ) ) in setDataByRangeRepresentation()
837 sal_uInt32 nIndex = aRange.copy( lcl_aLabelRangePrefix.getLength()).toInt32(); in setDataByRangeRepresentation()
843 else if( aRange.match( lcl_aCategoriesPointRangeNamePrefix ) ) in setDataByRangeRepresentation()
845 … sal_Int32 nPointIndex = aRange.copy( lcl_aCategoriesLevelRangeNamePrefix.getLength()).toInt32(); in setDataByRangeRepresentation()
851 else if( aRange.match( lcl_aCategoriesLevelRangeNamePrefix ) ) in setDataByRangeRepresentation()
853 sal_Int32 nLevel = aRange.copy( lcl_aCategoriesLevelRangeNamePrefix.getLength()).toInt32(); in setDataByRangeRepresentation()
870 else if( aRange.equals( lcl_aCategoriesRangeName ) ) in setDataByRangeRepresentation()
883 sal_Int32 nIndex = aRange.toInt32(); in setDataByRangeRepresentation()
951 tSequenceMapRange aRange( m_aSequenceMap.equal_range( lcl_aCategoriesRangeName )); in insertComplexCategoryLevel() local
952 ::std::for_each( aRange.first, aRange.second, lcl_setModified()); in insertComplexCategoryLevel()
968 tSequenceMapRange aRange( m_aSequenceMap.equal_range( lcl_aCategoriesRangeName )); in deleteComplexCategoryLevel() local
969 ::std::for_each( aRange.first, aRange.second, lcl_setModified()); in deleteComplexCategoryLevel()
993 tSequenceMapRange aRange( m_aSequenceMap.equal_range( lcl_aCategoriesRangeName )); in insertDataPointForAllSequences() local
994 ::std::for_each( aRange.first, aRange.second, lcl_setModified()); in insertDataPointForAllSequences()
1017 tSequenceMapRange aRange( m_aSequenceMap.equal_range( lcl_aCategoriesRangeName )); in deleteDataPointForAllSequences() local
1018 ::std::for_each( aRange.first, aRange.second, lcl_setModified()); in deleteDataPointForAllSequences()
1037 tSequenceMapRange aRange( m_aSequenceMap.equal_range( lcl_aCategoriesRangeName )); in swapDataPointWithNextOneForAllSequences() local
1038 ::std::for_each( aRange.first, aRange.second, lcl_setModified()); in swapDataPointWithNextOneForAllSequences()
1054 XMLRangeHelper::CellRange aRange; in convertRangeToXML() local
1055 aRange.aTableName = OUString(RTL_CONSTASCII_USTRINGPARAM("local-table")); in convertRangeToXML()
1064 aRange.aUpperLeft.bIsEmpty = false; in convertRangeToXML()
1067 aRange.aUpperLeft.nColumn = 0; in convertRangeToXML()
1068 aRange.aUpperLeft.nRow = 1; in convertRangeToXML()
1069 aRange.aLowerRight = aRange.aUpperLeft; in convertRangeToXML()
1070 aRange.aLowerRight.nRow = m_aInternalData.getRowCount(); in convertRangeToXML()
1074 aRange.aUpperLeft.nColumn = 1; in convertRangeToXML()
1075 aRange.aUpperLeft.nRow = 0; in convertRangeToXML()
1076 aRange.aLowerRight = aRange.aUpperLeft; in convertRangeToXML()
1077 aRange.aLowerRight.nColumn = m_aInternalData.getColumnCount(); in convertRangeToXML()
1083 aRange.aUpperLeft.bIsEmpty = false; in convertRangeToXML()
1084 aRange.aLowerRight.bIsEmpty = true; in convertRangeToXML()
1087 aRange.aUpperLeft.nColumn = nIndex + 1; in convertRangeToXML()
1088 aRange.aUpperLeft.nRow = 0; in convertRangeToXML()
1092 aRange.aUpperLeft.nColumn = 0; in convertRangeToXML()
1093 aRange.aUpperLeft.nRow = nIndex + 1; in convertRangeToXML()
1098 aRange.aUpperLeft.bIsEmpty = false; in convertRangeToXML()
1099 aRange.aLowerRight.bIsEmpty = false; in convertRangeToXML()
1100 aRange.aUpperLeft.nColumn = 0; in convertRangeToXML()
1101 aRange.aUpperLeft.nRow = 0; in convertRangeToXML()
1102 aRange.aLowerRight.nColumn = m_aInternalData.getColumnCount(); in convertRangeToXML()
1103 aRange.aLowerRight.nRow = m_aInternalData.getRowCount(); in convertRangeToXML()
1108 aRange.aUpperLeft.bIsEmpty = false; in convertRangeToXML()
1111 aRange.aUpperLeft.nColumn = nIndex + 1; in convertRangeToXML()
1112 aRange.aUpperLeft.nRow = 1; in convertRangeToXML()
1113 aRange.aLowerRight = aRange.aUpperLeft; in convertRangeToXML()
1114 aRange.aLowerRight.nRow = m_aInternalData.getRowCount(); in convertRangeToXML()
1118 aRange.aUpperLeft.nColumn = 1; in convertRangeToXML()
1119 aRange.aUpperLeft.nRow = nIndex + 1; in convertRangeToXML()
1120 aRange.aLowerRight = aRange.aUpperLeft; in convertRangeToXML()
1121 aRange.aLowerRight.nColumn = m_aInternalData.getColumnCount(); in convertRangeToXML()
1125 return XMLRangeHelper::getXMLStringFromCellRange( aRange ); in convertRangeToXML()
1132 XMLRangeHelper::CellRange aRange( XMLRangeHelper::getCellRangeFromXMLString( aXMLRange )); in convertRangeFromXML() local
1133 if( aRange.aUpperLeft.bIsEmpty ) in convertRangeFromXML()
1135 OSL_ENSURE( aRange.aLowerRight.bIsEmpty, "Weird Range" ); in convertRangeFromXML()
1140 if( !aRange.aLowerRight.bIsEmpty && in convertRangeFromXML()
1141 ( aRange.aUpperLeft.nColumn != aRange.aLowerRight.nColumn ) && in convertRangeFromXML()
1142 ( aRange.aUpperLeft.nRow != aRange.aLowerRight.nRow ) ) in convertRangeFromXML()
1153 if( aRange.aUpperLeft.nColumn == 0 ) in convertRangeFromXML()
1155 if( aRange.aUpperLeft.nRow == 0 ) in convertRangeFromXML()
1156 return lcl_aLabelRangePrefix + OUString::valueOf( aRange.aUpperLeft.nColumn - 1 ); in convertRangeFromXML()
1158 return OUString::valueOf( aRange.aUpperLeft.nColumn - 1 ); in convertRangeFromXML()
1162 if( aRange.aUpperLeft.nRow == 0 ) in convertRangeFromXML()
1164 if( aRange.aUpperLeft.nColumn == 0 ) in convertRangeFromXML()
1165 return lcl_aLabelRangePrefix + OUString::valueOf( aRange.aUpperLeft.nRow - 1 ); in convertRangeFromXML()
1167 return OUString::valueOf( aRange.aUpperLeft.nRow - 1 ); in convertRangeFromXML()