Lines Matching refs:aLSp
152 style::LineSpacing aLSp; in QueryValue() local
158 aLSp.Mode = style::LineSpacingMode::LEADING; in QueryValue()
159 aLSp.Height = ( bConvert ? (short)TWIP_TO_MM100(nInterLineSpace) : nInterLineSpace); in QueryValue()
163 aLSp.Mode = style::LineSpacingMode::PROP; in QueryValue()
164 aLSp.Height = 100; in QueryValue()
168 aLSp.Mode = style::LineSpacingMode::PROP; in QueryValue()
169 aLSp.Height = nPropLineSpace; in QueryValue()
174 …aLSp.Mode = eLineSpace == SVX_LINE_SPACE_FIX ? style::LineSpacingMode::FIX : style::LineSpacingMod… in QueryValue()
175 aLSp.Height = ( bConvert ? (short)TWIP_TO_MM100_UNSIGNED(nLineHeight) : nLineHeight ); in QueryValue()
183 case 0 : rVal <<= aLSp; break; in QueryValue()
184 case MID_LINESPACE : rVal <<= aLSp.Mode; break; in QueryValue()
185 case MID_HEIGHT : rVal <<= aLSp.Height; break; in QueryValue()
200 style::LineSpacing aLSp; in PutValue() local
202 sal_Bool bRet = QueryValue( aAny, bConvert ? CONVERT_TWIPS : 0 ) && ( aAny >>= aLSp ); in PutValue()
207 case 0 : bRet = (rVal >>= aLSp); break; in PutValue()
208 case MID_LINESPACE : bRet = (rVal >>= aLSp.Mode); break; in PutValue()
209 case MID_HEIGHT : bRet = (rVal >>= aLSp.Height); break; in PutValue()
215 nLineHeight = aLSp.Height; in PutValue()
216 switch( aLSp.Mode ) in PutValue()
222 nInterLineSpace = aLSp.Height; in PutValue()
231 nPropLineSpace = (sal_Int8)std::min(aLSp.Height, (short)0xFF); in PutValue()
232 if(100 == aLSp.Height) in PutValue()
242 … eLineSpace = aLSp.Mode == style::LineSpacingMode::FIX ? SVX_LINE_SPACE_FIX : SVX_LINE_SPACE_MIN; in PutValue()
243 nLineHeight = aLSp.Height; in PutValue()