Home
last modified time | relevance | path

Searched refs:xWordCursor (Results 1 – 6 of 6) sorted by relevance

/aoo42x/main/odk/examples/java/Text/
H A DHardFormatting.java91 com.sun.star.text.XWordCursor xWordCursor = null; in main() local
107 xWordCursor.gotoNextWord(false); in main()
108 xWordCursor.gotoNextWord(false); in main()
109 xWordCursor.gotoEndOfWord(true); in main()
138 xWordCursor.goRight( (short) 3 , true ); in main()
142 checkPropertyState(xWordCursor, xPropertyStateValue); in main()
148 checkPropertyState(xWordCursor, xPropertyStateValue); in main()
166 com.sun.star.text.XWordCursor xWordCursor, in checkPropertyState() argument
172 + xWordCursor.getString() in checkPropertyState()
179 + xWordCursor.getString() in checkPropertyState()
[all …]
H A DTextDocumentStructure.java172 com.sun.star.text.XWordCursor xWordCursor = in createExampleData() local
176 xWordCursor.gotoNextWord(false); in createExampleData()
177 xWordCursor.gotoNextWord(false); in createExampleData()
178 xWordCursor.gotoEndOfWord(true); in createExampleData()
182 com.sun.star.beans.XPropertySet.class, xWordCursor ); in createExampleData()
/aoo42x/main/scripting/examples/python/
H A DCapitalise.py62 xWordCursor = xText.createTextCursorByRange(xTextRange);
63 if not xWordCursor.isStartOfWord():
64 xWordCursor.gotoStartOfWord(False);
65 xWordCursor.gotoNextWord(True);
66 theString = xWordCursor.getString();
69 xWordCursor.setString(newString);
70 xSelectionSupplier.select(xWordCursor);
/aoo42x/main/scripting/examples/beanshell/Capitalise/
H A Dcapitalise.bsh67 xWordCursor = (XWordCursor)
71 if(!xWordCursor.isStartOfWord()) {
72 xWordCursor.gotoStartOfWord(false);
76 xWordCursor.gotoNextWord(true);
78 theString = xWordCursor.getString();
83 xWordCursor.setString(newString);
85 xSelectionSupplier.select(xWordCursor);
/aoo42x/main/odk/examples/DevelopersGuide/Text/
H A DTextDocuments.java560 XWordCursor xWordCursor = (XWordCursor) UnoRuntime.queryInterface( in TextCursorExample() local
563 xWordCursor.gotoNextWord( false ); in TextCursorExample()
564 xWordCursor.gotoNextWord( false ); in TextCursorExample()
565 xWordCursor.gotoNextWord( false ); in TextCursorExample()
566 xWordCursor.gotoNextWord( false ); in TextCursorExample()
567 xWordCursor.gotoNextWord( true ); in TextCursorExample()
571 mxDocText.insertString ( xWordCursor, "old ", true ); in TextCursorExample()
582 xWordCursor.gotoPreviousWord( true ); in TextCursorExample()
583 mxDocText.insertString (xWordCursor, in TextCursorExample()
/aoo42x/main/sw/qa/complex/writer/
H A DTextPortionEnumerationTest.java3255 XWordCursor xWordCursor = (XWordCursor) in testMetaXTextCursor() local
3258 bSuccess = xWordCursor.gotoNextWord(true); in testMetaXTextCursor()
3265 bSuccess = xWordCursor.gotoNextWord(false); in testMetaXTextCursor()
3268 bSuccess = xWordCursor.gotoPreviousWord(true); in testMetaXTextCursor()
3275 bSuccess = xWordCursor.gotoPreviousWord(false); in testMetaXTextCursor()
3277 bSuccess = xWordCursor.gotoEndOfWord(true); in testMetaXTextCursor()
3285 bSuccess = xWordCursor.gotoStartOfWord(true); in testMetaXTextCursor()
3293 bSuccess = xWordCursor.gotoEndOfWord(false); in testMetaXTextCursor()
3295 bSuccess = xWordCursor.gotoStartOfWord(false); in testMetaXTextCursor()

Completed in 54 milliseconds