/trunk/main/svtools/source/control/ |
H A D | ctrltool.cxx | 461 if ( !aStyleName.Len() ) in GetStyleName() 470 aStyleName = maBold; in GetStyleName() 472 aStyleName = maBoldItalic; in GetStyleName() 476 aStyleName = maNormal; in GetStyleName() 478 aStyleName = maNormal; in GetStyleName() 480 aStyleName = maNormal; in GetStyleName() 482 aStyleName = maLight; in GetStyleName() 484 aStyleName = maLightItalic; in GetStyleName() 486 aStyleName = maBlack; in GetStyleName() 488 aStyleName = maBlackItalic; in GetStyleName() [all …]
|
/trunk/main/sd/source/core/ |
H A D | stlsheet.cxx | 512 String aStyleName(aName); in GetPseudoStyleSheet() local 514 aStyleName.Erase(0, aStyleName.Search(aSep) + aSep.Len()); in GetPseudoStyleSheet() 516 if (aStyleName == String(SdResId(STR_LAYOUT_TITLE))) in GetPseudoStyleSheet() 518 aStyleName = String(SdResId(STR_PSEUDOSHEET_TITLE)); in GetPseudoStyleSheet() 522 aStyleName = String(SdResId(STR_PSEUDOSHEET_SUBTITLE)); in GetPseudoStyleSheet() 534 aStyleName = String(SdResId(STR_PSEUDOSHEET_NOTES)); in GetPseudoStyleSheet() 539 sal_uInt16 nPos = aStyleName.Search(aOutlineStr); in GetPseudoStyleSheet() 542 String aNumStr(aStyleName.Copy(aOutlineStr.Len())); in GetPseudoStyleSheet() 544 aStyleName += aNumStr; in GetPseudoStyleSheet() 594 String aStyleName(aName); in AdjustToFontHeight() local [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | futempl.cxx | 140 String aStyleName; in DoExecute() local 173 aStyleName = ( ( (const SfxStringItem &) pArgs->Get( nSId ) ).GetValue() ); in DoExecute() 181 SfxStyleSheetBase *p = pSSPool->Find(aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_ALL ); in DoExecute() 187 pStyleSheet = &pSSPool->Make( aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_USERDEF ); in DoExecute() 207 SfxStyleSheetBase *p = pSSPool->Find(aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_ALL ); in DoExecute() 213 pStyleSheet = &pSSPool->Make( aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_USERDEF ); in DoExecute() 220 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute() 224 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute() 239 pStyleSheet = pSSPool->Find( aStyleName, (SfxStyleFamily) nFamily); in DoExecute() 275 aStyleName = ( ( (const SfxStringItem &) pArgs->Get( nSId ) ).GetValue() ); in DoExecute() [all …]
|
H A D | fuprobjs.cxx | 128 String aStyleName = aLayoutName; in DoExecute() local 129 aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( SD_LT_SEPARATOR ) ); in DoExecute() 137 aStyleName.Append( aStr ); in DoExecute() 143 aStyleName.Append( aStr ); in DoExecute() 144 aStyleName.Append( sal_Unicode(' ') ); in DoExecute() 145 aStyleName.Append( UniString::CreateFromInt32( nDepth ) ); in DoExecute() 149 SfxStyleSheetBase* pStyleSheet = pStyleSheetPool->Find( aStyleName, SD_STYLE_FAMILY_MASTERPAGE ); in DoExecute()
|
H A D | fuolbull.cxx | 368 String aStyleName((SdResId((sal_uInt16)STR_LAYOUT_OUTLINE))); in GetNumBulletItem() 369 aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " 1" ) ); in GetNumBulletItem() 370 SfxStyleSheetBase* pFirstStyleSheet = pSSPool->Find( aStyleName, SD_STYLE_FAMILY_PSEUDO); in GetNumBulletItem()
|
/trunk/main/xmloff/source/draw/ |
H A D | ximpstyl.cxx | 1387 OUString aStyleName(pStyle->GetDisplayName()); in ImpSetGraphicStyles() local 1390 sal_Int32 nStylePrefLen = aStyleName.lastIndexOf( sal_Unicode('-') ) + 1; in ImpSetGraphicStyles() 1391 if( (nPrefLen != nStylePrefLen) || (aStyleName.compareTo( rPrefix, nPrefLen ) != 0) ) in ImpSetGraphicStyles() 1394 aStyleName = aStyleName.copy( nPrefLen ); in ImpSetGraphicStyles() 1398 if(xPageStyles->hasByName(aStyleName)) in ImpSetGraphicStyles() 1400 xPageStyles->getByName(aStyleName) >>= xStyle; in ImpSetGraphicStyles() 1447 xInsertContainer->insertByName(aStyleName, uno::Any( xStyle ) ); in ImpSetGraphicStyles() 1480 OUString aStyleName(pStyle->GetDisplayName()); in ImpSetGraphicStyles() local 1483 sal_Int32 nStylePrefLen = aStyleName.lastIndexOf( sal_Unicode('-') ) + 1; in ImpSetGraphicStyles() 1484 if( (nPrefLen != nStylePrefLen) || (aStyleName.compareTo( rPrefix, nPrefLen ) != 0) ) in ImpSetGraphicStyles() [all …]
|
H A D | ximpshap.cxx | 630 OUString aStyleName = maDrawStyleName; in SetStyle() local 643 aStyleName = pDocStyle->GetParentName(); in SetStyle() 647 if( !xStyle.is() && aStyleName.getLength() ) in SetStyle() 664 aStyleName = GetImport().GetStyleDisplayName( in SetStyle() 666 aStyleName ); in SetStyle() 667 sal_Int32 nPos = aStyleName.lastIndexOf( sal_Unicode('-') ); in SetStyle() 670 OUString aFamily( aStyleName.copy( 0, nPos ) ); in SetStyle() 673 aStyleName = aStyleName.copy( nPos + 1 ); in SetStyle() 680 aStyleName = GetImport().GetStyleDisplayName( in SetStyle() 682 aStyleName ); in SetStyle() [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmltbli.cxx | 168 OUString aStyleName; member in SwXMLTableCell_Impl 242 aStyleName = rStyleName; in Set() 290 OUString aStyleName; member in SwXMLTableRow_Impl 327 aStyleName( rStyleName ), in SwXMLTableRow_Impl() 380 aStyleName = rStyleName; in Set() 395 OUString aStyleName; member in SwXMLTableCellContext_Impl 475 aStyleName = rValue; in SwXMLTableCellContext_Impl() 760 aStyleName = rValue; in SwXMLTableColContext_Impl() 776 if( aStyleName.getLength() ) in SwXMLTableColContext_Impl() 920 aStyleName = rValue; in SwXMLTableRowContext_Impl() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotxat.cxx | 259 XubString aStyleName; in ImpSetTextStyleSheetListeners() local 265 rTextObj.GetStyleSheet(nParaNum, aStyleName, eStyleFam); in ImpSetTextStyleSheetListeners() 267 if(aStyleName.Len()) in ImpSetTextStyleSheetListeners() 272 aStyleName += sal_Unicode('|'); in ImpSetTextStyleSheetListeners() 273 aStyleName += aFam; in ImpSetTextStyleSheetListeners() 282 bFnd = (aStyleName.Equals(*(XubString*)aStyles.GetObject(nNum))); in ImpSetTextStyleSheetListeners() 287 aStyles.Insert(new XubString(aStyleName), CONTAINER_APPEND); in ImpSetTextStyleSheetListeners()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xltools.cxx | 544 String aStyleName; in GetBuiltInStyleName() local 548 aStyleName = ScGlobal::GetRscString( STR_STYLENAME_STANDARD ); in GetBuiltInStyleName() 552 aStyleName = maStyleNamePrefix1; in GetBuiltInStyleName() 554 aStyleName.AppendAscii( ppcStyleNames[ nStyleId ] ); in GetBuiltInStyleName() 556 aStyleName.Append( rName ); in GetBuiltInStyleName() 558 aStyleName.Append( String::CreateFromInt32( nStyleId ) ); in GetBuiltInStyleName() 560 aStyleName.Append( String::CreateFromInt32( nLevel + 1 ) ); in GetBuiltInStyleName() 563 return aStyleName; in GetBuiltInStyleName()
|
H A D | xipage.cxx | 224 String aStyleName( RTL_CONSTASCII_USTRINGPARAM( "PageStyle_" ) ); in Finalize() local 227 aStyleName.Append( aTableName ); in Finalize() 229 aStyleName.Append( String::CreateFromInt32( nScTab + 1 ) ); in Finalize() 231 …ScStyleSheet& rStyleSheet = ScfTools::MakePageStyleSheet( GetStyleSheetPool(), aStyleName, false ); in Finalize()
|
/trunk/main/sdext/source/pdfimport/tree/ |
H A D | style.cxx | 170 OUString aStyleName; in getStyleName() local 173 aStyleName = fam_it->second; in getStyleName() 176 aStyleName = OStringToOUString( rStyle.Name, RTL_TEXTENCODING_ASCII_US ); in getStyleName() 177 sal_Int32 nIndex = aStyleName.lastIndexOf( ':' ); in getStyleName() 178 aRet.append( aStyleName.copy( nIndex+1 ) ); in getStyleName()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbarange.cxx | 231 rtl::OUString aStyleName; in getStyle() local 234 …OUString( RTL_CONSTASCII_USTRINGPARAM("CharStyleName") ) ) >>= aStyleName ) && aStyleName.getLengt… in getStyle() 238 …OUString( RTL_CONSTASCII_USTRINGPARAM("ParaStyleName") ) ) >>= aStyleName ) && aStyleName.getLengt… in getStyle() 248 …uno::Reference< beans::XPropertySet > xStyleProps( xStylesAccess->getByName( aStyleName ), uno::UN… in getStyle()
|
H A D | vbastyles.cxx | 315 rtl::OUString aStyleName = rtl::OUString::createFromAscii( pTable->pOOoStyleName ); in Item() local 316 if( aStyleName.getLength() > 0 ) in Item() 342 …eference< beans::XPropertySet > xStyleProps( xStylesAccess->getByName( aStyleName ), uno::UNO_QUER… in Item()
|
/trunk/main/sc/source/ui/view/ |
H A D | formatsh.cxx | 322 String aStyleName; in ExecuteStyle() local 335 aStyleName = ((const SfxStringItem*)pNameItem)->GetValue(); in ExecuteStyle() 344 pStyleSheet = &(pStylePool->Make( aStyleName, eFamily, in ExecuteStyle() 382 aStyleName = ((const SfxStringItem*)pNameItem)->GetValue(); in ExecuteStyle() 383 pStyleSheet = pStylePool->Find( aStyleName, eFamily ); in ExecuteStyle() 403 aStyleName = pStrItem->GetValue(); in ExecuteStyle() 404 pStyleSheet = pStylePool->Find( aStyleName, eFamily ); in ExecuteStyle() 536 pStyleSheet = &pStylePool->Make( aStyleName, eFamily, in ExecuteStyle() 629 if ( aOldName != aStyleName ) in ExecuteStyle() 656 if ( rStrCurStyle != aStyleName ) in ExecuteStyle() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | XMLFontStylesContext.cxx | 90 Any aStyleName; member in XMLFontStyleContext_Impl 136 aStyleName <<= sEmpty; in XMLFontStyleContext_Impl() 158 aStyleName <<= rValue; in SetAttribute() 200 XMLPropertyState aPropState( nStyleNameIdx, aStyleName ); in FillProperties()
|
/trunk/main/editeng/inc/editeng/ |
H A D | fontitem.hxx | 49 String aStyleName; member in SvxFontItem 83 void SetStyleName(const String &rStyleName ) { aStyleName = rStyleName; } in SetStyleName() 84 inline const String &GetStyleName() const { return aStyleName; } in GetStyleName()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | dlgolbul.cxx | 119 String aStyleName((SdResId(STR_LAYOUT_OUTLINE))); in OutlineBulletDlg() 120 aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " 1" ) ); in OutlineBulletDlg() 121 SfxStyleSheetBase* pFirstStyleSheet = pSSPool->Find( aStyleName, SD_STYLE_FAMILY_PSEUDO); in OutlineBulletDlg()
|
H A D | prltempl.cxx | 116 String aStyleName((SdResId(STR_PSEUDOSHEET_OUTLINE))); in SdPresLayoutTemplateDlg() 117 aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " 1" ) ); in SdPresLayoutTemplateDlg() 118 SfxStyleSheetBase* pFirstStyleSheet = pSSPool->Find( aStyleName, SD_STYLE_FAMILY_PSEUDO); in SdPresLayoutTemplateDlg()
|
/trunk/main/sc/source/core/data/ |
H A D | conditio.cxx | 1141 aStyleName( rStyle ), in ScCondFormatEntry() 1151 aStyleName( rStyle ), in ScCondFormatEntry() 1158 aStyleName( r.aStyleName ), in ScCondFormatEntry() 1165 aStyleName( r.aStyleName ), in ScCondFormatEntry() 1173 aStyleName == r.aStyleName; in operator ==()
|
/trunk/main/oox/source/xls/ |
H A D | stylesbuffer.cxx | 2759 OUStringBuffer aStyleName; in lclGetBuiltinStyleName() local 2760 aStyleName.appendAscii( spcStyleNamePrefix ); in lclGetBuiltinStyleName() 2764 aStyleName.append( rName ); in lclGetBuiltinStyleName() 2766 aStyleName.append( nBuiltinId ); in lclGetBuiltinStyleName() 2768 aStyleName.append( nLevel ); in lclGetBuiltinStyleName() 2769 return aStyleName.makeStringAndClear(); in lclGetBuiltinStyleName() 3043 OUString aStyleName = lclCreateStyleName( rModel ); in finalizeImport() local 3050 aCellStyles[ aStyleName ] = *aIt; in finalizeImport() 3060 if( aStyleName.getLength() > 0 ) in finalizeImport() 3062 if( aCellStyles.count( aStyleName ) > 0 ) in finalizeImport() [all …]
|
/trunk/main/sc/source/filter/xml/ |
H A D | XMLTableShapeImportHelper.cxx | 161 rtl::OUString aStyleName; in finishShape() local 172 aStyleName = xAttrList->getValueByIndex( i ); in finishShape() 178 pAnnotationContext->SetShape(rShape, rShapes, aStyleName, aTextStyle); in finishShape()
|
/trunk/main/sc/inc/ |
H A D | conditio.hxx | 166 String aStyleName; member in ScCondFormatEntry 192 const String& GetStyle() const { return aStyleName; } in GetStyle() 193 void UpdateStyleName(const String& rNew) { aStyleName=rNew; } in UpdateStyleName()
|
/trunk/main/editeng/source/items/ |
H A D | textitem.cxx | 247 aStyleName(aStName) in SvxFontItem() 258 aStyleName = rFont.GetStyleName(); in operator =() 276 aFontDescriptor.StyleName = aStyleName.GetBuffer(); in QueryValue() 287 rVal <<= OUString(aStyleName.GetBuffer()); in QueryValue() 309 aStyleName = aFontDescriptor.StyleName; in PutValue() 328 aStyleName = aStr.getStr(); in PutValue() 369 aStyleName == rItem.aStyleName ); in operator ==()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | styleuno.cxx | 1097 aStyleName( rName ) in ScStyleObj() 1109 aStyleName = rNewName; in InitDoc() 1180 return pStylePool->Find( aStyleName, eFamily ); in GetStyle_Impl() 1253 pDocShell->PageStyleModified( aStyleName, sal_True ); in setParentStyle() 1288 aStyleName = aString; //! notify other objects for this style? in setName() 1628 pDocShell->PageStyleModified( aStyleName, sal_True ); in setAllPropertiesToDefault() 1962 pDocShell->PageStyleModified( aStyleName, sal_True ); in SetOnePropertyValueWithoutUpdate()
|