| /trunk/main/ucb/workben/ucb/ |
| H A D | ucbdemo.cxx | 467 String aText(RTL_CONSTASCII_USTRINGPARAM(" ")); in init() local 468 aText += UniString(aInfos[i].Scheme); in init() 469 print(aText); in init() 677 UniString aText( UniString::CreateFromAscii( in executeCommand() local 680 aText += UniString( rName ); in executeCommand() 681 print( aText ); in executeCommand() 1092 UniString aText; in open() local 1098 aText += UniString::CreateFromInt32( ++n ); in open() 1099 aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( in open() 1101 aText += UniString( aId ); in open() [all …]
|
| /trunk/main/svtools/source/control/ |
| H A D | inettbc.cxx | 92 static sal_Bool TildeParsing( String& aText, String& aBaseUrl ); 113 String aText; member in SvtMatchContext_Impl 151 , aText( rText ) in SvtMatchContext_Impl() 299 pBox->SetSelection( Selection( pThis->aText.Len(), aTmp.Len() ) ); 351 bPureHomePath = aText.Search( '~' ) == 0 && aText.Search( '/' ) == STRING_NOTFOUND; in ReadFolder() 355 || aText.CompareToAscii( "." ) == COMPARE_EQUAL in ReadFolder() 356 … || (aText.Len() > 1 && aText.Copy( aText.Len() - 2, 2 ).CompareToAscii( "/." ) == COMPARE_EQUAL) in ReadFolder() 357 … || (aText.Len() > 2 && aText.Copy( aText.Len() - 3, 3 ).CompareToAscii( "/.." ) == COMPARE_EQUAL); in ReadFolder() 366 String aNewText( aText ); in ReadFolder() 472 String aInput( aText ); in ReadFolder() [all …]
|
| H A D | taskbox.cxx | 248 XubString aText = pItem->maText; in ImplFormatTaskToolBox() local 249 if ( !aText.Len() ) in ImplFormatTaskToolBox() 250 aText = ' '; in ImplFormatTaskToolBox() 251 long nTxtWidth = GetTextWidth( aText ); in ImplFormatTaskToolBox() 257 aText.AppendAscii( "..." ); in ImplFormatTaskToolBox() 260 aText.Erase( aText.Len()-3-1, 1 ); in ImplFormatTaskToolBox() 261 nTxtWidth = GetTextWidth( aText ); in ImplFormatTaskToolBox() 263 while ( (nTxtWidth > mnMaxTextWidth) && (aText.Len() > 3) ); in ImplFormatTaskToolBox() 267 if ( aText.EqualsAscii( "..." ) ) in ImplFormatTaskToolBox() 270 InsertItem( nItemId, pItem->maImage, aText, TIB_LEFT ); in ImplFormatTaskToolBox()
|
| /trunk/main/svx/source/dialog/ |
| H A D | fntctrl.cxx | 121 String aText; member in FontPrevWin_Impl 179 if( aText != aScriptText ) in CheckScript() 210 aScriptText = aText; in _CheckScript() 227 sal_uInt16 nScript = xBreak->getScriptType( aText, 0 ); in _CheckScript() 231 nChg = (xub_StrLen)xBreak->endOfScript( aText, nChg, nScript ); in _CheckScript() 232 if( nChg < aText.Len() ) in _CheckScript() 233 nScript = xBreak->getScriptType( aText, nChg ); in _CheckScript() 240 nChg = (xub_StrLen)xBreak->endOfScript( aText, nChg, nScript ); in _CheckScript() 241 if (nChg < aText.Len() && nChg > 0 && in _CheckScript() 243 xBreak->getScriptType(aText, nChg - 1))) in _CheckScript() [all …]
|
| /trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/ |
| H A D | SwXTextCursor.java | 145 final XSimpleText aText = xTextDoc.getText(); in createTestEnvironment() local 146 final XTextCursor textCursor = aText.createTextCursor(); in createTestEnvironment() 153 aText.insertString(textCursor, "" + (3 - i), false); in createTestEnvironment() 156 aText.insertString(textCursor, "XTextCursor,XTextCursor", in createTestEnvironment() 158 aText.insertString(textCursor, "The quick brown fox ", in createTestEnvironment() 160 aText.insertString(textCursor, "jumps over the lazy dog ", in createTestEnvironment() 164 aText.insertControlCharacter(textCursor, in createTestEnvironment() 167 aText.insertControlCharacter(textCursor, in createTestEnvironment() 204 aText.insertControlCharacter(textCursor, in createTestEnvironment() 207 aText.insertString(textCursor, "4", false); in createTestEnvironment() [all …]
|
| /trunk/main/forms/source/component/ |
| H A D | Filter.cxx | 299 ::rtl::OUStringBuffer aText; in itemStateChanged() 315 aText in itemStateChanged() 318 ::rtl::OUString sText( aText.makeStringAndClear() ); in itemStateChanged() 330 aText.append( sText.copy( sExpressionMarker.getLength() ) ); in itemStateChanged() 334 aText.appendAscii( bSelected ? "1" : "0" ); in itemStateChanged() 358 aText.append( sItemText ); in itemStateChanged() 370 …aText.append( ::comphelper::getString( Reference< XPropertySet >( getModel(), UNO_QUERY )->getProp… in itemStateChanged() 375 ::rtl::OUString sText( aText.makeStringAndClear() ); in itemStateChanged() 518 ::rtl::OUString aText; in commit() 526 aText = xText->getText(); in commit() [all …]
|
| /trunk/main/i18npool/source/textconversion/ |
| H A D | textconversion_ko.cxx | 123 TextConversion_ko::getCharConversions(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength… in getCharConversions() argument 133 ch = aText[nStartPos]; in getCharConversions() 160 ch = aText[nStartPos + count]; in getCharConversions() 203 TextConversion_ko::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument 214 sal_Int32 start, end, length = aText.getLength() - nStartPos; in getConversions() 233 scriptType = checkScriptType(aText[nStartPos + start]); in getConversions() 244 …result.Candidates = getCharConversions(aText, nStartPos + start, len, toHanja); // char2char conve… in getConversions() 247 if (checkScriptType(aText[nStartPos + end]) != scriptType) in getConversions() 254 … result.Candidates = xCDL->queryConversions(aText, start + nStartPos, len, in getConversions() 268 … candidates = xCD->getConversions(aText, start + nStartPos, len, eDirection, nConversionOptions); in getConversions() [all …]
|
| H A D | textconversion_zh.cxx | 67 TextConversion_zh::getCharConversion(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,… in getCharConversion() argument 86 getOneCharConversion(aText[nStartPos+i], Data, Index); in getCharConversion() 91 TextConversion_zh::getWordConversion(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,… in getWordConversion() argument 120 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion() 130 OUString word = aText.copy(nStartPos + currPos, len); in getWordConversion() 211 getOneCharConversion(aText[nStartPos+currPos], charData, charIndex); in getWordConversion() 223 TextConversion_zh::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument 230 …result.Candidates[0] = getConversion( aText, nStartPos, nLength, rLocale, nConversionType, nConver… in getConversions() 238 TextConversion_zh::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument 251 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getConversion() [all …]
|
| /trunk/main/starmath/source/ |
| H A D | parse.cxx | 535 m_aCurToken.aText.Erase(); in NextToken() 546 …m_aCurToken.aText = m_aBufferString.Copy( nRealStart, sal::static_int_cast< xub_StrLen >(n) ); in NextToken() 561 m_aCurToken.aText = aRes.DequotedNameOrString; in NextToken() 578 m_aCurToken.aText.AssignAscii( pEntry->pIdent ); in NextToken() 586 m_aCurToken.aText = aName; in NextToken() 602 m_aCurToken.aText.AssignAscii( "_" ); in NextToken() 625 m_aCurToken.aText.AssignAscii( "<<" ); in NextToken() 636 m_aCurToken.aText.AssignAscii( "<=" ); in NextToken() 647 m_aCurToken.aText.AssignAscii( "<>" ); in NextToken() 658 m_aCurToken.aText.AssignAscii( "<?>" ); in NextToken() [all …]
|
| H A D | view.cxx | 193 aSel.nEndPos += aToken.aText.Len() + nExtra in MouseButtonDown() 201 … aSel.nEndPos = aSel.nEndPos + sal::static_int_cast< sal_uInt16 >(aToken.aText.Len()); in MouseButtonDown() 866 String aText; in GetTextLineSize() local 881 aText = rLine.GetToken(i, '\t'); in GetTextLineSize() 882 aText.EraseLeadingChars('\t'); in GetTextLineSize() 883 aText.EraseTrailingChars('\t'); in GetTextLineSize() 884 aSize.Width() += rDevice.GetTextWidth(aText); in GetTextLineSize() 899 String aText; in GetTextSize() local 923 aText = aLine.Copy(0, n); in GetTextSize() 924 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in GetTextSize() [all …]
|
| /trunk/main/toolkit/test/accessibility/ |
| H A D | AccessibleTextHandler.java | 413 JTextComponent aText, AccTreeNode aNode ) in performAction() 428 JTextComponent aText, AccTreeNode aNode ) in performAction() 443 JTextComponent aText, AccTreeNode aNode ) in performAction() 458 JTextComponent aText, AccTreeNode aNode ) in performAction() 462 aText.getCaretPosition() ); in performAction() 488 JTextArea aText; field in TextActionDialog 521 aText = new JTextArea(); in init() 522 aText.setText( sText ); in init() 523 aText.setColumns( Math.min( Math.max( 40, sText.length() ), 20 ) ); in init() 524 aText.setRows( sText.length() / 40 + 1 ); in init() [all …]
|
| /trunk/main/vcl/source/control/ |
| H A D | edit.cxx | 457 XubString aText; in ImplGetText() local 463 aText.Fill( maText.Len(), cEchoChar ); in ImplGetText() 464 return aText; in ImplGetText() 503 XubString aText = ImplGetText(); in ImplRepaint() local 505 nEnd = aText.Len(); in ImplRepaint() 511 if( aText.Len() ) in ImplRepaint() 513 if( 2*aText.Len() > xub_StrLen(sizeof(nDXBuffer)/sizeof(nDXBuffer[0])) ) in ImplRepaint() 515 pDXBuffer = new sal_Int32[2*(aText.Len()+1)]; in ImplRepaint() 519 GetCaretPositions( aText, pDX, nStart, nEnd ); in ImplRepaint() 533 DrawText( aPos, aText, nStart, nEnd - nStart, pVector, pDisplayText ); in ImplRepaint() [all …]
|
| H A D | combobox.cxx | 375 XubString aText = mpImplLB->GetEntryList()->GetEntryText( nPos ); in IMPL_LINK() local 376 Selection aSelection( aText.Len(), aStartText.Len() ); in IMPL_LINK() 377 pEdit->SetText( aText, aSelection ); in IMPL_LINK() 392 XubString aText; in IMPL_LINK() local 395 aText = mpSubEdit->GetText(); in IMPL_LINK() 402 XubString aToken = aText.GetToken( 0, mcMultiSep, nIndex ); in IMPL_LINK() 408 aText.Erase( nPrevIndex, nTokenLen ); in IMPL_LINK() 410 if ( (nPrevIndex < aText.Len()) && (aText.GetChar( nPrevIndex ) == mcMultiSep) ) in IMPL_LINK() 412 aText.Erase( nPrevIndex, 1 ); in IMPL_LINK() 416 aText.EraseLeadingAndTrailingChars( ' ' ); in IMPL_LINK() [all …]
|
| /trunk/main/linguistic/source/ |
| H A D | hyphdsp.cxx | 89 OUString aText( xEntry->getDictionaryWord() ); in buildHyphWord() local 90 sal_Int32 nTextLen = aText.getLength(); in buildHyphWord() 93 if (nTextLen > 0 && aText[ nTextLen - 1 ] != '=') in buildHyphWord() 103 sal_Unicode cTmp = aText[i]; in buildHyphWord() 124 aText = aTmp.makeStringAndClear(); in buildHyphWord() 128 if (aText != rOrigWord) in buildHyphWord() 133 if (aText.getLength() <= rOrigWord.getLength()) in buildHyphWord() 135 aShorter = aText; in buildHyphWord() 141 aLonger = aText; in buildHyphWord() 154 aText = rOrigWord; in buildHyphWord() [all …]
|
| /trunk/main/svx/source/sdr/primitive2d/ |
| H A D | sdrattributecreator.cxx | 705 attribute::SdrTextAttribute aText; in createNewSdrShadowTextAttribute() local 711 aText = createNewSdrTextAttribute(rSet, *pText); in createNewSdrShadowTextAttribute() 717 return attribute::SdrShadowTextAttribute(aShadow, aText); in createNewSdrShadowTextAttribute() 726 attribute::SdrTextAttribute aText; in createNewSdrLineShadowTextAttribute() local 732 aText = createNewSdrTextAttribute(rSet, *pText); in createNewSdrLineShadowTextAttribute() 736 if(!aText.isDefault() in createNewSdrLineShadowTextAttribute() 737 && !aText.getSdrFormTextAttribute().isDefault() in createNewSdrLineShadowTextAttribute() 738 && aText.isHideContour()) in createNewSdrLineShadowTextAttribute() 756 if(!aLine.isDefault() || !aText.isDefault()) in createNewSdrLineShadowTextAttribute() 761 return attribute::SdrLineShadowTextAttribute(aLine, aLineStartEnd, aShadow, aText); in createNewSdrLineShadowTextAttribute() [all …]
|
| /trunk/main/unotools/source/ucbhelper/ |
| H A D | progresshandlerwrap.cxx | 40 sal_Bool getStatusFromAny_Impl( const Any& aAny, ::rtl::OUString& aText, sal_Int32& nNum ) in getStatusFromAny_Impl() argument 51 !aText.getLength() && ( aSetList[ind] >>= aText ); in getStatusFromAny_Impl() 63 ::rtl::OUString aText; in push() 66 if( getStatusFromAny_Impl( Status, aText, nRange ) ) in push() 67 m_xStatusIndicator->start( aText, nRange ); in push() 76 ::rtl::OUString aText; in update() 79 if( getStatusFromAny_Impl( Status, aText, nValue ) ) in update() 81 if( aText.getLength() ) m_xStatusIndicator->setText( aText ); in update()
|
| /trunk/main/padmin/source/ |
| H A D | adddlg.cxx | 207 String aText( PaResId( RID_ERR_REMOVESGENPRT ) ); in IMPL_LINK() local 208 … aText.SearchAndReplace( String::CreateFromAscii( "%s" ), m_aDriverBox.GetSelectEntry( i ) ); in IMPL_LINK() 209 ErrorBox aErrorBox( this, WB_OK | WB_DEF_OK, aText ); in IMPL_LINK() 220 String aText( PaResId( RID_ERR_REMOVEDEFAULTDRIVER ) ); in IMPL_LINK() local 221 … aText.SearchAndReplace( String::CreateFromAscii( "%s" ), m_aDriverBox.GetSelectEntry( i ) ); in IMPL_LINK() 222 ErrorBox aErrorBox( this, WB_OK | WB_DEF_OK, aText ); in IMPL_LINK() 240 String aText( PaResId( RID_QUERY_DRIVERUSED ) ); in IMPL_LINK() local 241 … aText.SearchAndReplace( String::CreateFromAscii( "%s" ), m_aDriverBox.GetSelectEntry( i ) ); in IMPL_LINK() 242 QueryBox aBox( this, WB_YES_NO | WB_DEF_NO, aText ); in IMPL_LINK() 249 String aText( PaResId( RID_QUERY_REMOVEDRIVER ) ); in IMPL_LINK() local [all …]
|
| /trunk/main/sw/source/ui/shells/ |
| H A D | langhelper.cxx | 540 String aText; in GetTextForLanguageGuessing() local 545 aText = pNode->GetTxt(); in GetTextForLanguageGuessing() 546 if (aText.Len() > 0) in GetTextForLanguageGuessing() 553 nEnd = aText.Len() - nEnd > 100 ? nEnd + 100 : aText.Len(); in GetTextForLanguageGuessing() 554 aText = aText.Copy( nStt, nEnd - nStt ); in GetTextForLanguageGuessing() 557 return aText; in GetTextForLanguageGuessing() 563 String aText; in GetTextForLanguageGuessing() local 565 aText = rEditEngine->GetText(aDocSelection); in GetTextForLanguageGuessing() 566 if (aText.Len() > 0) in GetTextForLanguageGuessing() 573 nEnd = aText.Len() - nEnd > 100 ? nEnd + 100 : aText.Len(); in GetTextForLanguageGuessing() [all …]
|
| /trunk/main/editeng/source/editeng/ |
| H A D | eehtml.cxx | 197 String aText = aToken; in NextToken() local 198 if ( aText.Len() && ( aText.GetChar( 0 ) == ' ' ) in NextToken() 200 aText.Erase( 0, 1 ); in NextToken() 204 pCurAnchor->aText += aText; in NextToken() 211 sal_uInt16 nTabPos = aText.Search( '\t', 0 ); in NextToken() 214 aText.Erase( nTabPos, 1 ); in NextToken() 215 … aText.Insert( String( RTL_CONSTASCII_USTRINGPARAM( " " ) ), nTabPos ); in NextToken() 216 nTabPos = aText.Search( '\t', nTabPos+8 ); in NextToken() 219 ImpInsertText( aText ); in NextToken() 513 aImportInfo.aText = aToken; in NextToken() [all …]
|
| /trunk/main/vcl/unx/generic/app/ |
| H A D | i18n_ic.cxx | 84 if (maClientData.aText.pUnicodeBuffer != NULL) in ~SalI18N_InputContext() 85 free(maClientData.aText.pUnicodeBuffer); in ~SalI18N_InputContext() 86 if (maClientData.aText.pCharStyle != NULL) in ~SalI18N_InputContext() 87 free(maClientData.aText.pCharStyle); in ~SalI18N_InputContext() 174 maClientData.aText.pUnicodeBuffer = NULL; in SalI18N_InputContext() 175 maClientData.aText.pCharStyle = NULL; in SalI18N_InputContext() 201 maClientData.aText.pUnicodeBuffer = in SalI18N_InputContext() 203 maClientData.aText.pCharStyle = in SalI18N_InputContext() 205 maClientData.aText.nSize = PREEDIT_BUFSZ; in SalI18N_InputContext() 206 maClientData.aText.nCursorPos = 0; in SalI18N_InputContext() [all …]
|
| H A D | i18n_cb.cxx | 59 pPreeditData->aText.nCursorPos = 0; in PreeditStartCallback() 60 pPreeditData->aText.nLength = 0; in PreeditStartCallback() 368 Preedit_DeleteText(&(pPreeditData->aText), in PreeditDrawCallback() 377 Preedit_InsertText(&(pPreeditData->aText), call_data->text, in PreeditDrawCallback() 386 Preedit_DeleteText(&(pPreeditData->aText), in PreeditDrawCallback() 388 Preedit_InsertText(&(pPreeditData->aText), call_data->text, in PreeditDrawCallback() 396 Preedit_UpdateAttributes(&(pPreeditData->aText), in PreeditDrawCallback() 407 pPreeditData->aText.pCharStyle, pPreeditData->aText.nLength, pPreeditData->aInputFlags); in PreeditDrawCallback() 409 pPreeditData->aInputEv.maText = String (pPreeditData->aText.pUnicodeBuffer, in PreeditDrawCallback() 410 pPreeditData->aText.nLength); in PreeditDrawCallback() [all …]
|
| /trunk/main/offapi/com/sun/star/i18n/ |
| H A D | XBreakIterator.idl | 72 long nextCharacters( [in] string aText, [in] long nStartPos, 88 long previousCharacters( [in] string aText, [in] long nStartPos, 104 Boundary nextWord( [in] string aText, [in] long nStartPos, 140 Boundary previousWord( [in] string aText, [in] long nStartPos, 162 Boundary getWordBoundary( [in] string aText, [in] long nPos, 178 short getWordType( [in] string aText, [in] long nPos, 191 boolean isBeginWord( [in] string aText, [in] long nPos, 198 boolean isEndWord( [in] string aText, [in] long nPos, 209 long beginOfSentence( [in] string aText, [in] long nStartPos, 219 long endOfSentence( [in] string aText, [in] long nStartPos, [all …]
|
| /trunk/main/framework/source/uielement/ |
| H A D | comboboxtoolbarcontroller.cxx | 297 rtl::OUString aText; in executeControlCommand() local 298 rControlCommand.Arguments[i].Value >>= aText; in executeControlCommand() 299 m_pComboBox->SetText( aText ); in executeControlCommand() 302 notifyTextChanged( aText ); in executeControlCommand() 335 rtl::OUString aText; in executeControlCommand() local 340 if ( rControlCommand.Arguments[i].Value >>= aText ) in executeControlCommand() 341 m_pComboBox->InsertEntry( aText, nPos ); in executeControlCommand() 349 rtl::OUString aText; in executeControlCommand() local 363 rControlCommand.Arguments[i].Value >>= aText; in executeControlCommand() 366 m_pComboBox->InsertEntry( aText, nPos ); in executeControlCommand() [all …]
|
| /trunk/main/odk/examples/CLI/CSharp/Spreadsheet/ |
| H A D | GeneralTableSample.cs | 86 String aText = "The formula " + xCell.getFormula() + " is "; in doSampleFunction() 87 aText += bValid ? "valid." : "erroneous."; in doSampleFunction() 95 xCellText.insertString( xTextCursor, aText, false ); in doSampleFunction() 164 aText = "The name of this column is " + xNamed.getName() + "."; in doSampleFunction() 165 xSheet.getCellByPosition( 2, 2 ).setFormula( aText ); in doSampleFunction() 219 aText = "Chart has column headers: "; in doSampleFunction() 220 aText += xChart.getHasColumnHeaders() ? "yes" : "no"; in doSampleFunction() 221 xSheet.getCellByPosition( 2, 8 ).setFormula( aText ); in doSampleFunction() 222 aText = "Chart has row headers: "; in doSampleFunction() 223 aText += xChart.getHasRowHeaders() ? "yes" : "no"; in doSampleFunction() [all …]
|
| /trunk/main/i18npool/inc/ |
| H A D | textconversion.hxx | 50 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 57 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 64 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 110 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 117 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 124 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 146 …getCharConversions(const rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, sal_Bool to… 166 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 173 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, 180 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, [all …]
|