Home
last modified time | relevance | path

Searched refs:pStyleSheet (Results 1 – 25 of 87) sorted by relevance

1234

/trunk/main/sd/source/ui/func/
H A Dfutempl.cxx120 SfxStyleSheetBase* pStyleSheet = NULL; in DoExecute() local
225 if( pStyleSheet ) in DoExecute()
227 pSSPool->Remove( pStyleSheet ); in DoExecute()
242 if ( pStyleSheet && pStyleSheet->GetFamily() != SD_STYLE_FAMILY_PSEUDO ) in DoExecute()
281 if( pStyleSheet && pStyleSheet->GetFamily() != SD_STYLE_FAMILY_PSEUDO ) in DoExecute()
313 if( pStyleSheet ) in DoExecute()
603 pSSPool->Remove( pStyleSheet ); in DoExecute()
617 if( pStyleSheet ) in DoExecute()
619 nRetMask = pStyleSheet->GetMask(); in DoExecute()
628 if( pOldStyle != pStyleSheet ) in DoExecute()
[all …]
H A Dfupage.cxx259 SdStyleSheet* pStyleSheet = mpPage->getPresentationStyle(HID_PSEUDOSHEET_BACKGROUND); in ExecuteDialog() local
266 if(pStyleSheet) in ExecuteDialog()
267 mergeItemSetsImpl( aMergedAttr, pStyleSheet->GetItemSet() ); in ExecuteDialog()
281 if(pStyleSheet in ExecuteDialog()
286 mergeItemSetsImpl(aMergedAttr, pStyleSheet->GetItemSet()); in ExecuteDialog()
334 pStyleSheet->AdjustToFontHeight(*pTempSet); in ExecuteDialog()
404 …StyleSheetUndoAction* pAction = new StyleSheetUndoAction(mpDoc, (SfxStyleSheet*)pStyleSheet, &(*pT… in ExecuteDialog()
406 pStyleSheet->GetItemSet().Put( *(pTempSet.get()) ); in ExecuteDialog()
407 sdr::properties::CleanupFillProperties( pStyleSheet->GetItemSet() ); in ExecuteDialog()
408 pStyleSheet->Broadcast(SfxSimpleHint(SFX_HINT_DATACHANGED)); in ExecuteDialog()
[all …]
H A Dfuprobjs.cxx149 SfxStyleSheetBase* pStyleSheet = pStyleSheetPool->Find( aStyleName, SD_STYLE_FAMILY_MASTERPAGE ); in DoExecute() local
150 DBG_ASSERT(pStyleSheet, "StyleSheet nicht gefunden"); in DoExecute()
152 if( pStyleSheet ) in DoExecute()
154 SfxStyleSheetBase& rStyleSheet = *pStyleSheet; in DoExecute()
163 (mpDoc, (SfxStyleSheet*)pStyleSheet, in DoExecute()
167 pStyleSheet->GetItemSet().Put( *pOutSet ); in DoExecute()
168 ( (SfxStyleSheet*) pStyleSheet )->Broadcast( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); in DoExecute()
/trunk/main/sc/source/ui/view/
H A Dformatsh.cxx207 if ( pStyleSheet ) in GetStyleState()
221 if ( pStyleSheet ) in GetStyleState()
347 if ( pStyleSheet && pStyleSheet->HasParentSupport() ) in ExecuteStyle()
406 if ( pStyleSheet ) in ExecuteStyle()
447 if ( pStyleSheet ) in ExecuteStyle()
519 if ( pStyleSheet && pSheetInUse && pStyleSheet == pSheetInUse ) in ExecuteStyle()
523 if ( pStyleSheet ) in ExecuteStyle()
562 if ( pStyleSheet ) in ExecuteStyle()
601 if ( pStyleSheet ) in ExecuteStyle()
664 if ( pStyleSheet ) in ExecuteStyle()
[all …]
H A Dprevwsh.cxx219 SfxStyleSheetBase* pStyleSheet = pStylePool->Find( in GetOptimalSizePixel() local
223 DBG_ASSERT( pStyleSheet, "PageStyle not found :-/" ); in GetOptimalSizePixel()
225 if ( pStyleSheet ) in GetOptimalSizePixel()
227 const SfxItemSet& rSet = pStyleSheet->GetItemSet(); in GetOptimalSizePixel()
283 SfxStyleSheetBase* pStyleSheet = pStylePool->Find( pDoc->GetPageStyle( nTab ), in UpdateScrollBars() local
285 DBG_ASSERT(pStyleSheet,"StyleSheet nicht gefunden"); in UpdateScrollBars()
286 if (!pStyleSheet) return; in UpdateScrollBars()
287 const SfxItemSet* pParamSet = &pStyleSheet->GetItemSet(); in UpdateScrollBars()
694 DBG_ASSERT( pStyleSheet, "PageStyle not found! :-/" ); in Execute()
699 SfxItemSet& rSet = pStyleSheet->GetItemSet(); in Execute()
[all …]
H A Dpreview.cxx750 if ( pStyleSheet ) in lcl_GetDocPageSize()
752 SfxItemSet& rStyleSet = pStyleSheet->GetItemSet(); in lcl_GetDocPageSize()
1032 if ( pStyleSheet ) in MouseButtonUp()
1036 aOldData.InitFromStyle( pStyleSheet ); in MouseButtonUp()
1038 SfxItemSet& rStyleSet = pStyleSheet->GetItemSet(); in MouseButtonUp()
1077 aNewData.InitFromStyle( pStyleSheet ); in MouseButtonUp()
1123 DBG_ASSERT( pStyleSheet, "PageStyle not found" ); in MouseButtonUp()
1124 if ( pStyleSheet ) in MouseButtonUp()
1129 aOldData.InitFromStyle( pStyleSheet ); in MouseButtonUp()
1131 SfxItemSet& rStyleSet = pStyleSheet->GetItemSet(); in MouseButtonUp()
[all …]
H A Dviewfunc.cxx1456 if ( !pStyleSheet) return; in SetStyleSheetToMarked()
1491 String aName = pStyleSheet->GetName(); in SetStyleSheetToMarked()
1496 pDoc->ApplySelectionStyle( (ScStyleSheet&)*pStyleSheet, aFuncMark ); in SetStyleSheetToMarked()
1524 String aName = pStyleSheet->GetName(); in SetStyleSheetToMarked()
1531 pDoc->ApplyStyle( nCol, nRow, i, (ScStyleSheet&)*pStyleSheet ); in SetStyleSheetToMarked()
1544 void ScViewFunc::RemoveStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet ) in RemoveStyleSheetInUse() argument
1546 if ( !pStyleSheet) return; in RemoveStyleSheetInUse()
1557 pDoc->StyleSheetChanged( pStyleSheet, sal_True, &aVirtDev, in RemoveStyleSheetInUse()
1571 void ScViewFunc::UpdateStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet ) in UpdateStyleSheetInUse() argument
1573 if ( !pStyleSheet) return; in UpdateStyleSheetInUse()
[all …]
H A Dtabvwsha.cxx297 SfxStyleSheetBase* pStyleSheet = pStylePool->Find( aStyleName, in GetState() local
299 DBG_ASSERT( pStyleSheet, "PageStyle not found" ); in GetState()
300 if ( pStyleSheet ) in GetState()
302 SfxItemSet& rStyleSet = pStyleSheet->GetItemSet(); in GetState()
/trunk/main/sd/source/ui/dlg/
H A Dunchss.cxx59 pStyleSheet = pTheStyleSheet; in StyleSheetUndoAction()
67 pTheDoc->MigrateItemSet( &pStyleSheet->GetItemSet(), pOldSet, pTheDoc ); in StyleSheetUndoAction()
70 String aName(pStyleSheet->GetName()); in StyleSheetUndoAction()
128 pStyleSheet->GetItemSet().Set(aNewSet); in Undo()
129 if( pStyleSheet->GetFamily() == SD_STYLE_FAMILY_PSEUDO ) in Undo()
130 …( (SdStyleSheet*)pStyleSheet )->GetRealStyleSheet()->Broadcast(SfxSimpleHint(SFX_HINT_DATACHANGED)… in Undo()
132 pStyleSheet->Broadcast(SfxSimpleHint(SFX_HINT_DATACHANGED)); in Undo()
146 pStyleSheet->GetItemSet().Set(aNewSet); in Redo()
147 if( pStyleSheet->GetFamily() == SD_STYLE_FAMILY_PSEUDO ) in Redo()
148 …( (SdStyleSheet*)pStyleSheet )->GetRealStyleSheet()->Broadcast(SfxSimpleHint(SFX_HINT_DATACHANGED)… in Redo()
[all …]
/trunk/main/sc/source/ui/docshell/
H A Ddocsh4.cxx1285 ScStyleSheet* pStyleSheet = in DoAutoStyle() local
1287 if (!pStyleSheet) in DoAutoStyle()
1288 pStyleSheet = (ScStyleSheet*) in DoAutoStyle()
1290 if (pStyleSheet) in DoAutoStyle()
1385 if ( pStyleSheet ) in SetPrintZoom()
1420 if ( pStyleSheet ) in AdjustPrintZoom()
1549 SfxStyleSheetBase* pStyleSheet in ExecutePageStyle() local
1554 if ( pStyleSheet ) in ExecutePageStyle()
1634 if ( pStyleSheet ) in ExecutePageStyle()
1780 if ( pStyleSheet ) in GetStatePageStyle()
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrviewsc.cxx567 SfxStyleSheet* pStyleSheet = mpDrawView->GetStyleSheet(); in FuTemp03() local
568 if( pStyleSheet && pStyleSheet->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) in FuTemp03()
569 pStyleSheet = ((SdStyleSheet*)pStyleSheet)->GetPseudoStyleSheet(); in FuTemp03()
571 if( (pStyleSheet == NULL) && GetView()->IsTextEdit() ) in FuTemp03()
575 pStyleSheet = mpDrawView->GetStyleSheet(); in FuTemp03()
576 if(pStyleSheet && pStyleSheet->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) in FuTemp03()
577 pStyleSheet = ((SdStyleSheet*)pStyleSheet)->GetPseudoStyleSheet(); in FuTemp03()
580 if( pStyleSheet == NULL ) in FuTemp03()
588 SfxStringItem aStyleNameItem( SID_STYLE_EDIT, pStyleSheet->GetName() ); in FuTemp03()
591 SfxUInt16Item aStyleFamilyItem( SID_STYLE_FAMILY, (sal_uInt16)pStyleSheet->GetFamily() ); in FuTemp03()
H A Dviewshe3.cxx112 SfxStyleSheet* pStyleSheet = pDrView->GetStyleSheet(); in GetMenuState() local
113 if( pStyleSheet ) in GetMenuState()
115 if (pStyleSheet->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) in GetMenuState()
116 pStyleSheet = ((SdStyleSheet*)pStyleSheet)->GetPseudoStyleSheet(); in GetMenuState()
118 if( pStyleSheet ) in GetMenuState()
120 SfxStyleFamily eFamily = pStyleSheet->GetFamily(); in GetMenuState()
H A Ddrviewsf.cxx464 SfxStyleSheet* pStyleSheet = mpDrawView->GetStyleSheet(); in GetAttrState() local
465 if( pStyleSheet ) in GetAttrState()
474 if (pStyleSheet->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) in GetAttrState()
475 pStyleSheet = ((SdStyleSheet*)pStyleSheet)->GetPseudoStyleSheet(); in GetAttrState()
477 if( pStyleSheet ) in GetAttrState()
479 SfxStyleFamily eFamily = pStyleSheet->GetFamily(); in GetAttrState()
485 SfxTemplateItem aTmpItem ( nWhich, pStyleSheet->GetName() ); in GetAttrState()
H A Dsdview.cxx714 sal_Bool View::SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr) in SetStyleSheet() argument
717 return FmFormView::SetStyleSheet(pStyleSheet, bDontRemoveHardAttr); in SetStyleSheet()
1294 SfxStyleSheet* pStyleSheet = 0; in OnEndPasteOrDrop() local
1298 pStyleSheet = pPage->GetStyleSheetForPresObj(eKind); in OnEndPasteOrDrop()
1300 pStyleSheet = pTextObj->GetStyleSheet(); in OnEndPasteOrDrop()
1315 String aStyleSheetName( pStyleSheet->GetName() ); in OnEndPasteOrDrop()
1318 …pStyle = static_cast<SfxStyleSheet*>( pStylePool->Find( aStyleSheetName, pStyleSheet->GetFamily() … in OnEndPasteOrDrop()
1323 pStyle = pStyleSheet; in OnEndPasteOrDrop()
1333 pOutliner->SetStyleSheet( nPara, pStyleSheet ); in OnEndPasteOrDrop()
H A Doutlview.cxx908 SfxStyleSheet* pStyleSheet = NULL; in IMPL_LINK() local
915 pStyleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_TITLE ); in IMPL_LINK()
919 pStyleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_TEXT ); in IMPL_LINK()
923 pStyleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_OUTLINE ); in IMPL_LINK()
927 String aNewStyleSheetName( pStyleSheet->GetName() ); in IMPL_LINK()
931pStyleSheet = (SfxStyleSheet*) pStylePool->Find( aNewStyleSheetName, pStyleSheet->GetFamily() ); in IMPL_LINK()
939 pOutliner->SetStyleSheet( nPara, pStyleSheet ); in IMPL_LINK()
2101 SdStyleSheet* pStyleSheet = dynamic_cast< SdStyleSheet* >( mpOutliner->GetStyleSheet( nPara ) ); in OnEndPasteOrDrop() local
2102 if( pStyleSheet ) in OnEndPasteOrDrop()
2104 const OUString aName( pStyleSheet->GetApiName() ); in OnEndPasteOrDrop()
H A Ddrtxtob1.cxx156 SfxStyleSheet* pStyleSheet = NULL; in Execute() local
158 pStyleSheet = pOLV->GetOutliner()->GetStyleSheet(nPara); in Execute()
159 if (pStyleSheet != NULL) in Execute()
161 SfxItemSet aAttr( pStyleSheet->GetItemSet() ); in Execute()
H A Doutlnvsh.cxx1687 SfxStyleSheet* pStyleSheet = pOlView->GetViewByWindow(GetActiveWindow())->GetStyleSheet(); in GetAttrState() local
1689 if( pStyleSheet ) in GetAttrState()
1691 pStyleSheet = ((SdStyleSheet*)pStyleSheet)->GetPseudoStyleSheet(); in GetAttrState()
1693 if (pStyleSheet) in GetAttrState()
1695 SfxTemplateItem aItem( nWhich, pStyleSheet->GetName() ); in GetAttrState()
1700 if( !pStyleSheet ) in GetAttrState()
/trunk/main/sc/source/filter/html/
H A Dhtmlexp.cxx467 SfxStyleSheetBase* pStyleSheet = NULL; in PageDefaults() local
474 pStyleSheet = pStylePool->Find( in PageDefaults()
477 DBG_ASSERT( pStyleSheet, "ParaStyle not found! :-(" ); in PageDefaults()
478 if (!pStyleSheet) in PageDefaults()
479 pStyleSheet = pStylePool->First(); in PageDefaults()
480 const SfxItemSet& rSetPara = pStyleSheet->GetItemSet(); in PageDefaults()
497 pStyleSheet = pStylePool->Find( pDoc->GetPageStyle( nTab ), SFX_STYLE_FAMILY_PAGE ); in PageDefaults()
498 DBG_ASSERT( pStyleSheet, "PageStyle not found! :-(" ); in PageDefaults()
499 if (!pStyleSheet) in PageDefaults()
500 pStyleSheet = pStylePool->First(); in PageDefaults()
[all …]
H A Dhtmlimp.cxx81 ScStyleSheet* pStyleSheet = (ScStyleSheet*)mpDoc-> in ScHTMLImport() local
83 if ( pStyleSheet ) in ScHTMLImport()
85 const SfxItemSet& rSet = pStyleSheet->GetItemSet(); in ScHTMLImport()
/trunk/main/writerfilter/source/dmapper/
H A DDomainMapperTableHandler.cxx169 PropertyMapPtr lcl_SearchParentStyleSheetAndMergeProperties(const StyleSheetEntryPtr pStyleSheet, S… in lcl_SearchParentStyleSheetAndMergeProperties() argument
172 if( pStyleSheet->sBaseStyleIdentifier.getLength()) in lcl_SearchParentStyleSheetAndMergeProperties()
174 …etEntryPtr pParentStyleSheet = pStyleSheetTable->FindStyleSheetByISTD( pStyleSheet->sBaseStyleIden… in lcl_SearchParentStyleSheetAndMergeProperties()
182 pRet->insert( pStyleSheet->pProperties, true ); in lcl_SearchParentStyleSheetAndMergeProperties()
366 … const StyleSheetEntryPtr pStyleSheet = pStyleSheetTable->FindStyleSheetByISTD( sTableStyleName ); in endTableGetTableStyle() local
367 pTableStyle = dynamic_cast<TableStyleSheetEntry*>( pStyleSheet.get( ) ); in endTableGetTableStyle()
370 if( pStyleSheet ) in endTableGetTableStyle()
378 …apPtr pMergedProperties = lcl_SearchParentStyleSheetAndMergeProperties(pStyleSheet, pStyleSheetTab… in endTableGetTableStyle()
/trunk/main/sd/source/ui/unoidl/
H A Dunoobj.cxx1083 SfxStyleSheet* pStyleSheet = SfxUnoStyleSheet::getUnoStyleSheet( xStyle ); in SetStyleSheet() local
1086 if( pOldStyleSheet != pStyleSheet ) in SetStyleSheet()
1088 …if( pStyleSheet == 0 || (pStyleSheet->GetFamily() != SD_STYLE_FAMILY_GRAPHICS && pStyleSheet->GetF… in SetStyleSheet()
1091 pObj->SetStyleSheet( pStyleSheet, sal_False ); in SetStyleSheet()
1111 SfxStyleSheet* pStyleSheet = pObj->GetStyleSheet(); in GetStyleSheet() local
1114 …if( (pStyleSheet == NULL) || ((pStyleSheet->GetFamily() != SD_STYLE_FAMILY_GRAPHICS) && !mpModel->… in GetStyleSheet()
1117 return Any( uno::Reference< style::XStyle >( dynamic_cast< SfxUnoStyleSheet* >( pStyleSheet ) ) ); in GetStyleSheet()
/trunk/main/svx/source/svdraw/
H A Dsvdpntv.cxx1267 void SdrPaintView::SetDefaultStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr) in SetDefaultStyleSheet() argument
1271 pDefaultStyleSheet=pStyleSheet; in SetDefaultStyleSheet()
1275 if (pStyleSheet!=NULL && !bDontRemoveHardAttr) { in SetDefaultStyleSheet()
1276 SfxWhichIter aIter(pStyleSheet->GetItemSet()); in SetDefaultStyleSheet()
1279 if (pStyleSheet->GetItemSet().GetItemState(nWhich,sal_True)==SFX_ITEM_SET) { in SetDefaultStyleSheet()
1319 sal_Bool SdrPaintView::SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr) in SetStyleSheet() argument
1321 SetDefaultStyleSheet(pStyleSheet,bDontRemoveHardAttr); in SetStyleSheet()
H A Dsvdomeas.cxx1165 SfxStyleSheet* pStyleSheet = GetStyleSheet(); in DoConvertToPolyObj() local
1186 pPath->SetStyleSheet(pStyleSheet, true); in DoConvertToPolyObj()
1205 pPath->SetStyleSheet(pStyleSheet, true); in DoConvertToPolyObj()
1217 pPath->SetStyleSheet(pStyleSheet, true); in DoConvertToPolyObj()
1237 pPath->SetStyleSheet(pStyleSheet, true); in DoConvertToPolyObj()
1249 pPath->SetStyleSheet(pStyleSheet, true); in DoConvertToPolyObj()
1264 pPath->SetStyleSheet(pStyleSheet, true); in DoConvertToPolyObj()
/trunk/main/sc/source/core/data/
H A Ddocumen4.cxx629 SfxStyleSheetBase* pStyleSheet = xPoolHelper->GetStylePool()->Find( in GetEffItem() local
631 if ( pStyleSheet && pStyleSheet->GetItemSet().GetItemState( in GetEffItem()
653 …SfxStyleSheetBase* pStyleSheet = xPoolHelper->GetStylePool()->Find( aStyle, SFX_STYLE_FAMILY_PARA … in GetCondResult() local
654 if ( pStyleSheet ) in GetCondResult()
655 return &pStyleSheet->GetItemSet(); in GetCondResult()
/trunk/main/sd/source/filter/xml/
H A Dsdtransform.cxx233 SfxStyleSheet* pStyleSheet = mrOutliner.GetStyleSheet( nPara ); in transformTextShape() local
235 if( pStyleSheet ) in transformTextShape()
238 SfxItemSet& rStyleSet = pStyleSheet->GetItemSet(); in transformTextShape()

Completed in 167 milliseconds

1234