| /AOO41X/main/svx/source/dialog/ |
| H A D | swframeexample.cxx | 456 Rectangle aTxt(aTextLine); in DrawInnerFrame_Impl() local 457 sal_Int32 nStep = aTxt.GetHeight() + 2; in DrawInnerFrame_Impl() 463 aTxt.SetSize(Size(aTxt.GetWidth() / 2, aTxt.GetHeight())); in DrawInnerFrame_Impl() 464 DrawRect_Impl(aTxt, m_aTxtCol, m_aTransColor); in DrawInnerFrame_Impl() 465 aTxt.Move(0, nStep); in DrawInnerFrame_Impl() 616 Rectangle aTxt(aTextLine); in Paint() local 622 aTxt.Left() = aFrameAtFrame.Left() + FLYINFLY_BORDER; in Paint() 623 aTxt.Right() = aFrameAtFrame.Right() - FLYINFLY_BORDER; in Paint() 624 aTxt.Top() = aFrameAtFrame.Top() + FLYINFLY_BORDER; in Paint() 625 aTxt.Bottom() = aTxt.Top() + aTextLine.GetHeight() - 1; in Paint() [all …]
|
| /AOO41X/main/cui/source/dialogs/ |
| H A D | hyphen.cxx | 226 String aTxt( aEditWord ); in EnableLRBtn_Impl() local 227 xub_StrLen nLen = aTxt.Len(); in EnableLRBtn_Impl() 233 if ( aTxt.GetChar( i ) == sal_Unicode( HYPH_POS_CHAR ) ) in EnableLRBtn_Impl() 240 DBG_ASSERT(nOldPos < aTxt.Len(), "nOldPos out of range"); in EnableLRBtn_Impl() 241 if (nOldPos >= aTxt.Len()) in EnableLRBtn_Impl() 242 nOldPos = aTxt.Len() - 1; in EnableLRBtn_Impl() 246 if ( aTxt.GetChar( i ) == sal_Unicode( HYPH_POS_CHAR ) ) in EnableLRBtn_Impl() 286 String aTxt; in EraseUnusableHyphens_Impl() local 292 aTxt = String( rxPossHyph->getPossibleHyphens() ); in EraseUnusableHyphens_Impl() 313 nPos = aTxt.Search( sal_Unicode( HYPH_POS_CHAR ), nStart ); in EraseUnusableHyphens_Impl() [all …]
|
| H A D | linkdlg.cxx | 633 XubString aTxt = Links().GetEllipsisString( sFileNm, nWidthPixel, TEXT_DRAW_PATHELLIPSIS ); in InsertEntry() local 638 if( aFileName.Len() > aTxt.Len() ) in InsertEntry() 639 aTxt = aFileName; in InsertEntry() 640 else if( aTxt.Search( aFileName, aTxt.Len() - aFileName.Len() ) == STRING_NOTFOUND ) in InsertEntry() 642 aTxt = aFileName; in InsertEntry() 644 aEntry = aTxt; in InsertEntry()
|
| H A D | thesdlg.cxx | 345 String aTxt( rTerm ); in queryMeanings_Impl() local 346 aTxt.EraseTrailingChars( '.' ); in queryMeanings_Impl() 347 aMeanings = xThesaurus->queryMeanings( aTxt, rLocale, rProperties ); in queryMeanings_Impl() 350 rTerm = aTxt; in queryMeanings_Impl()
|
| /AOO41X/main/starmath/source/ |
| H A D | accessibility.cxx | 156 String aTxt; in GetAccessibleText_Impl() local 159 aTxt = pDoc->GetAccessibleText(); in GetAccessibleText_Impl() 160 return aTxt; in GetAccessibleText_Impl() 475 String aTxt( GetAccessibleText_Impl() ); in setCaretPosition() local 476 if (!(/*0 <= nIdx &&*/ nIdx < aTxt.Len())) in setCaretPosition() 487 String aTxt( GetAccessibleText_Impl() ); in getCharacter() local 488 if (!(/*0 <= nIdx &&*/ nIdx < aTxt.Len())) in getCharacter() 490 return aTxt.GetChar( nIdx ); in getCharacter() 521 String aTxt( GetAccessibleText_Impl() ); in getCharacterBounds() local 522 if (!(0 <= nIndex && nIndex <= aTxt.Len())) // #108812# aTxt.Len() is valid in getCharacterBounds() [all …]
|
| H A D | mathmlexport.cxx | 579 OUString aTxt; in getImplementationName() local 583 aTxt = SmXMLExportMeta_getImplementationName(); in getImplementationName() 586 aTxt = SmXMLExportSettings_getImplementationName(); in getImplementationName() 589 aTxt = SmXMLExportContent_getImplementationName(); in getImplementationName() 593 aTxt = SmXMLExport_getImplementationName(); in getImplementationName() 596 return aTxt; in getImplementationName()
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | porfld.cxx | 155 XubString aTxt; member in SwFldSlot 167 bOn = pPor->GetExpTxt( *pNew, aTxt ); in SwFldSlot() 176 pInf->SetLen( aTxt.Len() ); in SwFldSlot() 184 XubString aTmp( aTxt ); in SwFldSlot() 185 aTxt = *pOldTxt; in SwFldSlot() 186 aTxt.Erase( nIdx, 1 ); in SwFldSlot() 187 aTxt.Insert( aTmp, nIdx ); in SwFldSlot() 189 pInf->SetTxt( aTxt ); in SwFldSlot() 206 String aTxt; in CheckScript() local 207 if( GetExpTxt( rInf, aTxt ) && aTxt.Len() && pBreakIt->GetBreakIter().is() ) in CheckScript() [all …]
|
| H A D | portxt.cxx | 307 String aTxt; in lcl_HasContent() local 308 return rFld.GetExpTxt( rInf, aTxt ) && aTxt.Len(); in lcl_HasContent() 577 const XubString aTxt = XubString::CreateFromAscii(CH_TXT_ATR_SUBST_FIELDEND); in Paint() local 578 rInf.DrawText( aTxt, *this, 0, aTxt.Len(), false ); in Paint() 583 const XubString aTxt = XubString::CreateFromAscii(CH_TXT_ATR_SUBST_FIELDSTART); in Paint() local 584 rInf.DrawText( aTxt, *this, 0, aTxt.Len(), false ); in Paint() 894 const XubString aTxt( ' ' ); in Paint() local 895 rInf.DrawText( aTxt, *this, 0, 1, false ); in Paint() 982 rtl::OUString aTxt; in Paint() local 984 rInf.DrawText( aTxt, *this, 0, 0/*aTxt.getLength()*/, false ); in Paint() [all …]
|
| H A D | itratr.cxx | 767 const XubString aTxt = pHint->GetFtn().GetNumStr(); in GetMinMaxSize() local 768 if( lcl_MinMaxString( aArg, aIter.GetFnt(), aTxt, 0, in GetMinMaxSize() 769 aTxt.Len() ) ) in GetMinMaxSize() 778 const String aTxt = pFld->ExpandField(true); in GetMinMaxSize() local 779 if( lcl_MinMaxString( aArg, aIter.GetFnt(), aTxt, 0, in GetMinMaxSize() 780 aTxt.Len() ) ) in GetMinMaxSize() 973 const XubString aTxt = pHint->GetFtn().GetNumStr(); in GetScalingOfSelectedText() local 974 SwDrawTextInfo aDrawInf( pSh, *pOut, 0, aTxt, 0, aTxt.Len() ); in GetScalingOfSelectedText() 984 String const aTxt = pFld->ExpandField(true); in GetScalingOfSelectedText() local 985 SwDrawTextInfo aDrawInf( pSh, *pOut, 0, aTxt, 0, aTxt.Len() ); in GetScalingOfSelectedText()
|
| H A D | guess.cxx | 273 XubString aTxt; in Guess() local 274 pFld->GetExpTxt( rInf, aTxt ); in Guess() 276 if ( aTxt.Len() ) in Guess() 278 nFieldDiff = aTxt.Len() - 1; in Guess() 288 rOldTxt.Insert( aTxt, rInf.GetIdx() - 1 ); in Guess() 554 XubString aTxt( rInf.GetTxt().Copy( nBreakStart, nWordLen ) ); in AlternativeSpelling() local 560 xHyphWord = xHyph->queryAlternativeSpelling( OUString(aTxt), in AlternativeSpelling()
|
| H A D | txttab.cxx | 628 XubString aTxt( ' ' ); in Paint() local 629 const KSHORT nCharWidth = rInf.GetTxtSize( aTxt ).Width(); in Paint() 635 rInf.DrawText( aTxt.Fill( nChar, ' ' ), *this, 0, nChar, sal_True ); in Paint() 643 XubString aTxt( cFill ); in Paint() local 644 const KSHORT nCharWidth = rInf.GetTxtSize( aTxt ).Width(); in Paint() 655 rInf.DrawText( aTxt.Fill( nChar, cFill ), *this, 0, nChar, sal_True ); in Paint()
|
| H A D | porglue.cxx | 102 XubString aTxt; in Paint() local 103 aTxt.Fill( GetFixWidth() / GetLen(), ' ' ); in Paint() 104 SwTxtPaintInfo aInf( rInf, aTxt ); in Paint() 105 aInf.DrawText( *this, aTxt.Len(), sal_True ); in Paint()
|
| H A D | txtfld.cxx | 576 XubString aTxt( pTxtNd->GetNumString() ); in NewNumberPortion() local 578 if ( aTxt.Len() > 0 ) in NewNumberPortion() 580 aTxt.Insert( pTxtNd->GetLabelFollowedBy() ); in NewNumberPortion() 589 if( aTxt.Len() ) in NewNumberPortion() 618 pRet = new SwNumberPortion( aTxt, pNumFnt, in NewNumberPortion()
|
| H A D | inftxt.cxx | 1768 aTxt = XubString( pCh, RTL_TEXTENCODING_MS_1252 ); in SwTxtSlot() 1772 bOn = pPor->GetExpTxt( *pNew, aTxt ); in SwTxtSlot() 1781 pInf->SetTxt( aTxt ); in SwTxtSlot() 1795 … else if( !pTempList && nPos < pOldSmartTagList->Count() && nListPos < nIdx && aTxt.Len() ) in SwTxtSlot() 1798 pTempList->Insert( rtl::OUString(), 0, 0, aTxt.Len(), 0 ); in SwTxtSlot() 1811 … else if( !pTempList && nPos < pOldGrammarCheckList->Count() && nListPos < nIdx && aTxt.Len() ) in SwTxtSlot() 1814 pTempList->Insert( rtl::OUString(), 0, 0, aTxt.Len(), 0 ); in SwTxtSlot()
|
| /AOO41X/main/fpicker/source/unx/gnome/ |
| H A D | SalGtkFolderPicker.cxx | 114 OString aTxt = unicodetouri( aDirectory ); in setDisplayDirectory() local 116 if( aTxt.lastIndexOf('/') == aTxt.getLength() - 1 ) in setDisplayDirectory() 117 aTxt = aTxt.copy( 0, aTxt.getLength() - 1 ); in setDisplayDirectory() 119 OSL_TRACE( "setting path to %s\n", aTxt.getStr() ); in setDisplayDirectory() 124 aTxt.getStr() ); in setDisplayDirectory()
|
| H A D | SalGtkPicker.cxx | 256 OString aTxt = unicodetouri(aDirectory); in implsetDisplayDirectory() local 258 if( aTxt.lastIndexOf('/') == aTxt.getLength() - 1 ) in implsetDisplayDirectory() 259 aTxt = aTxt.copy( 0, aTxt.getLength() - 1 ); in implsetDisplayDirectory() 261 OSL_TRACE( "setting path to %s\n", aTxt.getStr() ); in implsetDisplayDirectory() 265 aTxt.getStr() ); in implsetDisplayDirectory()
|
| /AOO41X/main/editeng/source/items/ |
| H A D | svxfont.cxx | 134 XubString aTxt( rTxt ); in CalcCaseMap() local 146 aCharClass.toUpper( aTxt ); in CalcCaseMap() 152 aCharClass.toLower( aTxt ); in CalcCaseMap() 162 for( sal_uInt16 i = 0; i < aTxt.Len(); ++i ) in CalcCaseMap() 164 if( sal_Unicode(' ') == aTxt.GetChar(i) || sal_Unicode('\t') == aTxt.GetChar(i) ) in CalcCaseMap() 170 String aTemp( aTxt.GetChar( i ) ); in CalcCaseMap() 172 aTxt.Replace( i, 1, aTemp ); in CalcCaseMap() 185 return aTxt; in CalcCaseMap() 246 const XubString aTxt( CalcCaseMap( rTxt ) ); in DoOnCapitals() local 253 sal_Bool bCaseMapLengthDiffers(aTxt.Len() != rTxt.Len()); in DoOnCapitals() [all …]
|
| /AOO41X/main/sw/source/core/tox/ |
| H A D | txmsrt.cxx | 703 String aTxt; in GetURL() local 751 aTxt = '#'; in GetURL() 753 aTxt += aMarkName; in GetURL() 766 (( aTxt = '#' ) += pFly->GetName() ) += cMarkSeperator; in GetURL() 776 aTxt.AppendAscii( pStr ); in GetURL() 782 return aTxt; in GetURL() 820 String aTxt; in GetURL() local 824 aTxt = ((SwTableNode*)pNd)->GetTable().GetFrmFmt()->GetName(); in GetURL() 825 if( aTxt.Len() ) in GetURL() 827 ( aTxt.Insert( '#', 0 ) += cMarkSeperator ). in GetURL() [all …]
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | doclay.cxx | 1479 String aTxt; in lcl_InsertLabel() local 1482 aTxt = rNumberingSeparator; in lcl_InsertLabel() 1486 aTxt += pType->GetName(); in lcl_InsertLabel() 1488 aTxt += ' '; in lcl_InsertLabel() 1490 xub_StrLen nIdx = aTxt.Len(); in lcl_InsertLabel() 1493 aTxt += rSeparator; in lcl_InsertLabel() 1495 xub_StrLen nSepIdx = aTxt.Len(); in lcl_InsertLabel() 1496 aTxt += rTxt; in lcl_InsertLabel() 1500 pNew->InsertText( aTxt, aIdx ); in lcl_InsertLabel() 1791 String aTxt; in lcl_InsertDrawLabel() local [all …]
|
| H A D | notxtfrm.cxx | 279 String aTxt( pNd->GetTitle() ); in Paint() local 280 if ( !aTxt.Len() && pNd->IsGrfNode() ) in Paint() 281 GetRealURL( *(SwGrfNode*)pNd, aTxt ); in Paint() 282 if( !aTxt.Len() ) in Paint() 283 aTxt = FindFlyFrm()->GetFmt()->GetName(); in Paint() 284 lcl_PaintReplacement( Frm(), aTxt, *pSh, this, sal_False ); in Paint() 950 String aTxt( pGrfNd->GetTitle() ); in PaintPicture() local 951 if ( !aTxt.Len() ) in PaintPicture() 952 aTxt = aUrl; in PaintPicture() 953 ::lcl_PaintReplacement( aAlignedGrfArea, aTxt, *pShell, this, sal_False ); in PaintPicture()
|
| /AOO41X/main/sw/source/ui/cctrl/ |
| H A D | swlbox.cxx | 216 String aTxt( ComboBox::GetText() ); in GetText() local 219 GetAppCharClass().toLower( aTxt ); in GetText() 221 GetAppCharClass().toUpper( aTxt ); in GetText() 223 return aTxt; in GetText()
|
| /AOO41X/main/sw/source/core/table/ |
| H A D | swtable.cxx | 1442 String aTxt( rStr.Copy( 0, nPos ) ); in _GetBoxNum() local 1443 if ( !bPerformValidCheck || IsValidRowName( aTxt ) ) in _GetBoxNum() 1445 nRet = static_cast<sal_uInt16>(aTxt.ToInt32()); in _GetBoxNum() 2379 String aTxt( GetDoc()->GetNodes()[ nNdPos ] in Modify() local 2381 if( !aTxt.Len() ) in Modify() 2386 lcl_TabToBlankAtSttEnd( aTxt ); in Modify() 2396 aTxt, nTmpFmt, fVal )) in Modify() 2400 aTxt += '%'; in Modify() 2403 aTxt, nTmpFmtIdx, fVal ); in Modify() 2408 aTxt, nTmpFmtIdx, fVal ); in Modify() [all …]
|
| /AOO41X/main/sw/source/core/txtnode/ |
| H A D | ndtxt.cxx | 3115 XubString aTxt( GetTxt().Copy( nIdx, nLen ) ); in GetExpandTxt() local 3117 Replace0xFF( aTxt, nTxtStt, aTxt.Len(), sal_True ); in GetExpandTxt() 3120 aTxt.EraseAllChars( CH_TXT_ATR_INPUTFIELDSTART ); in GetExpandTxt() 3121 aTxt.EraseAllChars( CH_TXT_ATR_INPUTFIELDEND ); in GetExpandTxt() 3131 aTxt.Insert( aSpace, 0 ); in GetExpandTxt() 3133 aTxt.Insert( GetNumString(), 0 ); in GetExpandTxt() 3143 aTxt.Insert( aSpace , 0 ); in GetExpandTxt() 3144 aTxt.Insert( aSpace , 0 ); in GetExpandTxt() 3149 return aTxt; in GetExpandTxt() 3387 XubString aTxt( GetTxt().Copy( nIdx, nLen ) ); in GetRedlineTxt() local [all …]
|
| /AOO41X/main/sw/source/core/unocore/ |
| H A D | unocrsrhelper.cxx | 993 OUString aTxt; in DocInsertStringSplitCR() local 1009 aTxt = rText.Copy( nStartIdx, nIdx - nStartIdx ); in DocInsertStringSplitCR() 1010 if (aTxt.getLength() && in DocInsertStringSplitCR() 1011 !rDoc.InsertString( rNewCursor, aTxt, nInsertFlags )) in DocInsertStringSplitCR() 1024 aTxt = rText.Copy( nStartIdx ); in DocInsertStringSplitCR() 1025 if (aTxt.getLength() && in DocInsertStringSplitCR() 1026 !rDoc.InsertString( rNewCursor, aTxt, nInsertFlags )) in DocInsertStringSplitCR()
|
| /AOO41X/main/svtools/source/control/ |
| H A D | svxbox.cxx | 601 String aTxt(ComboBox::GetText()); in GetText() local 605 return aCharClass.lower(aTxt); in GetText() 608 return aCharClass.upper(aTxt); in GetText() 610 return aTxt; in GetText()
|