Home
last modified time | relevance | path

Searched refs:CompareTo (Results 1 – 25 of 79) sorted by relevance

1234

/aoo42x/main/vcl/unx/generic/printer/
H A Djobdata.cxx194 if( aLine.CompareTo( "JobData", 7 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
196 else if( aLine.CompareTo( "printer=", 8 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
201 else if( aLine.CompareTo( "orientation=", 12 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
206 else if( aLine.CompareTo( "copies=", 7 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
211 else if( aLine.CompareTo( "margindajustment=",17 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
220 else if( aLine.CompareTo( "colordepth=", 11 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
225 else if( aLine.CompareTo( "colordevice=", 12 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
230 else if( aLine.CompareTo( "pslevel=", 8 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
235 else if( aLine.CompareTo( "pdfdevice=", 10 ) == COMPARE_EQUAL ) in constructFromStreamBuffer()
H A Dprinterinfomanager.cxx319 if( aKey.CompareTo( "PPD_", 4 ) == COMPARE_EQUAL ) in initialize()
331 else if( aKey.Len() > 10 && aKey.CompareTo("SubstFont_", 10 ) == COMPARE_EQUAL ) in initialize()
524 if( aKey.CompareTo( "PPD_", 4 ) == COMPARE_EQUAL && aPrinter.m_aInfo.m_pParser ) in initialize()
536 else if( aKey.Len() > 10 && aKey.CompareTo("SubstFont_", 10 ) == COMPARE_EQUAL ) in initialize()
H A Dppdparser.cxx947 if( aKey.CompareTo( "Default", 7 ) == COMPARE_EQUAL ) in parse()
1121 if( aLine.CompareTo( "*Default", 8 ) == COMPARE_EQUAL ) in parse()
1150 else if( aLine.CompareTo( "*UIConstraints", 14 ) == COMPARE_EQUAL || in parse()
1151 aLine.CompareTo( "*NonUIConstraints", 17 ) == COMPARE_EQUAL ) in parse()
/aoo42x/main/tools/inc/tools/
H A Dstring.hxx299 StringCompare CompareTo( const ByteString& rStr,
301 StringCompare CompareTo( const sal_Char* pCharStr,
369 { return (rStr1.CompareTo( rStr2 ) == COMPARE_LESS); } in operator <()
371 { return (rStr.CompareTo( pCharStr ) == COMPARE_LESS); } in operator <()
373 { return (rStr.CompareTo( pCharStr ) >= COMPARE_EQUAL); } in operator <()
375 { return (rStr1.CompareTo( rStr2 ) == COMPARE_GREATER); } in operator >()
379 { return (rStr.CompareTo( pCharStr ) <= COMPARE_EQUAL); } in operator >()
583 StringCompare CompareTo( const UniString& rStr,
585 StringCompare CompareTo( const sal_Unicode* pCharStr,
660 { return (rStr1.CompareTo( rStr2 ) == COMPARE_LESS); } in operator <()
[all …]
/aoo42x/main/svtools/source/filter/
H A Dsgvtext.cxx1236 if ( s.CompareTo( "BOLD", 4 ) == COMPARE_EQUAL ) Bold=sal_True; in ReadOne()
1237 else if ( s.CompareTo( "ITAL", 4 ) == COMPARE_EQUAL ) Ital=sal_True; in ReadOne()
1238 else if ( s.CompareTo( "SERF", 4 ) == COMPARE_EQUAL ) Serf=sal_True; in ReadOne()
1239 else if ( s.CompareTo( "SANS", 4 ) == COMPARE_EQUAL ) Sans=sal_True; in ReadOne()
1240 else if ( s.CompareTo( "FIXD", 4 ) == COMPARE_EQUAL ) Fixd=sal_True; in ReadOne()
1241 else if ( s.CompareTo( "ROMAN", 5 ) == COMPARE_EQUAL ) SVFamil=FAMILY_ROMAN; in ReadOne()
1242 else if ( s.CompareTo( "SWISS", 5 ) == COMPARE_EQUAL ) SVFamil=FAMILY_SWISS; in ReadOne()
1243 else if ( s.CompareTo( "MODERN", 6 ) == COMPARE_EQUAL ) SVFamil=FAMILY_MODERN; in ReadOne()
1244 else if ( s.CompareTo( "SCRIPT", 6 ) == COMPARE_EQUAL ) SVFamil=FAMILY_SCRIPT; in ReadOne()
1245 else if ( s.CompareTo( "DECORA", 6 ) == COMPARE_EQUAL ) SVFamil=FAMILY_DECORATIVE; in ReadOne()
[all …]
/aoo42x/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/type/
H A DNumberParser.java151 if (CompareTo(aNumber, maMinimumValue, meJavaNumberType) < 0) in Parse()
156 if (CompareTo(aNumber, maMinimumValue, meJavaNumberType) <= 0) in Parse()
162 if (CompareTo(aNumber, maMaximumValue, meJavaNumberType) > 0) in Parse()
167 if (CompareTo(aNumber, maMaximumValue, meJavaNumberType) >= 0) in Parse()
202 private static int CompareTo ( in CompareTo() method in NumberParser
/aoo42x/main/tools/source/fsys/
H A Dunx.cxx241 if ((fsmnt.mymnttab_filesystem.CompareTo("msdos")==COMPARE_EQUAL) || in IsCaseSensitive()
242 (fsmnt.mymnttab_filesystem.CompareTo("umsdos")==COMPARE_EQUAL) || in IsCaseSensitive()
243 (fsmnt.mymnttab_filesystem.CompareTo("vfat")==COMPARE_EQUAL) || in IsCaseSensitive()
244 (fsmnt.mymnttab_filesystem.CompareTo("hpfs")==COMPARE_EQUAL) || in IsCaseSensitive()
245 (fsmnt.mymnttab_filesystem.CompareTo("smb") ==COMPARE_EQUAL) || in IsCaseSensitive()
246 (fsmnt.mymnttab_filesystem.CompareTo("ncpfs")==COMPARE_EQUAL)) in IsCaseSensitive()
/aoo42x/main/tools/source/inet/
H A Dinetstrm.cxx1687 if( aDelim.CompareTo (pOldPos, aDelim.Len()) in PutMsgLine()
1689 aClose.CompareTo (pOldPos, aClose.Len()) in PutMsgLine()
1691 aPlainDelim.CompareTo (pOldPos, aPlainDelim.Len()) in PutMsgLine()
1693 aPlainClose.CompareTo(pOldPos, aPlainClose.Len()) in PutMsgLine()
1723 if (aClose.CompareTo (pOldPos, aClose.Len()) in PutMsgLine()
1725 aPlainClose.CompareTo (pOldPos, aClose.Len()) in PutMsgLine()
/aoo42x/main/svtools/source/control/
H A Dctrltool.cxx138 return pInfo1->GetStyleName().CompareTo( pInfo2->GetStyleName() ); in ImplCompareFontInfo()
180 eComp = rSearchName.CompareTo( pCmpData->maSearchName ); in ImplFind()
202 eComp = rSearchName.CompareTo( pCompareData->maSearchName ); in ImplFind()
224 eComp = rSearchName.CompareTo( pCompareData->maSearchName ); in ImplFind()
/aoo42x/main/l10ntools/layout/
H A Dtralay.cxx90 if( rPath.CompareTo( ".", 1 ) == 0 ) in ConvertSystemPath()
118 if ( !arg.CompareTo( "-", 1 ) ) in GetOptionArgument()
144 else if ( !aParam.CompareTo( "-", 1 ) ) in ParseCommandLine()
/aoo42x/main/l10ntools/source/
H A Dxmlparse.cxx518 if( tmpStr.CompareTo(ID)==COMPARE_EQUAL ){ // Get the "id" Attribute in InsertL10NElement()
521 if( tmpStr.CompareTo( XML_LANG ) == COMPARE_EQUAL ){ // Get the "xml-lang" Attribute in InsertL10NElement()
646 if( tmpStr.CompareTo(THEID)==COMPARE_EQUAL ){ // Get the "id" Attribute in SearchL10NElements()
650 if( tmpStr.CompareTo(LOCALIZE)==COMPARE_EQUAL ){ // Get the "localize" Attribute in SearchL10NElements()
653 if( tmpStr.CompareTo(XML_LANG)==COMPARE_EQUAL ){ // Get the "xml-lang" Attribute in SearchL10NElements()
656 if( tmpStr.CompareTo(OLDREF)==COMPARE_EQUAL ){ // Get the "oldref" Attribute in SearchL10NElements()
H A Dlocalize.cxx692 if( sFileName.Len() && ( sFileName.CompareTo(sFileKey) == COMPARE_EQUAL ) ){ in ExecuteMerge()
714 if( sTmp.CompareTo(sOutputFileName) == COMPARE_EQUAL ){ in ExecuteMerge()
H A Dhelpmerge.cxx322 return rKey1.CompareTo( rKey2 )==COMPARE_EQUAL; in ByteStringEqual()
325 return rKey1.CompareTo( rKey2 )==COMPARE_LESS; in ByteStringLess()
/aoo42x/main/vcl/unx/generic/fontmanager/
H A Dfontcache.cxx276 if( aLine.CompareTo( "FontCacheDirectory:", 19 ) == COMPARE_EQUAL || in read()
277 aLine.CompareTo( "EmptyFontCacheDirectory:", 24 ) == COMPARE_EQUAL ) in read()
279 bool bEmpty = (aLine.CompareTo( "Empty", 5 ) == COMPARE_EQUAL); in read()
320 else if( pDir && aLine.CompareTo( "File:", 5 ) == COMPARE_EQUAL ) in read()
/aoo42x/main/svtools/source/svhtml/
H A Dhtmlkywd.cxx211 nRet = ((HTML_TokenEntry*)pFirst)->pUToken->CompareTo( in HTMLKeyCompare()
564 nRet = ((HTML_CharEntry*)pFirst)->pUName->CompareTo( in HTMLCharNameCompare()
1022 nRet = ((HTML_ColorEntry*)pFirst)->pUName->CompareTo( in HTMLColorNameCompare()
/aoo42x/main/desktop/source/deployment/gui/
H A Ddp_gui_extlistbox.cxx125 StringCompare Entry_Impl::CompareTo( const CollatorWrapper *pCollator, const TEntry_Impl pEntry ) c… in CompareTo() function in dp_gui::Entry_Impl
130 eCompare = m_sVersion.CompareTo( pEntry->m_sVersion ); in CompareTo()
938 eCompare = pEntry->CompareTo( m_pCollator, m_vEntries[ nStart ] ); in FindEntryPos()
959 eCompare = pEntry->CompareTo( m_pCollator, m_vEntries[ nMid ] ); in FindEntryPos()
/aoo42x/main/svx/source/dialog/
H A Dctredlin.cxx409 if(aAuthor.CompareTo(aString)==COMPARE_EQUAL) in IsValidWriterEntry()
431 if(aAuthor.CompareTo(aString)==COMPARE_EQUAL) in IsValidCalcEntry()
451 nTheFlag = aAuthor.CompareTo(*pAuthorStr)==COMPARE_EQUAL; in IsValidEntry()
479 if(aAuthor.CompareTo(*pAuthorStr)==COMPARE_EQUAL) in IsValidEntry()
/aoo42x/main/desktop/source/app/
H A Dofficeipcthread.cxx580 if (aToken.CompareTo(aReceiveBuffer)!= COMPARE_EQUAL) { in EnableOfficeIPCThread()
710 … if(( aArguments.CompareTo( sc_aTerminationSequence, sc_nTSeqLength ) == COMPARE_EQUAL ) || in run()
897 if (( aArguments.CompareTo( sc_aShowSequence, sc_nShSeqLength ) == COMPARE_EQUAL ) || in run()
/aoo42x/main/sd/source/ui/sidebar/
H A DDocumentHelper.cxx104 && pCandidate->GetName().CompareTo(pMasterPage->GetName())==0) in CopyMasterPageToLocalDocument()
329 && (*iPage)->GetLayoutName().CompareTo(sFullLayoutName)!=0) in AssignMasterPageToPageList()
/aoo42x/main/l10ntools/inc/
H A Dtagtest.hxx46 return rKey1.CompareTo( rKey2 )==COMPARE_EQUAL; in operator ()()
51 return rKey1.CompareTo( rKey2 )==COMPARE_LESS; in operator ()()
/aoo42x/main/sw/source/ui/misc/
H A Dglosdoc.cxx780 && ( COMPARE_EQUAL == pEntry->GetGroupName().CompareTo( sGroupName ) ) in GetAutoTextEntry()
781 && ( COMPARE_EQUAL == pEntry->GetEntryName().CompareTo( sEntryName ) ) in GetAutoTextEntry()
/aoo42x/main/extensions/source/scanner/
H A Dsanedlg.cxx1200 if( aValue.CompareTo( "BOOL=", 5 ) == COMPARE_EQUAL ) in LoadState()
1206 else if( aValue.CompareTo( "STRING=", 7 ) == COMPARE_EQUAL ) in LoadState()
1211 else if( aValue.CompareTo( "NUMERIC=", 8 ) == COMPARE_EQUAL ) in LoadState()
/aoo42x/main/svl/source/items/
H A Dcustritm.cxx63 switch (m_aValue.CompareTo(static_cast< CntUnencodedStringItem const * >( in Compare()
/aoo42x/main/unotools/source/config/
H A Dfontcfg.cxx861 { return rLeft.Name.CompareTo( rRight.Name ) == COMPARE_LESS ; } in operator ()()
1204 … if( aSearchFont.CompareTo( rFoundAttr.Name, rFoundAttr.Name.Len() ) == COMPARE_EQUAL ) in getSubstInfo()
/aoo42x/main/cui/source/dialogs/
H A Dplfilter.cxx47 return ( s1.CompareTo( s2 ) == COMPARE_LESS ); in operator ()()

Completed in 264 milliseconds

1234