Lines Matching refs:mrModel

142         aAxisProp.setProperty( PROP_Show, !mrModel.mbDeleted );  in convertFromModel()
147 aAxisProp.setProperty( PROP_DisplayLabels, mrModel.mnTickLabelPos != XML_none ); in convertFromModel()
148 aAxisProp.setProperty( PROP_LabelPosition, lclGetLabelPosition( mrModel.mnTickLabelPos ) ); in convertFromModel()
151mrModel.mxShapeProp.getOrCreate().getLineProperties().maLineFill.moFillType = XML_noFill; in convertFromModel()
153 …rFormatter.convertFormatting( aAxisProp, mrModel.mxShapeProp, mrModel.mxTextProp, OBJECTTYPE_AXIS … in convertFromModel()
155 rFormatter.convertTextRotation( aAxisProp, mrModel.mxTextProp, true ); in convertFromModel()
158 aAxisProp.setProperty( PROP_MajorTickmarks, lclGetTickMark( mrModel.mnMajorTickMark ) ); in convertFromModel()
159 aAxisProp.setProperty( PROP_MinorTickmarks, lclGetTickMark( mrModel.mnMinorTickMark ) ); in convertFromModel()
164 aGridProp.setProperty( PROP_Show, mrModel.mxMajorGridLines.is() ); in convertFromModel()
165 if( mrModel.mxMajorGridLines.is() ) in convertFromModel()
166 …rFormatter.convertFrameFormatting( aGridProp, mrModel.mxMajorGridLines, OBJECTTYPE_MAJORGRIDLINE ); in convertFromModel()
173 aSubGridProp.setProperty( PROP_Show, mrModel.mxMinorGridLines.is() ); in convertFromModel()
174 if( mrModel.mxMinorGridLines.is() ) in convertFromModel()
175 …rFormatter.convertFrameFormatting( aSubGridProp, mrModel.mxMinorGridLines, OBJECTTYPE_MINORGRIDLIN… in convertFromModel()
187 … OSL_ENSURE( (mrModel.mnTypeId == C_TOKEN( catAx )) || (mrModel.mnTypeId == C_TOKEN( dateAx )), in convertFromModel()
189 bool bDateAxis = mrModel.mnTypeId == C_TOKEN( dateAx ); in convertFromModel()
193 …aScaleData.AxisType = (bDateAxis && !mrModel.mbAuto) ? cssc2::AxisType::DATE : cssc2::AxisType::CA… in convertFromModel()
194 aScaleData.AutoDateAxis = mrModel.mbAuto; in convertFromModel()
199 …OSL_ENSURE( mrModel.mnTypeId == C_TOKEN( valAx ), "AxisConverter::convertFromModel - unexpected ax… in convertFromModel()
204 …OSL_ENSURE( mrModel.mnTypeId == C_TOKEN( valAx ), "AxisConverter::convertFromModel - unexpected ax… in convertFromModel()
208 …OSL_ENSURE( mrModel.mnTypeId == C_TOKEN( serAx ), "AxisConverter::convertFromModel - unexpected ax… in convertFromModel()
225 if( mrModel.mnTypeId == C_TOKEN( dateAx ) ) in convertFromModel()
230 lclSetValueOrClearAny( aScaleData.Minimum, mrModel.mofMin ); in convertFromModel()
231 lclSetValueOrClearAny( aScaleData.Maximum, mrModel.mofMax ); in convertFromModel()
233 …vertTimeInterval( aScaleData.TimeIncrement.MajorTimeInterval, mrModel.mofMajorUnit, mrModel.mnMajo… in convertFromModel()
234 …vertTimeInterval( aScaleData.TimeIncrement.MinorTimeInterval, mrModel.mofMinorUnit, mrModel.mnMino… in convertFromModel()
236 if( mrModel.monBaseTimeUnit.has() ) in convertFromModel()
237 … aScaleData.TimeIncrement.TimeResolution <<= lclGetApiTimeUnit( mrModel.monBaseTimeUnit.get() ); in convertFromModel()
244 aAxisProp.setProperty( PROP_TextOverlap, mrModel.mnTickLabelSkip == 1 ); in convertFromModel()
257 bool bLogScale = lclIsLogarithmicScale( mrModel ); in convertFromModel()
263 lclSetValueOrClearAny( aScaleData.Minimum, mrModel.mofMin ); in convertFromModel()
264 lclSetValueOrClearAny( aScaleData.Maximum, mrModel.mofMax ); in convertFromModel()
267 if( mrModel.mofMajorUnit.has() && aScaleData.Scaling.is() ) in convertFromModel()
268 … rIncrementData.Distance <<= aScaleData.Scaling->doScaling( mrModel.mofMajorUnit.get() ); in convertFromModel()
270 lclSetValueOrClearAny( rIncrementData.Distance, mrModel.mofMajorUnit ); in convertFromModel()
278 if( mrModel.mofMinorUnit.has() ) in convertFromModel()
281 …lse if( mrModel.mofMajorUnit.has() && mrModel.mofMinorUnit.has() && (0.0 < mrModel.mofMinorUnit.ge… in convertFromModel()
283 double fCount = mrModel.mofMajorUnit.get() / mrModel.mofMinorUnit.get() + 0.5; in convertFromModel()
304 bool bReverse = (mrModel.mnOrientation == XML_maxMin) != bMirrorDirection; in convertFromModel()
313 getFormatter().convertNumberFormat( aAxisProp, mrModel.maNumberFormat ); in convertFromModel()
317 bool bManualCrossing = mrModel.mofCrossesAt.has(); in convertFromModel()
319 if( !bManualCrossing ) switch( mrModel.mnCrossMode ) in convertFromModel()
329 …double fCrossingPos = bManualCrossing ? mrModel.mofCrossesAt.get() : (bCrossingLogScale ? 1.0 : 0.… in convertFromModel()
335 … if( mrModel.mxTitle.is() && (rTypeGroup.getTypeInfo().meTypeCategory != TYPECATEGORY_RADAR) ) in convertFromModel()
338 TitleConverter aTitleConv( *this, *mrModel.mxTitle ); in convertFromModel()