Lines Matching refs:orRange
654 bool AddressConverter::validateCellRange( CellRangeAddress& orRange, bool bAllowOverflow, bool bTra… in validateCellRange() argument
656 if( orRange.StartColumn > orRange.EndColumn ) in validateCellRange()
657 ::std::swap( orRange.StartColumn, orRange.EndColumn ); in validateCellRange()
658 if( orRange.StartRow > orRange.EndRow ) in validateCellRange()
659 ::std::swap( orRange.StartRow, orRange.EndRow ); in validateCellRange()
660 if( !checkCellRange( orRange, bAllowOverflow, bTrackOverflow ) ) in validateCellRange()
662 if( orRange.EndColumn > maMaxPos.Column ) in validateCellRange()
663 orRange.EndColumn = maMaxPos.Column; in validateCellRange()
664 if( orRange.EndRow > maMaxPos.Row ) in validateCellRange()
665 orRange.EndRow = maMaxPos.Row; in validateCellRange()
669 bool AddressConverter::convertToCellRangeUnchecked( CellRangeAddress& orRange, in convertToCellRangeUnchecked() argument
672 orRange.Sheet = nSheet; in convertToCellRangeUnchecked()
673 …return parseOoxRange2d( orRange.StartColumn, orRange.StartRow, orRange.EndColumn, orRange.EndRow, … in convertToCellRangeUnchecked()
676 bool AddressConverter::convertToCellRange( CellRangeAddress& orRange, in convertToCellRange() argument
680 convertToCellRangeUnchecked( orRange, rString, nSheet ) && in convertToCellRange()
681 validateCellRange( orRange, bAllowOverflow, bTrackOverflow ); in convertToCellRange()
684 void AddressConverter::convertToCellRangeUnchecked( CellRangeAddress& orRange, in convertToCellRangeUnchecked() argument
687 orRange.Sheet = nSheet; in convertToCellRangeUnchecked()
688 orRange.StartColumn = rBinRange.maFirst.mnCol; in convertToCellRangeUnchecked()
689 orRange.StartRow = rBinRange.maFirst.mnRow; in convertToCellRangeUnchecked()
690 orRange.EndColumn = rBinRange.maLast.mnCol; in convertToCellRangeUnchecked()
691 orRange.EndRow = rBinRange.maLast.mnRow; in convertToCellRangeUnchecked()
694 bool AddressConverter::convertToCellRange( CellRangeAddress& orRange, in convertToCellRange() argument
697 convertToCellRangeUnchecked( orRange, rBinRange, nSheet ); in convertToCellRange()
698 return validateCellRange( orRange, bAllowOverflow, bTrackOverflow ); in convertToCellRange()