/trunk/main/dbaccess/source/filter/xml/ |
H A D | xmlStyleImport.cxx | 144 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 D | newstyle.cxx | 43 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 D | templdlg.cxx | 1212 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 D | ximppage.cxx | 380 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 D | XMLNumberStyles.cxx | 352 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 D | svxrtf.cxx | 355 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 D | xmlstyli.cxx | 604 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 D | xmlfonte.cxx | 113 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 D | tmplctrl.cxx | 142 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 D | condfrmt.cxx | 107 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 D | stlsheet.cxx | 119 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 D | stlpool.cxx | 147 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 D | documen8.cxx | 397 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 D | xmltexti.cxx | 455 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 D | editdbg.cxx | 342 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 D | editdoc.cxx | 1121 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 D | drviews9.cxx | 482 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 D | qpro.cxx | 45 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 D | XMLFontStylesContext.cxx | 226 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 D | SchXMLPlotAreaContext.cxx | 338 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 D | SchXMLChartContext.cxx | 382 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 D | objcont.cxx | 472 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 D | XMLTableImport.cxx | 412 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 D | DocumentDeserializerImpl.java | 172 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 D | formatclipboard.cxx | 505 … 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()
|