Lines Matching refs:rModel
123 bool ColumnModel::isMergeable( const ColumnModel& rModel ) const in isMergeable()
126 (maRange.mnFirst <= rModel.maRange.mnFirst) && in isMergeable()
127 (rModel.maRange.mnFirst <= maRange.mnLast + 1) && in isMergeable()
128 (mfWidth == rModel.mfWidth) && in isMergeable()
130 (mnLevel == rModel.mnLevel) && in isMergeable()
131 (mbHidden == rModel.mbHidden) && in isMergeable()
132 (mbCollapsed == rModel.mbCollapsed); in isMergeable()
158 bool RowModel::isMergeable( const RowModel& rModel ) const in isMergeable()
162 (mfHeight == rModel.mfHeight) && in isMergeable()
164 (mnLevel == rModel.mnLevel) && in isMergeable()
165 (mbCustomHeight == rModel.mbCustomHeight) && in isMergeable()
166 (mbHidden == rModel.mbHidden) && in isMergeable()
167 (mbCollapsed == rModel.mbCollapsed); in isMergeable()
296 void setPageBreak( const PageBreakModel& rModel, bool bRowBreak );
298 void setHyperlink( const HyperlinkModel& rModel );
300 void setValidation( const ValidationModel& rModel );
322 void setColumnModel( const ColumnModel& rModel );
331 void setRowModel( const RowModel& rModel );
362 …ertColumns( OutlineLevelVec& orColLevels, const ValueRange& rColRange, const ColumnModel& rModel );
367 …tlineLevelVec& orRowLevels, const ValueRange& rRowRange, const RowModel& rModel, double fDefHeight…
733 void WorksheetGlobals::setPageBreak( const PageBreakModel& rModel, bool bRowBreak ) in setPageBreak() argument
735 if( rModel.mbManual && (rModel.mnColRow > 0) ) in setPageBreak()
737 … PropertySet aPropSet( bRowBreak ? getRow( rModel.mnColRow ) : getColumn( rModel.mnColRow ) ); in setPageBreak()
742 void WorksheetGlobals::setHyperlink( const HyperlinkModel& rModel ) in setHyperlink() argument
744 maHyperlinks.push_back( rModel ); in setHyperlink()
747 void WorksheetGlobals::setValidation( const ValidationModel& rModel ) in setValidation() argument
749 maValidations.push_back( rModel ); in setValidation()
816 void WorksheetGlobals::setColumnModel( const ColumnModel& rModel ) in setColumnModel() argument
819 sal_Int32 nFirstCol = rModel.maRange.mnFirst - 1; in setColumnModel()
820 sal_Int32 nLastCol = rModel.maRange.mnLast - 1; in setColumnModel()
845 …astMapCol + 1 == nFirstCol) && (nFirstCol <= nLastCol) && aIt->second.first.isMergeable( rModel ) ) in setColumnModel()
857 maColModels[ nFirstCol ] = ColumnModelRange( rModel, nLastCol ); in setColumnModel()
859 convertColumnFormat( nFirstCol, nLastCol, rModel.mnXfId ); in setColumnModel()
883 void WorksheetGlobals::setRowModel( const RowModel& rModel ) in setRowModel() argument
886 sal_Int32 nRow = rModel.mnRow - 1; in setRowModel()
905 if( (rnLastMapRow + 1 == nRow) && aIt->second.first.isMergeable( rModel ) ) in setRowModel()
917 maRowModels[ nRow ] = RowModelRange( rModel, nRow ); in setRowModel()
919 maSheetData.setRowFormat( nRow, rModel.mnXfId, rModel.mbCustomFormat ); in setRowModel()
921 maSheetData.setColSpans( nRow, rModel.maColSpans ); in setRowModel()
1186 const ValueRange& rColRange, const ColumnModel& rModel ) in convertColumns() argument
1191 sal_Int32 nWidth = getUnitConverter().scaleToMm100( rModel.mfWidth, UNIT_DIGIT ); in convertColumns()
1199 if( rModel.mbHidden ) in convertColumns()
1203 convertOutlines( orColLevels, rColRange.mnFirst, rModel.mnLevel, rModel.mbCollapsed, false ); in convertColumns()
1233 const ValueRange& rRowRange, const RowModel& rModel, double fDefHeight ) in convertRows() argument
1236 double fHeight = (rModel.mfHeight >= 0.0) ? rModel.mfHeight : fDefHeight; in convertRows()
1245 if( rModel.mbCustomHeight ) in convertRows()
1257 if( rModel.mbHidden ) in convertRows()
1267 convertOutlines( orRowLevels, rRowRange.mnFirst, rModel.mnLevel, rModel.mbCollapsed, true ); in convertRows()
1541 void WorksheetHelper::setPageBreak( const PageBreakModel& rModel, bool bRowBreak ) in setPageBreak() argument
1543 mrSheetGlob.setPageBreak( rModel, bRowBreak ); in setPageBreak()
1546 void WorksheetHelper::setHyperlink( const HyperlinkModel& rModel ) in setHyperlink() argument
1548 mrSheetGlob.setHyperlink( rModel ); in setHyperlink()
1551 void WorksheetHelper::setValidation( const ValidationModel& rModel ) in setValidation() argument
1553 mrSheetGlob.setValidation( rModel ); in setValidation()
1648 void WorksheetHelper::setColumnModel( const ColumnModel& rModel ) in setColumnModel() argument
1650 mrSheetGlob.setColumnModel( rModel ); in setColumnModel()
1658 void WorksheetHelper::setRowModel( const RowModel& rModel ) in setRowModel() argument
1660 mrSheetGlob.setRowModel( rModel ); in setRowModel()