Lines Matching refs:pAttrList

130     FastAttributeList *pAttrList = m_pSerializer->createAttrList();  in EnterGroup()  local
132 pAttrList->add( XML_id, ShapeIdString( nShapeId ) ); in EnterGroup()
135pAttrList->add( XML_alt, OUStringToOString( OUString( rShapeName ), RTL_TEXTENCODING_UTF8 ) ); in EnterGroup()
142 pAttrList->add( XML_style, aStyle.makeStringAndClear() ); in EnterGroup()
147 pAttrList->add( XML_coordorigin, in EnterGroup()
152 pAttrList->add( XML_coordsize, in EnterGroup()
158 m_pSerializer->startElementNS( XML_v, XML_group, XFastAttributeListRef( pAttrList ) ); in EnterGroup()
178 static void impl_AddArrowHead( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sa… in impl_AddArrowHead() argument
180 if ( !pAttrList ) in impl_AddArrowHead()
195 pAttrList->add( nElement, pArrowHead ); in impl_AddArrowHead()
198 static void impl_AddArrowLength( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, … in impl_AddArrowLength() argument
200 if ( !pAttrList ) in impl_AddArrowLength()
212 pAttrList->add( nElement, pArrowLength ); in impl_AddArrowLength()
215 static void impl_AddArrowWidth( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, s… in impl_AddArrowWidth() argument
217 if ( !pAttrList ) in impl_AddArrowWidth()
229 pAttrList->add( nElement, pArrowWidth ); in impl_AddArrowWidth()
232 static void impl_AddBool( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, bool bV… in impl_AddBool() argument
234 if ( !pAttrList ) in impl_AddBool()
237 pAttrList->add( nElement, bValue? "t": "f" ); in impl_AddBool()
240 static void impl_AddColor( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uI… in impl_AddColor() argument
247 if ( !pAttrList || ( nColor & 0xFF000000 ) ) in impl_AddColor()
280 pAttrList->add( nElement, pColor ); in impl_AddColor()
283 static void impl_AddInt( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt… in impl_AddInt() argument
285 if ( !pAttrList ) in impl_AddInt()
288 pAttrList->add( nElement, OString::valueOf( static_cast< sal_Int32 >( nValue ) ).getStr() ); in impl_AddInt()
514 sax_fastparser::FastAttributeList *pAttrList = m_pSerializer->createAttrList(); in Commit() local
538 pAttrList->add( XML_type, pFillType ); in Commit()
542 impl_AddColor( pAttrList, XML_color, nValue ); in Commit()
545 impl_AddColor( pAttrList, XML_color2, nValue ); in Commit()
548 impl_AddBool( pAttrList, XML_detectmouseclick, nValue ); in Commit()
550 … m_pSerializer->singleElementNS( XML_v, XML_fill, XFastAttributeListRef( pAttrList ) ); in Commit()
571 sax_fastparser::FastAttributeList *pAttrList = m_pSerializer->createAttrList(); in Commit() local
574 impl_AddColor( pAttrList, XML_color, nValue ); in Commit()
577 impl_AddInt( pAttrList, XML_weight, nValue ); in Commit()
597 pAttrList->add( XML_dashstyle, pDashStyle ); in Commit()
601 impl_AddArrowHead( pAttrList, XML_startarrow, nValue ); in Commit()
604 impl_AddArrowHead( pAttrList, XML_endarrow, nValue ); in Commit()
607 impl_AddArrowWidth( pAttrList, XML_startarrowwidth, nValue ); in Commit()
610 impl_AddArrowLength( pAttrList, XML_startarrowlength, nValue ); in Commit()
613 impl_AddArrowWidth( pAttrList, XML_endarrowwidth, nValue ); in Commit()
616 impl_AddArrowLength( pAttrList, XML_endarrowlength, nValue ); in Commit()
628 pAttrList->add( XML_joinstyle, pJoinStyle ); in Commit()
641 pAttrList->add( XML_endcap, pEndCap ); in Commit()
644 … m_pSerializer->singleElementNS( XML_v, XML_stroke, XFastAttributeListRef( pAttrList ) ); in Commit()