Lines Matching refs:theString
24 def getNewString( theString ) : argument
25 if( not theString or len(theString) ==0) :
28 if theString[0].isupper() and len(theString)>=2 and theString[1].isupper() :
30 newString=theString[0:1].upper() + theString[1:].lower();
31 elif theString[0].isupper():
33 newString=theString.lower()
35 newString=theString.upper()
57 theString = xTextRange.getString();
58 if len(theString)==0 :
66 theString = xWordCursor.getString();
67 newString = getNewString(theString);
73 newString = getNewString( theString );