/trunk/main/xmloff/source/style/ |
H A D | xmlstyle.cxx | 233 pStyle ( 0 ) in SvXMLStyleIndex_Impl() 240 pStyle ( pStl ) in SvXMLStyleIndex_Impl() 394 pStyle = pS; in FindStyleChildContext() 397 return pStyle; in FindStyleChildContext() 437 if (!pStyle) in CreateStyleChildContext() 556 return pStyle; in CreateStyleChildContext() 590 return pStyle; in CreateStyleStyleChildContext() 872 if( pStyle ) in CreateChildContext() 926 if( !pStyle ) in CopyStylesToDoc() 939 if( !pStyle || pStyle->IsDefaultStyle()) in CopyStylesToDoc() [all …]
|
/trunk/main/xmlscript/source/xmldlg_imexp/ |
H A D | xmldlg_export.cxx | 499 pStyle->addAttribute( in createElement() 504 pStyle->addAttribute( in createElement() 518 pStyle->addAttribute( in createElement() 523 pStyle->addAttribute( in createElement() 528 pStyle->addAttribute( in createElement() 533 pStyle->addAttribute( in createElement() 538 pStyle->addAttribute( in createElement() 553 return pStyle; in createElement() 1261 (rStyle._set & (pStyle->_all & ~pStyle->_set)) == 0) in getStyleId() 1313 return pStyle->_id; in getStyleId() [all …]
|
H A D | xmldlg_impmodels.cxx | 73 pStyle->importBorderStyle( xControlModel ); in endElement() 128 pStyle->importBorderStyle( xControlModel ); in endElement() 206 pStyle->importFontStyle( xControlModel ); in endElement() 260 pStyle->importFontStyle( xControlModel ); in endElement() 332 pStyle->importFontStyle( xControlModel ); in endElement() 510 pStyle->importFontStyle( xControlModel ); in endElement() 596 pStyle->importFontStyle( xControlModel ); in endElement() 684 pStyle->importFontStyle( xControlModel ); in endElement() 775 pStyle->importFontStyle( xControlModel ); in endElement() 2252 pStyle->importTextColorStyle( xProps ); in endElement() [all …]
|
/trunk/main/sfx2/source/dialog/ |
H A D | mgetempl.cxx | 84 aName ( pStyle->GetName() ), in SfxManageStyleSheetPage() 87 nFlags ( pStyle->GetMask() ) in SfxManageStyleSheetPage() 140 pStyle->SetName( aNoName ); in SfxManageStyleSheetPage() 142 aFollow = pStyle->GetFollow(); in SfxManageStyleSheetPage() 229 nMask = pStyle->GetMask(); in SfxManageStyleSheetPage() 295 pStyle = 0; in ~SfxManageStyleSheetPage() 459 pStyle->SetMask( nMask ); in IMPL_LINK_INLINE_END() 495 pStyle->SetName( aName ); in Reset() 501 sCmp = pStyle->GetFollow(); in Reset() 514 sCmp = pStyle->GetParent(); in Reset() [all …]
|
/trunk/main/sd/source/core/ |
H A D | stlfamily.cxx | 90 …if( pStyle && (pStyle->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) && (pStyle->GetName().Equals( aL… in getStyleSheets() 142 …if( pStyle == 0 || (pStyle->GetFamily() != mnFamily) || (&pStyle->GetPool() != mxPool.get()) || (m… in GetValidNewSheet() 145 return pStyle; in GetValidNewSheet() 168 if( pStyle && (pStyle->GetFamily() == mnFamily) && (pStyle->GetApiName() == rName) ) in GetSheetByName() 170 pRet = pStyle; in GetSheetByName() 288 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in getElementNames() 316 if( pStyle && (pStyle->GetFamily() == mnFamily) && ( pStyle->GetApiName() == aName ) ) in hasByName() 351 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in hasElements() 379 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in getCount() 415 if( pStyle && (pStyle->GetFamily() == mnFamily) ) in getByIndex() [all …]
|
/trunk/main/sw/source/ui/app/ |
H A D | docst.cxx | 518 SfxStyleSheetBase *pStyle = 0; in Edit() local 619 if(!pStyle) in Edit() 864 if(pStyle) in Delete() 869 mxBasePool->Remove(pStyle); in Delete() 891 if ( !pStyle ) in ApplyStyles() 962 SwDocStyleSheet* pStyle = in DoWaterCan() local 966 if(!pStyle) return nFamily; in DoWaterCan() 1009 SwDocStyleSheet* pStyle = in UpdateStyle() local 1012 if(!pStyle) in UpdateStyle() 1077 if( pStyle->GetNumRule() && in UpdateStyle() [all …]
|
H A D | docstyle.cxx | 147 if(pStyle) in lcl_FindCharFmt() 151 pStyle->SetPhysical(sal_True); in lcl_FindCharFmt() 188 if(pStyle) in lcl_FindParaFmt() 192 pStyle->SetPhysical(sal_True); in lcl_FindParaFmt() 230 if(pStyle) in lcl_FindFrmFmt() 234 pStyle->SetPhysical(sal_True); in lcl_FindFrmFmt() 269 if(pStyle) in lcl_FindPageDesc() 273 pStyle->SetPhysical(sal_True); in lcl_FindPageDesc() 303 if(pStyle) in lcl_FindNumRule() 2318 if( !pStyle ) in Remove() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | swstylemanager.cxx | 48 { mMap[ StylePool::nameOf(pStyle) ] = pStyle; } in addStyleName() 57 while( pStyle.get() ) in addCompletePool() 60 mMap[ aName ] = pStyle; in addCompletePool() 61 pStyle = pIter->getNext(); in addCompletePool() 130 rpCache->addStyleName( pStyle ); in cacheAutomaticStyle() 131 return pStyle; in cacheAutomaticStyle() 142 if( !pStyle.get() ) in getByName() 150 return pStyle; in getByName() 162 while( pStyle.get() ) in getAllStyles() 164 rStyles.push_back( pStyle ); in getAllStyles() [all …]
|
/trunk/main/xmerge/java/pocketword/src/main/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/ |
H A D | ParagraphTextSegment.java | 46 private TextStyle pStyle; field in ParagraphTextSegment 58 pStyle = style; in ParagraphTextSegment() 86 pStyle = style; in setStyle() 96 return pStyle; in getStyle() 120 if (pStyle != null) { in getData() 121 if (pStyle.getFontColor() != null) { in getData() 130 if (pStyle.isSet(TextStyle.BOLD) && pStyle.getAttribute(TextStyle.BOLD)) { in getData() 134 if (pStyle.isSet(TextStyle.ITALIC) && pStyle.getAttribute(TextStyle.ITALIC)) { in getData() 138 if (pStyle.isSet(TextStyle.UNDERLINE) && pStyle.getAttribute(TextStyle.UNDERLINE)) { in getData() 142 … if (pStyle.isSet(TextStyle.STRIKETHRU) && pStyle.getAttribute(TextStyle.STRIKETHRU)) { in getData() [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winmtf.hxx | 383 { return ( ( aFillColor == pStyle->aFillColor ) && ( bTransparent == pStyle->bTransparent ) ); }; in operator ==() 385 …void operator=( WinMtfFillStyle* pStyle ) { aFillColor = pStyle->aFillColor; bTransparent = pStyle… in operator =() 410 …MtfLineStyle* pStyle ) { return ( ( aLineColor == pStyle->aLineColor ) && ( bTransparent == pStyle… in operator ==() 420 aLineColor = pStyle->aLineColor; in operator =() 422 aLineInfo = pStyle->aLineInfo; in operator =() 491 void* pStyle; member 495 pStyle ( NULL ), in GDIObj() 504 if ( pStyle ) in Delete() 509 delete (WinMtfLineStyle*)pStyle; in Delete() 512 delete (WinMtfFillStyle*)pStyle; in Delete() [all …]
|
H A D | winmtf.cxx | 659 if ( pGDIObj->pStyle ) in SelectObject() 664 maLineStyle = (WinMtfLineStyle*)pGDIObj->pStyle; in SelectObject() 785 if ( pStyle ) in CreateObject() 789 ImplMap( ((WinMtfFontStyle*)pStyle)->aFont ); in CreateObject() 816 vGDIObj[ nIndex ] = new GDIObj( eType, pStyle ); in CreateObject() 826 if ( pStyle ) in CreateObject() 829 ImplMap( ((WinMtfFontStyle*)pStyle)->aFont ); in CreateObject() 850 vGDIObj[ nIndex ] = new GDIObj( eType, pStyle ); in CreateObject() 857 delete (WinMtfLineStyle*)pStyle; in CreateObject() 860 delete (WinMtfFillStyle*)pStyle; in CreateObject() [all …]
|
/trunk/main/sc/source/ui/undo/ |
H A D | undostyl.cxx | 149 SfxStyleSheetBase* pStyle = NULL; in DoChange() local 153 pStyle = pStlPool->Find( rName, eStyleFamily ); in DoChange() 154 DBG_ASSERT( pStyle, "style not found" ); in DoChange() 156 if ( pStyle && !bDelete ) in DoChange() 159 pStyle->SetName( aNewName ); in DoChange() 171 if ( pStyle ) in DoChange() 181 pStlPool->Remove( pStyle ); in DoChange() 188 if ( aNewParent != pStyle->GetParent() ) in DoChange() 189 pStyle->SetParent( aNewParent ); in DoChange() 191 SfxItemSet& rStyleSet = pStyle->GetItemSet(); in DoChange() [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmlfmt.cxx | 401 const SwXStyle* pStyle = 0; in Finish() local 408 if( !pStyle ) in Finish() 411 const SwDoc *pDoc = pStyle->GetDoc(); in Finish() 794 SvXMLStyleContext *pStyle = 0; in CreateStyleStyleChildContext() local 823 return pStyle; in CreateStyleStyleChildContext() 830 SvXMLStyleContext *pStyle = 0; in CreateDefaultStyleStyleChildContext() local 854 return pStyle; in CreateDefaultStyleStyleChildContext() 1105 if( pStyle ) in FindAutomaticStyle() 1110 pStyle->HasMasterPageName() && in FindAutomaticStyle() 1112 pStyle->ConnectPageDesc(); in FindAutomaticStyle() [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit5.cxx | 69 SetStyleSheet( n, pStyle ); in SetStyleSheet() 79 if ( pStyle != pCurStyle ) in SetStyleSheet() 88 if ( pStyle ) in SetStyleSheet() 89 aNewStyleName = pStyle->GetName(); in SetStyleSheet() 94 aNewStyleName, pStyle ? pStyle->GetFamily() : SFX_STYLE_FAMILY_PARA, in SetStyleSheet() 100 if ( pStyle ) in SetStyleSheet() 101 StartListening( *pStyle, sal_False ); in SetStyleSheet() 155 SfxStyleSheet* pStyle = NULL; in Notify() local 167 pStyle = (SfxStyleSheet*)&rBC; in Notify() 171 if ( pStyle ) in Notify() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | styleuno.cxx | 781 if ( pStyle ) in GetObjectByIndex_Impl() 877 if (pStyle) in removeByName() 1191 if (pStyle) in isUserDefined() 1200 if (pStyle) in isInUse() 1209 if (pStyle) in getParentStyle() 1219 if (pStyle) in setParentStyle() 1265 if (pStyle) in getName() 1275 if (pStyle) in setName() 1322 if (pStyle) in GetStyleItemSet_Impl() 1592 if ( pStyle ) in setAllPropertiesToDefault() [all …]
|
/trunk/main/xmloff/source/draw/ |
H A D | ximpstyl.cxx | 1259 if(pStyle && pStyle->ISA(XMLShapeStyleContext)) in EndElement() 1267 … pStyle = pStylesContext->FindStyleChildContext(pStyle->GetFamily(), pStyle->GetParentName()); in EndElement() 1269 if(pStyle && pStyle->ISA(XMLShapeStyleContext)) in EndElement() 1371 const SvXMLStyleContext* pStyle = GetStyle(a); in ImpSetGraphicStyles() local 1373 if(nFamily == pStyle->GetFamily() && pStyle->IsDefaultStyle()) in ImpSetGraphicStyles() 1375 ((SvXMLStyleContext*)pStyle)->SetDefaults(); in ImpSetGraphicStyles() 1385 if(nFamily == pStyle->GetFamily() && !pStyle->IsDefaultStyle()) in ImpSetGraphicStyles() 1476 const SvXMLStyleContext* pStyle = GetStyle(a); in ImpSetGraphicStyles() local 1478 if(pStyle && pStyle->GetName().getLength() && (nFamily == pStyle->GetFamily())) try in ImpSetGraphicStyles() 1524 const SvXMLStyleContext* pStyle = GetStyle(a); in getPageLayouts() local [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterPaneBorderPainter.cxx | 513 if (pStyle.get() == NULL) in PaintBorder() 523 SharedBitmapDescriptor pTop (pStyle->mpTop); in PaintBorder() 524 SharedBitmapDescriptor pTopLeft (pStyle->mpTopLeft); in PaintBorder() 525 SharedBitmapDescriptor pTopRight (pStyle->mpTopRight); in PaintBorder() 526 SharedBitmapDescriptor pLeft (pStyle->mpLeft); in PaintBorder() 527 SharedBitmapDescriptor pRight (pStyle->mpRight); in PaintBorder() 528 SharedBitmapDescriptor pBottomLeft (pStyle->mpBottomLeft); in PaintBorder() 530 SharedBitmapDescriptor pBottom (pStyle->mpBottom); in PaintBorder() 531 SharedBitmapDescriptor pBackground (pStyle->mpBackground); in PaintBorder() 700 ::boost::shared_ptr<RendererPaneStyle> pStyle ( in GetRendererPaneStyle() [all …]
|
H A D | PresenterTheme.cxx | 1044 rValues[0] >>= pStyle->msStyleName; in ProcessPaneStyle() 1060 pStyle->mpFont = rReadContext.ReadFont( in ProcessPaneStyle() 1068 if (pStyle->mpParentStyle.get() != NULL) in ProcessPaneStyle() 1070 pStyle->maInnerBorderSize.Merge(pStyle->mpParentStyle->maInnerBorderSize); in ProcessPaneStyle() 1071 pStyle->maOuterBorderSize.Merge(pStyle->mpParentStyle->maOuterBorderSize); in ProcessPaneStyle() 1079 pStyle->mpParentStyle.get()!=NULL in ProcessPaneStyle() 1087 push_back(pStyle); in ProcessPaneStyle() 1209 >>= pStyle->msStyleName; in ProcessViewStyle() 1233 pStyle->mpFont = pFont; in ProcessViewStyle() 1245 pStyle->mpBackground = pBackground; in ProcessViewStyle() [all …]
|
/trunk/main/xmloff/source/text/ |
H A D | txtimp.cxx | 1298 if( pStyle ) in ConvertStarFonts() 1529 if( pStyle ) in SetStyleAndAttrs() 1618 sal_Bool bApplyNumRules = pStyle && pStyle->IsListStyleSet(); in SetStyleAndAttrs() 1725 !pStyle || !pStyle->IsListStyleSet() ) in SetStyleAndAttrs() 1753 if( pStyle ) in SetStyleAndAttrs() 1952 if ( ( !pStyle || !pStyle->IsListStyleSet() ) && in SetStyleAndAttrs() 2278 if (NULL != pStyle) in SetRuby() 2614 return pStyle; in FindAutoListStyle() 2629 return pStyle; in FindAutoFrameStyle() 2646 return pStyle; in FindSectionStyle() [all …]
|
/trunk/main/reportdesign/source/filter/xml/ |
H A D | xmlStyleImport.cxx | 120 if ( !pStyle ) in FillPropertySet() 124 pStyle = PTR_CAST(SvXMLNumFormatContext,pMyStyles-> in FillPropertySet() 130 if ( pStyle ) in FillPropertySet() 132 m_nNumberFormat = pStyle->GetKey(); in FillPropertySet() 272 SvXMLStyleContext *pStyle = 0; in CreateDefaultStyleStyleChildContext() local 278 pStyle = new XMLGraphicsDefaultStyle( GetImport(), nPrefix, in CreateDefaultStyleStyleChildContext() 282 pStyle = SvXMLStylesContext::CreateDefaultStyleStyleChildContext( nFamily, in CreateDefaultStyleStyleChildContext() 288 return pStyle; in CreateDefaultStyleStyleChildContext() 298 if (!pStyle) in CreateStyleStyleChildContext() 306 pStyle = new OControlStyleContext( GetOwnImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | xistyle.cxx | 1413 pStyle->ReadStyle( rStrm ); in ReadStyle() 1414 (pStyle->IsBuiltin() ? maBuiltinStyles : maUserStyles).Append( pStyle ); in ReadStyle() 1416 maStylesByXf[ pStyle->GetXfId() ] = pStyle; in ReadStyle() 1468 for( XclImpStyle* pStyle = maBuiltinStyles.First(); pStyle; pStyle = maBuiltinStyles.Next() ) in CreateUserStyles() local 1470 …String aStyleName = XclTools::GetBuiltInStyleName( pStyle->GetBuiltinId(), pStyle->GetName(), pSty… in CreateUserStyles() 1481 for( XclImpStyle* pStyle = maUserStyles.First(); pStyle; pStyle = maUserStyles.Next() ) in CreateUserStyles() local 1484 if( pStyle->GetName().Len() > 0 ) in CreateUserStyles() 1489 aCellStyles[ pStyle->GetName() ] = pStyle; in CreateUserStyles() 1496 XclImpStyle* pStyle = *aIt; in CreateUserStyles() local 1855 for( XclImpXFRange* pStyle = rColumn.First(); pStyle; pStyle = rColumn.Next() ) in Finalize() local [all …]
|
/trunk/main/svl/source/items/ |
H A D | style.cxx | 422 ( pStyle->GetFamily() == GetSearchFamily() )) in DoesStyleMatch() 457 if(DoesStyleMatch(pStyle)) in Count() 472 if( DoesStyleMatch(pStyle)) in operator []() 477 return pAktStyle=pStyle; in operator []() 497 if ( DoesStyleMatch( pStyle ) ) in First() 525 if ( DoesStyleMatch( pStyle ) ) in Next() 550 if ( pStyle->GetName().Equals( rStr ) && DoesStyleMatch( pStyle ) ) in Find() 553 return pAktStyle = pStyle; in Find() 636 SfxStyleSheetBase *pStyle = in SetParent() local 639 if(pStyle) in SetParent() [all …]
|
/trunk/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/ |
H A D | DocumentDeserializerImpl.java | 345 ParaStyle pStyle = null; in buildDocument() local 347 pStyle = (ParaStyle)matches[0]; in buildDocument() 350 pStyle = matchParaByText(matches, firstTextRun.makeStyle()); in buildDocument() 359 if (pStyle == null) { in buildDocument() 363 pStyle = p.makeStyle(); in buildDocument() 365 pStyle.setName(newName); in buildDocument() 366 styleCat.add(pStyle); in buildDocument() 370 pStyle = (ParaStyle)matches[0]; in buildDocument() 374 if (pStyle != null) { in buildDocument() 382 if (pStyle == null) in buildDocument() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | patattr.cxx | 88 pStyle ( NULL ) in ScPatternAttr() 104 pStyle ( NULL ) in ScPatternAttr() 110 pStyle ( rPatternAttr.pStyle ) in ScPatternAttr() 128 pPattern->pStyle = pStyle; in Clone() 184 if ( pStyle ) in Store() 1186 pStyle = NULL; in SetStyleSheet() 1199 if (!pStyle) in UpdateStyleSheet() 1205 if (pStyle) in UpdateStyleSheet() 1212 pStyle = NULL; in UpdateStyleSheet() 1219 if ( pStyle ) in StyleToName() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotxat.cxx | 310 SfxStyleSheet* pStyle=PTR_CAST(SfxStyleSheet,pStyleBase); in ImpSetTextStyleSheetListeners() local 312 if (pStyle!=NULL && pStyle!=GetStyleSheet()) { in ImpSetTextStyleSheetListeners() 313 aStyles.Replace(pStyle,nNum); in ImpSetTextStyleSheetListeners() 323 SfxStyleSheet* pStyle=PTR_CAST(SfxStyleSheet,pBroadcast); in ImpSetTextStyleSheetListeners() local 324 … if (pStyle!=NULL && pStyle!=GetStyleSheet()) { // Sonderbehandlung fuer den StyleSheet des Objekts in ImpSetTextStyleSheetListeners() 325 if (aStyles.GetPos(pStyle)==CONTAINER_ENTRY_NOTFOUND) { in ImpSetTextStyleSheetListeners() 326 EndListening(*pStyle); in ImpSetTextStyleSheetListeners() 334 SfxStyleSheet* pStyle=(SfxStyleSheet*)aStyles.GetObject(nNum); in ImpSetTextStyleSheetListeners() local 336 StartListening(*pStyle,sal_True); in ImpSetTextStyleSheetListeners()
|