Home
last modified time | relevance | path

Searched refs:xTextCursor (Results 1 – 25 of 100) sorted by relevance

1234

/dports/editors/libreoffice/libreoffice-7.2.6.2/odk/examples/java/Text/
H A DTextReplace.java104 com.sun.star.text.XTextCursor xTextCursor = null; in createExampleData() local
107 xTextCursor = xTextDocument.getText().createTextCursor(); in createExampleData()
110 xText.insertString( xTextCursor, in createExampleData()
113 xText.insertString( xTextCursor, "neighbour ", true ); in createExampleData()
115 com.sun.star.beans.XPropertySet.class, xTextCursor); in createExampleData()
119 xTextCursor.gotoEnd(false); in createExampleData()
124 xText.insertString( xTextCursor, "centre ", true ); in createExampleData()
126 com.sun.star.beans.XPropertySet.class, xTextCursor); in createExampleData()
130 xTextCursor.gotoEnd(false); in createExampleData()
135 xText.insertControlCharacter( xTextCursor, in createExampleData()
[all …]
H A DBookmarkInsertion.java179 com.sun.star.text.XTextCursor xTextCursor = null; in createExampleData() local
182 xTextCursor = xTextDocument.getText().createTextCursor(); in createExampleData()
184xTextCursor.setString( "He heard quiet steps behind him. That didn't bode well. Who could be follo… in createExampleData()
185 xTextCursor.collapseToEnd(); in createExampleData()
186xTextCursor.setString( "Or did the steps behind him mean that one of many bloody officers in town … in createExampleData()
187 xTextCursor.collapseToEnd(); in createExampleData()
188xTextCursor.setString( "The steps got louder and louder, he saw the black outline of a figure comi… in createExampleData()
190 xTextCursor.gotoStart(false); in createExampleData()
H A DStyleInitialization.java73 com.sun.star.text.XTextCursor xTextCursor = null; in main() local
74 xTextCursor = xTextDocument.getText().createTextCursor(); in main()
77 com.sun.star.beans.XPropertySet.class, xTextCursor); in main()
85 xText.insertString( xTextCursor, "Headline", false ); in main()
93 xText.insertControlCharacter(xTextCursor, in main()
96 xText.insertString( xTextCursor, sMyText, false ); in main()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/odk/examples/java/Text/
H A DTextReplace.java104 com.sun.star.text.XTextCursor xTextCursor = null; in createExampleData() local
107 xTextCursor = xTextDocument.getText().createTextCursor(); in createExampleData()
110 xText.insertString( xTextCursor, in createExampleData()
113 xText.insertString( xTextCursor, "neighbour ", true ); in createExampleData()
115 com.sun.star.beans.XPropertySet.class, xTextCursor); in createExampleData()
119 xTextCursor.gotoEnd(false); in createExampleData()
124 xText.insertString( xTextCursor, "centre ", true ); in createExampleData()
126 com.sun.star.beans.XPropertySet.class, xTextCursor); in createExampleData()
130 xTextCursor.gotoEnd(false); in createExampleData()
135 xText.insertControlCharacter( xTextCursor, in createExampleData()
[all …]
H A DBookmarkInsertion.java179 com.sun.star.text.XTextCursor xTextCursor = null; in createExampleData() local
182 xTextCursor = xTextDocument.getText().createTextCursor(); in createExampleData()
184xTextCursor.setString( "He heard quiet steps behind him. That didn't bode well. Who could be follo… in createExampleData()
185 xTextCursor.collapseToEnd(); in createExampleData()
186xTextCursor.setString( "Or did the steps behind him mean that one of many bloody officers in town … in createExampleData()
187 xTextCursor.collapseToEnd(); in createExampleData()
188xTextCursor.setString( "The steps got louder and louder, he saw the black outline of a figure comi… in createExampleData()
190 xTextCursor.gotoStart(false); in createExampleData()
H A DStyleInitialization.java73 com.sun.star.text.XTextCursor xTextCursor = null; in main() local
74 xTextCursor = xTextDocument.getText().createTextCursor(); in main()
77 com.sun.star.beans.XPropertySet.class, xTextCursor); in main()
85 xText.insertString( xTextCursor, "Headline", false ); in main()
93 xText.insertControlCharacter(xTextCursor, in main()
96 xText.insertString( xTextCursor, sMyText, false ); in main()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/vba/
H A Dvbacharacters.cxx45 …uno::Reference< text::XTextCursor > xTextCursor( m_xSimpleText->createTextCursor(), uno::UNO_SET_T… in ScVbaCharacters() local
46 xTextCursor->collapseToStart(); in ScVbaCharacters()
51 xTextCursor->gotoEnd( false ); in ScVbaCharacters()
52 xTextCursor->goRight( nStart, false ); in ScVbaCharacters()
55 xTextCursor->gotoEnd( true ); in ScVbaCharacters()
57 xTextCursor->goRight( nLength, true ); in ScVbaCharacters()
58 m_xTextRange.set( xTextCursor, uno::UNO_QUERY_THROW ); in ScVbaCharacters()
H A Dvbacomment.cxx186 …uno::Reference< text::XTextCursor > xTextCursor( xAnnoText->createTextCursor(), uno::UNO_SET_THROW… in Text() local
190 xTextCursor->collapseToStart(); in Text()
191 xTextCursor->gotoStart( false ); in Text()
192 xTextCursor->goRight( nStart - 1, false ); in Text()
193 xTextCursor->gotoEnd( true ); in Text()
197 xTextCursor->collapseToStart(); in Text()
198 xTextCursor->gotoStart( false ); in Text()
199 xTextCursor->goRight( nStart - 1 , true ); in Text()
202 uno::Reference< text::XTextRange > xRange( xTextCursor, uno::UNO_QUERY_THROW ); in Text()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/ui/vba/
H A Dvbacharacters.cxx45 …uno::Reference< text::XTextCursor > xTextCursor( m_xSimpleText->createTextCursor(), uno::UNO_SET_T… in ScVbaCharacters() local
46 xTextCursor->collapseToStart(); in ScVbaCharacters()
51 xTextCursor->gotoEnd( false ); in ScVbaCharacters()
52 xTextCursor->goRight( nStart, false ); in ScVbaCharacters()
55 xTextCursor->gotoEnd( true ); in ScVbaCharacters()
57 xTextCursor->goRight( nLength, true ); in ScVbaCharacters()
58 m_xTextRange.set( xTextCursor, uno::UNO_QUERY_THROW ); in ScVbaCharacters()
H A Dvbacomment.cxx186 …uno::Reference< text::XTextCursor > xTextCursor( xAnnoText->createTextCursor(), uno::UNO_SET_THROW… in Text() local
190 xTextCursor->collapseToStart(); in Text()
191 xTextCursor->gotoStart( false ); in Text()
192 xTextCursor->goRight( nStart - 1, false ); in Text()
193 xTextCursor->gotoEnd( true ); in Text()
197 xTextCursor->collapseToStart(); in Text()
198 xTextCursor->gotoStart( false ); in Text()
199 xTextCursor->goRight( nStart - 1 , true ); in Text()
202 uno::Reference< text::XTextRange > xRange( xTextCursor, uno::UNO_QUERY_THROW ); in Text()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/ui/vba/
H A Dvbarangehelper.cxx95 uno::Reference< text::XTextCursor > xTextCursor; in initCursor() local
100 xTextCursor = rText->createTextCursorByRange( rTextRange ); in initCursor()
108 if( !bGotTextCursor || !xTextCursor.is() ) in initCursor()
113 xTextCursor = xText->createTextCursor(); in initCursor()
122 if( !bGotTextCursor || !xTextCursor.is() ) in initCursor()
126 xTextCursor = rText->createTextCursor(); in initCursor()
133 return xTextCursor; in initCursor()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/ui/vba/
H A Dvbarangehelper.cxx95 uno::Reference< text::XTextCursor > xTextCursor; in initCursor() local
100 xTextCursor = rText->createTextCursorByRange( rTextRange ); in initCursor()
108 if( !bGotTextCursor || !xTextCursor.is() ) in initCursor()
113 xTextCursor = xText->createTextCursor(); in initCursor()
122 if( !bGotTextCursor || !xTextCursor.is() ) in initCursor()
126 xTextCursor = rText->createTextCursor(); in initCursor()
133 return xTextCursor; in initCursor()
/dports/editors/libreoffice/libreoffice-7.2.6.2/odk/examples/DevelopersGuide/Drawing/
H A DShapeHelper.java101 XTextCursor xTextCursor = xText.createTextCursor(); in addPortion() local
102 xTextCursor.gotoEnd( false ); in addPortion()
105 xText.insertControlCharacter( xTextCursor, ControlCharacter.PARAGRAPH_BREAK, false ); in addPortion()
106 xTextCursor.gotoEnd( false ); in addPortion()
108 XTextRange xTextRange = UnoRuntime.queryInterface( XTextRange.class, xTextCursor ); in addPortion()
110 xTextCursor.gotoEnd( true ); in addPortion()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/odk/examples/DevelopersGuide/Drawing/
H A DShapeHelper.java101 XTextCursor xTextCursor = xText.createTextCursor(); in addPortion() local
102 xTextCursor.gotoEnd( false ); in addPortion()
105 xText.insertControlCharacter( xTextCursor, ControlCharacter.PARAGRAPH_BREAK, false ); in addPortion()
106 xTextCursor.gotoEnd( false ); in addPortion()
108 XTextRange xTextRange = UnoRuntime.queryInterface( XTextRange.class, xTextCursor ); in addPortion()
110 xTextCursor.gotoEnd( true ); in addPortion()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/api/
H A DSwXDocumentIndex.cxx102 auto xTextCursor = xText->createTextCursor(); in init() local
103 CPPUNIT_ASSERT(xTextCursor.is()); in init()
104 xText->insertTextContent(xTextCursor, xDocumentIndex, false); in init()
105 xTextCursor->gotoEnd(false); in init()
106 mxTextRange = uno::Reference<text::XTextRange>(xTextCursor, uno::UNO_QUERY_THROW); in init()
H A DSwXTextFrame.cxx84 auto xTextCursor = xText->createTextCursor(); in init() local
85 CPPUNIT_ASSERT(xTextCursor.is()); in init()
86 xText->insertTextContent(xTextCursor, xTextFrame, false); in init()
87 xTextCursor->gotoEnd(false); in init()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/api/
H A DSwXDocumentIndex.cxx106 auto xTextCursor = xText->createTextCursor(); in init() local
107 CPPUNIT_ASSERT(xTextCursor.is()); in init()
108 xText->insertTextContent(xTextCursor, xDocumentIndex, false); in init()
109 xTextCursor->gotoEnd(false); in init()
110 mxTextRange = uno::Reference<text::XTextRange>(xTextCursor, uno::UNO_QUERY_THROW); in init()
H A DSwXTextFrame.cxx92 auto xTextCursor = xText->createTextCursor(); in init() local
93 CPPUNIT_ASSERT(xTextCursor.is()); in init()
94 xText->insertTextContent(xTextCursor, xTextFrame, false); in init()
95 xTextCursor->gotoEnd(false); in init()
/dports/editors/libreoffice/libreoffice-7.2.6.2/wizards/com/sun/star/wizards/report/
H A DReportTextImplementation.java144 … XTextCursor xTextCursor = ReportTextDocument.createTextCursor(m_aDoc.xTextDocument.getText()); in addTextSectionCopies() local
145 xTextCursor.gotoStart(false); in addTextSectionCopies()
168 xTextCursor.gotoEnd(false); in addLinkedTextSection()
169 xTextCursor.getText().insertTextContent(xTextCursor, xTextSectionContent, true); in addLinkedTextSection()
338 … XTextCursor xTextCursor = ReportTextDocument.createTextCursor(getDoc().xTextDocument.getText()); in insertDatabaseDatatoReportDocument() local
344 Helper.setUnoPropertyValue(xTextCursor, "PageDescName", "First Page"); in insertDatabaseDatatoReportDocument()
366 insertDataToRecordTable(xTextCursor, DataVector, RecordFieldCount); in insertDatabaseDatatoReportDocument()
375 insertDataToRecordTable(xTextCursor, DataVector, RecordFieldCount); in insertDatabaseDatatoReportDocument()
391 … addLinkedTextSection(xTextCursor, ReportTextDocument.COPYOFRECORDSECTION, null, null); in insertDatabaseDatatoReportDocument()
413 …private void insertDataToRecordTable(XTextCursor xTextCursor, ArrayList<Object[]> DataVector, int … in insertDataToRecordTable() argument
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/wizards/com/sun/star/wizards/report/
H A DReportTextImplementation.java144 … XTextCursor xTextCursor = ReportTextDocument.createTextCursor(m_aDoc.xTextDocument.getText()); in addTextSectionCopies() local
145 xTextCursor.gotoStart(false); in addTextSectionCopies()
168 xTextCursor.gotoEnd(false); in addLinkedTextSection()
169 xTextCursor.getText().insertTextContent(xTextCursor, xTextSectionContent, true); in addLinkedTextSection()
338 … XTextCursor xTextCursor = ReportTextDocument.createTextCursor(getDoc().xTextDocument.getText()); in insertDatabaseDatatoReportDocument() local
344 Helper.setUnoPropertyValue(xTextCursor, "PageDescName", "First Page"); in insertDatabaseDatatoReportDocument()
366 insertDataToRecordTable(xTextCursor, DataVector, RecordFieldCount); in insertDatabaseDatatoReportDocument()
375 insertDataToRecordTable(xTextCursor, DataVector, RecordFieldCount); in insertDatabaseDatatoReportDocument()
391 … addLinkedTextSection(xTextCursor, ReportTextDocument.COPYOFRECORDSECTION, null, null); in insertDatabaseDatatoReportDocument()
413 …private void insertDataToRecordTable(XTextCursor xTextCursor, ArrayList<Object[]> DataVector, int … in insertDataToRecordTable() argument
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/xml/
H A DXMLTableHeaderFooterContext.cxx140 if (!xTextCursor.is()) in createFastChildContext()
146 xTextCursor.set(xText->createTextCursor()); in createFastChildContext()
148 GetImport().GetTextImport()->SetCursor( xTextCursor ); in createFastChildContext()
194 xTextCursor ( xCursor ) in XMLHeaderFooterRegionContext()
197 GetImport().GetTextImport()->SetCursor( xTextCursor ); in XMLHeaderFooterRegionContext()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/core/unocore/
H A Dunocore.cxx101 auto const xTextCursor = xText->createTextCursor(); in CPPUNIT_TEST_FIXTURE() local
102 CPPUNIT_ASSERT(xTextCursor.is()); in CPPUNIT_TEST_FIXTURE()
103 xText->insertTextContent(xTextCursor, xTextFrame, false); in CPPUNIT_TEST_FIXTURE()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/xml/
H A DXMLTableHeaderFooterContext.cxx116 if (!xTextCursor.is()) in CreateChildContext()
122 xTextCursor.set(xText->createTextCursor()); in CreateChildContext()
124 GetImport().GetTextImport()->SetCursor( xTextCursor ); in CreateChildContext()
205 xTextCursor ( xCursor ) in XMLHeaderFooterRegionContext()
208 GetImport().GetTextImport()->SetCursor( xTextCursor ); in XMLHeaderFooterRegionContext()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/oox/source/shape/
H A DWpsContext.cxx135 uno::Reference<text::XTextCursor> xTextCursor = xText->createTextCursor(); in onCreateContext() local
136 xTextCursor->gotoStart(false); in onCreateContext()
137 xTextCursor->gotoEnd(true); in onCreateContext()
138 const uno::Reference<beans::XPropertyState> xPropertyState(xTextCursor, in onCreateContext()
144 uno::Reference<beans::XPropertySet> xTextBoxPropertySet(xTextCursor, in onCreateContext()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/core/unocore/
H A Dunocore.cxx75 auto const xTextCursor = xText->createTextCursor(); in CPPUNIT_TEST_FIXTURE() local
76 CPPUNIT_ASSERT(xTextCursor.is()); in CPPUNIT_TEST_FIXTURE()
77 xText->insertTextContent(xTextCursor, xTextFrame, false); in CPPUNIT_TEST_FIXTURE()

1234