Lines Matching refs:pStyle
226 const SvXMLStyleContext *pStyle; member in SvXMLStyleIndex_Impl
233 pStyle ( 0 ) in SvXMLStyleIndex_Impl()
240 pStyle ( pStl ) in SvXMLStyleIndex_Impl()
246 const SvXMLStyleContext *GetStyle() const { return pStyle; } in GetStyle()
301 inline void AddStyle( SvXMLStyleContext *pStyle );
324 SvXMLStyleContext *pStyle = aStyles.GetObject(0); in ~SvXMLStylesContext_Impl() local
326 pStyle->ReleaseRef(); in ~SvXMLStylesContext_Impl()
330 inline void SvXMLStylesContext_Impl::AddStyle( SvXMLStyleContext *pStyle ) in AddStyle() argument
332 aStyles.Insert( pStyle, aStyles.Count() ); in AddStyle()
333 pStyle->AddRef(); in AddStyle()
344 SvXMLStyleContext *pStyle = aStyles.GetObject(0); in Clear() local
346 pStyle->ReleaseRef(); in Clear()
355 const SvXMLStyleContext *pStyle = 0; in FindStyleChildContext() local
385 pStyle = pIndices->GetObject( nPos )->GetStyle(); in FindStyleChildContext()
389 for( sal_uInt32 i=0; !pStyle && i < aStyles.Count(); i++ ) in FindStyleChildContext()
394 pStyle = pS; in FindStyleChildContext()
397 return pStyle; in FindStyleChildContext()
429 SvXMLStyleContext *pStyle = NULL; in CreateStyleChildContext() local
433 pStyle = GetImport().GetDataStylesImport()->CreateChildContext(GetImport(), p_nPrefix, in CreateStyleChildContext()
437 if (!pStyle) in CreateStyleChildContext()
463 pStyle = XML_TOK_STYLE_STYLE==nToken in CreateStyleChildContext()
476 pStyle = new PageStyleContext( GetImport(), p_nPrefix, in CreateStyleChildContext()
481 pStyle = new SvxXMLListStyleContext( GetImport(), p_nPrefix, in CreateStyleChildContext()
485 pStyle = new SvxXMLListStyleContext( GetImport(), p_nPrefix, in CreateStyleChildContext()
490 pStyle = new XMLFootnoteConfigurationImportContext(GetImport(), in CreateStyleChildContext()
496 pStyle = new SvXMLStyleContext( GetImport(), nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
502 pStyle = new XMLIndexBibliographyConfigurationContext( in CreateStyleChildContext()
506 pStyle = new SvXMLStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
512 pStyle = new XMLLineNumberingImportContext( in CreateStyleChildContext()
516 pStyle = new SvXMLStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
525 pStyle = new XMLGradientStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
530 pStyle = new XMLHatchStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
535 pStyle = new XMLBitmapStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
540 pStyle = new XMLTransGradientStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
545 pStyle = new XMLMarkerStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
550 pStyle = new XMLDashStyleContext( GetImport(), p_nPrefix, rLocalName, xAttrList ); in CreateStyleChildContext()
556 return pStyle; in CreateStyleChildContext()
563 SvXMLStyleContext *pStyle = 0; in CreateStyleStyleChildContext() local
570 pStyle = new XMLTextStyleContext( GetImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext()
575 pStyle = new XMLPropStyleContext( GetImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext()
579 pStyle = new XMLChartStyleContext( GetImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext()
586 pStyle = new XMLShapeStyleContext( GetImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext()
590 return pStyle; in CreateStyleStyleChildContext()
869 SvXMLStyleContext *pStyle = in CreateChildContext() local
872 if( pStyle ) in CreateChildContext()
874 if( !pStyle->IsTransient() ) in CreateChildContext()
875 mpImpl->AddStyle( pStyle ); in CreateChildContext()
876 pContext = pStyle; in CreateChildContext()
907 SvXMLStyleContext *pStyle = GetStyle( i ); in CopyAutoStylesToDoc() local
908 if( !pStyle || ( pStyle->GetFamily() != XML_STYLE_FAMILY_TEXT_TEXT && in CopyAutoStylesToDoc()
909 pStyle->GetFamily() != XML_STYLE_FAMILY_TEXT_PARAGRAPH && in CopyAutoStylesToDoc()
910 pStyle->GetFamily() != XML_STYLE_FAMILY_TABLE_CELL ) ) in CopyAutoStylesToDoc()
912 pStyle->CreateAndInsert( sal_False ); in CopyAutoStylesToDoc()
925 SvXMLStyleContext *pStyle = GetStyle( i ); in CopyStylesToDoc() local
926 if( !pStyle ) in CopyStylesToDoc()
929 if (pStyle->IsDefaultStyle()) in CopyStylesToDoc()
930 pStyle->SetDefaults(); in CopyStylesToDoc()
931 else if( InsertStyleFamily( pStyle->GetFamily() ) ) in CopyStylesToDoc()
932 pStyle->CreateAndInsert( bOverwrite ); in CopyStylesToDoc()
938 SvXMLStyleContext *pStyle = GetStyle( i ); in CopyStylesToDoc() local
939 if( !pStyle || pStyle->IsDefaultStyle()) in CopyStylesToDoc()
942 if( InsertStyleFamily( pStyle->GetFamily() ) ) in CopyStylesToDoc()
943 pStyle->CreateAndInsertLate( bOverwrite ); in CopyStylesToDoc()
956 SvXMLStyleContext *pStyle = GetStyle( i ); in FinishStyles() local
957 if( !pStyle || !pStyle->IsValid() || pStyle->IsDefaultStyle() ) in FinishStyles()
960 if( InsertStyleFamily( pStyle->GetFamily() ) ) in FinishStyles()
961 pStyle->Finish( bOverwrite ); in FinishStyles()