Lines Matching refs:rAttribs
49 OptValue< bool > lclDecodeBool( const AttributeList& rAttribs, sal_Int32 nToken ) in lclDecodeBool() argument
51 OptValue< OUString > oValue = rAttribs.getString( nToken ); in lclDecodeBool()
59 OptValue< double > lclDecodePercent( const AttributeList& rAttribs, sal_Int32 nToken, double fDefVa… in lclDecodePercent() argument
61 OptValue< OUString > oValue = rAttribs.getString( nToken ); in lclDecodePercent()
69 OptValue< double > lclDecodeOpacity( const AttributeList& rAttribs, sal_Int32 nToken, double fDefVa… in lclDecodeOpacity() argument
71 OptValue< OUString > oValue = rAttribs.getString( nToken ); in lclDecodeOpacity()
97 OptValue< Int32Pair > lclDecodeInt32Pair( const AttributeList& rAttribs, sal_Int32 nToken ) in lclDecodeInt32Pair() argument
99 OptValue< OUString > oValue = rAttribs.getString( nToken ); in lclDecodeInt32Pair()
112 OptValue< DoublePair > lclDecodePercentPair( const AttributeList& rAttribs, sal_Int32 nToken ) in lclDecodePercentPair() argument
114 OptValue< OUString > oValue = rAttribs.getString( nToken ); in lclDecodePercentPair()
150 …HandlerRef ShapeLayoutContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) in onCreateContext() argument
156 OUString aBlockIds = rAttribs.getString( XML_data, OUString() ); in onCreateContext()
173 ClientData& rClientData, const AttributeList& rAttribs ) : in ClientDataContext() argument
177 mrClientData.mnObjType = rAttribs.getToken( XML_ObjectType, XML_TOKEN_INVALID ); in ClientDataContext()
240 ShapeContainer& rShapes, sal_Int32 nElement, const AttributeList& rAttribs ) in createShapeContext() argument
248 return new ShapeTypeContext( rParent, rShapes.createShapeType(), rAttribs ); in createShapeContext()
250 return new GroupShapeContext( rParent, rShapes.createShape< GroupShape >(), rAttribs ); in createShapeContext()
252 return new ShapeContext( rParent, rShapes.createShape< ComplexShape >(), rAttribs ); in createShapeContext()
255 return new ShapeContext( rParent, rShapes.createShape< RectangleShape >(), rAttribs ); in createShapeContext()
257 return new ShapeContext( rParent, rShapes.createShape< EllipseShape >(), rAttribs ); in createShapeContext()
259 return new ShapeContext( rParent, rShapes.createShape< PolyLineShape >(), rAttribs ); in createShapeContext()
267 return new ShapeContext( rParent, rShapes.createShape< ComplexShape >(), rAttribs ); in createShapeContext()
274 …peContext( ContextHandler2Helper& rParent, ShapeType& rShapeType, const AttributeList& rAttribs ) : in ShapeTypeContext() argument
279 bool bHasOspid = rAttribs.hasAttribute( O_TOKEN( spid ) ); in ShapeTypeContext()
280 mrTypeModel.maShapeId = rAttribs.getXString( bHasOspid ? O_TOKEN( spid ) : XML_id, OUString() ); in ShapeTypeContext()
284 mrTypeModel.maShapeName = rAttribs.getXString( XML_id, OUString() ); in ShapeTypeContext()
286 mrTypeModel.moShapeType = rAttribs.getInteger( O_TOKEN( spt ) ); in ShapeTypeContext()
289 mrTypeModel.moCoordPos = lclDecodeInt32Pair( rAttribs, XML_coordorigin ); in ShapeTypeContext()
290 mrTypeModel.moCoordSize = lclDecodeInt32Pair( rAttribs, XML_coordsize ); in ShapeTypeContext()
291 setStyle( rAttribs.getString( XML_style, OUString() ) ); in ShapeTypeContext()
294 mrTypeModel.maStrokeModel.moStroked = lclDecodeBool( rAttribs, XML_stroked ); in ShapeTypeContext()
295 mrTypeModel.maStrokeModel.moColor = rAttribs.getString( XML_strokecolor ); in ShapeTypeContext()
296 mrTypeModel.maStrokeModel.moWeight = rAttribs.getString( XML_strokeweight ); in ShapeTypeContext()
299 mrTypeModel.maFillModel.moFilled = lclDecodeBool( rAttribs, XML_filled ); in ShapeTypeContext()
300 mrTypeModel.maFillModel.moColor = rAttribs.getString( XML_fillcolor ); in ShapeTypeContext()
303 …xtHandlerRef ShapeTypeContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) in onCreateContext() argument
308 mrTypeModel.maStrokeModel.moStroked.assignIfUsed( lclDecodeBool( rAttribs, XML_on ) ); in onCreateContext()
309 … mrTypeModel.maStrokeModel.maStartArrow.moArrowType = rAttribs.getToken( XML_startarrow ); in onCreateContext()
310 … mrTypeModel.maStrokeModel.maStartArrow.moArrowWidth = rAttribs.getToken( XML_startarrowwidth ); in onCreateContext()
311 … mrTypeModel.maStrokeModel.maStartArrow.moArrowLength = rAttribs.getToken( XML_startarrowlength ); in onCreateContext()
312 mrTypeModel.maStrokeModel.maEndArrow.moArrowType = rAttribs.getToken( XML_endarrow ); in onCreateContext()
313 … mrTypeModel.maStrokeModel.maEndArrow.moArrowWidth = rAttribs.getToken( XML_endarrowwidth ); in onCreateContext()
314 … mrTypeModel.maStrokeModel.maEndArrow.moArrowLength = rAttribs.getToken( XML_endarrowlength ); in onCreateContext()
315 mrTypeModel.maStrokeModel.moColor.assignIfUsed( rAttribs.getString( XML_color ) ); in onCreateContext()
316 mrTypeModel.maStrokeModel.moOpacity = lclDecodeOpacity( rAttribs, XML_opacity, 1.0 ); in onCreateContext()
317 mrTypeModel.maStrokeModel.moWeight.assignIfUsed( rAttribs.getString( XML_weight ) ); in onCreateContext()
318 mrTypeModel.maStrokeModel.moDashStyle = rAttribs.getString( XML_dashstyle ); in onCreateContext()
319 mrTypeModel.maStrokeModel.moLineStyle = rAttribs.getToken( XML_linestyle ); in onCreateContext()
320 mrTypeModel.maStrokeModel.moEndCap = rAttribs.getToken( XML_endcap ); in onCreateContext()
321 mrTypeModel.maStrokeModel.moJoinStyle = rAttribs.getToken( XML_joinstyle ); in onCreateContext()
324 mrTypeModel.maFillModel.moFilled.assignIfUsed( lclDecodeBool( rAttribs, XML_on ) ); in onCreateContext()
325 mrTypeModel.maFillModel.moColor.assignIfUsed( rAttribs.getString( XML_color ) ); in onCreateContext()
326 mrTypeModel.maFillModel.moOpacity = lclDecodeOpacity( rAttribs, XML_opacity, 1.0 ); in onCreateContext()
327 mrTypeModel.maFillModel.moColor2 = rAttribs.getString( XML_color2 ); in onCreateContext()
328 mrTypeModel.maFillModel.moOpacity2 = lclDecodeOpacity( rAttribs, XML_opacity2, 1.0 ); in onCreateContext()
329 mrTypeModel.maFillModel.moType = rAttribs.getToken( XML_type ); in onCreateContext()
330 mrTypeModel.maFillModel.moAngle = rAttribs.getInteger( XML_angle ); in onCreateContext()
331 mrTypeModel.maFillModel.moFocus = lclDecodePercent( rAttribs, XML_focus, 0.0 ); in onCreateContext()
332 … mrTypeModel.maFillModel.moFocusPos = lclDecodePercentPair( rAttribs, XML_focusposition ); in onCreateContext()
333 mrTypeModel.maFillModel.moFocusSize = lclDecodePercentPair( rAttribs, XML_focussize ); in onCreateContext()
334 mrTypeModel.maFillModel.moBitmapPath = decodeFragmentPath( rAttribs, O_TOKEN( relid ) ); in onCreateContext()
335 mrTypeModel.maFillModel.moRotate = lclDecodeBool( rAttribs, XML_rotate ); in onCreateContext()
338 mrTypeModel.moGraphicPath = decodeFragmentPath( rAttribs, O_TOKEN( relid ) ); in onCreateContext()
339 mrTypeModel.moGraphicTitle = rAttribs.getString( O_TOKEN( title ) ); in onCreateContext()
345 OptValue< OUString > ShapeTypeContext::decodeFragmentPath( const AttributeList& rAttribs, sal_Int32… in decodeFragmentPath() argument
348 OptValue< OUString > oRelId = rAttribs.getString( nToken ); in decodeFragmentPath()
375 …:ShapeContext( ContextHandler2Helper& rParent, ShapeBase& rShape, const AttributeList& rAttribs ) : in ShapeContext() argument
376 ShapeTypeContext( rParent, rShape, rAttribs ), in ShapeContext()
380 mrShapeModel.maType = rAttribs.getXString( XML_type, OUString() ); in ShapeContext()
382 setPoints( rAttribs.getString( XML_points, OUString() ) ); in ShapeContext()
385 ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) in onCreateContext() argument
391 return new TextBoxContext( *this, mrShapeModel.createTextBox(), rAttribs ); in onCreateContext()
393 return new ClientDataContext( *this, mrShapeModel.createClientData(), rAttribs ); in onCreateContext()
396 return ShapeTypeContext::onCreateContext( nElement, rAttribs ); in onCreateContext()
413 …ShapeContext( ContextHandler2Helper& rParent, GroupShape& rShape, const AttributeList& rAttribs ) : in GroupShapeContext() argument
414 ShapeContext( rParent, rShape, rAttribs ), in GroupShapeContext()
419 …tHandlerRef GroupShapeContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) in onCreateContext() argument
422 ContextHandlerRef xContext = createShapeContext( *this, mrShapes, nElement, rAttribs ); in onCreateContext()
424 return xContext.get() ? xContext : ShapeContext::onCreateContext( nElement, rAttribs ); in onCreateContext()