Home
last modified time | relevance | path

Searched refs:xStyle (Results 1 – 25 of 71) sorted by relevance

123

/trunk/main/xmlscript/source/xmldlg_imexp/
H A Dxmldlg_impmodels.cxx68 if (xStyle.is()) in endElement()
123 if (xStyle.is()) in endElement()
200 if (xStyle.is()) in endElement()
252 if (xStyle.is()) in endElement()
324 if (xStyle.is()) in endElement()
502 if (xStyle.is()) in endElement()
588 if (xStyle.is()) in endElement()
676 if (xStyle.is()) in endElement()
767 if (xStyle.is()) in endElement()
861 if (xStyle.is()) in endElement()
[all …]
/trunk/main/xmloff/source/style/
H A Dstyleexp.cxx287 while ( xStyle.is() ) in exportStyle()
457 Reference< XStyle > xStyle; in exportStyleFamily() local
460 xStyles->getByName( *pIter ) >>= xStyle; in exportStyleFamily()
472 if( xStyle.is() ) in exportStyleFamily()
474 if( !bUsed || xStyle->isInUse() ) in exportStyleFamily()
514 Reference< XStyle > xStyle; in exportStyleFamily() local
515 xStyles->getByName( *pIter ) >>= xStyle; in exportStyleFamily()
518 if( xStyle.is() ) in exportStyleFamily()
531 if( !xStyle->isInUse() ) in exportStyleFamily()
546 if( xStyle->getName() != sNextName && in exportStyleFamily()
[all …]
/trunk/main/xmloff/source/text/
H A DXMLTextMasterPageContext.cxx140 aAny >>= xStyle; in XMLTextMasterPageContext()
144 xStyle = Create(); in XMLTextMasterPageContext()
145 if( !xStyle.is() ) in XMLTextMasterPageContext()
148 aAny <<= xStyle; in XMLTextMasterPageContext()
153 Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); in XMLTextMasterPageContext()
218 if( bInsert && xStyle.is() ) in CreateChildContext()
240 Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); in CreateHeaderFooterContext()
250 if( xStyle.is() && (IsNew() || bOverwrite) ) in Finish()
252 Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); in Finish()
277 sDisplayFollow = xStyle->getName(); in Finish()
H A Dtxtstyli.cxx217 Reference < XStyle > xStyle = GetStyle(); in CreateAndInsert() local
218 if( !xStyle.is() || !(bOverwrite || IsNew()) ) in CreateAndInsert()
221 Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); in CreateAndInsert()
234 sCategoryVal.getLength() && xStyle->isUserDefined() && in CreateAndInsert()
247 Reference<document::XEventsSupplier> xEventsSupplier(xStyle,UNO_QUERY); in CreateAndInsert()
283 Reference < XStyle > xStyle = GetStyle(); in Finish() local
291 !xStyle.is() || in Finish()
296 Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); in Finish()
H A DXMLTextShapeStyleContext.cxx222 Reference < XStyle > xStyle = GetStyle(); in CreateAndInsert() local
223 if( !xStyle.is() || !(bOverwrite || IsNew()) ) in CreateAndInsert()
226 Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); in CreateAndInsert()
241 Reference<XEventsSupplier> xEventsSupplier(xStyle, UNO_QUERY); in CreateAndInsert()
H A DXMLTextListItemContext.cxx101 Reference < style::XStyle > xStyle; in XMLTextListItemContext() local
103 aAny >>= xStyle; in XMLTextListItemContext()
105 uno::Reference< beans::XPropertySet > xPropSet( xStyle, UNO_QUERY ); in XMLTextListItemContext()
/trunk/main/oox/source/xls/
H A Dworkbookhelper.cxx338 Reference< XStyle > xStyle; in getStyleObject() local
342 xStyle.set( xStylesNC->getByName( rStyleName ), UNO_QUERY ); in getStyleObject()
347 OSL_ENSURE( xStyle.is(), "WorkbookGlobals::getStyleObject - cannot access style object" ); in getStyleObject()
348 return xStyle; in getStyleObject()
401 Reference< XStyle > xStyle; in createStyleObject() local
405xStyle.set( mrBaseFilter.getModelFactory()->createInstance( bPageStyle ? maPageStyleServ : maCellS… in createStyleObject()
406 …orStyleName = ContainerHelper::insertByUnusedName( xStylesNC, orStyleName, ' ', Any( xStyle ), fal… in createStyleObject()
411 OSL_ENSURE( xStyle.is(), "WorkbookGlobals::createStyleObject - cannot create style" ); in createStyleObject()
412 return xStyle; in createStyleObject()
/trunk/main/sc/source/ui/vba/
H A Dvbaformatconditions.cxx91 …uno::Reference< excel::XStyle > xStyle( xStyles->Item( uno::makeAny( xSheetConditionalEntry->getSt… in xSheetConditionToFormatCondition() local
92 …w ScVbaFormatCondition( xRangeParent, xContext, xSheetConditionalEntry, xStyle, xFormatConditions… in xSheetConditionToFormatCondition()
143 uno::Reference< excel::XStyle > xStyle( _xStyle ); in Add() local
148 if ( !xStyle.is() ) in Add()
151 xStyle = mxStyles->Add(sStyleName, uno::Any() ); in Add()
155 sStyleName = xStyle->getName(); in Add()
196 …xRangeParent, uno::UNO_QUERY_THROW ), mxContext, xSheetConditionalEntry, xStyle, this, mxParentRan… in Add()
H A Dvbastyles.cxx35 …uno::Reference< excel::XStyle > xStyle( new ScVbaStyle( xParent, xContext, xStyleProps, xModel ) )… in lcl_createAPIStyleToVBAObject() local
36 return uno::makeAny( xStyle ); in lcl_createAPIStyleToVBAObject()
128 …uno::Reference< style::XStyle > xStyle( mxMSF->createInstance( rtl::OUString( RTL_CONSTASCII_USTRI… in Add() local
132 mxNameContainerCellStyles->insertByName(_sName, uno::makeAny( xStyle) ); in Add()
136 xStyle->setParentStyle( sParentCellStyleName ); in Add()
/trunk/main/writerfilter/source/dmapper/
H A DPropertyMap.cxx534 void SectionPropertyMap::SetBorderDistance( uno::Reference< beans::XPropertySet > xStyle, in SetBorderDistance() argument
543 uno::Any aMargin = xStyle->getPropertyValue( sMarginName ); in SetBorderDistance()
548 xStyle->setPropertyValue( sMarginName, uno::makeAny( nDistance ) ); in SetBorderDistance()
554 xStyle->setPropertyValue( sBorderDistanceName, uno::makeAny( nDist )); in SetBorderDistance()
672 uno::Reference< beans::XPropertySet > xStyle = GetPageStyle( in CopyLastHeaderFooter() local
692 xStyle->getPropertyValue( sHeaderIsOn ) >>= bHasHeader; in CopyLastHeaderFooter()
696 xStyle->setPropertyValue( sHeaderIsOn, uno::makeAny( sal_True ) ); in CopyLastHeaderFooter()
703 xStyle->getPropertyValue( sFooterIsOn ) >>= bHasFooter; in CopyLastHeaderFooter()
707 xStyle->setPropertyValue( sFooterIsOn, uno::makeAny( sal_True ) ); in CopyLastHeaderFooter()
725 xStyle->getPropertyValue( sName ), uno::UNO_QUERY_THROW ); in CopyLastHeaderFooter()
[all …]
H A DStyleSheetTable.cxx783 uno::Reference< style::XStyle > xStyle; in ApplyStyleSheets() local
786 xStyles->getByName( sConvertedStyleName ) >>= xStyle; in ApplyStyleSheets()
790 xStyle = uno::Reference< style::XStyle >(xDocFactory->createInstance( in ApplyStyleSheets()
803 xStyle->setParentStyle(ConvertStyleName( pParent->sStyleName )); in ApplyStyleSheets()
880 … uno::Reference< beans::XPropertyState >xState( xStyle, uno::UNO_QUERY_THROW ); in ApplyStyleSheets()
886 … uno::Reference< beans::XPropertyState >xState1( xStyle, uno::UNO_QUERY_THROW ); in ApplyStyleSheets()
916 uno::Reference< beans::XPropertySet > xProp( xStyle, uno::UNO_QUERY ); in ApplyStyleSheets()
991 xStyles->insertByName( sConvertedStyleName, uno::makeAny( xStyle) ); in ApplyStyleSheets()
1358 uno::Reference< style::XStyle > xStyle( xDocFactory->createInstance( in getOrCreateCharStyle() local
1362 uno::Reference< beans::XPropertySet > xStyleProps(xStyle, uno::UNO_QUERY_THROW ); in getOrCreateCharStyle()
[all …]
/trunk/main/sw/source/core/unocore/
H A Dunostyle.cxx763 if(!xStyle.is()) in getByIndex()
765 xStyle = eFamily == SFX_STYLE_FAMILY_PAGE ? in getByIndex()
804 if(!xStyle.is()) in getByName()
806 xStyle = eFamily == SFX_STYLE_FAMILY_PAGE ? in getByName()
973 if(xStyle.is()) in replaceByName()
3196 pTargetFmt = xStyle->GetCharFmt(); in setPropertiesToDefault()
3204 pTargetFmt = xStyle->GetFrmFmt(); in setPropertiesToDefault()
3313 pTargetFmt = xStyle->GetCharFmt(); in setAllPropertiesToDefault()
3318 pTargetFmt = xStyle->GetCollection(); in setAllPropertiesToDefault()
3320 if(xStyle->GetCollection()) in setAllPropertiesToDefault()
[all …]
H A Dunoevent.cxx288 rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase ) ); in setMacroItem() local
289 SfxItemSet& rStyleSet = xStyle->GetItemSet(); in setMacroItem()
292 xStyle->SetItemSet(aSet); in setMacroItem()
309 rtl::Reference< SwDocStyleSheet > xStyle( new SwDocStyleSheet( *(SwDocStyleSheet*)pBase) ); in getMacroItem() local
310 return (const SvxMacroItem&)xStyle->GetItemSet().Get(RES_FRMMACRO); in getMacroItem()
/trunk/main/xmloff/source/draw/
H A Dximpstyl.cxx1397 uno::Reference< style::XStyle > xStyle; in ImpSetGraphicStyles() local
1400 xPageStyles->getByName(aStyleName) >>= xStyle; in ImpSetGraphicStyles()
1403 uno::Reference< beans::XPropertySet > xPropSet( xStyle, uno::UNO_QUERY ); in ImpSetGraphicStyles()
1408 uno::Reference< beans::XPropertyState > xPropState( xStyle, uno::UNO_QUERY ); in ImpSetGraphicStyles()
1442 xStyle = xNewStyle; in ImpSetGraphicStyles()
1447 xInsertContainer->insertByName(aStyleName, uno::Any( xStyle ) ); in ImpSetGraphicStyles()
1452 if(xStyle.is()) in ImpSetGraphicStyles()
1456 uno::Reference< beans::XPropertySet > xPropSet(xStyle, uno::UNO_QUERY); in ImpSetGraphicStyles()
1461 pPropStyle->SetStyle(xStyle); in ImpSetGraphicStyles()
1491 if(xStyle.is()) in ImpSetGraphicStyles()
[all …]
/trunk/main/svl/source/items/
H A Dstyle.cxx698 rtl::Reference< SfxStyleSheetBase > xStyle( aIter.Find( rName ) ); in Make() local
699 DBG_ASSERT( !xStyle.is(), "svl::SfxStyleSheetBasePool::Make(), StyleSheet already exists" ); in Make()
702 if( !xStyle.is() ) in Make()
704 xStyle = Create( rName, eFam, mask ); in Make()
707 aStyles.push_back( xStyle ); in Make()
712 aStyles.insert( aStyles.begin() + rIter.GetPos(), xStyle ); in Make()
714 Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_CREATED, *xStyle.get() ) ); in Make()
716 return *xStyle.get(); in Make()
1349 …tUnoStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::style::XStyle >& xStyle ) in getUnoStyleSheet() argument
1351 SfxUnoStyleSheet* pRet = dynamic_cast< SfxUnoStyleSheet* >( xStyle.get() ); in getUnoStyleSheet()
[all …]
/trunk/main/svx/source/table/
H A Dtabledesign.cxx633 Reference< XStyle > xStyle( rElement, UNO_QUERY ); in insertByName() local
634 if( !xStyle.is() ) in insertByName()
637 xStyle->setName( rName ); in insertByName()
642 maDesigns.push_back( xStyle ); in insertByName()
672 Reference< XStyle > xStyle( aElement, UNO_QUERY ); in replaceByName() local
673 if( !xStyle.is() ) in replaceByName()
680 (*iter) = xStyle; in replaceByName()
681 xStyle->setName( rName ); in replaceByName()
H A Dsvdotable.cxx386 Reference< XStyle > xStyle; in ApplyCellStyles() local
391 mxTableStyle->getByIndex(first_row_style) >>= xStyle; in ApplyCellStyles()
395 mxTableStyle->getByIndex(last_row_style) >>= xStyle; in ApplyCellStyles()
398 if( !xStyle.is() ) in ApplyCellStyles()
411 if( !xStyle.is() && rStyle.mbUseRowBanding ) in ApplyCellStyles()
415 mxTableStyle->getByIndex(even_rows_style) >>= xStyle; in ApplyCellStyles()
419 mxTableStyle->getByIndex(odd_rows_style) >>= xStyle; in ApplyCellStyles()
423 if( !xStyle.is() && rStyle.mbUseColumnBanding ) in ApplyCellStyles()
435 if( !xStyle.is() ) in ApplyCellStyles()
438 mxTableStyle->getByIndex(body_style) >>= xStyle; in ApplyCellStyles()
[all …]
/trunk/main/xmloff/source/table/
H A DXMLTableExport.cxx279 …Reference< XStyle > xStyle( xCellSet->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("Style… in collectTableAutoStyles() local
280 if( xStyle.is() ) in collectTableAutoStyles()
281 sParentStyleName = xStyle->getName(); in collectTableAutoStyles()
564 Reference< XStyle > xStyle( xStyleNames->getByName( pElements->msStyleName ), UNO_QUERY ); in exportTableTemplates() local
565 if( xStyle.is() ) in exportTableTemplates()
567 …mrExport.AddAttribute(XML_NAMESPACE_TEXT, XML_STYLE_NAME, GetExport().EncodeStyleName( xStyle->get… in exportTableTemplates()
/trunk/main/sw/source/ui/vba/
H A Dvbaview.cxx292 uno::Reference< style::XStyle > xStyle; in getHFTextRange() local
317 xStyle = word::getCurrentPageStyle( mxModel ); in getHFTextRange()
322 while( hasNextPage && ( xStyle == word::getCurrentPageStyle( mxModel ) ) ); in getHFTextRange()
335 xStyle = word::getCurrentPageStyle( mxModel ); in getHFTextRange()
336 uno::Reference< beans::XPropertySet > xPageProps( xStyle, uno::UNO_QUERY_THROW ); in getHFTextRange()
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/
H A DReportBuilderLayouter.java301 final XStyle xStyle = UnoRuntime.queryInterface(XStyle.class, aObj); in getUsedStyle() local
302 if (xStyle.isInUse()) in getUsedStyle()
304 aUsedStyle = xStyle; in getUsedStyle()
319 final XStyle xStyle = getUsedStyle("PageStyles"); in getFromPageStyles() local
320 if (xStyle != null) in getFromPageStyles()
323 final PropertySetHelper aHelper = new PropertySetHelper(xStyle); in getFromPageStyles()
331 final XStyle xStyle = getUsedStyle("PageStyles"); in setToPageStyles() local
332 if (xStyle != null) in setToPageStyles()
334 final PropertySetHelper aHelper = new PropertySetHelper(xStyle); in setToPageStyles()
/trunk/main/sd/source/core/
H A Dstlfamily.cxx139 Reference< XStyle > xStyle( rElement, UNO_QUERY ); in GetValidNewSheet() local
140 SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( xStyle.get() ); in GetValidNewSheet()
266 rtl::Reference< SdStyleSheet > xStyle( (*iter++).second ); in getElementNames() local
267 if( xStyle.is() ) in getElementNames()
269 *pNames++ = xStyle->GetApiName(); in getElementNames()
/trunk/main/svx/source/form/
H A Dfmcontrollayout.cxx138 …Reference< XPropertySet > xStyle( ControlLayouter::getDefaultDocumentTextStyle( _rxModel ), UNO_SE… in lcl_initializeControlFont() local
139 … Reference< XPropertySetInfo > xStylePSI( xStyle->getPropertySetInfo(), UNO_SET_THROW ); in lcl_initializeControlFont()
168 … OSL_VERIFY( xStyle->getPropertyValue( sCharLocalePropertyName ) >>= aDocumentCharLocale ); in lcl_initializeControlFont()
176 … OSL_VERIFY( xStyle->getPropertyValue( sCharLocalePropertyName ) >>= aDocumentCharLocale ); in lcl_initializeControlFont()
/trunk/test/testuno/source/testlib/uno/
H A DSWUtil.java216 …XStyle xStyle = (XStyle)UnoRuntime.queryInterface(XStyle.class, xFamily.getByName("Default")); in getDefaultPageStyleProperty() local
217 … XPropertySet xStyleProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xStyle); in getDefaultPageStyleProperty()
235 …XStyle xStyle = (XStyle)UnoRuntime.queryInterface(XStyle.class, xFamily.getByName("Default")); in setDefaultPageStyleProperty() local
236 …XPropertySet xStyleProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xStyle); … in setDefaultPageStyleProperty()
/trunk/main/cui/source/customize/
H A Dcfgutil.cxx166 css::uno::Reference< css::beans::XPropertySet > xStyle; in getLabel4Style() local
168 xStyleSet->getByName(aStyle.sStyle) >>= xStyle; in getLabel4Style()
171 if (xStyle.is()) in getLabel4Style()
172 xStyle->getPropertyValue(STYLEPROP_UINAME) >>= aStyle.sLabel; in getLabel4Style()
264 css::uno::Reference< css::beans::XPropertySet > xStyle; in getStyles() local
265 xStyleSet->getByName(aStyleInfo.sStyle) >>= xStyle; in getStyles()
266 if (!xStyle.is()) in getStyles()
268 xStyle->getPropertyValue(PROP_UINAME) >>= aStyleInfo.sLabel; in getStyles()
/trunk/main/sd/source/ui/table/
H A DTableDesignPane.cxx644 explicit CellInfo( const Reference< XStyle >& xStyle );
647 CellInfo::CellInfo( const Reference< XStyle >& xStyle ) in CellInfo() argument
650 SfxStyleSheet* pStyleSheet = SfxUnoStyleSheet::getUnoStyleSheet( xStyle ); in CellInfo()
707 Reference< XStyle > xStyle( xTableStyle->getByIndex( nStyle ), UNO_QUERY ); in FillCellInfoVector() local
708 if( xStyle.is() ) in FillCellInfoVector()
709 rVector[nStyle].reset( new CellInfo( xStyle ) ); in FillCellInfoVector()

Completed in 183 milliseconds

123