Lines Matching refs:maModel
175 maModel.maText = rAttribs.getString( XML_text, OUString() ); in importCfRule()
176 maModel.mnPriority = rAttribs.getInteger( XML_priority, -1 ); in importCfRule()
177 maModel.mnType = rAttribs.getToken( XML_type, XML_TOKEN_INVALID ); in importCfRule()
178 maModel.mnOperator = rAttribs.getToken( XML_operator, XML_TOKEN_INVALID ); in importCfRule()
179 maModel.mnTimePeriod = rAttribs.getToken( XML_timePeriod, XML_TOKEN_INVALID ); in importCfRule()
180 maModel.mnRank = rAttribs.getInteger( XML_rank, 0 ); in importCfRule()
181 maModel.mnStdDev = rAttribs.getInteger( XML_stdDev, 0 ); in importCfRule()
182 maModel.mnDxfId = rAttribs.getInteger( XML_dxfId, -1 ); in importCfRule()
183 maModel.mbStopIfTrue = rAttribs.getBool( XML_stopIfTrue, false ); in importCfRule()
184 maModel.mbBottom = rAttribs.getBool( XML_bottom, false ); in importCfRule()
185 maModel.mbPercent = rAttribs.getBool( XML_percent, false ); in importCfRule()
186 maModel.mbAboveAverage = rAttribs.getBool( XML_aboveAverage, true ); in importCfRule()
187 maModel.mbEqualAverage = rAttribs.getBool( XML_equalAverage, false ); in importCfRule()
194 maModel.maFormulas.push_back( aTokens ); in appendFormula()
201 rStrm >> nType >> nSubType >> maModel.mnDxfId >> maModel.mnPriority >> nOperator; in importCfRule()
203 rStrm >> nFlags >> nFmla1Size >> nFmla2Size >> nFmla3Size >> maModel.maText; in importCfRule()
216 maModel.maFormulas.push_back( aTokens ); in importCfRule()
224 maModel.maFormulas.push_back( aTokens ); in importCfRule()
231 maModel.maFormulas.push_back( aTokens ); in importCfRule()
237 maModel.mbStopIfTrue = getFlag( nFlags, BIFF12_CFRULE_STOPIFTRUE ); in importCfRule()
238 maModel.mbBottom = getFlag( nFlags, BIFF12_CFRULE_BOTTOM ); in importCfRule()
239 maModel.mbPercent = getFlag( nFlags, BIFF12_CFRULE_PERCENT ); in importCfRule()
240 maModel.mbAboveAverage = getFlag( nFlags, BIFF12_CFRULE_ABOVEAVERAGE ); in importCfRule()
248 maModel.mnType = XML_cellIs; in importCfRule()
249 maModel.setBiffOperator( nOperator ); in importCfRule()
250 …OSL_ENSURE( maModel.mnOperator != XML_TOKEN_INVALID, "CondFormatRule::importCfRule - unknown opera… in importCfRule()
258 maModel.mnType = XML_expression; in importCfRule()
262 maModel.mnType = XML_uniqueValues; in importCfRule()
265 maModel.setBiff12TextType( nOperator ); in importCfRule()
266 …OSL_ENSURE( maModel.mnType != XML_TOKEN_INVALID, "CondFormatRule::importCfRule - unexpected operat… in importCfRule()
270 maModel.mnType = XML_containsBlanks; in importCfRule()
274 maModel.mnType = XML_notContainsBlanks; in importCfRule()
278 maModel.mnType = XML_containsErrors; in importCfRule()
282 maModel.mnType = XML_notContainsErrors; in importCfRule()
286 maModel.mnType = XML_timePeriod; in importCfRule()
287 maModel.mnTimePeriod = XML_today; in importCfRule()
291 maModel.mnType = XML_timePeriod; in importCfRule()
292 maModel.mnTimePeriod = XML_tomorrow; in importCfRule()
296 maModel.mnType = XML_timePeriod; in importCfRule()
297 maModel.mnTimePeriod = XML_yesterday; in importCfRule()
301 maModel.mnType = XML_timePeriod; in importCfRule()
302 maModel.mnTimePeriod = XML_last7Days; in importCfRule()
306 maModel.mnType = XML_timePeriod; in importCfRule()
307 maModel.mnTimePeriod = XML_lastMonth; in importCfRule()
311 maModel.mnType = XML_timePeriod; in importCfRule()
312 maModel.mnTimePeriod = XML_nextMonth; in importCfRule()
316 maModel.mnType = XML_timePeriod; in importCfRule()
317 maModel.mnTimePeriod = XML_thisWeek; in importCfRule()
321 maModel.mnType = XML_timePeriod; in importCfRule()
322 maModel.mnTimePeriod = XML_nextWeek; in importCfRule()
326 maModel.mnType = XML_timePeriod; in importCfRule()
327 maModel.mnTimePeriod = XML_lastWeek; in importCfRule()
331 maModel.mnType = XML_timePeriod; in importCfRule()
332 maModel.mnTimePeriod = XML_thisMonth; in importCfRule()
335 … OSL_ENSURE( maModel.mbAboveAverage, "CondFormatRule::importCfRule - wrong above-average flag" ); in importCfRule()
336 maModel.mnType = XML_aboveAverage; in importCfRule()
337 maModel.mnStdDev = nOperator; // operator field used for standard deviation in importCfRule()
338 maModel.mbAboveAverage = true; in importCfRule()
339 maModel.mbEqualAverage = false; // does not exist as real flag... in importCfRule()
342 … OSL_ENSURE( !maModel.mbAboveAverage, "CondFormatRule::importCfRule - wrong above-average flag" ); in importCfRule()
343 maModel.mnType = XML_aboveAverage; in importCfRule()
344 maModel.mnStdDev = nOperator; // operator field used for standard deviation in importCfRule()
345 maModel.mbAboveAverage = false; in importCfRule()
346 maModel.mbEqualAverage = false; // does not exist as real flag... in importCfRule()
350 maModel.mnType = XML_duplicateValues; in importCfRule()
353 … OSL_ENSURE( maModel.mbAboveAverage, "CondFormatRule::importCfRule - wrong above-average flag" ); in importCfRule()
354 maModel.mnType = XML_aboveAverage; in importCfRule()
355 maModel.mnStdDev = nOperator; // operator field used for standard deviation in importCfRule()
356 maModel.mbAboveAverage = true; in importCfRule()
357 maModel.mbEqualAverage = true; // does not exist as real flag... in importCfRule()
360 … OSL_ENSURE( !maModel.mbAboveAverage, "CondFormatRule::importCfRule - wrong above-average flag" ); in importCfRule()
361 maModel.mnType = XML_aboveAverage; in importCfRule()
362 maModel.mnStdDev = nOperator; // operator field used for standard deviation in importCfRule()
363 maModel.mbAboveAverage = false; in importCfRule()
364 maModel.mbEqualAverage = true; // does not exist as real flag... in importCfRule()
371 maModel.mnType = XML_colorScale; in importCfRule()
376 maModel.mnType = XML_dataBar; in importCfRule()
380 maModel.mnType = XML_top10; in importCfRule()
381 maModel.mnRank = nOperator; // operator field used for rank value in importCfRule()
386 maModel.mnType = XML_iconSet; in importCfRule()
402 maModel.mnType = STATIC_ARRAY_SELECT( spnTypeIds, nType, XML_TOKEN_INVALID ); in importCfRule()
404 maModel.setBiffOperator( nOperator ); in importCfRule()
405 maModel.mnPriority = nPriority; in importCfRule()
406 maModel.mbStopIfTrue = true; in importCfRule()
408 DxfRef xDxf = getStyles().createDxf( &maModel.mnDxfId ); in importCfRule()
418 maModel.maFormulas.push_back( aTokens ); in importCfRule()
422 maModel.maFormulas.push_back( aTokens ); in importCfRule()
450 switch( maModel.mnType ) in finalizeImport()
453 eOperator = CondFormatBuffer::convertToApiOperator( maModel.mnOperator ); in finalizeImport()
459 …OSL_ENSURE( maModel.mnOperator == XML_containsText, "CondFormatRule::finalizeImport - unexpected o… in finalizeImport()
464 …OSL_ENSURE( maModel.mnOperator == XML_notContains, "CondFormatRule::finalizeImport - unexpected op… in finalizeImport()
468 …OSL_ENSURE( maModel.mnOperator == XML_beginsWith, "CondFormatRule::finalizeImport - unexpected ope… in finalizeImport()
472 …OSL_ENSURE( maModel.mnOperator == XML_endsWith, "CondFormatRule::finalizeImport - unexpected opera… in finalizeImport()
476 switch( maModel.mnTimePeriod ) in finalizeImport()
525 if( maModel.mbPercent ) in finalizeImport()
531 if( maModel.mnStdDev == 0 ) in finalizeImport()
557 aText = FormulaProcessorBase::generateApiString( maModel.maText ); in finalizeImport()
562 OUString::valueOf( maModel.maText.getLength() ) ); in finalizeImport()
566 OUString::valueOf( maModel.mnRank ) ); in finalizeImport()
570 OUString::valueOf( static_cast< sal_Int32 >( maModel.mbBottom ? 1 : 0 ) ) ); in finalizeImport()
574 aComp = maModel.mbAboveAverage ? in finalizeImport()
575 … (maModel.mbEqualAverage ? CREATE_OUSTRING( ">=" ) : CREATE_OUSTRING( ">" )) : in finalizeImport()
576 … (maModel.mbEqualAverage ? CREATE_OUSTRING( "<=" ) : CREATE_OUSTRING( "<" )); in finalizeImport()
585 maModel.maFormulas.clear(); in finalizeImport()
590 if( rxEntries.is() && (eOperator != ConditionOperator_NONE) && !maModel.maFormulas.empty() ) in finalizeImport()
595 lclAppendProperty( aProps, CREATE_OUSTRING( "Formula1" ), maModel.maFormulas[ 0 ] ); in finalizeImport()
596 if( maModel.maFormulas.size() >= 2 ) in finalizeImport()
597 lclAppendProperty( aProps, CREATE_OUSTRING( "Formula2" ), maModel.maFormulas[ 1 ] ); in finalizeImport()
600 OUString aStyleName = getStyles().createDxfStyle( maModel.mnDxfId ); in finalizeImport()
631 …getAddressConverter().convertToCellRangeList( maModel.maRanges, rAttribs.getString( XML_sqref, OUS… in importConditionalFormatting()
632 maModel.mbPivot = rAttribs.getBool( XML_pivot, false ); in importConditionalFormatting()
648 … getAddressConverter().convertToCellRangeList( maModel.maRanges, aRanges, getSheetIndex(), true ); in importCondFormatting()
666 … getAddressConverter().convertToCellRangeList( maModel.maRanges, aRanges, getSheetIndex(), true ); in importCfHeader()
681 … Reference< XSheetCellRanges > xRanges( getCellRangeList( maModel.maRanges ), UNO_SET_THROW ); in finalizeImport()