Home
last modified time | relevance | path

Searched refs:pStyle (Results 26 – 50 of 169) sorted by relevance

1234567

/trunk/main/dbaccess/source/filter/xml/
H A DxmlStyleImport.cxx144 SvXMLNumFormatContext* pStyle = PTR_CAST(SvXMLNumFormatContext,pStyles->FindStyleChildContext( in FillPropertySet() local
146 if ( !pStyle ) in FillPropertySet()
150 pStyle = PTR_CAST(SvXMLNumFormatContext,pMyStyles-> in FillPropertySet()
156 if ( pStyle ) in FillPropertySet()
159 m_nNumberFormat = pStyle->GetKey(); in FillPropertySet()
279 SvXMLStyleContext *pStyle = SvXMLStylesContext::CreateStyleStyleChildContext( nFamily, nPrefix, in CreateStyleStyleChildContext() local
282 if (!pStyle) in CreateStyleStyleChildContext()
289 pStyle = new OTableStyleContext( GetOwnImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext()
295 return pStyle; in CreateStyleStyleChildContext()
/trunk/main/sfx2/source/dialog/
H A Dnewstyle.cxx43 SfxStyleSheetBase* pStyle = rPool.Find( aName, rPool.GetSearchFamily(), SFXSTYLEBIT_ALL ); in IMPL_LINK() local
44 if ( pStyle ) in IMPL_LINK()
46 if ( !pStyle->IsUserDefined() ) in IMPL_LINK()
92 SfxStyleSheetBase *pStyle = rPool.First(); in IMPL_LINK_INLINE_END() local
93 while ( pStyle ) in IMPL_LINK_INLINE_END()
95 aColBox.InsertEntry(pStyle->GetName()); in IMPL_LINK_INLINE_END()
96 pStyle = rPool.Next(); in IMPL_LINK_INLINE_END()
H A Dtempldlg.cxx1212 if( pStyle ) in SelectStyle()
1292 if ( pStyle && pStyle->HasParentSupport() && bEnable ) in EnableTreeDrag()
1312 if(pStyle && pStyle->HasParentSupport() && bTreeDrag ) in FillTreeBox()
1316 while(pStyle) in FillTreeBox()
1319 new StyleTree_Impl(pStyle->GetName(), pStyle->GetParent()); in FillTreeBox()
1456 while( pStyle ) in UpdateStyles_Impl()
1738 if( pStyle ) in Notify()
2251 SfxStyleSheetBase* pStyle = in DeleteHdl() local
2253 if ( pStyle ) in DeleteHdl()
2256 if ( pStyle->IsUsed() ) in DeleteHdl()
[all …]
/trunk/main/xmloff/source/draw/
H A Dximppage.cxx380 const SvXMLStyleContext* pStyle = pStyles->FindStyleChildContext( in SetStyle() local
383 if(pStyle && pStyle->ISA(XMLPropStyleContext)) in SetStyle()
385 XMLPropStyleContext* pPropStyle = (XMLPropStyleContext*)pStyle; in SetStyle()
445 …const SvXMLStyleContext* pStyle = pStyles->FindStyleChildContext( XML_STYLE_FAMILY_SD_PRESENTATION… in SetLayout() local
447 if(pStyle && pStyle->ISA(SdXMLPresentationPageLayoutContext)) in SetLayout()
449 SdXMLPresentationPageLayoutContext* pLayout = (SdXMLPresentationPageLayoutContext*)pStyle; in SetLayout()
507 …const SvXMLStyleContext* pStyle = pAutoStyles ? pAutoStyles->FindStyleChildContext(XML_STYLE_FAMIL… in SetPageMaster() local
509 if(pStyle && pStyle->ISA(SdXMLPageMasterContext)) in SetPageMaster()
511 const SdXMLPageMasterContext* pPageMaster = (SdXMLPageMasterContext*)pStyle; in SetPageMaster()
H A DXMLNumberStyles.cxx352 static void SdXMLExportStyle( SdXMLExport& rExport, const SdXMLFixedDataStyle* pStyle, const SdXMLF… in SdXMLExportStyle() argument
357 sAttrValue = OUString::createFromAscii( pStyle->mpName ); in SdXMLExportStyle()
363 if( pStyle->mbAutomatic ) in SdXMLExportStyle()
368 …SvXMLElementExport aElement( rExport, XML_NAMESPACE_NUMBER, pStyle->mbDateStyle ? XML_DATE_STYLE :… in SdXMLExportStyle()
373 const sal_uInt8* pElements = (const sal_uInt8*)&pStyle->mpFormat[0]; in SdXMLExportStyle()
387 pStyle = pStyle2; in SdXMLExportStyle()
390 while( pStyle ); in SdXMLExportStyle()
656 bool SdXMLNumberFormatImportContext::compareStyle( const SdXMLFixedDataStyle* pStyle, sal_Int16& nI… in compareStyle() argument
658 if( (pStyle->mbAutomatic != mbAutomatic) && (nIndex == 0)) in compareStyle()
664 if( pStyle->mpFormat[nCompareIndex] != mnElements[nIndex] ) in compareStyle()
/trunk/main/editeng/source/rtf/
H A Dsvxrtf.cxx355 pStyle->aAttrSet.Put( GetRTFDefaults() ); in ReadStyleTable()
389 …case RTF_SBASEDON: pStyle->nBasedOn = sal_uInt16(nTokenValue); pStyle->bBasedOnIsSet=sal_True; bre… in ReadStyleTable()
395 pStyle->bIsCharFmt = sal_True; in ReadStyleTable()
400 pStyle->sName = DelCharAtEnd( aToken, ';' ); in ReadStyleTable()
415 aStyleTbl.Insert( nStyleNo, pStyle ); in ReadStyleTable()
417 pStyle->aAttrSet.Put( GetRTFDefaults() ); in ReadStyleTable()
425 ReadAttr( nToken, &pStyle->aAttrSet ); in ReadStyleTable()
445 ReadAttr( nToken, &pStyle->aAttrSet ); in ReadStyleTable()
451 delete pStyle; // loesche das letze Style in ReadStyleTable()
901 SvxRTFStyleType* pStyle; in _ClearStyleAttr() local
[all …]
/trunk/main/sc/source/filter/xml/
H A Dxmlstyli.cxx604 if (!pStyle) in GetNumberFormat()
608 pStyle = static_cast<const SvXMLNumFormatContext*>( in GetNumberFormat()
615 if (pStyle) in GetNumberFormat()
627 SvXMLStyleContext *pStyle; in CreateStyleStyleChildContext() local
633 pStyle = SvXMLStylesContext::CreateStyleStyleChildContext( in CreateStyleStyleChildContext()
636 if (!pStyle) in CreateStyleStyleChildContext()
644 pStyle = new XMLTableStyleContext( GetScImport(), nPrefix, rLocalName, in CreateStyleStyleChildContext()
650 return pStyle; in CreateStyleStyleChildContext()
660 if (!pStyle) in CreateDefaultStyleStyleChildContext()
665 pStyle = new XMLTableStyleContext( GetScImport(), nPrefix, rLocalName, in CreateDefaultStyleStyleChildContext()
[all …]
H A Dxmlfonte.cxx113 SfxStyleSheetBase* pStyle(pItr->First()); in ScXMLFontAutoStylePool_Impl() local
115 if(pStyle) in ScXMLFontAutoStylePool_Impl()
122 while (pStyle) in ScXMLFontAutoStylePool_Impl()
124 const SfxItemPool& rPagePool(pStyle->GetPool().GetPool()); in ScXMLFontAutoStylePool_Impl()
157 pStyle = pItr->Next(); in ScXMLFontAutoStylePool_Impl()
/trunk/main/sw/source/ui/utlui/
H A Dtmplctrl.cxx142 SfxStyleSheetBase* pStyle = pPool->First(); in Command() local
143 while( pStyle ) in Command()
146 aPop.InsertItem( nCount, pStyle->GetName() ); in Command()
147 pStyle = pPool->Next(); in Command()
155 pStyle = pPool->operator[]( nCurrId - 1 ); in Command()
156 SfxStringItem aStyle( FN_SET_PAGE_STYLE, pStyle->GetName() ); in Command()
/trunk/main/sc/source/ui/attrdlg/
H A Dcondfrmt.cxx107 SfxStyleSheetBase* pStyle; in ScConditionalFormatDlg() local
207 for ( pStyle = aStyleIter.First(); pStyle; pStyle = aStyleIter.Next() ) in ScConditionalFormatDlg()
209 aName = pStyle->GetName(); in ScConditionalFormatDlg()
217 pStyle = NULL; //! in ScConditionalFormatDlg()
218 if (pStyle) in ScConditionalFormatDlg()
219 aName = pStyle->GetName(); in ScConditionalFormatDlg()
823 for ( SfxStyleSheetBase* pStyle = aStyleIter.First(); pStyle; pStyle = aStyleIter.Next() ) in IMPL_LINK() local
825 String aName = pStyle->GetName(); in IMPL_LINK()
/trunk/main/sc/source/core/data/
H A Dstlsheet.cxx119 SfxStyleSheetBase* pStyle = rPool.Find( aEffName, nFamily ); in SetParent() local
120 if (!pStyle) in SetParent()
123 pStyle = pIter->First(); in SetParent()
124 if (pStyle) in SetParent()
125 aEffName = pStyle->GetName(); in SetParent()
128 if ( pStyle && aEffName != GetName() ) in SetParent()
133 SfxItemSet& rParentSet = pStyle->GetItemSet(); in SetParent()
H A Dstlpool.cxx147 void __EXPORT ScStyleSheetPool::Remove( SfxStyleSheetBase* pStyle ) in Remove() argument
149 if ( pStyle ) in Remove()
151 DBG_ASSERT( IS_SET( SFXSTYLEBIT_USERDEF, pStyle->GetMask() ), in Remove()
154 ((ScDocumentPool&)rPool).StyleDeleted((ScStyleSheet*)pStyle); in Remove()
155 SfxStyleSheetPool::Remove(pStyle); in Remove()
625 SfxStyleSheetBase* pStyle = aStyles[n].get(); in FindCaseIns() local
626 if ( pStyle->GetFamily() == eFam ) in FindCaseIns()
628 String aUpName = pStyle->GetName(); in FindCaseIns()
631 return (ScStyleSheet*)pStyle; in FindCaseIns()
H A Ddocumen8.cxx397 SfxStyleSheetBase* pStyle = xPoolHelper->GetStylePool()->Find( aStyleName, SFX_STYLE_FAMILY_PAGE ); in GetEditTextDirection() local
398 if ( pStyle ) in GetEditTextDirection()
400 SfxItemSet& rStyleSet = pStyle->GetItemSet(); in GetEditTextDirection()
458 ScStyleSheet* pStyle = NULL; in IdleCalcTextWidth() local
489 pStyle = (ScStyleSheet*)pStylePool->Find( pTable->aPageStyle, in IdleCalcTextWidth()
492 DBG_ASSERT( pStyle, "Missing StyleSheet :-/" ); in IdleCalcTextWidth()
495 if ( pStyle && 0 == GET_SCALEVALUE(pStyle->GetItemSet(),ATTR_PAGE_SCALETOPAGES) ) in IdleCalcTextWidth()
499 nZoom = GET_SCALEVALUE(pStyle->GetItemSet(),ATTR_PAGE_SCALE); in IdleCalcTextWidth()
568 pStyle = (ScStyleSheet*)pStylePool->Find( pTable->aPageStyle, in IdleCalcTextWidth()
571 if ( pStyle ) in IdleCalcTextWidth()
[all …]
/trunk/main/sw/source/filter/xml/
H A Dxmltexti.cxx455 const XMLPropStyleContext *pStyle = 0; in createAndInsertOLEObject() local
459 pStyle = FindAutoFrameStyle( rStyleName ); in createAndInsertOLEObject()
460 if( pStyle ) in createAndInsertOLEObject()
463 pStyle->GetStyles() in createAndInsertOLEObject()
464 ->GetImportPropertyMapper(pStyle->GetFamily()); in createAndInsertOLEObject()
471 sal_Int32 nCount = pStyle->GetProperties().size(); in createAndInsertOLEObject()
782 const XMLPropStyleContext *pStyle = 0; in createAndInsertFloatingFrame() local
785 pStyle = FindAutoFrameStyle( rStyleName ); in createAndInsertFloatingFrame()
786 if( pStyle ) in createAndInsertFloatingFrame()
789 pStyle->GetStyles() in createAndInsertFloatingFrame()
[all …]
/trunk/main/editeng/source/editeng/
H A Deditdbg.cxx342 SfxStyleSheet* pStyle = pPPortion->GetNode()->GetStyleSheet(); in ShowEditEngineData() local
343 if ( pStyle ) in ShowEditEngineData()
344 fprintf( fp, " %s", ByteString( pStyle->GetName(), RTL_TEXTENCODING_ASCII_US ).GetBuffer() ); in ShowEditEngineData()
436 SfxStyleSheetBase* pStyle = aIter.First(); in ShowEditEngineData() local
437 while ( pStyle ) in ShowEditEngineData()
439 …fprintf( fp, "\nVorlage: %s", ByteString( pStyle->GetName(), RTL_TEXTENCODING_ASCII_US ).GetBuff… in ShowEditEngineData()
440 …fprintf( fp, "\nParent: %s", ByteString( pStyle->GetParent(), RTL_TEXTENCODING_ASCII_US ).GetBu… in ShowEditEngineData()
441 …fprintf( fp, "\nFollow: %s", ByteString( pStyle->GetFollow(), RTL_TEXTENCODING_ASCII_US ).GetBu… in ShowEditEngineData()
442 DbgOutItemSet( fp, pStyle->GetItemSet(), sal_False, sal_False ); in ShowEditEngineData()
445 pStyle = aIter.Next(); in ShowEditEngineData()
H A Deditdoc.cxx1121 pStyle = 0; in ContentAttribs()
1127 pStyle = rRef.pStyle; in ContentAttribs()
1153 sal_Bool bStyleChanged = ( pStyle != pS ); in SetStyleSheet()
1154 pStyle = pS; in SetStyleSheet()
1156 if ( pStyle && bStyleChanged ) in SetStyleSheet()
1160 const SfxItemSet& rStyleAttribs = pStyle->GetItemSet(); in SetStyleSheet()
1175 pTakeFrom = &pStyle->GetItemSet(); in GetItem()
1185 else if ( pStyle && pStyle->GetItemSet().GetItemState( nWhich ) == SFX_ITEM_ON ) in HasItem()
1562 if ( pStyle ) in InsertParaBreak()
1564 XubString aFollow( pStyle->GetFollow() ); in InsertParaBreak()
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrviews9.cxx482 SFX_REQUEST_ARG (rReq, pStyle, SfxUInt32Item, ID_VAL_STYLE, sal_False); in AttrExec()
489 if (CHECK_RANGE (XDASH_RECT, (sal_Int32)pStyle->GetValue (), XDASH_ROUNDRELATIVE)) in AttrExec()
491 …XDash aNewDash ((XDashStyle) pStyle->GetValue (), (short) pDots->GetValue (), pDotLen->GetValue (), in AttrExec()
530 SFX_REQUEST_ARG (rReq, pStyle, SfxUInt32Item, ID_VAL_STYLE, sal_False); in AttrExec()
538 if (CHECK_RANGE (XGRAD_LINEAR, (sal_Int32)pStyle->GetValue (), XGRAD_RECT) && in AttrExec()
561 aGradient.SetGradientStyle ((XGradientStyle) pStyle->GetValue ()); in AttrExec()
578 XGradient aGradient (aBlack, aBlack, (XGradientStyle) pStyle->GetValue (), in AttrExec()
605 SFX_REQUEST_ARG (rReq, pStyle, SfxUInt32Item, ID_VAL_STYLE, sal_False); in AttrExec()
609 if (CHECK_RANGE (XHATCH_SINGLE, (sal_Int32)pStyle->GetValue (), XHATCH_TRIPLE) && in AttrExec()
627 aHatch.SetHatchStyle ((XHatchStyle) pStyle->GetValue ()); in AttrExec()
[all …]
/trunk/main/sc/source/filter/qpro/
H A Dqpro.cxx45 FltError ScQProReader::readSheet( SCTAB nTab, ScDocument* pDoc, ScQProStyle *pStyle ) in readSheet() argument
69 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet()
84 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet()
92 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet()
102 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet()
121 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet()
/trunk/main/xmloff/source/style/
H A DXMLFontStylesContext.cxx226 SvXMLStyleContext *pStyle; in CreateStyleChildContext() local
230 pStyle = new XMLFontStyleContext_Impl( GetImport(), nPrefix, in CreateStyleChildContext()
235 pStyle = SvXMLStylesContext::CreateStyleChildContext( nPrefix, in CreateStyleChildContext()
239 return pStyle; in CreateStyleChildContext()
275 … const SvXMLStyleContext* pStyle = FindStyleChildContext( XML_STYLE_FAMILY_FONT, rName, sal_True ); in FillProperties() local
276 …const XMLFontStyleContext_Impl *pFontStyle = PTR_CAST( XMLFontStyleContext_Impl,pStyle);// use tem… in FillProperties()
/trunk/main/xmloff/source/chart/
H A DSchXMLPlotAreaContext.cxx338 const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext( in StartElement() local
343 dynamic_cast< const XMLPropStyleContext * >( pStyle ) ); in StartElement()
899 const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext( in StartElement() local
902 if( pStyle && pStyle->ISA( XMLPropStyleContext )) in StartElement()
903 (( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp ); in StartElement()
971 const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext( in StartElement() local
974 if( pStyle && pStyle->ISA( XMLPropStyleContext )) in StartElement()
975 (( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp ); in StartElement()
1149 const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext( in StartElement() local
1153 … const_cast< XMLPropStyleContext * >( dynamic_cast< const XMLPropStyleContext * >( pStyle )); in StartElement()
H A DSchXMLChartContext.cxx382 const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext( in StartElement() local
385 if( pStyle && pStyle->ISA( XMLPropStyleContext )) in StartElement()
386 (( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp ); in StartElement()
900 const SvXMLStyleContext* pStyle = NULL; in EndElement() local
910 …, pStylesCtxt, pStyle, sCurrStyleName, mrImportHelper, GetImport(), mbIsStockChart, maLSequencesPe… in EndElement()
913 , pStylesCtxt, pStyle, sCurrStyleName ); in EndElement()
928 …, pStylesCtxt, pStyle, sCurrStyleName, mrImportHelper, GetImport(), mbIsStockChart, bSpecialHandli… in EndElement()
1229 const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext( in StartElement() local
1232 if( pStyle && pStyle->ISA( XMLPropStyleContext )) in StartElement()
1233 (( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp ); in StartElement()
/trunk/main/sfx2/source/doc/
H A Dobjcont.cxx472 SfxStyleSheetBase *pStyle = (*pStylePool)[i]; in GetContent() local
473 rText = pStyle->GetName(); in GetContent()
474 bCanDel=((pStyle->GetMask() & SFXSTYLEBIT_USERDEF) in GetContent()
477 GetStyleFamilyBitmap(pStyle->GetFamily(), eColorMode ); in GetContent()
764 SfxStyleSheetBase *pStyle = pIter->First(); in Print() local
765 if ( !pStyle ) in Print()
794 while(pStyle) in Print()
797 String aStr(pStyle->GetName()); in Print()
815 aStr = pStyle->GetDescription(); in Print()
865 pStyle = pIter->Next(); in Print()
/trunk/main/xmloff/source/table/
H A DXMLTableImport.cxx412 const XMLPropStyleContext* pStyle = in InitColumns() local
416 if( pStyle ) in InitColumns()
419 const_cast< XMLPropStyleContext* >( pStyle )->FillPropertySet( xColProps ); in InitColumns()
497 const XMLPropStyleContext* pStyle = in ImportRow() local
501 if( pStyle ) in ImportRow()
503 const_cast< XMLPropStyleContext* >( pStyle )->FillPropertySet( xRowSet ); in ImportRow()
674 const XMLPropStyleContext* pStyle = in XMLCellImportContext() local
678 if( pStyle ) in XMLCellImportContext()
682 const_cast< XMLPropStyleContext* >( pStyle )->FillPropertySet( xCellSet ); in XMLCellImportContext()
/trunk/main/xmerge/java/pocketword/src/main/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/
H A DDocumentDeserializerImpl.java172 ParaStyle pStyle = p.makeStyle(); in buildDocument() local
173 if (pStyle == null) { in buildDocument()
179 pStyle.setName(new String("PS" + paraStyles++)); in buildDocument()
180 paraNode.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, pStyle.getName()); in buildDocument()
181 styleCat.add(pStyle); in buildDocument()
/trunk/main/sw/source/ui/uiview/
H A Dformatclipboard.cxx505 … SwDocStyleSheet* pStyle = (SwDocStyleSheet*)pPool->Find(m_aCharStyle, SFX_STYLE_FAMILY_CHAR); in Paste() local
506 if( pStyle ) in Paste()
508 SwFmtCharFmt aFmt(pStyle->GetCharFmt()); in Paste()
517 … SwDocStyleSheet* pStyle = (SwDocStyleSheet*)pPool->Find(m_aParaStyle, SFX_STYLE_FAMILY_PARA); in Paste() local
518 if( pStyle ) in Paste()
521 lcl_AppendSetItems( aItemVector, pStyle->GetCollection()->GetAttrSet()); in Paste()
522 rWrtShell.SetTxtFmtColl( pStyle->GetCollection() ); in Paste()

Completed in 147 milliseconds

1234567